ERC-721
NFT
Overview
Max Total Supply
10,000 FLOWTY
Holders
3,414
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
3 FLOWTYLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Flowtys
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"; /* @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ /@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@ (@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@ @@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@ @@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@ @@@@@@@@@@@@@@@@@@@@@@ @@ @@ @@@@@@@@@ @@@@@@@@@ @@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@ @@@@ @@@@@@@@@@@@@@ @@@@@ ,@% @ @@@@@/ @@@@@@@@@@ @@@@@@@@, @@@@@@@@@@@ #@@@@@@@@@@@@@@@@@@@@@@@// @@@@@@@@@ @@@@@@@@@@@@ @@ @@@@ @@@@@ @@@ @@@ @@@@ @@@@@@@@@@@@@* @@@@@@ @@@@@@@@. @@@@@@ #@@@@@@@@@ @@@@@@@@@@ @@@@@@@@@@@@@ @@@ @@@@@@ @ @@@@ @@@@@ @@@@@ %@@@@@ @@@@@@@ @@@@& @@@@@@ @@@@@@@@@@@@@@@@@@ @@@@@@@@@@@ @@@@@@ #@@@@@@@ @@@@@, @@@@ @@@@ @@@@@ @@@@@@@ @@@ @@@@@@@@@ @@@@@@@@@@ @@@@@@@@* @@@@@@@@@ @@@@@@@@@@& @@@@@@@@@ @@@ @ @@@@# @@@@@ @@@@@@. @@ &, @@@@@@@.. ..@@@ @@@@@@@ @@@@@@@@@@@@@@@ @@@@@@@@/ *@@@@@@@@@@@@@@@@@@@@@@@@ @@@ @@@@ @@@@. @@@@@@@ @ @@@@ @@ @@@@@@ @@@@@@@@@@@@@@@@ @@@@@@@@ /@@ @@@@@@@@@@@@@@@@ @@@@ @@@@ @@@@@ @@@@@@@ @@@@ (@@@@/ @@( @@@@@@ @@@@@@@@@@@@@@@@@ @@@@@@@% @@@@@@@@@@@@@@@@@@ @@@ @@@ @@@@@@ @@@@@@@@, @@@@@@@ @@@@@@@ @@@@@@@@@@@@@@@@@@@ @@@@@@@ @@@@@@@@@@@@@@@@@@@@@@ @@@@@@@ @@@@@@@@@@@ .@@@@@@@@@@@@@@@ @@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@ @@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ */ 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 "./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; 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", "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":"FLowtyMinted","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_FLOWTYS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_baseFlowtyURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ageBlocksThreshold","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":"flipSaleState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"flowtyPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getAge","outputs":[{"internalType":"enum Flowtys.Age","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getAgeStaringBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxFlowtysPurchase","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"mintFlowty","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"provenance","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"reservedAmount","type":"uint256"}],"name":"reserveFlowtys","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":[],"name":"saleIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newuri","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMax","type":"uint256"}],"name":"setMaxFlowtysPurchase","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newCost","type":"uint256"}],"name":"setMintCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"provenanceHash","type":"string"}],"name":"setProvenanceHash","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"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address payable","name":"to","type":"address"}],"name":"withdrawForGiveaway","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526010600c5567011c37937e080000600d556000600e60006101000a81548160ff0219169083151502179055503480156200003d57600080fd5b50604051620052893803806200528983398181016040528101906200006391906200033f565b6040518060400160405280600781526020017f466c6f77747973000000000000000000000000000000000000000000000000008152506040518060400160405280600681526020017f464c4f57545900000000000000000000000000000000000000000000000000008152508160009080519060200190620000e792919062000211565b5080600190805190602001906200010092919062000211565b50505062000123620001176200014360201b60201c565b6200014b60201b60201c565b80600f90805190602001906200013b92919062000211565b505062000514565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280546200021f9062000425565b90600052602060002090601f0160209004810192826200024357600085556200028f565b82601f106200025e57805160ff19168380011785556200028f565b828001600101855582156200028f579182015b828111156200028e57825182559160200191906001019062000271565b5b5090506200029e9190620002a2565b5090565b5b80821115620002bd576000816000905550600101620002a3565b5090565b6000620002d8620002d284620003b9565b62000390565b905082815260208101848484011115620002f757620002f6620004f4565b5b62000304848285620003ef565b509392505050565b600082601f830112620003245762000323620004ef565b5b815162000336848260208601620002c1565b91505092915050565b600060208284031215620003585762000357620004fe565b5b600082015167ffffffffffffffff811115620003795762000378620004f9565b5b62000387848285016200030c565b91505092915050565b60006200039c620003af565b9050620003aa82826200045b565b919050565b6000604051905090565b600067ffffffffffffffff821115620003d757620003d6620004c0565b5b620003e28262000503565b9050602081019050919050565b60005b838110156200040f578082015181840152602081019050620003f2565b838111156200041f576000848401525b50505050565b600060028204905060018216806200043e57607f821691505b6020821081141562000455576200045462000491565b5b50919050565b620004668262000503565b810181811067ffffffffffffffff82111715620004885762000487620004c0565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b614d6580620005246000396000f3fe60806040526004361061021a5760003560e01c80635d6aefc611610123578063996bae64116100ab578063c87b56dd1161006f578063c87b56dd146107ae578063e985e9c5146107eb578063ead0680114610828578063eb8d244414610853578063f2fde38b1461087e5761021a565b8063996bae64146106ea578063a22cb46514610706578063a68ad32d1461072f578063ac4bc1971461075a578063b88d4fde146107855761021a565b8063715018a6116100f2578063715018a61461062b5780638545f4ea146106425780638b1e599a1461066b5780638da5cb5b1461069457806395d89b41146106bf5761021a565b80635d6aefc6146105495780636352211e14610586578063694d0e0b146105c357806370a08231146105ee5761021a565b806323b872dd116101a657806342842e0e1161017557806342842e0e146104685780634d7313a4146104915780634f6ccce7146104ba57806355d7d44a146104f757806355f804b3146105205761021a565b806323b872dd146103d45780632f745c59146103fd57806334918dfd1461043a5780633ccfd60b146104515761021a565b80630e37008a116101ed5780630e37008a146102ed5780630f7309e81461032a578063109695231461035557806318160ddd1461037e5780631eeed7cc146103a95761021a565b806301ffc9a71461021f57806306fdde031461025c578063081812fc14610287578063095ea7b3146102c4575b600080fd5b34801561022b57600080fd5b506102466004803603810190610241919061353f565b6108a7565b6040516102539190613c3c565b60405180910390f35b34801561026857600080fd5b506102716108b9565b60405161027e9190613c72565b60405180910390f35b34801561029357600080fd5b506102ae60048036038101906102a991906135e2565b61094b565b6040516102bb9190613bd5565b60405180910390f35b3480156102d057600080fd5b506102eb60048036038101906102e691906134ff565b6109d0565b005b3480156102f957600080fd5b50610314600480360381019061030f91906135e2565b610ae8565b6040516103219190613c57565b60405180910390f35b34801561033657600080fd5b5061033f610b91565b60405161034c9190613c72565b60405180910390f35b34801561036157600080fd5b5061037c60048036038101906103779190613599565b610c1f565b005b34801561038a57600080fd5b50610393610cb5565b6040516103a09190613ff4565b60405180910390f35b3480156103b557600080fd5b506103be610cc2565b6040516103cb9190613ff4565b60405180910390f35b3480156103e057600080fd5b506103fb60048036038101906103f691906133e9565b610cc9565b005b34801561040957600080fd5b50610424600480360381019061041f91906134ff565b610ce2565b6040516104319190613ff4565b60405180910390f35b34801561044657600080fd5b5061044f610d87565b005b34801561045d57600080fd5b50610466610e2f565b005b34801561047457600080fd5b5061048f600480360381019061048a91906133e9565b610f00565b005b34801561049d57600080fd5b506104b860048036038101906104b3919061360f565b610f20565b005b3480156104c657600080fd5b506104e160048036038101906104dc91906135e2565b610fed565b6040516104ee9190613ff4565b60405180910390f35b34801561050357600080fd5b5061051e600480360381019061051991906135e2565b61105e565b005b34801561052c57600080fd5b5061054760048036038101906105429190613599565b6110e4565b005b34801561055557600080fd5b50610570600480360381019061056b91906135e2565b61117a565b60405161057d9190613ff4565b60405180910390f35b34801561059257600080fd5b506105ad60048036038101906105a891906135e2565b6111df565b6040516105ba9190613bd5565b60405180910390f35b3480156105cf57600080fd5b506105d8611291565b6040516105e59190613c72565b60405180910390f35b3480156105fa57600080fd5b506106156004803603810190610610919061337c565b61131f565b6040516106229190613ff4565b60405180910390f35b34801561063757600080fd5b506106406113d7565b005b34801561064e57600080fd5b50610669600480360381019061066491906135e2565b61145f565b005b34801561067757600080fd5b50610692600480360381019061068d91906135e2565b611528565b005b3480156106a057600080fd5b506106a96115d2565b6040516106b69190613bd5565b60405180910390f35b3480156106cb57600080fd5b506106d46115fc565b6040516106e19190613c72565b60405180910390f35b61070460048036038101906106ff91906135e2565b61168e565b005b34801561071257600080fd5b5061072d600480360381019061072891906134bf565b611806565b005b34801561073b57600080fd5b50610744611987565b6040516107519190613ff4565b60405180910390f35b34801561076657600080fd5b5061076f61198d565b60405161077c9190613ff4565b60405180910390f35b34801561079157600080fd5b506107ac60048036038101906107a7919061343c565b611993565b005b3480156107ba57600080fd5b506107d560048036038101906107d091906135e2565b6119ae565b6040516107e29190613c72565b60405180910390f35b3480156107f757600080fd5b50610812600480360381019061080d91906133a9565b611a47565b60405161081f9190613c3c565b60405180910390f35b34801561083457600080fd5b5061083d611adb565b60405161084a9190613ff4565b60405180910390f35b34801561085f57600080fd5b50610868611ae1565b6040516108759190613c3c565b60405180910390f35b34801561088a57600080fd5b506108a560048036038101906108a0919061337c565b611af4565b005b60006108b282611bec565b9050919050565b6060600080546108c8906142e6565b80601f01602080910402602001604051908101604052809291908181526020018280546108f4906142e6565b80156109415780601f1061091657610100808354040283529160200191610941565b820191906000526020600020905b81548152906001019060200180831161092457829003601f168201915b5050505050905090565b600061095682611c66565b610995576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161098c90613ef4565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006109db826111df565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610a4c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a4390613f94565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610a6b611cd2565b73ffffffffffffffffffffffffffffffffffffffff161480610a9a5750610a9981610a94611cd2565b611a47565b5b610ad9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ad090613e54565b60405180910390fd5b610ae38383611cda565b505050565b6000610af382611c66565b610b32576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b2990613cf4565b60405180910390fd5b60006207e900601160008581526020019081526020016000205443610b5791906141c5565b610b61919061413a565b9050610b77600382611d9390919063ffffffff16565b6003811115610b8957610b88614421565b5b915050919050565b60108054610b9e906142e6565b80601f0160208091040260200160405190810160405280929190818152602001828054610bca906142e6565b8015610c175780601f10610bec57610100808354040283529160200191610c17565b820191906000526020600020905b815481529060010190602001808311610bfa57829003601f168201915b505050505081565b610c27611cd2565b73ffffffffffffffffffffffffffffffffffffffff16610c456115d2565b73ffffffffffffffffffffffffffffffffffffffff1614610c9b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c9290613f14565b60405180910390fd5b8060109080519060200190610cb192919061317b565b5050565b6000600880549050905090565b6207e90081565b610cd4838383611dac565b610cdd81611e0c565b505050565b6000610ced8361131f565b8210610d2e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d2590613c94565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610d8f611cd2565b73ffffffffffffffffffffffffffffffffffffffff16610dad6115d2565b73ffffffffffffffffffffffffffffffffffffffff1614610e03576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dfa90613f14565b60405180910390fd5b600e60009054906101000a900460ff1615600e60006101000a81548160ff021916908315150217905550565b610e37611cd2565b73ffffffffffffffffffffffffffffffffffffffff16610e556115d2565b73ffffffffffffffffffffffffffffffffffffffff1614610eab576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ea290613f14565b60405180910390fd5b60004711610eee576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ee590613db4565b60405180910390fd5b6000479050610efd3382611f1f565b50565b610f1b83838360405180602001604052806000815250611993565b505050565b610f28611cd2565b73ffffffffffffffffffffffffffffffffffffffff16610f466115d2565b73ffffffffffffffffffffffffffffffffffffffff1614610f9c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f9390613f14565b60405180910390fd5b60004711610fdf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fd690613db4565b60405180910390fd5b610fe98183611f1f565b5050565b6000610ff7610cb5565b8210611038576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161102f90613fd4565b60405180910390fd5b6008828154811061104c5761104b6144ae565b5b90600052602060002001549050919050565b611066611cd2565b73ffffffffffffffffffffffffffffffffffffffff166110846115d2565b73ffffffffffffffffffffffffffffffffffffffff16146110da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110d190613f14565b60405180910390fd5b80600c8190555050565b6110ec611cd2565b73ffffffffffffffffffffffffffffffffffffffff1661110a6115d2565b73ffffffffffffffffffffffffffffffffffffffff1614611160576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161115790613f14565b60405180910390fd5b80600f908051906020019061117692919061317b565b5050565b600061118582611c66565b6111c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111bb90613cf4565b60405180910390fd5b60116000838152602001908152602001600020549050919050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611288576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161127f90613e94565b60405180910390fd5b80915050919050565b600f805461129e906142e6565b80601f01602080910402602001604051908101604052809291908181526020018280546112ca906142e6565b80156113175780601f106112ec57610100808354040283529160200191611317565b820191906000526020600020905b8154815290600101906020018083116112fa57829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611390576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161138790613e74565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6113df611cd2565b73ffffffffffffffffffffffffffffffffffffffff166113fd6115d2565b73ffffffffffffffffffffffffffffffffffffffff1614611453576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161144a90613f14565b60405180910390fd5b61145d6000612013565b565b611467611cd2565b73ffffffffffffffffffffffffffffffffffffffff166114856115d2565b73ffffffffffffffffffffffffffffffffffffffff16146114db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114d290613f14565b60405180910390fd5b6000811161151e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161151590613f74565b60405180910390fd5b80600d8190555050565b611530611cd2565b73ffffffffffffffffffffffffffffffffffffffff1661154e6115d2565b73ffffffffffffffffffffffffffffffffffffffff16146115a4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161159b90613f14565b60405180910390fd5b6000600190505b8181116115ce576115bb336120d9565b80806115c690614349565b9150506115ab565b5050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606001805461160b906142e6565b80601f0160208091040260200160405190810160405280929190818152602001828054611637906142e6565b80156116845780601f1061165957610100808354040283529160200191611684565b820191906000526020600020905b81548152906001019060200180831161166757829003601f168201915b5050505050905090565b600e60009054906101000a900460ff166116dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116d490613d54565b60405180910390fd5b600c54811115611722576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161171990613cd4565b60405180910390fd5b6127108161172e610cb5565b61173891906140e4565b1115611779576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161177090613eb4565b60405180910390fd5b3481600d54611788919061416b565b11156117c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117c090613dd4565b60405180910390fd5b60005b81811015611802576127106117df610cb5565b10156117ef576117ee336120d9565b5b80806117fa90614349565b9150506117cc565b5050565b61180e611cd2565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561187c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161187390613d94565b60405180910390fd5b8060056000611889611cd2565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611936611cd2565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161197b9190613c3c565b60405180910390a35050565b600c5481565b61271081565b61199f84848484612159565b6119a882611e0c565b50505050565b606060006119bb836121bb565b905060008151116119db5760405180602001604052806000815250611a3f565b806040516020016119ec9190613b9e565b604051602081830303815290604052611a1e611a0785610ae8565b6003811115611a1957611a18614421565b5b612262565b604051602001611a2f929190613b56565b6040516020818303038152906040525b915050919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600d5481565b600e60009054906101000a900460ff1681565b611afc611cd2565b73ffffffffffffffffffffffffffffffffffffffff16611b1a6115d2565b73ffffffffffffffffffffffffffffffffffffffff1614611b70576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b6790613f14565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611be0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bd790613d14565b60405180910390fd5b611be981612013565b50565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611c5f5750611c5e826123c3565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611d4d836111df565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818310611da25781611da4565b825b905092915050565b611dbd611db7611cd2565b826124a5565b611dfc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611df390613fb4565b60405180910390fd5b611e07838383612583565b505050565b60006207e9006011600084815260200190815260200160002054600143611e3391906141c5565b611e3d91906141c5565b611e47919061413a565b90506000601160008481526020019081526020016000205443611e6a91906141c5565b90506207e900811015611e9457436011600085815260200190815260200160002081905550611f1a565b60036207e900611ea4919061416b565b811015611f1957816207e900611eba919061416b565b6011600085815260200190815260200160002054611ed891906140e4565b43611ee391906141c5565b6011600085815260200190815260200160002054611f0191906140e4565b60116000858152602001908152602001600020819055505b5b505050565b80471015611f62576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f5990613e14565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff1682604051611f8890613bc0565b60006040518083038185875af1925050503d8060008114611fc5576040519150601f19603f3d011682016040523d82523d6000602084013e611fca565b606091505b505090508061200e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161200590613df4565b60405180910390fd5b505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60006120e5600b6127df565b9050612710811015612155576120fb82826127ed565b612105600b61280b565b4360116000838152602001908152602001600020819055507fde67a2cf8162e0601a30186b661edd01cc476d5da8452a0710a1df069e56a6428160405161214c9190613ff4565b60405180910390a15b5050565b61216a612164611cd2565b836124a5565b6121a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121a090613fb4565b60405180910390fd5b6121b584848484612821565b50505050565b60606121c682611c66565b612205576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121fc90613f54565b60405180910390fd5b600061220f61287d565b9050600081511161222f576040518060200160405280600081525061225a565b8061223984612262565b60405160200161224a929190613b7a565b6040516020818303038152906040525b915050919050565b606060008214156122aa576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506123be565b600082905060005b600082146122dc5780806122c590614349565b915050600a826122d5919061413a565b91506122b2565b60008167ffffffffffffffff8111156122f8576122f76144dd565b5b6040519080825280601f01601f19166020018201604052801561232a5781602001600182028036833780820191505090505b5090505b600085146123b75760018261234391906141c5565b9150600a856123529190614392565b603061235e91906140e4565b60f81b818381518110612374576123736144ae565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856123b0919061413a565b945061232e565b8093505050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061248e57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061249e575061249d8261290f565b5b9050919050565b60006124b082611c66565b6124ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124e690613e34565b60405180910390fd5b60006124fa836111df565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061256957508373ffffffffffffffffffffffffffffffffffffffff166125518461094b565b73ffffffffffffffffffffffffffffffffffffffff16145b8061257a57506125798185611a47565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166125a3826111df565b73ffffffffffffffffffffffffffffffffffffffff16146125f9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125f090613f34565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612669576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161266090613d74565b60405180910390fd5b612674838383612979565b61267f600082611cda565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546126cf91906141c5565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461272691906140e4565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600081600001549050919050565b612807828260405180602001604052806000815250612989565b5050565b6001816000016000828254019250508190555050565b61282c848484612583565b612838848484846129e4565b612877576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161286e90613cb4565b60405180910390fd5b50505050565b6060600f805461288c906142e6565b80601f01602080910402602001604051908101604052809291908181526020018280546128b8906142e6565b80156129055780601f106128da57610100808354040283529160200191612905565b820191906000526020600020905b8154815290600101906020018083116128e857829003601f168201915b5050505050905090565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612984838383612b7b565b505050565b6129938383612c8f565b6129a060008484846129e4565b6129df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129d690613cb4565b60405180910390fd5b505050565b6000612a058473ffffffffffffffffffffffffffffffffffffffff16612e5d565b15612b6e578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612a2e611cd2565b8786866040518563ffffffff1660e01b8152600401612a509493929190613bf0565b602060405180830381600087803b158015612a6a57600080fd5b505af1925050508015612a9b57506040513d601f19601f82011682018060405250810190612a98919061356c565b60015b612b1e573d8060008114612acb576040519150601f19603f3d011682016040523d82523d6000602084013e612ad0565b606091505b50600081511415612b16576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b0d90613cb4565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612b73565b600190505b949350505050565b612b86838383612e70565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612bc957612bc481612e75565b612c08565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612c0757612c068382612ebe565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612c4b57612c468161302b565b612c8a565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612c8957612c8882826130fc565b5b5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612cff576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cf690613ed4565b60405180910390fd5b612d0881611c66565b15612d48576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d3f90613d34565b60405180910390fd5b612d5460008383612979565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612da491906140e4565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001612ecb8461131f565b612ed591906141c5565b9050600060076000848152602001908152602001600020549050818114612fba576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b6000600160088054905061303f91906141c5565b905060006009600084815260200190815260200160002054905060006008838154811061306f5761306e6144ae565b5b906000526020600020015490508060088381548110613091576130906144ae565b5b9060005260206000200181905550816009600083815260200190815260200160002081905550600960008581526020019081526020016000206000905560088054806130e0576130df61447f565b5b6001900381819060005260206000200160009055905550505050565b60006131078361131f565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b828054613187906142e6565b90600052602060002090601f0160209004810192826131a957600085556131f0565b82601f106131c257805160ff19168380011785556131f0565b828001600101855582156131f0579182015b828111156131ef5782518255916020019190600101906131d4565b5b5090506131fd9190613201565b5090565b5b8082111561321a576000816000905550600101613202565b5090565b600061323161322c84614034565b61400f565b90508281526020810184848401111561324d5761324c614511565b5b6132588482856142a4565b509392505050565b600061327361326e84614065565b61400f565b90508281526020810184848401111561328f5761328e614511565b5b61329a8482856142a4565b509392505050565b6000813590506132b181614cbc565b92915050565b6000813590506132c681614cd3565b92915050565b6000813590506132db81614cea565b92915050565b6000813590506132f081614d01565b92915050565b60008151905061330581614d01565b92915050565b600082601f8301126133205761331f61450c565b5b813561333084826020860161321e565b91505092915050565b600082601f83011261334e5761334d61450c565b5b813561335e848260208601613260565b91505092915050565b60008135905061337681614d18565b92915050565b6000602082840312156133925761339161451b565b5b60006133a0848285016132a2565b91505092915050565b600080604083850312156133c0576133bf61451b565b5b60006133ce858286016132a2565b92505060206133df858286016132a2565b9150509250929050565b6000806000606084860312156134025761340161451b565b5b6000613410868287016132a2565b9350506020613421868287016132a2565b925050604061343286828701613367565b9150509250925092565b600080600080608085870312156134565761345561451b565b5b6000613464878288016132a2565b9450506020613475878288016132a2565b935050604061348687828801613367565b925050606085013567ffffffffffffffff8111156134a7576134a6614516565b5b6134b38782880161330b565b91505092959194509250565b600080604083850312156134d6576134d561451b565b5b60006134e4858286016132a2565b92505060206134f5858286016132cc565b9150509250929050565b600080604083850312156135165761351561451b565b5b6000613524858286016132a2565b925050602061353585828601613367565b9150509250929050565b6000602082840312156135555761355461451b565b5b6000613563848285016132e1565b91505092915050565b6000602082840312156135825761358161451b565b5b6000613590848285016132f6565b91505092915050565b6000602082840312156135af576135ae61451b565b5b600082013567ffffffffffffffff8111156135cd576135cc614516565b5b6135d984828501613339565b91505092915050565b6000602082840312156135f8576135f761451b565b5b600061360684828501613367565b91505092915050565b600080604083850312156136265761362561451b565b5b600061363485828601613367565b9250506020613645858286016132b7565b9150509250929050565b613658816141f9565b82525050565b6136678161421d565b82525050565b600061367882614096565b61368281856140ac565b93506136928185602086016142b3565b61369b81614520565b840191505092915050565b60006136b182614096565b6136bb81856140bd565b93506136cb8185602086016142b3565b80840191505092915050565b6136e081614292565b82525050565b60006136f1826140a1565b6136fb81856140c8565b935061370b8185602086016142b3565b61371481614520565b840191505092915050565b600061372a826140a1565b61373481856140d9565b93506137448185602086016142b3565b80840191505092915050565b600061375d602b836140c8565b915061376882614531565b604082019050919050565b60006137806032836140c8565b915061378b82614580565b604082019050919050565b60006137a3602f836140c8565b91506137ae826145cf565b604082019050919050565b60006137c66022836140c8565b91506137d18261461e565b604082019050919050565b60006137e96026836140c8565b91506137f48261466d565b604082019050919050565b600061380c601c836140c8565b9150613817826146bc565b602082019050919050565b600061382f6022836140c8565b915061383a826146e5565b604082019050919050565b60006138526024836140c8565b915061385d82614734565b604082019050919050565b60006138756019836140c8565b915061388082614783565b602082019050919050565b60006138986014836140c8565b91506138a3826147ac565b602082019050919050565b60006138bb601f836140c8565b91506138c6826147d5565b602082019050919050565b60006138de603a836140c8565b91506138e9826147fe565b604082019050919050565b6000613901601d836140c8565b915061390c8261484d565b602082019050919050565b6000613924602c836140c8565b915061392f82614876565b604082019050919050565b60006139476038836140c8565b9150613952826148c5565b604082019050919050565b600061396a602a836140c8565b915061397582614914565b604082019050919050565b600061398d6029836140c8565b915061399882614963565b604082019050919050565b60006139b0602b836140c8565b91506139bb826149b2565b604082019050919050565b60006139d36020836140c8565b91506139de82614a01565b602082019050919050565b60006139f6602c836140c8565b9150613a0182614a2a565b604082019050919050565b6000613a196020836140c8565b9150613a2482614a79565b602082019050919050565b6000613a3c6029836140c8565b9150613a4782614aa2565b604082019050919050565b6000613a5f602f836140c8565b9150613a6a82614af1565b604082019050919050565b6000613a826025836140c8565b9150613a8d82614b40565b604082019050919050565b6000613aa56021836140c8565b9150613ab082614b8f565b604082019050919050565b6000613ac86000836140bd565b9150613ad382614bde565b600082019050919050565b6000613aeb6031836140c8565b9150613af682614be1565b604082019050919050565b6000613b0e602c836140c8565b9150613b1982614c30565b604082019050919050565b6000613b316001836140d9565b9150613b3c82614c7f565b600182019050919050565b613b5081614288565b82525050565b6000613b6282856136a6565b9150613b6e828461371f565b91508190509392505050565b6000613b86828561371f565b9150613b92828461371f565b91508190509392505050565b6000613baa828461371f565b9150613bb582613b24565b915081905092915050565b6000613bcb82613abb565b9150819050919050565b6000602082019050613bea600083018461364f565b92915050565b6000608082019050613c05600083018761364f565b613c12602083018661364f565b613c1f6040830185613b47565b8181036060830152613c31818461366d565b905095945050505050565b6000602082019050613c51600083018461365e565b92915050565b6000602082019050613c6c60008301846136d7565b92915050565b60006020820190508181036000830152613c8c81846136e6565b905092915050565b60006020820190508181036000830152613cad81613750565b9050919050565b60006020820190508181036000830152613ccd81613773565b9050919050565b60006020820190508181036000830152613ced81613796565b9050919050565b60006020820190508181036000830152613d0d816137b9565b9050919050565b60006020820190508181036000830152613d2d816137dc565b9050919050565b60006020820190508181036000830152613d4d816137ff565b9050919050565b60006020820190508181036000830152613d6d81613822565b9050919050565b60006020820190508181036000830152613d8d81613845565b9050919050565b60006020820190508181036000830152613dad81613868565b9050919050565b60006020820190508181036000830152613dcd8161388b565b9050919050565b60006020820190508181036000830152613ded816138ae565b9050919050565b60006020820190508181036000830152613e0d816138d1565b9050919050565b60006020820190508181036000830152613e2d816138f4565b9050919050565b60006020820190508181036000830152613e4d81613917565b9050919050565b60006020820190508181036000830152613e6d8161393a565b9050919050565b60006020820190508181036000830152613e8d8161395d565b9050919050565b60006020820190508181036000830152613ead81613980565b9050919050565b60006020820190508181036000830152613ecd816139a3565b9050919050565b60006020820190508181036000830152613eed816139c6565b9050919050565b60006020820190508181036000830152613f0d816139e9565b9050919050565b60006020820190508181036000830152613f2d81613a0c565b9050919050565b60006020820190508181036000830152613f4d81613a2f565b9050919050565b60006020820190508181036000830152613f6d81613a52565b9050919050565b60006020820190508181036000830152613f8d81613a75565b9050919050565b60006020820190508181036000830152613fad81613a98565b9050919050565b60006020820190508181036000830152613fcd81613ade565b9050919050565b60006020820190508181036000830152613fed81613b01565b9050919050565b60006020820190506140096000830184613b47565b92915050565b600061401961402a565b90506140258282614318565b919050565b6000604051905090565b600067ffffffffffffffff82111561404f5761404e6144dd565b5b61405882614520565b9050602081019050919050565b600067ffffffffffffffff8211156140805761407f6144dd565b5b61408982614520565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b60006140ef82614288565b91506140fa83614288565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561412f5761412e6143c3565b5b828201905092915050565b600061414582614288565b915061415083614288565b9250826141605761415f6143f2565b5b828204905092915050565b600061417682614288565b915061418183614288565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156141ba576141b96143c3565b5b828202905092915050565b60006141d082614288565b91506141db83614288565b9250828210156141ee576141ed6143c3565b5b828203905092915050565b600061420482614268565b9050919050565b600061421682614268565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600081905061426382614ca8565b919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600061429d82614255565b9050919050565b82818337600083830152505050565b60005b838110156142d15780820151818401526020810190506142b6565b838111156142e0576000848401525b50505050565b600060028204905060018216806142fe57607f821691505b6020821081141561431257614311614450565b5b50919050565b61432182614520565b810181811067ffffffffffffffff821117156143405761433f6144dd565b5b80604052505050565b600061435482614288565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614387576143866143c3565b5b600182019050919050565b600061439d82614288565b91506143a883614288565b9250826143b8576143b76143f2565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f23206f66206e6577204e465473206973206c696d69746564207065722073696e60008201527f676c65207472616e73616374696f6e0000000000000000000000000000000000602082015250565b7f67657441676520717565727920666f72206e6f6e6578697374656e7420746f6b60008201527f656e000000000000000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f53616c65206d7573742062652061637469766520746f206d696e7420466c6f7760008201527f7479000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f496e73756666696369656e742062616c616e6365000000000000000000000000600082015250565b7f45746865722076616c75652073656e74206973206e6f7420636f727265637400600082015250565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f507572636861736520776f756c6420657863656564206d617820737570706c7960008201527f206f6620466c6f77747973000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f666c6f7774795072696365206d7573742062652067726561746572207468616e60008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b50565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f2f00000000000000000000000000000000000000000000000000000000000000600082015250565b60048110614cb957614cb8614421565b5b50565b614cc5816141f9565b8114614cd057600080fd5b50565b614cdc8161420b565b8114614ce757600080fd5b50565b614cf38161421d565b8114614cfe57600080fd5b50565b614d0a81614229565b8114614d1557600080fd5b50565b614d2181614288565b8114614d2c57600080fd5b5056fea2646970667358221220c3b53f4ec8bad4ad4a364998236acd11f95120d26e23fc0686da5a724e1123b064736f6c634300080700330000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001d68747470733a2f2f6d657461646174612e666c6f777479732e636f6d2f000000
Deployed Bytecode
0x60806040526004361061021a5760003560e01c80635d6aefc611610123578063996bae64116100ab578063c87b56dd1161006f578063c87b56dd146107ae578063e985e9c5146107eb578063ead0680114610828578063eb8d244414610853578063f2fde38b1461087e5761021a565b8063996bae64146106ea578063a22cb46514610706578063a68ad32d1461072f578063ac4bc1971461075a578063b88d4fde146107855761021a565b8063715018a6116100f2578063715018a61461062b5780638545f4ea146106425780638b1e599a1461066b5780638da5cb5b1461069457806395d89b41146106bf5761021a565b80635d6aefc6146105495780636352211e14610586578063694d0e0b146105c357806370a08231146105ee5761021a565b806323b872dd116101a657806342842e0e1161017557806342842e0e146104685780634d7313a4146104915780634f6ccce7146104ba57806355d7d44a146104f757806355f804b3146105205761021a565b806323b872dd146103d45780632f745c59146103fd57806334918dfd1461043a5780633ccfd60b146104515761021a565b80630e37008a116101ed5780630e37008a146102ed5780630f7309e81461032a578063109695231461035557806318160ddd1461037e5780631eeed7cc146103a95761021a565b806301ffc9a71461021f57806306fdde031461025c578063081812fc14610287578063095ea7b3146102c4575b600080fd5b34801561022b57600080fd5b506102466004803603810190610241919061353f565b6108a7565b6040516102539190613c3c565b60405180910390f35b34801561026857600080fd5b506102716108b9565b60405161027e9190613c72565b60405180910390f35b34801561029357600080fd5b506102ae60048036038101906102a991906135e2565b61094b565b6040516102bb9190613bd5565b60405180910390f35b3480156102d057600080fd5b506102eb60048036038101906102e691906134ff565b6109d0565b005b3480156102f957600080fd5b50610314600480360381019061030f91906135e2565b610ae8565b6040516103219190613c57565b60405180910390f35b34801561033657600080fd5b5061033f610b91565b60405161034c9190613c72565b60405180910390f35b34801561036157600080fd5b5061037c60048036038101906103779190613599565b610c1f565b005b34801561038a57600080fd5b50610393610cb5565b6040516103a09190613ff4565b60405180910390f35b3480156103b557600080fd5b506103be610cc2565b6040516103cb9190613ff4565b60405180910390f35b3480156103e057600080fd5b506103fb60048036038101906103f691906133e9565b610cc9565b005b34801561040957600080fd5b50610424600480360381019061041f91906134ff565b610ce2565b6040516104319190613ff4565b60405180910390f35b34801561044657600080fd5b5061044f610d87565b005b34801561045d57600080fd5b50610466610e2f565b005b34801561047457600080fd5b5061048f600480360381019061048a91906133e9565b610f00565b005b34801561049d57600080fd5b506104b860048036038101906104b3919061360f565b610f20565b005b3480156104c657600080fd5b506104e160048036038101906104dc91906135e2565b610fed565b6040516104ee9190613ff4565b60405180910390f35b34801561050357600080fd5b5061051e600480360381019061051991906135e2565b61105e565b005b34801561052c57600080fd5b5061054760048036038101906105429190613599565b6110e4565b005b34801561055557600080fd5b50610570600480360381019061056b91906135e2565b61117a565b60405161057d9190613ff4565b60405180910390f35b34801561059257600080fd5b506105ad60048036038101906105a891906135e2565b6111df565b6040516105ba9190613bd5565b60405180910390f35b3480156105cf57600080fd5b506105d8611291565b6040516105e59190613c72565b60405180910390f35b3480156105fa57600080fd5b506106156004803603810190610610919061337c565b61131f565b6040516106229190613ff4565b60405180910390f35b34801561063757600080fd5b506106406113d7565b005b34801561064e57600080fd5b50610669600480360381019061066491906135e2565b61145f565b005b34801561067757600080fd5b50610692600480360381019061068d91906135e2565b611528565b005b3480156106a057600080fd5b506106a96115d2565b6040516106b69190613bd5565b60405180910390f35b3480156106cb57600080fd5b506106d46115fc565b6040516106e19190613c72565b60405180910390f35b61070460048036038101906106ff91906135e2565b61168e565b005b34801561071257600080fd5b5061072d600480360381019061072891906134bf565b611806565b005b34801561073b57600080fd5b50610744611987565b6040516107519190613ff4565b60405180910390f35b34801561076657600080fd5b5061076f61198d565b60405161077c9190613ff4565b60405180910390f35b34801561079157600080fd5b506107ac60048036038101906107a7919061343c565b611993565b005b3480156107ba57600080fd5b506107d560048036038101906107d091906135e2565b6119ae565b6040516107e29190613c72565b60405180910390f35b3480156107f757600080fd5b50610812600480360381019061080d91906133a9565b611a47565b60405161081f9190613c3c565b60405180910390f35b34801561083457600080fd5b5061083d611adb565b60405161084a9190613ff4565b60405180910390f35b34801561085f57600080fd5b50610868611ae1565b6040516108759190613c3c565b60405180910390f35b34801561088a57600080fd5b506108a560048036038101906108a0919061337c565b611af4565b005b60006108b282611bec565b9050919050565b6060600080546108c8906142e6565b80601f01602080910402602001604051908101604052809291908181526020018280546108f4906142e6565b80156109415780601f1061091657610100808354040283529160200191610941565b820191906000526020600020905b81548152906001019060200180831161092457829003601f168201915b5050505050905090565b600061095682611c66565b610995576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161098c90613ef4565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006109db826111df565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610a4c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a4390613f94565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610a6b611cd2565b73ffffffffffffffffffffffffffffffffffffffff161480610a9a5750610a9981610a94611cd2565b611a47565b5b610ad9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ad090613e54565b60405180910390fd5b610ae38383611cda565b505050565b6000610af382611c66565b610b32576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b2990613cf4565b60405180910390fd5b60006207e900601160008581526020019081526020016000205443610b5791906141c5565b610b61919061413a565b9050610b77600382611d9390919063ffffffff16565b6003811115610b8957610b88614421565b5b915050919050565b60108054610b9e906142e6565b80601f0160208091040260200160405190810160405280929190818152602001828054610bca906142e6565b8015610c175780601f10610bec57610100808354040283529160200191610c17565b820191906000526020600020905b815481529060010190602001808311610bfa57829003601f168201915b505050505081565b610c27611cd2565b73ffffffffffffffffffffffffffffffffffffffff16610c456115d2565b73ffffffffffffffffffffffffffffffffffffffff1614610c9b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c9290613f14565b60405180910390fd5b8060109080519060200190610cb192919061317b565b5050565b6000600880549050905090565b6207e90081565b610cd4838383611dac565b610cdd81611e0c565b505050565b6000610ced8361131f565b8210610d2e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d2590613c94565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610d8f611cd2565b73ffffffffffffffffffffffffffffffffffffffff16610dad6115d2565b73ffffffffffffffffffffffffffffffffffffffff1614610e03576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dfa90613f14565b60405180910390fd5b600e60009054906101000a900460ff1615600e60006101000a81548160ff021916908315150217905550565b610e37611cd2565b73ffffffffffffffffffffffffffffffffffffffff16610e556115d2565b73ffffffffffffffffffffffffffffffffffffffff1614610eab576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ea290613f14565b60405180910390fd5b60004711610eee576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ee590613db4565b60405180910390fd5b6000479050610efd3382611f1f565b50565b610f1b83838360405180602001604052806000815250611993565b505050565b610f28611cd2565b73ffffffffffffffffffffffffffffffffffffffff16610f466115d2565b73ffffffffffffffffffffffffffffffffffffffff1614610f9c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f9390613f14565b60405180910390fd5b60004711610fdf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fd690613db4565b60405180910390fd5b610fe98183611f1f565b5050565b6000610ff7610cb5565b8210611038576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161102f90613fd4565b60405180910390fd5b6008828154811061104c5761104b6144ae565b5b90600052602060002001549050919050565b611066611cd2565b73ffffffffffffffffffffffffffffffffffffffff166110846115d2565b73ffffffffffffffffffffffffffffffffffffffff16146110da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110d190613f14565b60405180910390fd5b80600c8190555050565b6110ec611cd2565b73ffffffffffffffffffffffffffffffffffffffff1661110a6115d2565b73ffffffffffffffffffffffffffffffffffffffff1614611160576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161115790613f14565b60405180910390fd5b80600f908051906020019061117692919061317b565b5050565b600061118582611c66565b6111c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111bb90613cf4565b60405180910390fd5b60116000838152602001908152602001600020549050919050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611288576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161127f90613e94565b60405180910390fd5b80915050919050565b600f805461129e906142e6565b80601f01602080910402602001604051908101604052809291908181526020018280546112ca906142e6565b80156113175780601f106112ec57610100808354040283529160200191611317565b820191906000526020600020905b8154815290600101906020018083116112fa57829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611390576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161138790613e74565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6113df611cd2565b73ffffffffffffffffffffffffffffffffffffffff166113fd6115d2565b73ffffffffffffffffffffffffffffffffffffffff1614611453576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161144a90613f14565b60405180910390fd5b61145d6000612013565b565b611467611cd2565b73ffffffffffffffffffffffffffffffffffffffff166114856115d2565b73ffffffffffffffffffffffffffffffffffffffff16146114db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114d290613f14565b60405180910390fd5b6000811161151e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161151590613f74565b60405180910390fd5b80600d8190555050565b611530611cd2565b73ffffffffffffffffffffffffffffffffffffffff1661154e6115d2565b73ffffffffffffffffffffffffffffffffffffffff16146115a4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161159b90613f14565b60405180910390fd5b6000600190505b8181116115ce576115bb336120d9565b80806115c690614349565b9150506115ab565b5050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606001805461160b906142e6565b80601f0160208091040260200160405190810160405280929190818152602001828054611637906142e6565b80156116845780601f1061165957610100808354040283529160200191611684565b820191906000526020600020905b81548152906001019060200180831161166757829003601f168201915b5050505050905090565b600e60009054906101000a900460ff166116dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116d490613d54565b60405180910390fd5b600c54811115611722576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161171990613cd4565b60405180910390fd5b6127108161172e610cb5565b61173891906140e4565b1115611779576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161177090613eb4565b60405180910390fd5b3481600d54611788919061416b565b11156117c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117c090613dd4565b60405180910390fd5b60005b81811015611802576127106117df610cb5565b10156117ef576117ee336120d9565b5b80806117fa90614349565b9150506117cc565b5050565b61180e611cd2565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561187c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161187390613d94565b60405180910390fd5b8060056000611889611cd2565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611936611cd2565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161197b9190613c3c565b60405180910390a35050565b600c5481565b61271081565b61199f84848484612159565b6119a882611e0c565b50505050565b606060006119bb836121bb565b905060008151116119db5760405180602001604052806000815250611a3f565b806040516020016119ec9190613b9e565b604051602081830303815290604052611a1e611a0785610ae8565b6003811115611a1957611a18614421565b5b612262565b604051602001611a2f929190613b56565b6040516020818303038152906040525b915050919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600d5481565b600e60009054906101000a900460ff1681565b611afc611cd2565b73ffffffffffffffffffffffffffffffffffffffff16611b1a6115d2565b73ffffffffffffffffffffffffffffffffffffffff1614611b70576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b6790613f14565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611be0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bd790613d14565b60405180910390fd5b611be981612013565b50565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611c5f5750611c5e826123c3565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611d4d836111df565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818310611da25781611da4565b825b905092915050565b611dbd611db7611cd2565b826124a5565b611dfc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611df390613fb4565b60405180910390fd5b611e07838383612583565b505050565b60006207e9006011600084815260200190815260200160002054600143611e3391906141c5565b611e3d91906141c5565b611e47919061413a565b90506000601160008481526020019081526020016000205443611e6a91906141c5565b90506207e900811015611e9457436011600085815260200190815260200160002081905550611f1a565b60036207e900611ea4919061416b565b811015611f1957816207e900611eba919061416b565b6011600085815260200190815260200160002054611ed891906140e4565b43611ee391906141c5565b6011600085815260200190815260200160002054611f0191906140e4565b60116000858152602001908152602001600020819055505b5b505050565b80471015611f62576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f5990613e14565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff1682604051611f8890613bc0565b60006040518083038185875af1925050503d8060008114611fc5576040519150601f19603f3d011682016040523d82523d6000602084013e611fca565b606091505b505090508061200e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161200590613df4565b60405180910390fd5b505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60006120e5600b6127df565b9050612710811015612155576120fb82826127ed565b612105600b61280b565b4360116000838152602001908152602001600020819055507fde67a2cf8162e0601a30186b661edd01cc476d5da8452a0710a1df069e56a6428160405161214c9190613ff4565b60405180910390a15b5050565b61216a612164611cd2565b836124a5565b6121a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121a090613fb4565b60405180910390fd5b6121b584848484612821565b50505050565b60606121c682611c66565b612205576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121fc90613f54565b60405180910390fd5b600061220f61287d565b9050600081511161222f576040518060200160405280600081525061225a565b8061223984612262565b60405160200161224a929190613b7a565b6040516020818303038152906040525b915050919050565b606060008214156122aa576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506123be565b600082905060005b600082146122dc5780806122c590614349565b915050600a826122d5919061413a565b91506122b2565b60008167ffffffffffffffff8111156122f8576122f76144dd565b5b6040519080825280601f01601f19166020018201604052801561232a5781602001600182028036833780820191505090505b5090505b600085146123b75760018261234391906141c5565b9150600a856123529190614392565b603061235e91906140e4565b60f81b818381518110612374576123736144ae565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856123b0919061413a565b945061232e565b8093505050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061248e57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061249e575061249d8261290f565b5b9050919050565b60006124b082611c66565b6124ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124e690613e34565b60405180910390fd5b60006124fa836111df565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061256957508373ffffffffffffffffffffffffffffffffffffffff166125518461094b565b73ffffffffffffffffffffffffffffffffffffffff16145b8061257a57506125798185611a47565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166125a3826111df565b73ffffffffffffffffffffffffffffffffffffffff16146125f9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125f090613f34565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612669576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161266090613d74565b60405180910390fd5b612674838383612979565b61267f600082611cda565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546126cf91906141c5565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461272691906140e4565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600081600001549050919050565b612807828260405180602001604052806000815250612989565b5050565b6001816000016000828254019250508190555050565b61282c848484612583565b612838848484846129e4565b612877576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161286e90613cb4565b60405180910390fd5b50505050565b6060600f805461288c906142e6565b80601f01602080910402602001604051908101604052809291908181526020018280546128b8906142e6565b80156129055780601f106128da57610100808354040283529160200191612905565b820191906000526020600020905b8154815290600101906020018083116128e857829003601f168201915b5050505050905090565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612984838383612b7b565b505050565b6129938383612c8f565b6129a060008484846129e4565b6129df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129d690613cb4565b60405180910390fd5b505050565b6000612a058473ffffffffffffffffffffffffffffffffffffffff16612e5d565b15612b6e578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612a2e611cd2565b8786866040518563ffffffff1660e01b8152600401612a509493929190613bf0565b602060405180830381600087803b158015612a6a57600080fd5b505af1925050508015612a9b57506040513d601f19601f82011682018060405250810190612a98919061356c565b60015b612b1e573d8060008114612acb576040519150601f19603f3d011682016040523d82523d6000602084013e612ad0565b606091505b50600081511415612b16576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b0d90613cb4565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612b73565b600190505b949350505050565b612b86838383612e70565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612bc957612bc481612e75565b612c08565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612c0757612c068382612ebe565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612c4b57612c468161302b565b612c8a565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612c8957612c8882826130fc565b5b5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612cff576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cf690613ed4565b60405180910390fd5b612d0881611c66565b15612d48576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d3f90613d34565b60405180910390fd5b612d5460008383612979565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612da491906140e4565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001612ecb8461131f565b612ed591906141c5565b9050600060076000848152602001908152602001600020549050818114612fba576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b6000600160088054905061303f91906141c5565b905060006009600084815260200190815260200160002054905060006008838154811061306f5761306e6144ae565b5b906000526020600020015490508060088381548110613091576130906144ae565b5b9060005260206000200181905550816009600083815260200190815260200160002081905550600960008581526020019081526020016000206000905560088054806130e0576130df61447f565b5b6001900381819060005260206000200160009055905550505050565b60006131078361131f565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b828054613187906142e6565b90600052602060002090601f0160209004810192826131a957600085556131f0565b82601f106131c257805160ff19168380011785556131f0565b828001600101855582156131f0579182015b828111156131ef5782518255916020019190600101906131d4565b5b5090506131fd9190613201565b5090565b5b8082111561321a576000816000905550600101613202565b5090565b600061323161322c84614034565b61400f565b90508281526020810184848401111561324d5761324c614511565b5b6132588482856142a4565b509392505050565b600061327361326e84614065565b61400f565b90508281526020810184848401111561328f5761328e614511565b5b61329a8482856142a4565b509392505050565b6000813590506132b181614cbc565b92915050565b6000813590506132c681614cd3565b92915050565b6000813590506132db81614cea565b92915050565b6000813590506132f081614d01565b92915050565b60008151905061330581614d01565b92915050565b600082601f8301126133205761331f61450c565b5b813561333084826020860161321e565b91505092915050565b600082601f83011261334e5761334d61450c565b5b813561335e848260208601613260565b91505092915050565b60008135905061337681614d18565b92915050565b6000602082840312156133925761339161451b565b5b60006133a0848285016132a2565b91505092915050565b600080604083850312156133c0576133bf61451b565b5b60006133ce858286016132a2565b92505060206133df858286016132a2565b9150509250929050565b6000806000606084860312156134025761340161451b565b5b6000613410868287016132a2565b9350506020613421868287016132a2565b925050604061343286828701613367565b9150509250925092565b600080600080608085870312156134565761345561451b565b5b6000613464878288016132a2565b9450506020613475878288016132a2565b935050604061348687828801613367565b925050606085013567ffffffffffffffff8111156134a7576134a6614516565b5b6134b38782880161330b565b91505092959194509250565b600080604083850312156134d6576134d561451b565b5b60006134e4858286016132a2565b92505060206134f5858286016132cc565b9150509250929050565b600080604083850312156135165761351561451b565b5b6000613524858286016132a2565b925050602061353585828601613367565b9150509250929050565b6000602082840312156135555761355461451b565b5b6000613563848285016132e1565b91505092915050565b6000602082840312156135825761358161451b565b5b6000613590848285016132f6565b91505092915050565b6000602082840312156135af576135ae61451b565b5b600082013567ffffffffffffffff8111156135cd576135cc614516565b5b6135d984828501613339565b91505092915050565b6000602082840312156135f8576135f761451b565b5b600061360684828501613367565b91505092915050565b600080604083850312156136265761362561451b565b5b600061363485828601613367565b9250506020613645858286016132b7565b9150509250929050565b613658816141f9565b82525050565b6136678161421d565b82525050565b600061367882614096565b61368281856140ac565b93506136928185602086016142b3565b61369b81614520565b840191505092915050565b60006136b182614096565b6136bb81856140bd565b93506136cb8185602086016142b3565b80840191505092915050565b6136e081614292565b82525050565b60006136f1826140a1565b6136fb81856140c8565b935061370b8185602086016142b3565b61371481614520565b840191505092915050565b600061372a826140a1565b61373481856140d9565b93506137448185602086016142b3565b80840191505092915050565b600061375d602b836140c8565b915061376882614531565b604082019050919050565b60006137806032836140c8565b915061378b82614580565b604082019050919050565b60006137a3602f836140c8565b91506137ae826145cf565b604082019050919050565b60006137c66022836140c8565b91506137d18261461e565b604082019050919050565b60006137e96026836140c8565b91506137f48261466d565b604082019050919050565b600061380c601c836140c8565b9150613817826146bc565b602082019050919050565b600061382f6022836140c8565b915061383a826146e5565b604082019050919050565b60006138526024836140c8565b915061385d82614734565b604082019050919050565b60006138756019836140c8565b915061388082614783565b602082019050919050565b60006138986014836140c8565b91506138a3826147ac565b602082019050919050565b60006138bb601f836140c8565b91506138c6826147d5565b602082019050919050565b60006138de603a836140c8565b91506138e9826147fe565b604082019050919050565b6000613901601d836140c8565b915061390c8261484d565b602082019050919050565b6000613924602c836140c8565b915061392f82614876565b604082019050919050565b60006139476038836140c8565b9150613952826148c5565b604082019050919050565b600061396a602a836140c8565b915061397582614914565b604082019050919050565b600061398d6029836140c8565b915061399882614963565b604082019050919050565b60006139b0602b836140c8565b91506139bb826149b2565b604082019050919050565b60006139d36020836140c8565b91506139de82614a01565b602082019050919050565b60006139f6602c836140c8565b9150613a0182614a2a565b604082019050919050565b6000613a196020836140c8565b9150613a2482614a79565b602082019050919050565b6000613a3c6029836140c8565b9150613a4782614aa2565b604082019050919050565b6000613a5f602f836140c8565b9150613a6a82614af1565b604082019050919050565b6000613a826025836140c8565b9150613a8d82614b40565b604082019050919050565b6000613aa56021836140c8565b9150613ab082614b8f565b604082019050919050565b6000613ac86000836140bd565b9150613ad382614bde565b600082019050919050565b6000613aeb6031836140c8565b9150613af682614be1565b604082019050919050565b6000613b0e602c836140c8565b9150613b1982614c30565b604082019050919050565b6000613b316001836140d9565b9150613b3c82614c7f565b600182019050919050565b613b5081614288565b82525050565b6000613b6282856136a6565b9150613b6e828461371f565b91508190509392505050565b6000613b86828561371f565b9150613b92828461371f565b91508190509392505050565b6000613baa828461371f565b9150613bb582613b24565b915081905092915050565b6000613bcb82613abb565b9150819050919050565b6000602082019050613bea600083018461364f565b92915050565b6000608082019050613c05600083018761364f565b613c12602083018661364f565b613c1f6040830185613b47565b8181036060830152613c31818461366d565b905095945050505050565b6000602082019050613c51600083018461365e565b92915050565b6000602082019050613c6c60008301846136d7565b92915050565b60006020820190508181036000830152613c8c81846136e6565b905092915050565b60006020820190508181036000830152613cad81613750565b9050919050565b60006020820190508181036000830152613ccd81613773565b9050919050565b60006020820190508181036000830152613ced81613796565b9050919050565b60006020820190508181036000830152613d0d816137b9565b9050919050565b60006020820190508181036000830152613d2d816137dc565b9050919050565b60006020820190508181036000830152613d4d816137ff565b9050919050565b60006020820190508181036000830152613d6d81613822565b9050919050565b60006020820190508181036000830152613d8d81613845565b9050919050565b60006020820190508181036000830152613dad81613868565b9050919050565b60006020820190508181036000830152613dcd8161388b565b9050919050565b60006020820190508181036000830152613ded816138ae565b9050919050565b60006020820190508181036000830152613e0d816138d1565b9050919050565b60006020820190508181036000830152613e2d816138f4565b9050919050565b60006020820190508181036000830152613e4d81613917565b9050919050565b60006020820190508181036000830152613e6d8161393a565b9050919050565b60006020820190508181036000830152613e8d8161395d565b9050919050565b60006020820190508181036000830152613ead81613980565b9050919050565b60006020820190508181036000830152613ecd816139a3565b9050919050565b60006020820190508181036000830152613eed816139c6565b9050919050565b60006020820190508181036000830152613f0d816139e9565b9050919050565b60006020820190508181036000830152613f2d81613a0c565b9050919050565b60006020820190508181036000830152613f4d81613a2f565b9050919050565b60006020820190508181036000830152613f6d81613a52565b9050919050565b60006020820190508181036000830152613f8d81613a75565b9050919050565b60006020820190508181036000830152613fad81613a98565b9050919050565b60006020820190508181036000830152613fcd81613ade565b9050919050565b60006020820190508181036000830152613fed81613b01565b9050919050565b60006020820190506140096000830184613b47565b92915050565b600061401961402a565b90506140258282614318565b919050565b6000604051905090565b600067ffffffffffffffff82111561404f5761404e6144dd565b5b61405882614520565b9050602081019050919050565b600067ffffffffffffffff8211156140805761407f6144dd565b5b61408982614520565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b60006140ef82614288565b91506140fa83614288565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561412f5761412e6143c3565b5b828201905092915050565b600061414582614288565b915061415083614288565b9250826141605761415f6143f2565b5b828204905092915050565b600061417682614288565b915061418183614288565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156141ba576141b96143c3565b5b828202905092915050565b60006141d082614288565b91506141db83614288565b9250828210156141ee576141ed6143c3565b5b828203905092915050565b600061420482614268565b9050919050565b600061421682614268565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600081905061426382614ca8565b919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600061429d82614255565b9050919050565b82818337600083830152505050565b60005b838110156142d15780820151818401526020810190506142b6565b838111156142e0576000848401525b50505050565b600060028204905060018216806142fe57607f821691505b6020821081141561431257614311614450565b5b50919050565b61432182614520565b810181811067ffffffffffffffff821117156143405761433f6144dd565b5b80604052505050565b600061435482614288565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614387576143866143c3565b5b600182019050919050565b600061439d82614288565b91506143a883614288565b9250826143b8576143b76143f2565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f23206f66206e6577204e465473206973206c696d69746564207065722073696e60008201527f676c65207472616e73616374696f6e0000000000000000000000000000000000602082015250565b7f67657441676520717565727920666f72206e6f6e6578697374656e7420746f6b60008201527f656e000000000000000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f53616c65206d7573742062652061637469766520746f206d696e7420466c6f7760008201527f7479000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f496e73756666696369656e742062616c616e6365000000000000000000000000600082015250565b7f45746865722076616c75652073656e74206973206e6f7420636f727265637400600082015250565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f507572636861736520776f756c6420657863656564206d617820737570706c7960008201527f206f6620466c6f77747973000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f666c6f7774795072696365206d7573742062652067726561746572207468616e60008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b50565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f2f00000000000000000000000000000000000000000000000000000000000000600082015250565b60048110614cb957614cb8614421565b5b50565b614cc5816141f9565b8114614cd057600080fd5b50565b614cdc8161420b565b8114614ce757600080fd5b50565b614cf38161421d565b8114614cfe57600080fd5b50565b614d0a81614229565b8114614d1557600080fd5b50565b614d2181614288565b8114614d2c57600080fd5b5056fea2646970667358221220c3b53f4ec8bad4ad4a364998236acd11f95120d26e23fc0686da5a724e1123b064736f6c63430008070033
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.