Feature Tip: Add private address tag to any address under My Name Tag !
Overview
TokenID
1024
Total Transfers
-
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
SongADay
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: Unlicense pragma solidity ^0.8.4; ///////////////////////////////////////////////////////////////////////////////// // // // // // βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ // // βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ // // βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ // // βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ // // βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ // // βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ // // // // // ///////////////////////////////////////////////////////////////////////////////// import "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/utils/Counters.sol"; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; import "./IOpenStore.sol"; /** * @title ERC721 token for SongADay by Jonathan Mann * * @author swaHili */ contract SongADay is ERC721URIStorage, Ownable, ReentrancyGuard { using Strings for uint256; using Counters for Counters.Counter; // -- Counters -- Counters.Counter private _totalClaimed; Counters.Counter private _totalPublicMinted; Counters.Counter private _totalDailyMinted; // Address of interface identifier for royalty standard bytes4 private constant INTERFACE_ID_ERC2981 = 0x2a55205a; // -- Accounts -- address private constant ARTIST = 0x3d9456Ad6463a77bD77123Cb4836e463030bfAb4; address private constant TREASURY = 0x2a2C412c440Dfb0E7cae46EFF581e3E26aFd1Cd0; address private constant VAULT = 0x40b8992e107718c8d8ED892854Dd7a42470f3248; // -- Magic Numbers -- uint256 private constant LIMIT = 6; uint256 private constant OFFSET = 731; uint256 private constant SUPPLY = 4019; // Address of interface contract for OpenSea Shared Storefront (OPENSTORE) IOpenStore private openStoreContract; // Hash of merkle root for public claim bytes32 private merkleRoot; // IPFS CID hash of metadata folder (2009-2021) string private ipfsMetadataHash; // Magical array of integers used to generate token IDs uint16[] private magicalArr = new uint16[](SUPPLY-1); // Status of public mint bool public publicSale; // Timestamp of most recent treasury mint uint256 public previousTreasuryMint; // Price of public sale (0.2 ETH) uint256 public priceAmount = 200000000000000000; // Frequency of each randomized treasury mint (10 days) uint256 public frequency = 864000; /** * @notice Initializes contract and sets state variables. * @param _ipfsMetadataHash IPFS CID hash of metadata folder * @param _contractAddress Address of OpenStore contract */ constructor(string memory _ipfsMetadataHash, IOpenStore _contractAddress) ERC721("SongADay", "SAD") { ipfsMetadataHash = _ipfsMetadataHash; openStoreContract = _contractAddress; previousTreasuryMint = block.timestamp; } /** * @notice Owner randomizes daily mint based on frequency timeframe. * @param _tokenId ID of token * @param _ipfsMetadataHash IPFS CID hash of metadata file */ function dailyMint(uint256 _tokenId, string memory _ipfsMetadataHash) external onlyOwner { uint256 randInt = uint256(keccak256(abi.encodePacked(block.timestamp, _ipfsMetadataHash))); if (randInt % 10 == 0 && previousTreasuryMint + frequency <= block.timestamp) { _mintSong(_tokenId, _ipfsMetadataHash, TREASURY); previousTreasuryMint = block.timestamp; } else { _mintSong(_tokenId, _ipfsMetadataHash, _msgSender()); } _totalDailyMinted.increment(); } /** * @notice Owner batch mints tokens to list of addresses. * @param _tokenIds List of token IDs * @param _owners List of owner addresses */ function batchMint(uint256[] calldata _tokenIds, address[] calldata _owners) external onlyOwner { uint256 tokenId; string memory tokenURI; for (uint256 i; i < _tokenIds.length; i++) { tokenId = _tokenIds[i] + OFFSET; _shrinkArr(_tokenIds[i]); tokenURI = string(abi.encodePacked(ipfsMetadataHash, "/", tokenId.toString())); _mintSong(tokenId, tokenURI, _owners[i]); _totalPublicMinted.increment(); } } /** * @notice Public randomly mints tokens. * @param _amount Number of tokens being minted * * Requirements: * * - `publicSale` must be active. * - `amount` must be less than transaction limit. * - `totalMinted` plus `amount` must be less than max supply. * - `priceAmount` times `amount` must be equal to `msg.value`. */ function publicMint(uint256 _amount) payable external nonReentrant { uint256 totalMinted = _totalPublicMinted.current(); require(publicSale == true, "PublicMint: Sale is not active"); require(_amount < LIMIT, "PublicMint: Amount exceeds transaction limit"); require(totalMinted + _amount < SUPPLY, "PublicMint: Amount exceeds max supply"); require(priceAmount * _amount == msg.value, "PublicMint: Incorrect payment amount"); uint256 tokenId; string memory tokenURI; address owner = _msgSender(); uint256 randInt = uint256(keccak256(abi.encodePacked(block.timestamp, owner, totalMinted))); for (uint256 i; i < _amount; i++) { tokenId = _generateId(randInt); tokenURI = string(abi.encodePacked(ipfsMetadataHash, "/", tokenId.toString())); _mintSong(tokenId, tokenURI, owner); _totalPublicMinted.increment(); randInt >>= 8; } } /** * @notice Public batch claims tokens. * @param _openStoreIds List of OpenStore IDs * @param _tokenIds List of token IDs * @param _proofs Lists of merkle proofs */ function publicClaim( uint256[] calldata _openStoreIds, uint256[] calldata _tokenIds, bytes32[][] calldata _proofs ) external nonReentrant { address owner = _msgSender(); for (uint256 i; i < _openStoreIds.length; i++) { _claim(_openStoreIds[i], _tokenIds[i], _proofs[i], owner); } } /** * @notice Claims token and burns ERC1155 token stored on OpenStore contract. * @dev Checking ownership and existence is not required due to _safeTransferFrom and _mint. * * Requirements: * * - merkle proof must be valid. */ function _claim(uint256 _openStoreId, uint256 _tokenId, bytes32[] calldata _proof, address _owner) private { bytes32 leaf = keccak256(abi.encodePacked(_openStoreId, _tokenId)); require(MerkleProof.verify(_proof, merkleRoot, leaf), "Claim: Invalid merkle proof"); string memory tokenURI = string(abi.encodePacked(ipfsMetadataHash, "/", _tokenId.toString())); openStoreContract.safeTransferFrom(_owner, VAULT, _openStoreId, 1, ""); _mintSong(_tokenId, tokenURI, _owner); _totalClaimed.increment(); } /** * @notice Sets tokenURI and transfers token to owner. */ function _mintSong(uint256 _tokenId, string memory _tokenURI, address _to) private { _safeMint(_to, _tokenId, ""); _setTokenURI(_tokenId, _tokenURI); } /** * @notice Generates randomly unique token ID. * @dev Thank you @xtremetom https://xtremetom.medium.com/solidity-random-numbers-f54e1272c7dd */ function _generateId(uint256 _randInt) private returns(uint256 tokenId) { uint256 randIndex = _randInt % magicalArr.length; tokenId = (magicalArr[randIndex] != 0) ? magicalArr[randIndex] + OFFSET : randIndex + OFFSET; _shrinkArr(randIndex); } /** * @notice Replaces index value and shrinks array size. */ function _shrinkArr(uint256 _randIdex) private { uint256 maxIndex = magicalArr.length - 1; magicalArr[_randIdex] = (magicalArr[maxIndex] == 0) ? uint16(maxIndex) : uint16(magicalArr[maxIndex]); magicalArr.pop(); } /** * @notice Returns total supply of tokens existing on contract. */ function totalSupply() public view returns (uint256) { return _totalClaimed.current() + _totalPublicMinted.current() + _totalDailyMinted.current(); } /** * @notice Returns total remaining tokens from public mint. */ function totalRemaining() public view returns (uint256) { return (SUPPLY-1) - _totalPublicMinted.current(); } /** * @notice Updates frequency of randomized treasury mint. */ function setFrequency(uint256 _seconds) external onlyOwner { frequency = _seconds; } /** * @notice Sets hash of merkle root for public claim. */ function setMerkleRoot(bytes32 _root) external onlyOwner { merkleRoot = _root; } /** * @dev Updates price of token for public mint. */ function setPrice(uint256 _wei) external onlyOwner { priceAmount = _wei; } /** * @notice Toggles sale for public mint. */ function toggleSale() external onlyOwner { publicSale = !publicSale; } /** * @notice Withdraws funds from contract. */ function withdrawFunds() external onlyOwner { uint256 balance = address(this).balance; payable(ARTIST).transfer(balance); } /** * @notice Repairs metadata for list of tokens. */ function repairMetadata(uint256[] calldata _tokenIds, string[] calldata _tokenURIs) external onlyOwner { for (uint256 i; i < _tokenIds.length; i++) { _setTokenURI(_tokenIds[i], _tokenURIs[i]); } } /** * @notice See {ERC721-baseURI}. */ function _baseURI() internal view virtual override returns (string memory) { return "ipfs://"; } /** * @notice See {IERC2981-royaltyInfo}. */ function royaltyInfo(uint256 /* _tokenId */, uint256 _salePrice) external pure returns (address, uint256 royaltyAmount) { royaltyAmount = (_salePrice * 10) / 100; return (TREASURY, royaltyAmount); } /** * @notice See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC721) returns (bool) { return interfaceId == INTERFACE_ID_ERC2981 || super.supportsInterface(interfaceId); } }
// SPDX-License-Identifier: Unlicense pragma solidity ^0.8.4; // @title Interface for OpenSea Shared Storefront (OPENSTORE) contract. interface IOpenStore { function balanceOf(address account, uint256 id) external view returns (uint256); function safeTransferFrom(address from, address to, uint256 id, uint256 amount, bytes memory data) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Trees proofs. * * The proofs can be generated using the JavaScript library * https://github.com/miguelmota/merkletreejs[merkletreejs]. * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled. * * See `test/utils/cryptography/MerkleProof.test.js` for some examples. */ library MerkleProof { /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify( bytes32[] memory proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProof(proof, leaf) == root; } /** * @dev Returns the rebuilt hash obtained by traversing a Merklee tree up * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt * hash matches the root of the tree. When processing the proof, the pairs * of leafs & pre-images are assumed to be sorted. * * _Available since v4.4._ */ function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { bytes32 proofElement = proof[i]; if (computedHash <= proofElement) { // Hash(current computed hash + current element of the proof) computedHash = keccak256(abi.encodePacked(computedHash, proofElement)); } else { // Hash(current element of the proof + current computed hash) computedHash = keccak256(abi.encodePacked(proofElement, computedHash)); } } return computedHash; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Counters.sol) pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` */ library Counters { struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { unchecked { counter._value += 1; } } function decrement(Counter storage counter) internal { uint256 value = counter._value; require(value > 0, "Counter: decrement overflow"); unchecked { counter._value = value - 1; } } function reset(Counter storage counter) internal { counter._value = 0; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721URIStorage.sol) pragma solidity ^0.8.0; import "../ERC721.sol"; /** * @dev ERC721 token with storage based token URI management. */ abstract contract ERC721URIStorage is ERC721 { using Strings for uint256; // Optional mapping for token URIs mapping(uint256 => string) private _tokenURIs; /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721URIStorage: URI query for nonexistent token"); string memory _tokenURI = _tokenURIs[tokenId]; string memory base = _baseURI(); // If there is no base URI, return the token URI. if (bytes(base).length == 0) { return _tokenURI; } // If both are set, concatenate the baseURI and tokenURI (via abi.encodePacked). if (bytes(_tokenURI).length > 0) { return string(abi.encodePacked(base, _tokenURI)); } return super.tokenURI(tokenId); } /** * @dev Sets `_tokenURI` as the tokenURI of `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal virtual { require(_exists(tokenId), "ERC721URIStorage: URI set of nonexistent token"); _tokenURIs[tokenId] = _tokenURI; } /** * @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 override { super._burn(tokenId); if (bytes(_tokenURIs[tokenId]).length != 0) { delete _tokenURIs[tokenId]; } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits a {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Address.sol) pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"_ipfsMetadataHash","type":"string"},{"internalType":"contract IOpenStore","name":"_contractAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"_tokenIds","type":"uint256[]"},{"internalType":"address[]","name":"_owners","type":"address[]"}],"name":"batchMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"string","name":"_ipfsMetadataHash","type":"string"}],"name":"dailyMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"frequency","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":"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":"previousTreasuryMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"priceAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"_openStoreIds","type":"uint256[]"},{"internalType":"uint256[]","name":"_tokenIds","type":"uint256[]"},{"internalType":"bytes32[][]","name":"_proofs","type":"bytes32[][]"}],"name":"publicClaim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"publicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"publicSale","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"_tokenIds","type":"uint256[]"},{"internalType":"string[]","name":"_tokenURIs","type":"string[]"}],"name":"repairMetadata","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"royaltyAmount","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_seconds","type":"uint256"}],"name":"setFrequency","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_root","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_wei","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"toggleSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalRemaining","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"withdrawFunds","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526001610fb362000015919062000579565b67ffffffffffffffff81111562000031576200003062000706565b5b604051908082528060200260200182016040528015620000605781602001602082028036833780820191505090505b50600f908051906020019062000078929190620002be565b506702c68af0bb140000601255620d2f006013553480156200009957600080fd5b5060405162005665380380620056658339818101604052810190620000bf9190620004b4565b6040518060400160405280600881526020017f536f6e67414461790000000000000000000000000000000000000000000000008152506040518060400160405280600381526020017f53414400000000000000000000000000000000000000000000000000000000008152508160009080519060200190620001439291906200036f565b5080600190805190602001906200015c9291906200036f565b5050506200017f62000173620001f060201b60201c565b620001f860201b60201c565b600160088190555081600e90805190602001906200019f9291906200036f565b5080600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555042601181905550505062000774565b600033905090565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b82805482825590600052602060002090600f016010900481019282156200035c5791602002820160005b838211156200032a57835183826101000a81548161ffff021916908361ffff1602179055509260200192600201602081600101049283019260010302620002e8565b80156200035a5782816101000a81549061ffff02191690556002016020816001010492830192600103026200032a565b505b5090506200036b919062000400565b5090565b8280546200037d906200063c565b90600052602060002090601f016020900481019282620003a15760008555620003ed565b82601f10620003bc57805160ff1916838001178555620003ed565b82800160010185558215620003ed579182015b82811115620003ec578251825591602001919060010190620003cf565b5b509050620003fc919062000400565b5090565b5b808211156200041b57600081600090555060010162000401565b5090565b600062000436620004308462000543565b6200051a565b9050828152602081018484840111156200045557620004546200073a565b5b6200046284828562000606565b509392505050565b6000815190506200047b816200075a565b92915050565b600082601f83011262000499576200049862000735565b5b8151620004ab8482602086016200041f565b91505092915050565b60008060408385031215620004ce57620004cd62000744565b5b600083015167ffffffffffffffff811115620004ef57620004ee6200073f565b5b620004fd8582860162000481565b925050602062000510858286016200046a565b9150509250929050565b60006200052662000539565b905062000534828262000672565b919050565b6000604051905090565b600067ffffffffffffffff82111562000561576200056062000706565b5b6200056c8262000749565b9050602081019050919050565b60006200058682620005fc565b91506200059383620005fc565b925082821015620005a957620005a8620006a8565b5b828203905092915050565b6000620005c182620005dc565b9050919050565b6000620005d582620005b4565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60005b838110156200062657808201518184015260208101905062000609565b8381111562000636576000848401525b50505050565b600060028204905060018216806200065557607f821691505b602082108114156200066c576200066b620006d7565b5b50919050565b6200067d8262000749565b810181811067ffffffffffffffff821117156200069f576200069e62000706565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b6200076581620005c8565b81146200077157600080fd5b50565b614ee180620007846000396000f3fe6080604052600436106101ee5760003560e01c806363bf2d701161010d57806398dc6bf0116100a0578063d8a543601161006f578063d8a54360146106b3578063e985e9c5146106de578063ead50da31461071b578063f2fde38b14610746578063f426f03a1461076f576101ee565b806398dc6bf0146105fb578063a22cb46514610624578063b88d4fde1461064d578063c87b56dd14610676576101ee565b80637d8966e4116100dc5780637d8966e4146105655780638da5cb5b1461057c57806391b7f5ed146105a757806395d89b41146105d0576101ee565b806363bf2d70146104bf57806370a08231146104e8578063715018a6146105255780637cb647591461053c576101ee565b806324600fc31161018557806333bc1c5c1161015457806333bc1c5c1461040557806342842e0e146104305780635a86c41a146104595780636352211e14610482576101ee565b806324600fc31461036b5780632a55205a146103825780632db11544146103c057806330114b13146103dc576101ee565b8063095ea7b3116101c1578063095ea7b3146102c35780630eae11cb146102ec57806318160ddd1461031757806323b872dd14610342576101ee565b806301ffc9a7146101f357806303cb65581461023057806306fdde031461025b578063081812fc14610286575b600080fd5b3480156101ff57600080fd5b5061021a60048036038101906102159190613604565b610798565b6040516102279190613e50565b60405180910390f35b34801561023c57600080fd5b506102456107f9565b604051610252919061418d565b60405180910390f35b34801561026757600080fd5b506102706107ff565b60405161027d9190613e6b565b60405180910390f35b34801561029257600080fd5b506102ad60048036038101906102a8919061365e565b610891565b6040516102ba9190613d68565b60405180910390f35b3480156102cf57600080fd5b506102ea60048036038101906102e591906133e1565b610916565b005b3480156102f857600080fd5b50610301610a2e565b60405161030e919061418d565b60405180910390f35b34801561032357600080fd5b5061032c610a34565b604051610339919061418d565b60405180910390f35b34801561034e57600080fd5b50610369600480360381019061036491906132cb565b610a6d565b005b34801561037757600080fd5b50610380610acd565b005b34801561038e57600080fd5b506103a960048036038101906103a491906136e7565b610bac565b6040516103b7929190613e27565b60405180910390f35b6103da60048036038101906103d5919061365e565b610be8565b005b3480156103e857600080fd5b5061040360048036038101906103fe919061368b565b610e40565b005b34801561041157600080fd5b5061041a610f69565b6040516104279190613e50565b60405180910390f35b34801561043c57600080fd5b50610457600480360381019061045291906132cb565b610f7c565b005b34801561046557600080fd5b50610480600480360381019061047b9190613421565b610f9c565b005b34801561048e57600080fd5b506104a960048036038101906104a4919061365e565b6110fa565b6040516104b69190613d68565b60405180910390f35b3480156104cb57600080fd5b506104e660048036038101906104e19190613523565b6111ac565b005b3480156104f457600080fd5b5061050f600480360381019061050a919061325e565b61129b565b60405161051c919061418d565b60405180910390f35b34801561053157600080fd5b5061053a611353565b005b34801561054857600080fd5b50610563600480360381019061055e91906135d7565b6113db565b005b34801561057157600080fd5b5061057a611461565b005b34801561058857600080fd5b50610591611509565b60405161059e9190613d68565b60405180910390f35b3480156105b357600080fd5b506105ce60048036038101906105c9919061365e565b611533565b005b3480156105dc57600080fd5b506105e56115b9565b6040516105f29190613e6b565b60405180910390f35b34801561060757600080fd5b50610622600480360381019061061d91906134a2565b61164b565b005b34801561063057600080fd5b5061064b600480360381019061064691906133a1565b611779565b005b34801561065957600080fd5b50610674600480360381019061066f919061331e565b61178f565b005b34801561068257600080fd5b5061069d6004803603810190610698919061365e565b6117f1565b6040516106aa9190613e6b565b60405180910390f35b3480156106bf57600080fd5b506106c8611943565b6040516106d5919061418d565b60405180910390f35b3480156106ea57600080fd5b506107056004803603810190610700919061328b565b61196d565b6040516107129190613e50565b60405180910390f35b34801561072757600080fd5b50610730611a01565b60405161073d919061418d565b60405180910390f35b34801561075257600080fd5b5061076d6004803603810190610768919061325e565b611a07565b005b34801561077b57600080fd5b506107966004803603810190610791919061365e565b611aff565b005b6000632a55205a60e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806107f257506107f182611b85565b5b9050919050565b60125481565b60606000805461080e90614534565b80601f016020809104026020016040519081016040528092919081815260200182805461083a90614534565b80156108875780601f1061085c57610100808354040283529160200191610887565b820191906000526020600020905b81548152906001019060200180831161086a57829003601f168201915b5050505050905090565b600061089c82611c67565b6108db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108d29061406d565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610921826110fa565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610992576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610989906140ed565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166109b1611cd3565b73ffffffffffffffffffffffffffffffffffffffff1614806109e057506109df816109da611cd3565b61196d565b5b610a1f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a1690613f8d565b60405180910390fd5b610a298383611cdb565b505050565b60115481565b6000610a40600b611d94565b610a4a600a611d94565b610a546009611d94565b610a5e919061434d565b610a68919061434d565b905090565b610a7e610a78611cd3565b82611da2565b610abd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ab49061412d565b60405180910390fd5b610ac8838383611e80565b505050565b610ad5611cd3565b73ffffffffffffffffffffffffffffffffffffffff16610af3611509565b73ffffffffffffffffffffffffffffffffffffffff1614610b49576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b409061408d565b60405180910390fd5b6000479050733d9456ad6463a77bd77123cb4836e463030bfab473ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610ba8573d6000803e3d6000fd5b5050565b6000806064600a84610bbe91906143d4565b610bc891906143a3565b9050732a2c412c440dfb0e7cae46eff581e3e26afd1cd091509250929050565b60026008541415610c2e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c259061414d565b60405180910390fd5b60026008819055506000610c42600a611d94565b905060011515601060009054906101000a900460ff16151514610c9a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c9190613e8d565b60405180910390fd5b60068210610cdd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cd49061410d565b60405180910390fd5b610fb38282610cec919061434d565b10610d2c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d2390613f0d565b60405180910390fd5b3482601254610d3b91906143d4565b14610d7b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d729061416d565b60405180910390fd5b600060606000610d89611cd3565b90506000428286604051602001610da293929190613cd7565b6040516020818303038152906040528051906020012060001c905060005b86811015610e2f57610dd1826120dc565b9450600e610dde866121a4565b604051602001610def929190613ca8565b6040516020818303038152906040529350610e0b858585612305565b610e15600a61232e565b600882901c91508080610e2790614597565b915050610dc0565b505050505050600160088190555050565b610e48611cd3565b73ffffffffffffffffffffffffffffffffffffffff16610e66611509565b73ffffffffffffffffffffffffffffffffffffffff1614610ebc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eb39061408d565b60405180910390fd5b60004282604051602001610ed1929190613d14565b6040516020818303038152906040528051906020012060001c90506000600a82610efb9190614618565b148015610f17575042601354601154610f14919061434d565b11155b15610f4757610f3b8383732a2c412c440dfb0e7cae46eff581e3e26afd1cd0612305565b42601181905550610f5a565b610f598383610f54611cd3565b612305565b5b610f64600b61232e565b505050565b601060009054906101000a900460ff1681565b610f978383836040518060200160405280600081525061178f565b505050565b610fa4611cd3565b73ffffffffffffffffffffffffffffffffffffffff16610fc2611509565b73ffffffffffffffffffffffffffffffffffffffff1614611018576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161100f9061408d565b60405180910390fd5b6000606060005b868690508110156110f1576102db8787838181106110405761103f614705565b5b90506020020135611051919061434d565b925061107587878381811061106957611068614705565b5b90506020020135612344565b600e611080846121a4565b604051602001611091929190613ca8565b60405160208183030381529060405291506110d483838787858181106110ba576110b9614705565b5b90506020020160208101906110cf919061325e565b612305565b6110de600a61232e565b80806110e990614597565b91505061101f565b50505050505050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156111a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161119a90613fcd565b60405180910390fd5b80915050919050565b600260085414156111f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111e99061414d565b60405180910390fd5b60026008819055506000611204611cd3565b905060005b878790508110156112895761127688888381811061122a57611229614705565b5b9050602002013587878481811061124457611243614705565b5b9050602002013586868581811061125e5761125d614705565b5b905060200281019061127091906141a8565b86612463565b808061128190614597565b915050611209565b50506001600881905550505050505050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561130c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161130390613fad565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61135b611cd3565b73ffffffffffffffffffffffffffffffffffffffff16611379611509565b73ffffffffffffffffffffffffffffffffffffffff16146113cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113c69061408d565b60405180910390fd5b6113d96000612612565b565b6113e3611cd3565b73ffffffffffffffffffffffffffffffffffffffff16611401611509565b73ffffffffffffffffffffffffffffffffffffffff1614611457576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161144e9061408d565b60405180910390fd5b80600d8190555050565b611469611cd3565b73ffffffffffffffffffffffffffffffffffffffff16611487611509565b73ffffffffffffffffffffffffffffffffffffffff16146114dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114d49061408d565b60405180910390fd5b601060009054906101000a900460ff1615601060006101000a81548160ff021916908315150217905550565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b61153b611cd3565b73ffffffffffffffffffffffffffffffffffffffff16611559611509565b73ffffffffffffffffffffffffffffffffffffffff16146115af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115a69061408d565b60405180910390fd5b8060128190555050565b6060600180546115c890614534565b80601f01602080910402602001604051908101604052809291908181526020018280546115f490614534565b80156116415780601f1061161657610100808354040283529160200191611641565b820191906000526020600020905b81548152906001019060200180831161162457829003601f168201915b5050505050905090565b611653611cd3565b73ffffffffffffffffffffffffffffffffffffffff16611671611509565b73ffffffffffffffffffffffffffffffffffffffff16146116c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116be9061408d565b60405180910390fd5b60005b848490508110156117725761175f8585838181106116eb576116ea614705565b5b9050602002013584848481811061170557611704614705565b5b9050602002810190611717919061420b565b8080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050506126d8565b808061176a90614597565b9150506116ca565b5050505050565b61178b611784611cd3565b838361274c565b5050565b6117a061179a611cd3565b83611da2565b6117df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117d69061412d565b60405180910390fd5b6117eb848484846128b9565b50505050565b60606117fc82611c67565b61183b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118329061404d565b60405180910390fd5b600060066000848152602001908152602001600020805461185b90614534565b80601f016020809104026020016040519081016040528092919081815260200182805461188790614534565b80156118d45780601f106118a9576101008083540402835291602001916118d4565b820191906000526020600020905b8154815290600101906020018083116118b757829003601f168201915b5050505050905060006118e5612915565b90506000815114156118fb57819250505061193e565b600082511115611930578082604051602001611918929190613c84565b6040516020818303038152906040529250505061193e565b61193984612952565b925050505b919050565b600061194f600a611d94565b6001610fb361195e919061442e565b611968919061442e565b905090565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60135481565b611a0f611cd3565b73ffffffffffffffffffffffffffffffffffffffff16611a2d611509565b73ffffffffffffffffffffffffffffffffffffffff1614611a83576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a7a9061408d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611af3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aea90613ecd565b60405180910390fd5b611afc81612612565b50565b611b07611cd3565b73ffffffffffffffffffffffffffffffffffffffff16611b25611509565b73ffffffffffffffffffffffffffffffffffffffff1614611b7b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b729061408d565b60405180910390fd5b8060138190555050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611c5057507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611c605750611c5f826129f9565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611d4e836110fa565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600081600001549050919050565b6000611dad82611c67565b611dec576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611de390613f6d565b60405180910390fd5b6000611df7836110fa565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611e6657508373ffffffffffffffffffffffffffffffffffffffff16611e4e84610891565b73ffffffffffffffffffffffffffffffffffffffff16145b80611e775750611e76818561196d565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611ea0826110fa565b73ffffffffffffffffffffffffffffffffffffffff1614611ef6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eed906140ad565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611f66576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f5d90613f2d565b60405180910390fd5b611f71838383612a63565b611f7c600082611cdb565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611fcc919061442e565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612023919061434d565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600080600f80549050836120f09190614618565b90506000600f828154811061210857612107614705565b5b90600052602060002090601091828204019190066002029054906101000a900461ffff1661ffff161415612149576102db81612144919061434d565b612193565b6102db600f82815481106121605761215f614705565b5b90600052602060002090601091828204019190066002029054906101000a900461ffff1661ffff16612192919061434d565b5b915061219e81612344565b50919050565b606060008214156121ec576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612300565b600082905060005b6000821461221e57808061220790614597565b915050600a8261221791906143a3565b91506121f4565b60008167ffffffffffffffff81111561223a57612239614734565b5b6040519080825280601f01601f19166020018201604052801561226c5781602001600182028036833780820191505090505b5090505b600085146122f957600182612285919061442e565b9150600a856122949190614618565b60306122a0919061434d565b60f81b8183815181106122b6576122b5614705565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856122f291906143a3565b9450612270565b8093505050505b919050565b61231f818460405180602001604052806000815250612a68565b61232983836126d8565b505050565b6001816000016000828254019250508190555050565b60006001600f80549050612358919061442e565b90506000600f82815481106123705761236f614705565b5b90600052602060002090601091828204019190066002029054906101000a900461ffff1661ffff16146123da57600f81815481106123b1576123b0614705565b5b90600052602060002090601091828204019190066002029054906101000a900461ffff166123dc565b805b600f83815481106123f0576123ef614705565b5b90600052602060002090601091828204019190066002026101000a81548161ffff021916908361ffff160217905550600f805480612431576124306146d6565b5b60019003818190600052602060002090601091828204019190066002026101000a81549061ffff021916905590555050565b60008585604051602001612478929190613d3c565b6040516020818303038152906040528051906020012090506124de848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600d5483612ac3565b61251d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125149061400d565b60405180910390fd5b6000600e61252a876121a4565b60405160200161253b929190613ca8565b6040516020818303038152906040529050600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f242432a847340b8992e107718c8d8ed892854dd7a42470f32488a60016040518563ffffffff1660e01b81526004016125c29493929190613dcf565b600060405180830381600087803b1580156125dc57600080fd5b505af11580156125f0573d6000803e3d6000fd5b505050506125ff868285612305565b612609600961232e565b50505050505050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6126e182611c67565b612720576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161271790613fed565b60405180910390fd5b80600660008481526020019081526020016000209080519060200190612747929190612f05565b505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156127bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127b290613f4d565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516128ac9190613e50565b60405180910390a3505050565b6128c4848484611e80565b6128d084848484612ada565b61290f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161290690613ead565b60405180910390fd5b50505050565b60606040518060400160405280600781526020017f697066733a2f2f00000000000000000000000000000000000000000000000000815250905090565b606061295d82611c67565b61299c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612993906140cd565b60405180910390fd5b60006129a6612915565b905060008151116129c657604051806020016040528060008152506129f1565b806129d0846121a4565b6040516020016129e1929190613c84565b6040516020818303038152906040525b915050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b505050565b612a728383612c71565b612a7f6000848484612ada565b612abe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ab590613ead565b60405180910390fd5b505050565b600082612ad08584612e3f565b1490509392505050565b6000612afb8473ffffffffffffffffffffffffffffffffffffffff16612ef2565b15612c64578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612b24611cd3565b8786866040518563ffffffff1660e01b8152600401612b469493929190613d83565b602060405180830381600087803b158015612b6057600080fd5b505af1925050508015612b9157506040513d601f19601f82011682018060405250810190612b8e9190613631565b60015b612c14573d8060008114612bc1576040519150601f19603f3d011682016040523d82523d6000602084013e612bc6565b606091505b50600081511415612c0c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c0390613ead565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612c69565b600190505b949350505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612ce1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cd89061402d565b60405180910390fd5b612cea81611c67565b15612d2a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d2190613eed565b60405180910390fd5b612d3660008383612a63565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612d86919061434d565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b60008082905060005b8451811015612ee7576000858281518110612e6657612e65614705565b5b60200260200101519050808311612ea7578281604051602001612e8a929190613c58565b604051602081830303815290604052805190602001209250612ed3565b8083604051602001612eba929190613c58565b6040516020818303038152906040528051906020012092505b508080612edf90614597565b915050612e48565b508091505092915050565b600080823b905060008111915050919050565b828054612f1190614534565b90600052602060002090601f016020900481019282612f335760008555612f7a565b82601f10612f4c57805160ff1916838001178555612f7a565b82800160010185558215612f7a579182015b82811115612f79578251825591602001919060010190612f5e565b5b509050612f879190612f8b565b5090565b5b80821115612fa4576000816000905550600101612f8c565b5090565b6000612fbb612fb684614293565b61426e565b905082815260208101848484011115612fd757612fd6614781565b5b612fe28482856144f2565b509392505050565b6000612ffd612ff8846142c4565b61426e565b90508281526020810184848401111561301957613018614781565b5b6130248482856144f2565b509392505050565b60008135905061303b81614e38565b92915050565b60008083601f84011261305757613056614768565b5b8235905067ffffffffffffffff81111561307457613073614763565b5b6020830191508360208202830111156130905761308f614777565b5b9250929050565b60008083601f8401126130ad576130ac614768565b5b8235905067ffffffffffffffff8111156130ca576130c9614763565b5b6020830191508360208202830111156130e6576130e5614777565b5b9250929050565b60008083601f84011261310357613102614768565b5b8235905067ffffffffffffffff8111156131205761311f614763565b5b60208301915083602082028301111561313c5761313b614777565b5b9250929050565b60008083601f84011261315957613158614768565b5b8235905067ffffffffffffffff81111561317657613175614763565b5b60208301915083602082028301111561319257613191614777565b5b9250929050565b6000813590506131a881614e4f565b92915050565b6000813590506131bd81614e66565b92915050565b6000813590506131d281614e7d565b92915050565b6000815190506131e781614e7d565b92915050565b600082601f83011261320257613201614768565b5b8135613212848260208601612fa8565b91505092915050565b600082601f8301126132305761322f614768565b5b8135613240848260208601612fea565b91505092915050565b60008135905061325881614e94565b92915050565b6000602082840312156132745761327361478b565b5b60006132828482850161302c565b91505092915050565b600080604083850312156132a2576132a161478b565b5b60006132b08582860161302c565b92505060206132c18582860161302c565b9150509250929050565b6000806000606084860312156132e4576132e361478b565b5b60006132f28682870161302c565b93505060206133038682870161302c565b925050604061331486828701613249565b9150509250925092565b600080600080608085870312156133385761333761478b565b5b60006133468782880161302c565b94505060206133578782880161302c565b935050604061336887828801613249565b925050606085013567ffffffffffffffff81111561338957613388614786565b5b613395878288016131ed565b91505092959194509250565b600080604083850312156133b8576133b761478b565b5b60006133c68582860161302c565b92505060206133d785828601613199565b9150509250929050565b600080604083850312156133f8576133f761478b565b5b60006134068582860161302c565b925050602061341785828601613249565b9150509250929050565b6000806000806040858703121561343b5761343a61478b565b5b600085013567ffffffffffffffff81111561345957613458614786565b5b61346587828801613143565b9450945050602085013567ffffffffffffffff81111561348857613487614786565b5b61349487828801613041565b925092505092959194509250565b600080600080604085870312156134bc576134bb61478b565b5b600085013567ffffffffffffffff8111156134da576134d9614786565b5b6134e687828801613143565b9450945050602085013567ffffffffffffffff81111561350957613508614786565b5b613515878288016130ed565b925092505092959194509250565b600080600080600080606087890312156135405761353f61478b565b5b600087013567ffffffffffffffff81111561355e5761355d614786565b5b61356a89828a01613143565b9650965050602087013567ffffffffffffffff81111561358d5761358c614786565b5b61359989828a01613143565b9450945050604087013567ffffffffffffffff8111156135bc576135bb614786565b5b6135c889828a01613097565b92509250509295509295509295565b6000602082840312156135ed576135ec61478b565b5b60006135fb848285016131ae565b91505092915050565b60006020828403121561361a5761361961478b565b5b6000613628848285016131c3565b91505092915050565b6000602082840312156136475761364661478b565b5b6000613655848285016131d8565b91505092915050565b6000602082840312156136745761367361478b565b5b600061368284828501613249565b91505092915050565b600080604083850312156136a2576136a161478b565b5b60006136b085828601613249565b925050602083013567ffffffffffffffff8111156136d1576136d0614786565b5b6136dd8582860161321b565b9150509250929050565b600080604083850312156136fe576136fd61478b565b5b600061370c85828601613249565b925050602061371d85828601613249565b9150509250929050565b61373081614462565b82525050565b61374761374282614462565b6145e0565b82525050565b61375681614474565b82525050565b61376d61376882614480565b6145f2565b82525050565b600061377e8261430a565b6137888185614320565b9350613798818560208601614501565b6137a181614790565b840191505092915050565b6137b5816144e0565b82525050565b60006137c682614315565b6137d08185614331565b93506137e0818560208601614501565b6137e981614790565b840191505092915050565b60006137ff82614315565b6138098185614342565b9350613819818560208601614501565b80840191505092915050565b6000815461383281614534565b61383c8186614342565b9450600182166000811461385757600181146138685761389b565b60ff1983168652818601935061389b565b613871856142f5565b60005b8381101561389357815481890152600182019150602081019050613874565b838801955050505b50505092915050565b60006138b1601e83614331565b91506138bc826147ae565b602082019050919050565b60006138d4603283614331565b91506138df826147d7565b604082019050919050565b60006138f7602683614331565b915061390282614826565b604082019050919050565b600061391a601c83614331565b915061392582614875565b602082019050919050565b600061393d602583614331565b91506139488261489e565b604082019050919050565b6000613960602483614331565b915061396b826148ed565b604082019050919050565b6000613983601983614331565b915061398e8261493c565b602082019050919050565b60006139a6602c83614331565b91506139b182614965565b604082019050919050565b60006139c9603883614331565b91506139d4826149b4565b604082019050919050565b60006139ec602a83614331565b91506139f782614a03565b604082019050919050565b6000613a0f602983614331565b9150613a1a82614a52565b604082019050919050565b6000613a32602e83614331565b9150613a3d82614aa1565b604082019050919050565b6000613a55601b83614331565b9150613a6082614af0565b602082019050919050565b6000613a78602083614331565b9150613a8382614b19565b602082019050919050565b6000613a9b603183614331565b9150613aa682614b42565b604082019050919050565b6000613abe602c83614331565b9150613ac982614b91565b604082019050919050565b6000613ae1602083614331565b9150613aec82614be0565b602082019050919050565b6000613b04602983614331565b9150613b0f82614c09565b604082019050919050565b6000613b27602f83614331565b9150613b3282614c58565b604082019050919050565b6000613b4a602183614331565b9150613b5582614ca7565b604082019050919050565b6000613b6d602c83614331565b9150613b7882614cf6565b604082019050919050565b6000613b90600083614320565b9150613b9b82614d45565b600082019050919050565b6000613bb3603183614331565b9150613bbe82614d48565b604082019050919050565b6000613bd6601f83614331565b9150613be182614d97565b602082019050919050565b6000613bf9602483614331565b9150613c0482614dc0565b604082019050919050565b6000613c1c600183614342565b9150613c2782614e0f565b600182019050919050565b613c3b816144d6565b82525050565b613c52613c4d826144d6565b61460e565b82525050565b6000613c64828561375c565b602082019150613c74828461375c565b6020820191508190509392505050565b6000613c9082856137f4565b9150613c9c82846137f4565b91508190509392505050565b6000613cb48285613825565b9150613cbf82613c0f565b9150613ccb82846137f4565b91508190509392505050565b6000613ce38286613c41565b602082019150613cf38285613736565b601482019150613d038284613c41565b602082019150819050949350505050565b6000613d208285613c41565b602082019150613d3082846137f4565b91508190509392505050565b6000613d488285613c41565b602082019150613d588284613c41565b6020820191508190509392505050565b6000602082019050613d7d6000830184613727565b92915050565b6000608082019050613d986000830187613727565b613da56020830186613727565b613db26040830185613c32565b8181036060830152613dc48184613773565b905095945050505050565b600060a082019050613de46000830187613727565b613df16020830186613727565b613dfe6040830185613c32565b613e0b60608301846137ac565b8181036080830152613e1c81613b83565b905095945050505050565b6000604082019050613e3c6000830185613727565b613e496020830184613c32565b9392505050565b6000602082019050613e65600083018461374d565b92915050565b60006020820190508181036000830152613e8581846137bb565b905092915050565b60006020820190508181036000830152613ea6816138a4565b9050919050565b60006020820190508181036000830152613ec6816138c7565b9050919050565b60006020820190508181036000830152613ee6816138ea565b9050919050565b60006020820190508181036000830152613f068161390d565b9050919050565b60006020820190508181036000830152613f2681613930565b9050919050565b60006020820190508181036000830152613f4681613953565b9050919050565b60006020820190508181036000830152613f6681613976565b9050919050565b60006020820190508181036000830152613f8681613999565b9050919050565b60006020820190508181036000830152613fa6816139bc565b9050919050565b60006020820190508181036000830152613fc6816139df565b9050919050565b60006020820190508181036000830152613fe681613a02565b9050919050565b6000602082019050818103600083015261400681613a25565b9050919050565b6000602082019050818103600083015261402681613a48565b9050919050565b6000602082019050818103600083015261404681613a6b565b9050919050565b6000602082019050818103600083015261406681613a8e565b9050919050565b6000602082019050818103600083015261408681613ab1565b9050919050565b600060208201905081810360008301526140a681613ad4565b9050919050565b600060208201905081810360008301526140c681613af7565b9050919050565b600060208201905081810360008301526140e681613b1a565b9050919050565b6000602082019050818103600083015261410681613b3d565b9050919050565b6000602082019050818103600083015261412681613b60565b9050919050565b6000602082019050818103600083015261414681613ba6565b9050919050565b6000602082019050818103600083015261416681613bc9565b9050919050565b6000602082019050818103600083015261418681613bec565b9050919050565b60006020820190506141a26000830184613c32565b92915050565b600080833560016020038436030381126141c5576141c4614772565b5b80840192508235915067ffffffffffffffff8211156141e7576141e661476d565b5b6020830192506020820236038313156142035761420261477c565b5b509250929050565b6000808335600160200384360303811261422857614227614772565b5b80840192508235915067ffffffffffffffff82111561424a5761424961476d565b5b6020830192506001820236038313156142665761426561477c565b5b509250929050565b6000614278614289565b90506142848282614566565b919050565b6000604051905090565b600067ffffffffffffffff8211156142ae576142ad614734565b5b6142b782614790565b9050602081019050919050565b600067ffffffffffffffff8211156142df576142de614734565b5b6142e882614790565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000614358826144d6565b9150614363836144d6565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561439857614397614649565b5b828201905092915050565b60006143ae826144d6565b91506143b9836144d6565b9250826143c9576143c8614678565b5b828204905092915050565b60006143df826144d6565b91506143ea836144d6565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561442357614422614649565b5b828202905092915050565b6000614439826144d6565b9150614444836144d6565b92508282101561445757614456614649565b5b828203905092915050565b600061446d826144b6565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60006144eb826144d6565b9050919050565b82818337600083830152505050565b60005b8381101561451f578082015181840152602081019050614504565b8381111561452e576000848401525b50505050565b6000600282049050600182168061454c57607f821691505b602082108114156145605761455f6146a7565b5b50919050565b61456f82614790565b810181811067ffffffffffffffff8211171561458e5761458d614734565b5b80604052505050565b60006145a2826144d6565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156145d5576145d4614649565b5b600182019050919050565b60006145eb826145fc565b9050919050565b6000819050919050565b6000614607826147a1565b9050919050565b6000819050919050565b6000614623826144d6565b915061462e836144d6565b92508261463e5761463d614678565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f5075626c69634d696e743a2053616c65206973206e6f74206163746976650000600082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f5075626c69634d696e743a20416d6f756e742065786365656473206d6178207360008201527f7570706c79000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f45524337323155524953746f726167653a2055524920736574206f66206e6f6e60008201527f6578697374656e7420746f6b656e000000000000000000000000000000000000602082015250565b7f436c61696d3a20496e76616c6964206d65726b6c652070726f6f660000000000600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f45524337323155524953746f726167653a2055524920717565727920666f722060008201527f6e6f6e6578697374656e7420746f6b656e000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f5075626c69634d696e743a20416d6f756e742065786365656473207472616e7360008201527f616374696f6e206c696d69740000000000000000000000000000000000000000602082015250565b50565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b7f5075626c69634d696e743a20496e636f7272656374207061796d656e7420616d60008201527f6f756e7400000000000000000000000000000000000000000000000000000000602082015250565b7f2f00000000000000000000000000000000000000000000000000000000000000600082015250565b614e4181614462565b8114614e4c57600080fd5b50565b614e5881614474565b8114614e6357600080fd5b50565b614e6f81614480565b8114614e7a57600080fd5b50565b614e868161448a565b8114614e9157600080fd5b50565b614e9d816144d6565b8114614ea857600080fd5b5056fea26469706673582212209bd2dce009504c816cbdfc8f93193d2c1f19d5f6b37129c0137aa40a0d8a3e6264736f6c634300080700330000000000000000000000000000000000000000000000000000000000000040000000000000000000000000495f947276749ce646f68ac8c248420045cb7b5e000000000000000000000000000000000000000000000000000000000000002e516d6239583779426b35694b7a676e53357066416652654654384656614c636637634a4778785546577a524d796b000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106101ee5760003560e01c806363bf2d701161010d57806398dc6bf0116100a0578063d8a543601161006f578063d8a54360146106b3578063e985e9c5146106de578063ead50da31461071b578063f2fde38b14610746578063f426f03a1461076f576101ee565b806398dc6bf0146105fb578063a22cb46514610624578063b88d4fde1461064d578063c87b56dd14610676576101ee565b80637d8966e4116100dc5780637d8966e4146105655780638da5cb5b1461057c57806391b7f5ed146105a757806395d89b41146105d0576101ee565b806363bf2d70146104bf57806370a08231146104e8578063715018a6146105255780637cb647591461053c576101ee565b806324600fc31161018557806333bc1c5c1161015457806333bc1c5c1461040557806342842e0e146104305780635a86c41a146104595780636352211e14610482576101ee565b806324600fc31461036b5780632a55205a146103825780632db11544146103c057806330114b13146103dc576101ee565b8063095ea7b3116101c1578063095ea7b3146102c35780630eae11cb146102ec57806318160ddd1461031757806323b872dd14610342576101ee565b806301ffc9a7146101f357806303cb65581461023057806306fdde031461025b578063081812fc14610286575b600080fd5b3480156101ff57600080fd5b5061021a60048036038101906102159190613604565b610798565b6040516102279190613e50565b60405180910390f35b34801561023c57600080fd5b506102456107f9565b604051610252919061418d565b60405180910390f35b34801561026757600080fd5b506102706107ff565b60405161027d9190613e6b565b60405180910390f35b34801561029257600080fd5b506102ad60048036038101906102a8919061365e565b610891565b6040516102ba9190613d68565b60405180910390f35b3480156102cf57600080fd5b506102ea60048036038101906102e591906133e1565b610916565b005b3480156102f857600080fd5b50610301610a2e565b60405161030e919061418d565b60405180910390f35b34801561032357600080fd5b5061032c610a34565b604051610339919061418d565b60405180910390f35b34801561034e57600080fd5b50610369600480360381019061036491906132cb565b610a6d565b005b34801561037757600080fd5b50610380610acd565b005b34801561038e57600080fd5b506103a960048036038101906103a491906136e7565b610bac565b6040516103b7929190613e27565b60405180910390f35b6103da60048036038101906103d5919061365e565b610be8565b005b3480156103e857600080fd5b5061040360048036038101906103fe919061368b565b610e40565b005b34801561041157600080fd5b5061041a610f69565b6040516104279190613e50565b60405180910390f35b34801561043c57600080fd5b50610457600480360381019061045291906132cb565b610f7c565b005b34801561046557600080fd5b50610480600480360381019061047b9190613421565b610f9c565b005b34801561048e57600080fd5b506104a960048036038101906104a4919061365e565b6110fa565b6040516104b69190613d68565b60405180910390f35b3480156104cb57600080fd5b506104e660048036038101906104e19190613523565b6111ac565b005b3480156104f457600080fd5b5061050f600480360381019061050a919061325e565b61129b565b60405161051c919061418d565b60405180910390f35b34801561053157600080fd5b5061053a611353565b005b34801561054857600080fd5b50610563600480360381019061055e91906135d7565b6113db565b005b34801561057157600080fd5b5061057a611461565b005b34801561058857600080fd5b50610591611509565b60405161059e9190613d68565b60405180910390f35b3480156105b357600080fd5b506105ce60048036038101906105c9919061365e565b611533565b005b3480156105dc57600080fd5b506105e56115b9565b6040516105f29190613e6b565b60405180910390f35b34801561060757600080fd5b50610622600480360381019061061d91906134a2565b61164b565b005b34801561063057600080fd5b5061064b600480360381019061064691906133a1565b611779565b005b34801561065957600080fd5b50610674600480360381019061066f919061331e565b61178f565b005b34801561068257600080fd5b5061069d6004803603810190610698919061365e565b6117f1565b6040516106aa9190613e6b565b60405180910390f35b3480156106bf57600080fd5b506106c8611943565b6040516106d5919061418d565b60405180910390f35b3480156106ea57600080fd5b506107056004803603810190610700919061328b565b61196d565b6040516107129190613e50565b60405180910390f35b34801561072757600080fd5b50610730611a01565b60405161073d919061418d565b60405180910390f35b34801561075257600080fd5b5061076d6004803603810190610768919061325e565b611a07565b005b34801561077b57600080fd5b506107966004803603810190610791919061365e565b611aff565b005b6000632a55205a60e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806107f257506107f182611b85565b5b9050919050565b60125481565b60606000805461080e90614534565b80601f016020809104026020016040519081016040528092919081815260200182805461083a90614534565b80156108875780601f1061085c57610100808354040283529160200191610887565b820191906000526020600020905b81548152906001019060200180831161086a57829003601f168201915b5050505050905090565b600061089c82611c67565b6108db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108d29061406d565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610921826110fa565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610992576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610989906140ed565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166109b1611cd3565b73ffffffffffffffffffffffffffffffffffffffff1614806109e057506109df816109da611cd3565b61196d565b5b610a1f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a1690613f8d565b60405180910390fd5b610a298383611cdb565b505050565b60115481565b6000610a40600b611d94565b610a4a600a611d94565b610a546009611d94565b610a5e919061434d565b610a68919061434d565b905090565b610a7e610a78611cd3565b82611da2565b610abd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ab49061412d565b60405180910390fd5b610ac8838383611e80565b505050565b610ad5611cd3565b73ffffffffffffffffffffffffffffffffffffffff16610af3611509565b73ffffffffffffffffffffffffffffffffffffffff1614610b49576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b409061408d565b60405180910390fd5b6000479050733d9456ad6463a77bd77123cb4836e463030bfab473ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610ba8573d6000803e3d6000fd5b5050565b6000806064600a84610bbe91906143d4565b610bc891906143a3565b9050732a2c412c440dfb0e7cae46eff581e3e26afd1cd091509250929050565b60026008541415610c2e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c259061414d565b60405180910390fd5b60026008819055506000610c42600a611d94565b905060011515601060009054906101000a900460ff16151514610c9a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c9190613e8d565b60405180910390fd5b60068210610cdd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cd49061410d565b60405180910390fd5b610fb38282610cec919061434d565b10610d2c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d2390613f0d565b60405180910390fd5b3482601254610d3b91906143d4565b14610d7b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d729061416d565b60405180910390fd5b600060606000610d89611cd3565b90506000428286604051602001610da293929190613cd7565b6040516020818303038152906040528051906020012060001c905060005b86811015610e2f57610dd1826120dc565b9450600e610dde866121a4565b604051602001610def929190613ca8565b6040516020818303038152906040529350610e0b858585612305565b610e15600a61232e565b600882901c91508080610e2790614597565b915050610dc0565b505050505050600160088190555050565b610e48611cd3565b73ffffffffffffffffffffffffffffffffffffffff16610e66611509565b73ffffffffffffffffffffffffffffffffffffffff1614610ebc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eb39061408d565b60405180910390fd5b60004282604051602001610ed1929190613d14565b6040516020818303038152906040528051906020012060001c90506000600a82610efb9190614618565b148015610f17575042601354601154610f14919061434d565b11155b15610f4757610f3b8383732a2c412c440dfb0e7cae46eff581e3e26afd1cd0612305565b42601181905550610f5a565b610f598383610f54611cd3565b612305565b5b610f64600b61232e565b505050565b601060009054906101000a900460ff1681565b610f978383836040518060200160405280600081525061178f565b505050565b610fa4611cd3565b73ffffffffffffffffffffffffffffffffffffffff16610fc2611509565b73ffffffffffffffffffffffffffffffffffffffff1614611018576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161100f9061408d565b60405180910390fd5b6000606060005b868690508110156110f1576102db8787838181106110405761103f614705565b5b90506020020135611051919061434d565b925061107587878381811061106957611068614705565b5b90506020020135612344565b600e611080846121a4565b604051602001611091929190613ca8565b60405160208183030381529060405291506110d483838787858181106110ba576110b9614705565b5b90506020020160208101906110cf919061325e565b612305565b6110de600a61232e565b80806110e990614597565b91505061101f565b50505050505050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156111a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161119a90613fcd565b60405180910390fd5b80915050919050565b600260085414156111f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111e99061414d565b60405180910390fd5b60026008819055506000611204611cd3565b905060005b878790508110156112895761127688888381811061122a57611229614705565b5b9050602002013587878481811061124457611243614705565b5b9050602002013586868581811061125e5761125d614705565b5b905060200281019061127091906141a8565b86612463565b808061128190614597565b915050611209565b50506001600881905550505050505050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561130c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161130390613fad565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61135b611cd3565b73ffffffffffffffffffffffffffffffffffffffff16611379611509565b73ffffffffffffffffffffffffffffffffffffffff16146113cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113c69061408d565b60405180910390fd5b6113d96000612612565b565b6113e3611cd3565b73ffffffffffffffffffffffffffffffffffffffff16611401611509565b73ffffffffffffffffffffffffffffffffffffffff1614611457576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161144e9061408d565b60405180910390fd5b80600d8190555050565b611469611cd3565b73ffffffffffffffffffffffffffffffffffffffff16611487611509565b73ffffffffffffffffffffffffffffffffffffffff16146114dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114d49061408d565b60405180910390fd5b601060009054906101000a900460ff1615601060006101000a81548160ff021916908315150217905550565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b61153b611cd3565b73ffffffffffffffffffffffffffffffffffffffff16611559611509565b73ffffffffffffffffffffffffffffffffffffffff16146115af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115a69061408d565b60405180910390fd5b8060128190555050565b6060600180546115c890614534565b80601f01602080910402602001604051908101604052809291908181526020018280546115f490614534565b80156116415780601f1061161657610100808354040283529160200191611641565b820191906000526020600020905b81548152906001019060200180831161162457829003601f168201915b5050505050905090565b611653611cd3565b73ffffffffffffffffffffffffffffffffffffffff16611671611509565b73ffffffffffffffffffffffffffffffffffffffff16146116c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116be9061408d565b60405180910390fd5b60005b848490508110156117725761175f8585838181106116eb576116ea614705565b5b9050602002013584848481811061170557611704614705565b5b9050602002810190611717919061420b565b8080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050506126d8565b808061176a90614597565b9150506116ca565b5050505050565b61178b611784611cd3565b838361274c565b5050565b6117a061179a611cd3565b83611da2565b6117df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117d69061412d565b60405180910390fd5b6117eb848484846128b9565b50505050565b60606117fc82611c67565b61183b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118329061404d565b60405180910390fd5b600060066000848152602001908152602001600020805461185b90614534565b80601f016020809104026020016040519081016040528092919081815260200182805461188790614534565b80156118d45780601f106118a9576101008083540402835291602001916118d4565b820191906000526020600020905b8154815290600101906020018083116118b757829003601f168201915b5050505050905060006118e5612915565b90506000815114156118fb57819250505061193e565b600082511115611930578082604051602001611918929190613c84565b6040516020818303038152906040529250505061193e565b61193984612952565b925050505b919050565b600061194f600a611d94565b6001610fb361195e919061442e565b611968919061442e565b905090565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60135481565b611a0f611cd3565b73ffffffffffffffffffffffffffffffffffffffff16611a2d611509565b73ffffffffffffffffffffffffffffffffffffffff1614611a83576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a7a9061408d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611af3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aea90613ecd565b60405180910390fd5b611afc81612612565b50565b611b07611cd3565b73ffffffffffffffffffffffffffffffffffffffff16611b25611509565b73ffffffffffffffffffffffffffffffffffffffff1614611b7b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b729061408d565b60405180910390fd5b8060138190555050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611c5057507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611c605750611c5f826129f9565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611d4e836110fa565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600081600001549050919050565b6000611dad82611c67565b611dec576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611de390613f6d565b60405180910390fd5b6000611df7836110fa565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611e6657508373ffffffffffffffffffffffffffffffffffffffff16611e4e84610891565b73ffffffffffffffffffffffffffffffffffffffff16145b80611e775750611e76818561196d565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611ea0826110fa565b73ffffffffffffffffffffffffffffffffffffffff1614611ef6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eed906140ad565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611f66576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f5d90613f2d565b60405180910390fd5b611f71838383612a63565b611f7c600082611cdb565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611fcc919061442e565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612023919061434d565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600080600f80549050836120f09190614618565b90506000600f828154811061210857612107614705565b5b90600052602060002090601091828204019190066002029054906101000a900461ffff1661ffff161415612149576102db81612144919061434d565b612193565b6102db600f82815481106121605761215f614705565b5b90600052602060002090601091828204019190066002029054906101000a900461ffff1661ffff16612192919061434d565b5b915061219e81612344565b50919050565b606060008214156121ec576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612300565b600082905060005b6000821461221e57808061220790614597565b915050600a8261221791906143a3565b91506121f4565b60008167ffffffffffffffff81111561223a57612239614734565b5b6040519080825280601f01601f19166020018201604052801561226c5781602001600182028036833780820191505090505b5090505b600085146122f957600182612285919061442e565b9150600a856122949190614618565b60306122a0919061434d565b60f81b8183815181106122b6576122b5614705565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856122f291906143a3565b9450612270565b8093505050505b919050565b61231f818460405180602001604052806000815250612a68565b61232983836126d8565b505050565b6001816000016000828254019250508190555050565b60006001600f80549050612358919061442e565b90506000600f82815481106123705761236f614705565b5b90600052602060002090601091828204019190066002029054906101000a900461ffff1661ffff16146123da57600f81815481106123b1576123b0614705565b5b90600052602060002090601091828204019190066002029054906101000a900461ffff166123dc565b805b600f83815481106123f0576123ef614705565b5b90600052602060002090601091828204019190066002026101000a81548161ffff021916908361ffff160217905550600f805480612431576124306146d6565b5b60019003818190600052602060002090601091828204019190066002026101000a81549061ffff021916905590555050565b60008585604051602001612478929190613d3c565b6040516020818303038152906040528051906020012090506124de848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600d5483612ac3565b61251d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125149061400d565b60405180910390fd5b6000600e61252a876121a4565b60405160200161253b929190613ca8565b6040516020818303038152906040529050600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f242432a847340b8992e107718c8d8ed892854dd7a42470f32488a60016040518563ffffffff1660e01b81526004016125c29493929190613dcf565b600060405180830381600087803b1580156125dc57600080fd5b505af11580156125f0573d6000803e3d6000fd5b505050506125ff868285612305565b612609600961232e565b50505050505050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6126e182611c67565b612720576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161271790613fed565b60405180910390fd5b80600660008481526020019081526020016000209080519060200190612747929190612f05565b505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156127bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127b290613f4d565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516128ac9190613e50565b60405180910390a3505050565b6128c4848484611e80565b6128d084848484612ada565b61290f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161290690613ead565b60405180910390fd5b50505050565b60606040518060400160405280600781526020017f697066733a2f2f00000000000000000000000000000000000000000000000000815250905090565b606061295d82611c67565b61299c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612993906140cd565b60405180910390fd5b60006129a6612915565b905060008151116129c657604051806020016040528060008152506129f1565b806129d0846121a4565b6040516020016129e1929190613c84565b6040516020818303038152906040525b915050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b505050565b612a728383612c71565b612a7f6000848484612ada565b612abe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ab590613ead565b60405180910390fd5b505050565b600082612ad08584612e3f565b1490509392505050565b6000612afb8473ffffffffffffffffffffffffffffffffffffffff16612ef2565b15612c64578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612b24611cd3565b8786866040518563ffffffff1660e01b8152600401612b469493929190613d83565b602060405180830381600087803b158015612b6057600080fd5b505af1925050508015612b9157506040513d601f19601f82011682018060405250810190612b8e9190613631565b60015b612c14573d8060008114612bc1576040519150601f19603f3d011682016040523d82523d6000602084013e612bc6565b606091505b50600081511415612c0c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c0390613ead565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612c69565b600190505b949350505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612ce1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cd89061402d565b60405180910390fd5b612cea81611c67565b15612d2a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d2190613eed565b60405180910390fd5b612d3660008383612a63565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612d86919061434d565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b60008082905060005b8451811015612ee7576000858281518110612e6657612e65614705565b5b60200260200101519050808311612ea7578281604051602001612e8a929190613c58565b604051602081830303815290604052805190602001209250612ed3565b8083604051602001612eba929190613c58565b6040516020818303038152906040528051906020012092505b508080612edf90614597565b915050612e48565b508091505092915050565b600080823b905060008111915050919050565b828054612f1190614534565b90600052602060002090601f016020900481019282612f335760008555612f7a565b82601f10612f4c57805160ff1916838001178555612f7a565b82800160010185558215612f7a579182015b82811115612f79578251825591602001919060010190612f5e565b5b509050612f879190612f8b565b5090565b5b80821115612fa4576000816000905550600101612f8c565b5090565b6000612fbb612fb684614293565b61426e565b905082815260208101848484011115612fd757612fd6614781565b5b612fe28482856144f2565b509392505050565b6000612ffd612ff8846142c4565b61426e565b90508281526020810184848401111561301957613018614781565b5b6130248482856144f2565b509392505050565b60008135905061303b81614e38565b92915050565b60008083601f84011261305757613056614768565b5b8235905067ffffffffffffffff81111561307457613073614763565b5b6020830191508360208202830111156130905761308f614777565b5b9250929050565b60008083601f8401126130ad576130ac614768565b5b8235905067ffffffffffffffff8111156130ca576130c9614763565b5b6020830191508360208202830111156130e6576130e5614777565b5b9250929050565b60008083601f84011261310357613102614768565b5b8235905067ffffffffffffffff8111156131205761311f614763565b5b60208301915083602082028301111561313c5761313b614777565b5b9250929050565b60008083601f84011261315957613158614768565b5b8235905067ffffffffffffffff81111561317657613175614763565b5b60208301915083602082028301111561319257613191614777565b5b9250929050565b6000813590506131a881614e4f565b92915050565b6000813590506131bd81614e66565b92915050565b6000813590506131d281614e7d565b92915050565b6000815190506131e781614e7d565b92915050565b600082601f83011261320257613201614768565b5b8135613212848260208601612fa8565b91505092915050565b600082601f8301126132305761322f614768565b5b8135613240848260208601612fea565b91505092915050565b60008135905061325881614e94565b92915050565b6000602082840312156132745761327361478b565b5b60006132828482850161302c565b91505092915050565b600080604083850312156132a2576132a161478b565b5b60006132b08582860161302c565b92505060206132c18582860161302c565b9150509250929050565b6000806000606084860312156132e4576132e361478b565b5b60006132f28682870161302c565b93505060206133038682870161302c565b925050604061331486828701613249565b9150509250925092565b600080600080608085870312156133385761333761478b565b5b60006133468782880161302c565b94505060206133578782880161302c565b935050604061336887828801613249565b925050606085013567ffffffffffffffff81111561338957613388614786565b5b613395878288016131ed565b91505092959194509250565b600080604083850312156133b8576133b761478b565b5b60006133c68582860161302c565b92505060206133d785828601613199565b9150509250929050565b600080604083850312156133f8576133f761478b565b5b60006134068582860161302c565b925050602061341785828601613249565b9150509250929050565b6000806000806040858703121561343b5761343a61478b565b5b600085013567ffffffffffffffff81111561345957613458614786565b5b61346587828801613143565b9450945050602085013567ffffffffffffffff81111561348857613487614786565b5b61349487828801613041565b925092505092959194509250565b600080600080604085870312156134bc576134bb61478b565b5b600085013567ffffffffffffffff8111156134da576134d9614786565b5b6134e687828801613143565b9450945050602085013567ffffffffffffffff81111561350957613508614786565b5b613515878288016130ed565b925092505092959194509250565b600080600080600080606087890312156135405761353f61478b565b5b600087013567ffffffffffffffff81111561355e5761355d614786565b5b61356a89828a01613143565b9650965050602087013567ffffffffffffffff81111561358d5761358c614786565b5b61359989828a01613143565b9450945050604087013567ffffffffffffffff8111156135bc576135bb614786565b5b6135c889828a01613097565b92509250509295509295509295565b6000602082840312156135ed576135ec61478b565b5b60006135fb848285016131ae565b91505092915050565b60006020828403121561361a5761361961478b565b5b6000613628848285016131c3565b91505092915050565b6000602082840312156136475761364661478b565b5b6000613655848285016131d8565b91505092915050565b6000602082840312156136745761367361478b565b5b600061368284828501613249565b91505092915050565b600080604083850312156136a2576136a161478b565b5b60006136b085828601613249565b925050602083013567ffffffffffffffff8111156136d1576136d0614786565b5b6136dd8582860161321b565b9150509250929050565b600080604083850312156136fe576136fd61478b565b5b600061370c85828601613249565b925050602061371d85828601613249565b9150509250929050565b61373081614462565b82525050565b61374761374282614462565b6145e0565b82525050565b61375681614474565b82525050565b61376d61376882614480565b6145f2565b82525050565b600061377e8261430a565b6137888185614320565b9350613798818560208601614501565b6137a181614790565b840191505092915050565b6137b5816144e0565b82525050565b60006137c682614315565b6137d08185614331565b93506137e0818560208601614501565b6137e981614790565b840191505092915050565b60006137ff82614315565b6138098185614342565b9350613819818560208601614501565b80840191505092915050565b6000815461383281614534565b61383c8186614342565b9450600182166000811461385757600181146138685761389b565b60ff1983168652818601935061389b565b613871856142f5565b60005b8381101561389357815481890152600182019150602081019050613874565b838801955050505b50505092915050565b60006138b1601e83614331565b91506138bc826147ae565b602082019050919050565b60006138d4603283614331565b91506138df826147d7565b604082019050919050565b60006138f7602683614331565b915061390282614826565b604082019050919050565b600061391a601c83614331565b915061392582614875565b602082019050919050565b600061393d602583614331565b91506139488261489e565b604082019050919050565b6000613960602483614331565b915061396b826148ed565b604082019050919050565b6000613983601983614331565b915061398e8261493c565b602082019050919050565b60006139a6602c83614331565b91506139b182614965565b604082019050919050565b60006139c9603883614331565b91506139d4826149b4565b604082019050919050565b60006139ec602a83614331565b91506139f782614a03565b604082019050919050565b6000613a0f602983614331565b9150613a1a82614a52565b604082019050919050565b6000613a32602e83614331565b9150613a3d82614aa1565b604082019050919050565b6000613a55601b83614331565b9150613a6082614af0565b602082019050919050565b6000613a78602083614331565b9150613a8382614b19565b602082019050919050565b6000613a9b603183614331565b9150613aa682614b42565b604082019050919050565b6000613abe602c83614331565b9150613ac982614b91565b604082019050919050565b6000613ae1602083614331565b9150613aec82614be0565b602082019050919050565b6000613b04602983614331565b9150613b0f82614c09565b604082019050919050565b6000613b27602f83614331565b9150613b3282614c58565b604082019050919050565b6000613b4a602183614331565b9150613b5582614ca7565b604082019050919050565b6000613b6d602c83614331565b9150613b7882614cf6565b604082019050919050565b6000613b90600083614320565b9150613b9b82614d45565b600082019050919050565b6000613bb3603183614331565b9150613bbe82614d48565b604082019050919050565b6000613bd6601f83614331565b9150613be182614d97565b602082019050919050565b6000613bf9602483614331565b9150613c0482614dc0565b604082019050919050565b6000613c1c600183614342565b9150613c2782614e0f565b600182019050919050565b613c3b816144d6565b82525050565b613c52613c4d826144d6565b61460e565b82525050565b6000613c64828561375c565b602082019150613c74828461375c565b6020820191508190509392505050565b6000613c9082856137f4565b9150613c9c82846137f4565b91508190509392505050565b6000613cb48285613825565b9150613cbf82613c0f565b9150613ccb82846137f4565b91508190509392505050565b6000613ce38286613c41565b602082019150613cf38285613736565b601482019150613d038284613c41565b602082019150819050949350505050565b6000613d208285613c41565b602082019150613d3082846137f4565b91508190509392505050565b6000613d488285613c41565b602082019150613d588284613c41565b6020820191508190509392505050565b6000602082019050613d7d6000830184613727565b92915050565b6000608082019050613d986000830187613727565b613da56020830186613727565b613db26040830185613c32565b8181036060830152613dc48184613773565b905095945050505050565b600060a082019050613de46000830187613727565b613df16020830186613727565b613dfe6040830185613c32565b613e0b60608301846137ac565b8181036080830152613e1c81613b83565b905095945050505050565b6000604082019050613e3c6000830185613727565b613e496020830184613c32565b9392505050565b6000602082019050613e65600083018461374d565b92915050565b60006020820190508181036000830152613e8581846137bb565b905092915050565b60006020820190508181036000830152613ea6816138a4565b9050919050565b60006020820190508181036000830152613ec6816138c7565b9050919050565b60006020820190508181036000830152613ee6816138ea565b9050919050565b60006020820190508181036000830152613f068161390d565b9050919050565b60006020820190508181036000830152613f2681613930565b9050919050565b60006020820190508181036000830152613f4681613953565b9050919050565b60006020820190508181036000830152613f6681613976565b9050919050565b60006020820190508181036000830152613f8681613999565b9050919050565b60006020820190508181036000830152613fa6816139bc565b9050919050565b60006020820190508181036000830152613fc6816139df565b9050919050565b60006020820190508181036000830152613fe681613a02565b9050919050565b6000602082019050818103600083015261400681613a25565b9050919050565b6000602082019050818103600083015261402681613a48565b9050919050565b6000602082019050818103600083015261404681613a6b565b9050919050565b6000602082019050818103600083015261406681613a8e565b9050919050565b6000602082019050818103600083015261408681613ab1565b9050919050565b600060208201905081810360008301526140a681613ad4565b9050919050565b600060208201905081810360008301526140c681613af7565b9050919050565b600060208201905081810360008301526140e681613b1a565b9050919050565b6000602082019050818103600083015261410681613b3d565b9050919050565b6000602082019050818103600083015261412681613b60565b9050919050565b6000602082019050818103600083015261414681613ba6565b9050919050565b6000602082019050818103600083015261416681613bc9565b9050919050565b6000602082019050818103600083015261418681613bec565b9050919050565b60006020820190506141a26000830184613c32565b92915050565b600080833560016020038436030381126141c5576141c4614772565b5b80840192508235915067ffffffffffffffff8211156141e7576141e661476d565b5b6020830192506020820236038313156142035761420261477c565b5b509250929050565b6000808335600160200384360303811261422857614227614772565b5b80840192508235915067ffffffffffffffff82111561424a5761424961476d565b5b6020830192506001820236038313156142665761426561477c565b5b509250929050565b6000614278614289565b90506142848282614566565b919050565b6000604051905090565b600067ffffffffffffffff8211156142ae576142ad614734565b5b6142b782614790565b9050602081019050919050565b600067ffffffffffffffff8211156142df576142de614734565b5b6142e882614790565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000614358826144d6565b9150614363836144d6565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561439857614397614649565b5b828201905092915050565b60006143ae826144d6565b91506143b9836144d6565b9250826143c9576143c8614678565b5b828204905092915050565b60006143df826144d6565b91506143ea836144d6565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561442357614422614649565b5b828202905092915050565b6000614439826144d6565b9150614444836144d6565b92508282101561445757614456614649565b5b828203905092915050565b600061446d826144b6565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60006144eb826144d6565b9050919050565b82818337600083830152505050565b60005b8381101561451f578082015181840152602081019050614504565b8381111561452e576000848401525b50505050565b6000600282049050600182168061454c57607f821691505b602082108114156145605761455f6146a7565b5b50919050565b61456f82614790565b810181811067ffffffffffffffff8211171561458e5761458d614734565b5b80604052505050565b60006145a2826144d6565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156145d5576145d4614649565b5b600182019050919050565b60006145eb826145fc565b9050919050565b6000819050919050565b6000614607826147a1565b9050919050565b6000819050919050565b6000614623826144d6565b915061462e836144d6565b92508261463e5761463d614678565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f5075626c69634d696e743a2053616c65206973206e6f74206163746976650000600082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f5075626c69634d696e743a20416d6f756e742065786365656473206d6178207360008201527f7570706c79000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f45524337323155524953746f726167653a2055524920736574206f66206e6f6e60008201527f6578697374656e7420746f6b656e000000000000000000000000000000000000602082015250565b7f436c61696d3a20496e76616c6964206d65726b6c652070726f6f660000000000600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f45524337323155524953746f726167653a2055524920717565727920666f722060008201527f6e6f6e6578697374656e7420746f6b656e000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f5075626c69634d696e743a20416d6f756e742065786365656473207472616e7360008201527f616374696f6e206c696d69740000000000000000000000000000000000000000602082015250565b50565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b7f5075626c69634d696e743a20496e636f7272656374207061796d656e7420616d60008201527f6f756e7400000000000000000000000000000000000000000000000000000000602082015250565b7f2f00000000000000000000000000000000000000000000000000000000000000600082015250565b614e4181614462565b8114614e4c57600080fd5b50565b614e5881614474565b8114614e6357600080fd5b50565b614e6f81614480565b8114614e7a57600080fd5b50565b614e868161448a565b8114614e9157600080fd5b50565b614e9d816144d6565b8114614ea857600080fd5b5056fea26469706673582212209bd2dce009504c816cbdfc8f93193d2c1f19d5f6b37129c0137aa40a0d8a3e6264736f6c63430008070033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000000000000000000000000000000000000000040000000000000000000000000495f947276749ce646f68ac8c248420045cb7b5e000000000000000000000000000000000000000000000000000000000000002e516d6239583779426b35694b7a676e53357066416652654654384656614c636637634a4778785546577a524d796b000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _ipfsMetadataHash (string): Qmb9X7yBk5iKzgnS5pfAfReFT8FVaLcf7cJGxxUFWzRMyk
Arg [1] : _contractAddress (address): 0x495f947276749Ce646f68AC8c248420045cb7b5e
-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 000000000000000000000000495f947276749ce646f68ac8c248420045cb7b5e
Arg [2] : 000000000000000000000000000000000000000000000000000000000000002e
Arg [3] : 516d6239583779426b35694b7a676e53357066416652654654384656614c6366
Arg [4] : 37634a4778785546577a524d796b000000000000000000000000000000000000
Loading...
Loading
Loading...
Loading
[ 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.