ERC-721
Overview
Max Total Supply
705 TUNES
Holders
187
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 TUNESLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
MoonPass
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)
/* TTTTTTTTTTTTTTTTTTTTTTTUUUUUUUU UUUUUUUUNNNNNNNN NNNNNNNNEEEEEEEEEEEEEEEEEEEEEE SSSSSSSSSSSSSSS T:::::::::::::::::::::TU::::::U U::::::UN:::::::N N::::::NE::::::::::::::::::::E SS:::::::::::::::S T:::::::::::::::::::::TU::::::U U::::::UN::::::::N N::::::NE::::::::::::::::::::ES:::::SSSSSS::::::S T:::::TT:::::::TT:::::TUU:::::U U:::::UUN:::::::::N N::::::NEE::::::EEEEEEEEE::::ES:::::S SSSSSSS TTTTTT T:::::T TTTTTT U:::::U U:::::U N::::::::::N N::::::N E:::::E EEEEEES:::::S T:::::T U:::::D D:::::U N:::::::::::N N::::::N E:::::E S:::::S T:::::T U:::::D D:::::U N:::::::N::::N N::::::N E::::::EEEEEEEEEE S::::SSSS T:::::T U:::::D D:::::U N::::::N N::::N N::::::N E:::::::::::::::E SS::::::SSSSS T:::::T U:::::D D:::::U N::::::N N::::N:::::::N E:::::::::::::::E SSS::::::::SS T:::::T U:::::D D:::::U N::::::N N:::::::::::N E::::::EEEEEEEEEE SSSSSS::::S T:::::T U:::::D D:::::U N::::::N N::::::::::N E:::::E S:::::S T:::::T U::::::U U::::::U N::::::N N:::::::::N E:::::E EEEEEE S:::::S TT:::::::TT U:::::::UUU:::::::U N::::::N N::::::::NEE::::::EEEEEEEE:::::ESSSSSSS S:::::S T:::::::::T UU:::::::::::::UU N::::::N N:::::::NE::::::::::::::::::::ES::::::SSSSSS:::::S T:::::::::T UU:::::::::UU N::::::N N::::::NE::::::::::::::::::::ES:::::::::::::::SS TTTTTTTTTTT UUUUUUUUU NNNNNNNN NNNNNNNEEEEEEEEEEEEEEEEEEEEEE SSSSSSSSSSSSSSS MMMMMMMM MMMMMMMM PPPPPPPPPPPPPPPPP M:::::::M M:::::::M P::::::::::::::::P M::::::::M M::::::::M P::::::PPPPPP:::::P M:::::::::M M:::::::::M PP:::::P P:::::P M::::::::::M M::::::::::M ooooooooooo ooooooooooo nnnn nnnnnnnn P::::P P:::::Paaaaaaaaaaaaa ssssssssss ssssssssss M:::::::::::M M:::::::::::M oo:::::::::::oo oo:::::::::::oo n:::nn::::::::nn P::::P P:::::Pa::::::::::::a ss::::::::::s ss::::::::::s M:::::::M::::M M::::M:::::::Mo:::::::::::::::oo:::::::::::::::on::::::::::::::nn P::::PPPPPP:::::P aaaaaaaaa:::::ass:::::::::::::s ss:::::::::::::s M::::::M M::::M M::::M M::::::Mo:::::ooooo:::::oo:::::ooooo:::::onn:::::::::::::::n P:::::::::::::PP a::::as::::::ssss:::::ss::::::ssss:::::s M::::::M M::::M::::M M::::::Mo::::o o::::oo::::o o::::o n:::::nnnn:::::n P::::PPPPPPPPP aaaaaaa:::::a s:::::s ssssss s:::::s ssssss M::::::M M:::::::M M::::::Mo::::o o::::oo::::o o::::o n::::n n::::n P::::P aa::::::::::::a s::::::s s::::::s M::::::M M:::::M M::::::Mo::::o o::::oo::::o o::::o n::::n n::::n P::::P a::::aaaa::::::a s::::::s s::::::s M::::::M MMMMM M::::::Mo::::o o::::oo::::o o::::o n::::n n::::n P::::P a::::a a:::::assssss s:::::s ssssss s:::::s M::::::M M::::::Mo:::::ooooo:::::oo:::::ooooo:::::o n::::n n::::n PP::::::PP a::::a a:::::as:::::ssss::::::ss:::::ssss::::::s M::::::M M::::::Mo:::::::::::::::oo:::::::::::::::o n::::n n::::n P::::::::P a:::::aaaa::::::as::::::::::::::s s::::::::::::::s M::::::M M::::::M oo:::::::::::oo oo:::::::::::oo n::::n n::::n P::::::::P a::::::::::aa:::as:::::::::::ss s:::::::::::ss MMMMMMMM MMMMMMMM ooooooooooo ooooooooooo nnnnnn nnnnnn PPPPPPPPPP aaaaaaaaaa aaaa sssssssssss sssssssssss An 0nyX Labs Contract 0nyXLabs.io Development by @White_Oak_Kong ERC721A Implementation with Merkle Tree Allow List. */ //SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./ERC721A.sol"; import "@openzeppelin/contracts/interfaces/IERC20.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; contract MoonPass is ERC721A, Ownable, ReentrancyGuard { using Strings for uint256; string private baseURI; uint256 public constant MAX_PER_TXN = 10; uint256 public constant MAX_PER_WALLET_PRESALE = 3; uint256 public maxTunes; uint256 public SALE_PRICE = 0.1 ether; bool public isPublicSaleActive; uint256 public maxPreSaleTunes; bytes32 public preSaleMerkleRoot; bool public isPreSaleActive; mapping(address => uint256) public mintCounts; // ============ ACCESS CONTROL/SANITY MODIFIERS ============ modifier publicSaleActive() { require(isPublicSaleActive, "Public sale is not open"); _; } modifier preSaleActive() { require(isPreSaleActive, "Presale is not open"); _; } modifier canMintTunes(uint256 quantity) { require( totalSupply() + quantity <= maxTunes, "Not enough tunes remaining to mint" ); _; } modifier isCorrectPayment(uint256 price, uint256 quantity) { require( price * quantity == msg.value, "Incorrect ETH value sent" ); _; } modifier isValidMerkleProof(bytes32[] calldata merkleProof, bytes32 root) { require( MerkleProof.verify( merkleProof, root, keccak256(abi.encodePacked(msg.sender)) ), "Address does not exist in list" ); _; } modifier maxTxn(uint256 quantity) { require( quantity <= MAX_PER_TXN, "Max tunes to mint is 10" ); _; } constructor( uint256 _maxTunes, uint256 _maxPreSaleTunes ) ERC721A("Tunes Moon Pass", "TUNES") { maxTunes = _maxTunes; maxPreSaleTunes = _maxPreSaleTunes; } // --- PUBLIC MINTING FUNCTIONS --- // mint allows for regular minting while the supply does not exceed maxTunes. function mint(uint256 quantity) external payable nonReentrant isCorrectPayment(SALE_PRICE, quantity) publicSaleActive canMintTunes(quantity) maxTxn(quantity) { _safeMint(msg.sender, quantity); } // mintPreSale allows for minting by allowed addresses during the pre-sale. function mintPreSale( uint8 quantity, bytes32[] calldata merkleProof) external payable nonReentrant preSaleActive canMintTunes(quantity) isCorrectPayment(SALE_PRICE, quantity) isValidMerkleProof(merkleProof, preSaleMerkleRoot) { uint256 numAlreadyMinted = mintCounts[msg.sender]; require( numAlreadyMinted + quantity <= MAX_PER_WALLET_PRESALE, "Max tunes to mint in Presale is one" ); require( totalSupply() + quantity <= maxPreSaleTunes, "Not enough tunes remaining to mint" ); mintCounts[msg.sender] = numAlreadyMinted + quantity; _safeMint(msg.sender, quantity); } // -- OWNER ONLY MINT -- function ownerMint(uint256 quantity) external nonReentrant onlyOwner canMintTunes(quantity) { _safeMint(msg.sender, quantity); } // --- READ-ONLY FUNCTIONS --- // getBaseURI returns the baseURI hash for collection metadata. function getBaseURI() external view returns (string memory) { return baseURI; } // -- ADMIN FUNCTIONS -- // setBaseURI sets the base URI for token metadata. function setBaseURI(string memory _baseURI) external onlyOwner { baseURI = _baseURI; } // setIsPublicSaleActive toggles the functionality of the public minting function. function setIsPublicSaleActive(bool _isPublicSaleActive) external onlyOwner { isPublicSaleActive = _isPublicSaleActive; } // updatePrice is an emergency function to adjust the price of Moon Pass. function updatePrice(uint256 _price) external onlyOwner { SALE_PRICE = _price; } // capSupply is an emergency function to reduce the maximum supply of Moon Pass. function capSupply(uint256 _supply) external onlyOwner { require(_supply > totalSupply(), "cannot reduce maximum supply below current count."); require(_supply < maxTunes, "cannot increase the maximum supply."); maxTunes = _supply; } // setIsPreSaleActive toggles the functionality of the presale minting function. function setIsPreSaleActive(bool _isPreSaleActive) external onlyOwner { isPreSaleActive = _isPreSaleActive; } // setPresaleListMerkleRoot sets the merkle root for presale allowed addresses. function setPresaleListMerkleRoot(bytes32 merkleRoot) external onlyOwner { preSaleMerkleRoot = merkleRoot; } // withdraw allows for the withdraw of all ETH to the owner wallet. function withdraw() public onlyOwner { uint256 balance = address(this).balance; payable(msg.sender).transfer(balance); } // withdrawTokens allow for the withdrawl of any ERC20 token from contract. function withdrawTokens(IERC20 token) public onlyOwner { uint256 balance = token.balanceOf(address(this)); token.transfer(msg.sender, balance); } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "Nonexistent token"); return string(abi.encodePacked(baseURI, "/", tokenId.toString())); } }
// 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 (last updated v4.5.0) (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 = _efficientHash(computedHash, proofElement); } else { // Hash(current element of the proof + current computed hash) computedHash = _efficientHash(proofElement, computedHash); } } return computedHash; } function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) { assembly { mstore(0x00, a) mstore(0x20, b) value := keccak256(0x00, 0x40) } } }
// 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 (interfaces/IERC20.sol) pragma solidity ^0.8.0; import "../token/ERC20/IERC20.sol";
// SPDX-License-Identifier: MIT // Creator: Chiru Labs pragma solidity ^0.8.4; import '@openzeppelin/contracts/token/ERC721/IERC721.sol'; import '@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol'; import '@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol'; import '@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol'; import '@openzeppelin/contracts/utils/Address.sol'; import '@openzeppelin/contracts/utils/Context.sol'; import '@openzeppelin/contracts/utils/Strings.sol'; import '@openzeppelin/contracts/utils/introspection/ERC165.sol'; error ApprovalCallerNotOwnerNorApproved(); error ApprovalQueryForNonexistentToken(); error ApproveToCaller(); error ApprovalToCurrentOwner(); error BalanceQueryForZeroAddress(); error MintedQueryForZeroAddress(); error MintToZeroAddress(); error MintZeroQuantity(); error OwnerIndexOutOfBounds(); error OwnerQueryForNonexistentToken(); error TokenIndexOutOfBounds(); error TransferCallerNotOwnerNorApproved(); error TransferFromIncorrectOwner(); error TransferToNonERC721ReceiverImplementer(); error TransferToZeroAddress(); error UnableDetermineTokenOwner(); error UnableGetTokenOwnerByIndex(); error URIQueryForNonexistentToken(); /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata and Enumerable extension. Built to optimize for lower gas during batch mints. * * Assumes serials are sequentially minted starting at 0 (e.g. 0, 1, 2, 3..). * * Does not support burning tokens to address(0). * * Assumes that an owner cannot have more than the 2**128 - 1 (max value of uint128) of supply */ contract ERC721A is Context, ERC165, IERC721, IERC721Metadata, IERC721Enumerable { using Address for address; using Strings for uint256; struct TokenOwnership { address addr; uint64 startTimestamp; } struct AddressData { uint128 balance; uint128 numberMinted; } uint256 internal currentIndex; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. See ownershipOf implementation for details. mapping(uint256 => TokenOwnership) internal _ownerships; // Mapping owner address to address data mapping(address => AddressData) private _addressData; // 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; constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view override returns (uint256) { return currentIndex; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view override returns (uint256) { if (index >= totalSupply()) revert TokenIndexOutOfBounds(); return index; } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. * This read function is O(totalSupply). If calling from a separate contract, be sure to test gas first. * It may also degrade with extremely large collection sizes (e.g >> 10000), test for your use case. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view override returns (uint256) { if (index >= balanceOf(owner)) revert OwnerIndexOutOfBounds(); uint256 numMintedSoFar = totalSupply(); uint256 tokenIdsIdx; address currOwnershipAddr; // Counter overflow is impossible as the loop breaks when uint256 i is equal to another uint256 numMintedSoFar. unchecked { for (uint256 i; i < numMintedSoFar; i++) { TokenOwnership memory ownership = _ownerships[i]; if (ownership.addr != address(0)) { currOwnershipAddr = ownership.addr; } if (currOwnershipAddr == owner) { if (tokenIdsIdx == index) { return i; } tokenIdsIdx++; } } } revert UnableGetTokenOwnerByIndex(); } /** * @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 || interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return uint256(_addressData[owner].balance); } function _numberMinted(address owner) internal view returns (uint256) { if (owner == address(0)) revert MintedQueryForZeroAddress(); return uint256(_addressData[owner].numberMinted); } /** * Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around in the collection over time. */ function ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) { if (!_exists(tokenId)) revert OwnerQueryForNonexistentToken(); unchecked { for (uint256 curr = tokenId; curr >= 0; curr--) { TokenOwnership memory ownership = _ownerships[curr]; if (ownership.addr != address(0)) { return ownership; } } } revert UnableDetermineTokenOwner(); } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view override returns (address) { return ownershipOf(tokenId).addr; } /** * @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) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); 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 override { address owner = ERC721A.ownerOf(tokenId); if (to == owner) revert ApprovalToCurrentOwner(); if (_msgSender() != owner && !isApprovedForAll(owner, _msgSender())) revert ApprovalCallerNotOwnerNorApproved(); _approve(to, tokenId, owner); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public override { if (operator == _msgSender()) revert ApproveToCaller(); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { _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 override { _transfer(from, to, tokenId); if (!_checkOnERC721Received(from, to, tokenId, _data)) revert TransferToNonERC721ReceiverImplementer(); } /** * @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`), */ function _exists(uint256 tokenId) internal view returns (bool) { return tokenId < currentIndex; } function _safeMint(address to, uint256 quantity) internal { _safeMint(to, quantity, ''); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * Emits a {Transfer} event. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal { _mint(to, quantity, _data, true); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event. */ function _mint( address to, uint256 quantity, bytes memory _data, bool safe ) internal { uint256 startTokenId = currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // balance or numberMinted overflow if current value of either + quantity > 3.4e38 (2**128) - 1 // updatedIndex overflows if currentIndex + quantity > 1.56e77 (2**256) - 1 unchecked { _addressData[to].balance += uint128(quantity); _addressData[to].numberMinted += uint128(quantity); _ownerships[startTokenId].addr = to; _ownerships[startTokenId].startTimestamp = uint64(block.timestamp); uint256 updatedIndex = startTokenId; for (uint256 i; i < quantity; i++) { emit Transfer(address(0), to, updatedIndex); if (safe && !_checkOnERC721Received(address(0), to, updatedIndex, _data)) { revert TransferToNonERC721ReceiverImplementer(); } updatedIndex++; } currentIndex = updatedIndex; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Transfers `tokenId` from `from` to `to`. * * 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 ) private { TokenOwnership memory prevOwnership = ownershipOf(tokenId); bool isApprovedOrOwner = (_msgSender() == prevOwnership.addr || getApproved(tokenId) == _msgSender() || isApprovedForAll(prevOwnership.addr, _msgSender())); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); if (prevOwnership.addr != from) revert TransferFromIncorrectOwner(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, prevOwnership.addr); // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256. unchecked { _addressData[from].balance -= 1; _addressData[to].balance += 1; _ownerships[tokenId].addr = to; _ownerships[tokenId].startTimestamp = uint64(block.timestamp); // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it. // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls. uint256 nextTokenId = tokenId + 1; if (_ownerships[nextTokenId].addr == address(0)) { if (_exists(nextTokenId)) { _ownerships[nextTokenId].addr = prevOwnership.addr; _ownerships[nextTokenId].startTimestamp = prevOwnership.startTimestamp; } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve( address to, uint256 tokenId, address owner ) private { _tokenApprovals[tokenId] = to; emit Approval(owner, to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) revert TransferToNonERC721ReceiverImplementer(); else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token ids have been transferred. This includes * minting. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - when `from` and `to` are both non-zero. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} }
// 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/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 (last updated v4.5.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return 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 (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// 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 (last updated v4.5.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 amount ) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); }
// 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":"uint256","name":"_maxTunes","type":"uint256"},{"internalType":"uint256","name":"_maxPreSaleTunes","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerIndexOutOfBounds","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TokenIndexOutOfBounds","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"UnableDetermineTokenOwner","type":"error"},{"inputs":[],"name":"UnableGetTokenOwnerByIndex","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_PER_TXN","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_PER_WALLET_PRESALE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SALE_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_supply","type":"uint256"}],"name":"capSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getBaseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"isPreSaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPublicSaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPreSaleTunes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTunes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"mintCounts","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint8","name":"quantity","type":"uint8"},{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"}],"name":"mintPreSale","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"ownerMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"preSaleMerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_isPreSaleActive","type":"bool"}],"name":"setIsPreSaleActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_isPublicSaleActive","type":"bool"}],"name":"setIsPublicSaleActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"merkleRoot","type":"bytes32"}],"name":"setPresaleListMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"updatePrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"}],"name":"withdrawTokens","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
608060405267016345785d8a0000600b553480156200001d57600080fd5b5060405162004bf538038062004bf58339818101604052810190620000439190620002b6565b6040518060400160405280600f81526020017f54756e6573204d6f6f6e205061737300000000000000000000000000000000008152506040518060400160405280600581526020017f54554e45530000000000000000000000000000000000000000000000000000008152508160019080519060200190620000c7929190620001ef565b508060029080519060200190620000e0929190620001ef565b50505062000103620000f76200012160201b60201c565b6200012960201b60201c565b600160088190555081600a8190555080600d8190555050506200038b565b600033905090565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620001fd9062000307565b90600052602060002090601f0160209004810192826200022157600085556200026d565b82601f106200023c57805160ff19168380011785556200026d565b828001600101855582156200026d579182015b828111156200026c5782518255916020019190600101906200024f565b5b5090506200027c919062000280565b5090565b5b808211156200029b57600081600090555060010162000281565b5090565b600081519050620002b08162000371565b92915050565b60008060408385031215620002d057620002cf6200036c565b5b6000620002e0858286016200029f565b9250506020620002f3858286016200029f565b9150509250929050565b6000819050919050565b600060028204905060018216806200032057607f821691505b602082108114156200033757620003366200033d565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600080fd5b6200037c81620002fd565b81146200038857600080fd5b50565b61485a806200039b6000396000f3fe60806040526004361061023b5760003560e01c8063532778791161012e5780639d044ed3116100ab578063b88d4fde1161006f578063b88d4fde14610843578063c87b56dd1461086c578063e985e9c5146108a9578063f19e75d4146108e6578063f2fde38b1461090f5761023b565b80639d044ed31461078e578063a0712d68146107b9578063a22cb465146107d5578063a643ed30146107fe578063a8b3a527146108275761023b565b8063715018a6116100f2578063715018a6146106cd5780637f205a74146106e45780638d6cc56d1461070f5780638da5cb5b1461073857806395d89b41146107635761023b565b806353277879146105c257806355f804b3146105ff5780636352211e1461062857806370a0823114610665578063714c5398146106a25761023b565b80632f745c59116101bc578063445f575611610180578063445f5756146104dd57806349df728c146105065780634b780f3c1461052f5780634f6ccce71461055a57806351b96d92146105975761023b565b80632f745c591461040c5780633c166c79146104495780633ccfd60b1461047257806342842e0e1461048957806343838845146104b25761023b565b80631714fdc8116102035780631714fdc81461033957806318160ddd146103645780631e84c4131461038f57806323b872dd146103ba57806328cad13d146103e35761023b565b806301ffc9a71461024057806305df6a9e1461027d57806306fdde03146102a8578063081812fc146102d3578063095ea7b314610310575b600080fd5b34801561024c57600080fd5b50610267600480360381019061026291906137b6565b610938565b6040516102749190613d79565b60405180910390f35b34801561028957600080fd5b50610292610a82565b60405161029f9190613f71565b60405180910390f35b3480156102b457600080fd5b506102bd610a88565b6040516102ca9190613daf565b60405180910390f35b3480156102df57600080fd5b506102fa60048036038101906102f59190613886565b610b1a565b6040516103079190613ce9565b60405180910390f35b34801561031c57600080fd5b50610337600480360381019061033291906136ef565b610b96565b005b34801561034557600080fd5b5061034e610ca1565b60405161035b9190613f71565b60405180910390f35b34801561037057600080fd5b50610379610ca7565b6040516103869190613f71565b60405180910390f35b34801561039b57600080fd5b506103a4610cb0565b6040516103b19190613d79565b60405180910390f35b3480156103c657600080fd5b506103e160048036038101906103dc91906135d9565b610cc3565b005b3480156103ef57600080fd5b5061040a6004803603810190610405919061372f565b610cd3565b005b34801561041857600080fd5b50610433600480360381019061042e91906136ef565b610d6c565b6040516104409190613f71565b60405180910390f35b34801561045557600080fd5b50610470600480360381019061046b9190613886565b610f4c565b005b34801561047e57600080fd5b5061048761105f565b005b34801561049557600080fd5b506104b060048036038101906104ab91906135d9565b61112a565b005b3480156104be57600080fd5b506104c761114a565b6040516104d49190613d94565b60405180910390f35b3480156104e957600080fd5b5061050460048036038101906104ff919061372f565b611150565b005b34801561051257600080fd5b5061052d60048036038101906105289190613810565b6111e9565b005b34801561053b57600080fd5b50610544611384565b6040516105519190613f71565b60405180910390f35b34801561056657600080fd5b50610581600480360381019061057c9190613886565b611389565b60405161058e9190613f71565b60405180910390f35b3480156105a357600080fd5b506105ac6113d3565b6040516105b99190613f71565b60405180910390f35b3480156105ce57600080fd5b506105e960048036038101906105e4919061356c565b6113d8565b6040516105f69190613f71565b60405180910390f35b34801561060b57600080fd5b506106266004803603810190610621919061383d565b6113f0565b005b34801561063457600080fd5b5061064f600480360381019061064a9190613886565b611486565b60405161065c9190613ce9565b60405180910390f35b34801561067157600080fd5b5061068c6004803603810190610687919061356c565b61149c565b6040516106999190613f71565b60405180910390f35b3480156106ae57600080fd5b506106b761157c565b6040516106c49190613daf565b60405180910390f35b3480156106d957600080fd5b506106e261160e565b005b3480156106f057600080fd5b506106f9611696565b6040516107069190613f71565b60405180910390f35b34801561071b57600080fd5b5061073660048036038101906107319190613886565b61169c565b005b34801561074457600080fd5b5061074d611722565b60405161075a9190613ce9565b60405180910390f35b34801561076f57600080fd5b5061077861174c565b6040516107859190613daf565b60405180910390f35b34801561079a57600080fd5b506107a36117de565b6040516107b09190613d79565b60405180910390f35b6107d360048036038101906107ce9190613886565b6117f1565b005b3480156107e157600080fd5b506107fc60048036038101906107f791906136af565b611995565b005b34801561080a57600080fd5b5061082560048036038101906108209190613789565b611b0d565b005b610841600480360381019061083c91906138e0565b611b93565b005b34801561084f57600080fd5b5061086a6004803603810190610865919061362c565b611ef8565b005b34801561087857600080fd5b50610893600480360381019061088e9190613886565b611f4b565b6040516108a09190613daf565b60405180910390f35b3480156108b557600080fd5b506108d060048036038101906108cb9190613599565b611fc7565b6040516108dd9190613d79565b60405180910390f35b3480156108f257600080fd5b5061090d60048036038101906109089190613886565b61205b565b005b34801561091b57600080fd5b506109366004803603810190610931919061356c565b612193565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610a0357507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610a6b57507f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610a7b5750610a7a8261228b565b5b9050919050565b600d5481565b606060018054610a979061425f565b80601f0160208091040260200160405190810160405280929190818152602001828054610ac39061425f565b8015610b105780601f10610ae557610100808354040283529160200191610b10565b820191906000526020600020905b815481529060010190602001808311610af357829003601f168201915b5050505050905090565b6000610b25826122f5565b610b5b576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610ba182611486565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610c09576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610c28612302565b73ffffffffffffffffffffffffffffffffffffffff1614158015610c5a5750610c5881610c53612302565b611fc7565b155b15610c91576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610c9c83838361230a565b505050565b600a5481565b60008054905090565b600c60009054906101000a900460ff1681565b610cce8383836123bc565b505050565b610cdb612302565b73ffffffffffffffffffffffffffffffffffffffff16610cf9611722565b73ffffffffffffffffffffffffffffffffffffffff1614610d4f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d4690613e71565b60405180910390fd5b80600c60006101000a81548160ff02191690831515021790555050565b6000610d778361149c565b8210610daf576040517f0ddac30e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000610db9610ca7565b905060008060005b83811015610f13576000600360008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614610eb357806000015192505b8773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610f055786841415610efc578195505050505050610f46565b83806001019450505b508080600101915050610dc1565b506040517f7339954700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b92915050565b610f54612302565b73ffffffffffffffffffffffffffffffffffffffff16610f72611722565b73ffffffffffffffffffffffffffffffffffffffff1614610fc8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fbf90613e71565b60405180910390fd5b610fd0610ca7565b8111611011576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161100890613e11565b60405180910390fd5b600a548110611055576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161104c90613eb1565b60405180910390fd5b80600a8190555050565b611067612302565b73ffffffffffffffffffffffffffffffffffffffff16611085611722565b73ffffffffffffffffffffffffffffffffffffffff16146110db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110d290613e71565b60405180910390fd5b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611126573d6000803e3d6000fd5b5050565b61114583838360405180602001604052806000815250611ef8565b505050565b600e5481565b611158612302565b73ffffffffffffffffffffffffffffffffffffffff16611176611722565b73ffffffffffffffffffffffffffffffffffffffff16146111cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111c390613e71565b60405180910390fd5b80600f60006101000a81548160ff02191690831515021790555050565b6111f1612302565b73ffffffffffffffffffffffffffffffffffffffff1661120f611722565b73ffffffffffffffffffffffffffffffffffffffff1614611265576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161125c90613e71565b60405180910390fd5b60008173ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016112a09190613ce9565b60206040518083038186803b1580156112b857600080fd5b505afa1580156112cc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112f091906138b3565b90508173ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33836040518363ffffffff1660e01b815260040161132d929190613d50565b602060405180830381600087803b15801561134757600080fd5b505af115801561135b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061137f919061375c565b505050565b600381565b6000611393610ca7565b82106113cb576040517fa723001c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b819050919050565b600a81565b60106020528060005260406000206000915090505481565b6113f8612302565b73ffffffffffffffffffffffffffffffffffffffff16611416611722565b73ffffffffffffffffffffffffffffffffffffffff161461146c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161146390613e71565b60405180910390fd5b8060099080519060200190611482929190613287565b5050565b6000611491826128e1565b600001519050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611504576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff169050919050565b60606009805461158b9061425f565b80601f01602080910402602001604051908101604052809291908181526020018280546115b79061425f565b80156116045780601f106115d957610100808354040283529160200191611604565b820191906000526020600020905b8154815290600101906020018083116115e757829003601f168201915b5050505050905090565b611616612302565b73ffffffffffffffffffffffffffffffffffffffff16611634611722565b73ffffffffffffffffffffffffffffffffffffffff161461168a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161168190613e71565b60405180910390fd5b6116946000612a69565b565b600b5481565b6116a4612302565b73ffffffffffffffffffffffffffffffffffffffff166116c2611722565b73ffffffffffffffffffffffffffffffffffffffff1614611718576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161170f90613e71565b60405180910390fd5b80600b8190555050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606002805461175b9061425f565b80601f01602080910402602001604051908101604052809291908181526020018280546117879061425f565b80156117d45780601f106117a9576101008083540402835291602001916117d4565b820191906000526020600020905b8154815290600101906020018083116117b757829003601f168201915b5050505050905090565b600f60009054906101000a900460ff1681565b60026008541415611837576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161182e90613f31565b60405180910390fd5b6002600881905550600b548134818361185091906140f2565b14611890576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161188790613ef1565b60405180910390fd5b600c60009054906101000a900460ff166118df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118d690613f51565b60405180910390fd5b82600a54816118ec610ca7565b6118f6919061406b565b1115611937576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161192e90613df1565b60405180910390fd5b83600a81111561197c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161197390613e91565b60405180910390fd5b6119863386612b2f565b50505050600160088190555050565b61199d612302565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611a02576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060066000611a0f612302565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611abc612302565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611b019190613d79565b60405180910390a35050565b611b15612302565b73ffffffffffffffffffffffffffffffffffffffff16611b33611722565b73ffffffffffffffffffffffffffffffffffffffff1614611b89576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b8090613e71565b60405180910390fd5b80600e8190555050565b60026008541415611bd9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bd090613f31565b60405180910390fd5b6002600881905550600f60009054906101000a900460ff16611c30576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c2790613ed1565b60405180910390fd5b8260ff16600a5481611c40610ca7565b611c4a919061406b565b1115611c8b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c8290613df1565b60405180910390fd5b600b548460ff16348183611c9f91906140f2565b14611cdf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cd690613ef1565b60405180910390fd5b8484600e54611d56838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f820116905080830192505050505050508233604051602001611d3b9190613c9f565b60405160208183030381529060405280519060200120612b4d565b611d95576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d8c90613e31565b60405180910390fd5b6000601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905060038a60ff1682611dea919061406b565b1115611e2b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e2290613f11565b60405180910390fd5b600d548a60ff16611e3a610ca7565b611e44919061406b565b1115611e85576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e7c90613df1565b60405180910390fd5b8960ff1681611e94919061406b565b601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611ee4338b60ff16612b2f565b505050505050506001600881905550505050565b611f038484846123bc565b611f0f84848484612b64565b611f45576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b6060611f56826122f5565b611f95576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f8c90613e51565b60405180910390fd5b6009611fa083612cf2565b604051602001611fb1929190613cba565b6040516020818303038152906040529050919050565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600260085414156120a1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161209890613f31565b60405180910390fd5b60026008819055506120b1612302565b73ffffffffffffffffffffffffffffffffffffffff166120cf611722565b73ffffffffffffffffffffffffffffffffffffffff1614612125576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161211c90613e71565b60405180910390fd5b80600a5481612132610ca7565b61213c919061406b565b111561217d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161217490613df1565b60405180910390fd5b6121873383612b2f565b50600160088190555050565b61219b612302565b73ffffffffffffffffffffffffffffffffffffffff166121b9611722565b73ffffffffffffffffffffffffffffffffffffffff161461220f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161220690613e71565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561227f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161227690613dd1565b60405180910390fd5b61228881612a69565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000805482109050919050565b600033905090565b826005600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b60006123c7826128e1565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff166123ee612302565b73ffffffffffffffffffffffffffffffffffffffff16148061244a5750612413612302565b73ffffffffffffffffffffffffffffffffffffffff1661243284610b1a565b73ffffffffffffffffffffffffffffffffffffffff16145b8061246657506124658260000151612460612302565b611fc7565b5b90508061249f576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff1614612508576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16141561256f576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61257c8585856001612e53565b61258c600084846000015161230a565b6001600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff160392506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff1602179055506001600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff160192506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff160217905550836003600085815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426003600085815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600184019050600073ffffffffffffffffffffffffffffffffffffffff166003600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415612871576127d0816122f5565b156128705782600001516003600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082602001516003600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b50828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46128da8585856001612e59565b5050505050565b6128e961330d565b6128f2826122f5565b612928576040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008290505b60008110612a31576000600360008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612a22578092505050612a64565b5080806001900391505061292e565b506040517fe7c0edfb00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612b49828260405180602001604052806000815250612e5f565b5050565b600082612b5a8584612e71565b1490509392505050565b6000612b858473ffffffffffffffffffffffffffffffffffffffff16612ee6565b15612ce5578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612bae612302565b8786866040518563ffffffff1660e01b8152600401612bd09493929190613d04565b602060405180830381600087803b158015612bea57600080fd5b505af1925050508015612c1b57506040513d601f19601f82011682018060405250810190612c1891906137e3565b60015b612c95573d8060008114612c4b576040519150601f19603f3d011682016040523d82523d6000602084013e612c50565b606091505b50600081511415612c8d576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612cea565b600190505b949350505050565b60606000821415612d3a576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612e4e565b600082905060005b60008214612d6c578080612d55906142c2565b915050600a82612d6591906140c1565b9150612d42565b60008167ffffffffffffffff811115612d8857612d8761441c565b5b6040519080825280601f01601f191660200182016040528015612dba5781602001600182028036833780820191505090505b5090505b60008514612e4757600182612dd3919061414c565b9150600a85612de2919061432f565b6030612dee919061406b565b60f81b818381518110612e0457612e036143ed565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612e4091906140c1565b9450612dbe565b8093505050505b919050565b50505050565b50505050565b612e6c8383836001612f09565b505050565b60008082905060005b8451811015612edb576000858281518110612e9857612e976143ed565b5b60200260200101519050808311612eba57612eb38382613270565b9250612ec7565b612ec48184613270565b92505b508080612ed3906142c2565b915050612e7a565b508091505092915050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415612f76576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000841415612fb1576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612fbe6000868387612e53565b83600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff160192506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555083600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160108282829054906101000a90046fffffffffffffffffffffffffffffffff160192506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff160217905550846003600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426003600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600081905060005b8581101561325357818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a483801561320757506132056000888488612b64565b155b1561323e576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8180600101925050808060010191505061318c565b5080600081905550506132696000868387612e59565b5050505050565b600082600052816020526040600020905092915050565b8280546132939061425f565b90600052602060002090601f0160209004810192826132b557600085556132fc565b82601f106132ce57805160ff19168380011785556132fc565b828001600101855582156132fc579182015b828111156132fb5782518255916020019190600101906132e0565b5b5090506133099190613347565b5090565b6040518060400160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681525090565b5b80821115613360576000816000905550600101613348565b5090565b600061337761337284613fb1565b613f8c565b9050828152602081018484840111156133935761339261445a565b5b61339e84828561421d565b509392505050565b60006133b96133b484613fe2565b613f8c565b9050828152602081018484840111156133d5576133d461445a565b5b6133e084828561421d565b509392505050565b6000813590506133f781614783565b92915050565b60008083601f84011261341357613412614450565b5b8235905067ffffffffffffffff8111156134305761342f61444b565b5b60208301915083602082028301111561344c5761344b614455565b5b9250929050565b6000813590506134628161479a565b92915050565b6000815190506134778161479a565b92915050565b60008135905061348c816147b1565b92915050565b6000813590506134a1816147c8565b92915050565b6000815190506134b6816147c8565b92915050565b600082601f8301126134d1576134d0614450565b5b81356134e1848260208601613364565b91505092915050565b6000813590506134f9816147df565b92915050565b600082601f83011261351457613513614450565b5b81356135248482602086016133a6565b91505092915050565b60008135905061353c816147f6565b92915050565b600081519050613551816147f6565b92915050565b6000813590506135668161480d565b92915050565b60006020828403121561358257613581614464565b5b6000613590848285016133e8565b91505092915050565b600080604083850312156135b0576135af614464565b5b60006135be858286016133e8565b92505060206135cf858286016133e8565b9150509250929050565b6000806000606084860312156135f2576135f1614464565b5b6000613600868287016133e8565b9350506020613611868287016133e8565b92505060406136228682870161352d565b9150509250925092565b6000806000806080858703121561364657613645614464565b5b6000613654878288016133e8565b9450506020613665878288016133e8565b93505060406136768782880161352d565b925050606085013567ffffffffffffffff8111156136975761369661445f565b5b6136a3878288016134bc565b91505092959194509250565b600080604083850312156136c6576136c5614464565b5b60006136d4858286016133e8565b92505060206136e585828601613453565b9150509250929050565b6000806040838503121561370657613705614464565b5b6000613714858286016133e8565b92505060206137258582860161352d565b9150509250929050565b60006020828403121561374557613744614464565b5b600061375384828501613453565b91505092915050565b60006020828403121561377257613771614464565b5b600061378084828501613468565b91505092915050565b60006020828403121561379f5761379e614464565b5b60006137ad8482850161347d565b91505092915050565b6000602082840312156137cc576137cb614464565b5b60006137da84828501613492565b91505092915050565b6000602082840312156137f9576137f8614464565b5b6000613807848285016134a7565b91505092915050565b60006020828403121561382657613825614464565b5b6000613834848285016134ea565b91505092915050565b60006020828403121561385357613852614464565b5b600082013567ffffffffffffffff8111156138715761387061445f565b5b61387d848285016134ff565b91505092915050565b60006020828403121561389c5761389b614464565b5b60006138aa8482850161352d565b91505092915050565b6000602082840312156138c9576138c8614464565b5b60006138d784828501613542565b91505092915050565b6000806000604084860312156138f9576138f8614464565b5b600061390786828701613557565b935050602084013567ffffffffffffffff8111156139285761392761445f565b5b613934868287016133fd565b92509250509250925092565b61394981614180565b82525050565b61396061395b82614180565b61430b565b82525050565b61396f81614192565b82525050565b61397e8161419e565b82525050565b600061398f82614028565b613999818561403e565b93506139a981856020860161422c565b6139b281614469565b840191505092915050565b60006139c882614033565b6139d2818561404f565b93506139e281856020860161422c565b6139eb81614469565b840191505092915050565b6000613a0182614033565b613a0b8185614060565b9350613a1b81856020860161422c565b80840191505092915050565b60008154613a348161425f565b613a3e8186614060565b94506001821660008114613a595760018114613a6a57613a9d565b60ff19831686528186019350613a9d565b613a7385614013565b60005b83811015613a9557815481890152600182019150602081019050613a76565b838801955050505b50505092915050565b6000613ab360268361404f565b9150613abe82614487565b604082019050919050565b6000613ad660228361404f565b9150613ae1826144d6565b604082019050919050565b6000613af960318361404f565b9150613b0482614525565b604082019050919050565b6000613b1c601e8361404f565b9150613b2782614574565b602082019050919050565b6000613b3f60118361404f565b9150613b4a8261459d565b602082019050919050565b6000613b6260208361404f565b9150613b6d826145c6565b602082019050919050565b6000613b8560178361404f565b9150613b90826145ef565b602082019050919050565b6000613ba860238361404f565b9150613bb382614618565b604082019050919050565b6000613bcb60138361404f565b9150613bd682614667565b602082019050919050565b6000613bee60188361404f565b9150613bf982614690565b602082019050919050565b6000613c1160238361404f565b9150613c1c826146b9565b604082019050919050565b6000613c34601f8361404f565b9150613c3f82614708565b602082019050919050565b6000613c5760178361404f565b9150613c6282614731565b602082019050919050565b6000613c7a600183614060565b9150613c858261475a565b600182019050919050565b613c9981614206565b82525050565b6000613cab828461394f565b60148201915081905092915050565b6000613cc68285613a27565b9150613cd182613c6d565b9150613cdd82846139f6565b91508190509392505050565b6000602082019050613cfe6000830184613940565b92915050565b6000608082019050613d196000830187613940565b613d266020830186613940565b613d336040830185613c90565b8181036060830152613d458184613984565b905095945050505050565b6000604082019050613d656000830185613940565b613d726020830184613c90565b9392505050565b6000602082019050613d8e6000830184613966565b92915050565b6000602082019050613da96000830184613975565b92915050565b60006020820190508181036000830152613dc981846139bd565b905092915050565b60006020820190508181036000830152613dea81613aa6565b9050919050565b60006020820190508181036000830152613e0a81613ac9565b9050919050565b60006020820190508181036000830152613e2a81613aec565b9050919050565b60006020820190508181036000830152613e4a81613b0f565b9050919050565b60006020820190508181036000830152613e6a81613b32565b9050919050565b60006020820190508181036000830152613e8a81613b55565b9050919050565b60006020820190508181036000830152613eaa81613b78565b9050919050565b60006020820190508181036000830152613eca81613b9b565b9050919050565b60006020820190508181036000830152613eea81613bbe565b9050919050565b60006020820190508181036000830152613f0a81613be1565b9050919050565b60006020820190508181036000830152613f2a81613c04565b9050919050565b60006020820190508181036000830152613f4a81613c27565b9050919050565b60006020820190508181036000830152613f6a81613c4a565b9050919050565b6000602082019050613f866000830184613c90565b92915050565b6000613f96613fa7565b9050613fa28282614291565b919050565b6000604051905090565b600067ffffffffffffffff821115613fcc57613fcb61441c565b5b613fd582614469565b9050602081019050919050565b600067ffffffffffffffff821115613ffd57613ffc61441c565b5b61400682614469565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600061407682614206565b915061408183614206565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156140b6576140b5614360565b5b828201905092915050565b60006140cc82614206565b91506140d783614206565b9250826140e7576140e661438f565b5b828204905092915050565b60006140fd82614206565b915061410883614206565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561414157614140614360565b5b828202905092915050565b600061415782614206565b915061416283614206565b92508282101561417557614174614360565b5b828203905092915050565b600061418b826141e6565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b60006141df82614180565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b8381101561424a57808201518184015260208101905061422f565b83811115614259576000848401525b50505050565b6000600282049050600182168061427757607f821691505b6020821081141561428b5761428a6143be565b5b50919050565b61429a82614469565b810181811067ffffffffffffffff821117156142b9576142b861441c565b5b80604052505050565b60006142cd82614206565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614300576142ff614360565b5b600182019050919050565b60006143168261431d565b9050919050565b60006143288261447a565b9050919050565b600061433a82614206565b915061434583614206565b9250826143555761435461438f565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4e6f7420656e6f7567682074756e65732072656d61696e696e6720746f206d6960008201527f6e74000000000000000000000000000000000000000000000000000000000000602082015250565b7f63616e6e6f7420726564756365206d6178696d756d20737570706c792062656c60008201527f6f772063757272656e7420636f756e742e000000000000000000000000000000602082015250565b7f4164647265737320646f6573206e6f7420657869737420696e206c6973740000600082015250565b7f4e6f6e6578697374656e7420746f6b656e000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4d61782074756e657320746f206d696e74206973203130000000000000000000600082015250565b7f63616e6e6f7420696e63726561736520746865206d6178696d756d207375707060008201527f6c792e0000000000000000000000000000000000000000000000000000000000602082015250565b7f50726573616c65206973206e6f74206f70656e00000000000000000000000000600082015250565b7f496e636f7272656374204554482076616c75652073656e740000000000000000600082015250565b7f4d61782074756e657320746f206d696e7420696e2050726573616c652069732060008201527f6f6e650000000000000000000000000000000000000000000000000000000000602082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b7f5075626c69632073616c65206973206e6f74206f70656e000000000000000000600082015250565b7f2f00000000000000000000000000000000000000000000000000000000000000600082015250565b61478c81614180565b811461479757600080fd5b50565b6147a381614192565b81146147ae57600080fd5b50565b6147ba8161419e565b81146147c557600080fd5b50565b6147d1816141a8565b81146147dc57600080fd5b50565b6147e8816141d4565b81146147f357600080fd5b50565b6147ff81614206565b811461480a57600080fd5b50565b61481681614210565b811461482157600080fd5b5056fea2646970667358221220daf22d67df6fd5b1074e162651c35ecf99f880c04e508031e65947c05ec460c164736f6c6343000807003300000000000000000000000000000000000000000000000000000000000012ec00000000000000000000000000000000000000000000000000000000000012ec
Deployed Bytecode
0x60806040526004361061023b5760003560e01c8063532778791161012e5780639d044ed3116100ab578063b88d4fde1161006f578063b88d4fde14610843578063c87b56dd1461086c578063e985e9c5146108a9578063f19e75d4146108e6578063f2fde38b1461090f5761023b565b80639d044ed31461078e578063a0712d68146107b9578063a22cb465146107d5578063a643ed30146107fe578063a8b3a527146108275761023b565b8063715018a6116100f2578063715018a6146106cd5780637f205a74146106e45780638d6cc56d1461070f5780638da5cb5b1461073857806395d89b41146107635761023b565b806353277879146105c257806355f804b3146105ff5780636352211e1461062857806370a0823114610665578063714c5398146106a25761023b565b80632f745c59116101bc578063445f575611610180578063445f5756146104dd57806349df728c146105065780634b780f3c1461052f5780634f6ccce71461055a57806351b96d92146105975761023b565b80632f745c591461040c5780633c166c79146104495780633ccfd60b1461047257806342842e0e1461048957806343838845146104b25761023b565b80631714fdc8116102035780631714fdc81461033957806318160ddd146103645780631e84c4131461038f57806323b872dd146103ba57806328cad13d146103e35761023b565b806301ffc9a71461024057806305df6a9e1461027d57806306fdde03146102a8578063081812fc146102d3578063095ea7b314610310575b600080fd5b34801561024c57600080fd5b50610267600480360381019061026291906137b6565b610938565b6040516102749190613d79565b60405180910390f35b34801561028957600080fd5b50610292610a82565b60405161029f9190613f71565b60405180910390f35b3480156102b457600080fd5b506102bd610a88565b6040516102ca9190613daf565b60405180910390f35b3480156102df57600080fd5b506102fa60048036038101906102f59190613886565b610b1a565b6040516103079190613ce9565b60405180910390f35b34801561031c57600080fd5b50610337600480360381019061033291906136ef565b610b96565b005b34801561034557600080fd5b5061034e610ca1565b60405161035b9190613f71565b60405180910390f35b34801561037057600080fd5b50610379610ca7565b6040516103869190613f71565b60405180910390f35b34801561039b57600080fd5b506103a4610cb0565b6040516103b19190613d79565b60405180910390f35b3480156103c657600080fd5b506103e160048036038101906103dc91906135d9565b610cc3565b005b3480156103ef57600080fd5b5061040a6004803603810190610405919061372f565b610cd3565b005b34801561041857600080fd5b50610433600480360381019061042e91906136ef565b610d6c565b6040516104409190613f71565b60405180910390f35b34801561045557600080fd5b50610470600480360381019061046b9190613886565b610f4c565b005b34801561047e57600080fd5b5061048761105f565b005b34801561049557600080fd5b506104b060048036038101906104ab91906135d9565b61112a565b005b3480156104be57600080fd5b506104c761114a565b6040516104d49190613d94565b60405180910390f35b3480156104e957600080fd5b5061050460048036038101906104ff919061372f565b611150565b005b34801561051257600080fd5b5061052d60048036038101906105289190613810565b6111e9565b005b34801561053b57600080fd5b50610544611384565b6040516105519190613f71565b60405180910390f35b34801561056657600080fd5b50610581600480360381019061057c9190613886565b611389565b60405161058e9190613f71565b60405180910390f35b3480156105a357600080fd5b506105ac6113d3565b6040516105b99190613f71565b60405180910390f35b3480156105ce57600080fd5b506105e960048036038101906105e4919061356c565b6113d8565b6040516105f69190613f71565b60405180910390f35b34801561060b57600080fd5b506106266004803603810190610621919061383d565b6113f0565b005b34801561063457600080fd5b5061064f600480360381019061064a9190613886565b611486565b60405161065c9190613ce9565b60405180910390f35b34801561067157600080fd5b5061068c6004803603810190610687919061356c565b61149c565b6040516106999190613f71565b60405180910390f35b3480156106ae57600080fd5b506106b761157c565b6040516106c49190613daf565b60405180910390f35b3480156106d957600080fd5b506106e261160e565b005b3480156106f057600080fd5b506106f9611696565b6040516107069190613f71565b60405180910390f35b34801561071b57600080fd5b5061073660048036038101906107319190613886565b61169c565b005b34801561074457600080fd5b5061074d611722565b60405161075a9190613ce9565b60405180910390f35b34801561076f57600080fd5b5061077861174c565b6040516107859190613daf565b60405180910390f35b34801561079a57600080fd5b506107a36117de565b6040516107b09190613d79565b60405180910390f35b6107d360048036038101906107ce9190613886565b6117f1565b005b3480156107e157600080fd5b506107fc60048036038101906107f791906136af565b611995565b005b34801561080a57600080fd5b5061082560048036038101906108209190613789565b611b0d565b005b610841600480360381019061083c91906138e0565b611b93565b005b34801561084f57600080fd5b5061086a6004803603810190610865919061362c565b611ef8565b005b34801561087857600080fd5b50610893600480360381019061088e9190613886565b611f4b565b6040516108a09190613daf565b60405180910390f35b3480156108b557600080fd5b506108d060048036038101906108cb9190613599565b611fc7565b6040516108dd9190613d79565b60405180910390f35b3480156108f257600080fd5b5061090d60048036038101906109089190613886565b61205b565b005b34801561091b57600080fd5b506109366004803603810190610931919061356c565b612193565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610a0357507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610a6b57507f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610a7b5750610a7a8261228b565b5b9050919050565b600d5481565b606060018054610a979061425f565b80601f0160208091040260200160405190810160405280929190818152602001828054610ac39061425f565b8015610b105780601f10610ae557610100808354040283529160200191610b10565b820191906000526020600020905b815481529060010190602001808311610af357829003601f168201915b5050505050905090565b6000610b25826122f5565b610b5b576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610ba182611486565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610c09576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610c28612302565b73ffffffffffffffffffffffffffffffffffffffff1614158015610c5a5750610c5881610c53612302565b611fc7565b155b15610c91576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610c9c83838361230a565b505050565b600a5481565b60008054905090565b600c60009054906101000a900460ff1681565b610cce8383836123bc565b505050565b610cdb612302565b73ffffffffffffffffffffffffffffffffffffffff16610cf9611722565b73ffffffffffffffffffffffffffffffffffffffff1614610d4f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d4690613e71565b60405180910390fd5b80600c60006101000a81548160ff02191690831515021790555050565b6000610d778361149c565b8210610daf576040517f0ddac30e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000610db9610ca7565b905060008060005b83811015610f13576000600360008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614610eb357806000015192505b8773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610f055786841415610efc578195505050505050610f46565b83806001019450505b508080600101915050610dc1565b506040517f7339954700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b92915050565b610f54612302565b73ffffffffffffffffffffffffffffffffffffffff16610f72611722565b73ffffffffffffffffffffffffffffffffffffffff1614610fc8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fbf90613e71565b60405180910390fd5b610fd0610ca7565b8111611011576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161100890613e11565b60405180910390fd5b600a548110611055576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161104c90613eb1565b60405180910390fd5b80600a8190555050565b611067612302565b73ffffffffffffffffffffffffffffffffffffffff16611085611722565b73ffffffffffffffffffffffffffffffffffffffff16146110db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110d290613e71565b60405180910390fd5b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611126573d6000803e3d6000fd5b5050565b61114583838360405180602001604052806000815250611ef8565b505050565b600e5481565b611158612302565b73ffffffffffffffffffffffffffffffffffffffff16611176611722565b73ffffffffffffffffffffffffffffffffffffffff16146111cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111c390613e71565b60405180910390fd5b80600f60006101000a81548160ff02191690831515021790555050565b6111f1612302565b73ffffffffffffffffffffffffffffffffffffffff1661120f611722565b73ffffffffffffffffffffffffffffffffffffffff1614611265576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161125c90613e71565b60405180910390fd5b60008173ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016112a09190613ce9565b60206040518083038186803b1580156112b857600080fd5b505afa1580156112cc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112f091906138b3565b90508173ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33836040518363ffffffff1660e01b815260040161132d929190613d50565b602060405180830381600087803b15801561134757600080fd5b505af115801561135b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061137f919061375c565b505050565b600381565b6000611393610ca7565b82106113cb576040517fa723001c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b819050919050565b600a81565b60106020528060005260406000206000915090505481565b6113f8612302565b73ffffffffffffffffffffffffffffffffffffffff16611416611722565b73ffffffffffffffffffffffffffffffffffffffff161461146c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161146390613e71565b60405180910390fd5b8060099080519060200190611482929190613287565b5050565b6000611491826128e1565b600001519050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611504576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff169050919050565b60606009805461158b9061425f565b80601f01602080910402602001604051908101604052809291908181526020018280546115b79061425f565b80156116045780601f106115d957610100808354040283529160200191611604565b820191906000526020600020905b8154815290600101906020018083116115e757829003601f168201915b5050505050905090565b611616612302565b73ffffffffffffffffffffffffffffffffffffffff16611634611722565b73ffffffffffffffffffffffffffffffffffffffff161461168a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161168190613e71565b60405180910390fd5b6116946000612a69565b565b600b5481565b6116a4612302565b73ffffffffffffffffffffffffffffffffffffffff166116c2611722565b73ffffffffffffffffffffffffffffffffffffffff1614611718576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161170f90613e71565b60405180910390fd5b80600b8190555050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606002805461175b9061425f565b80601f01602080910402602001604051908101604052809291908181526020018280546117879061425f565b80156117d45780601f106117a9576101008083540402835291602001916117d4565b820191906000526020600020905b8154815290600101906020018083116117b757829003601f168201915b5050505050905090565b600f60009054906101000a900460ff1681565b60026008541415611837576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161182e90613f31565b60405180910390fd5b6002600881905550600b548134818361185091906140f2565b14611890576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161188790613ef1565b60405180910390fd5b600c60009054906101000a900460ff166118df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118d690613f51565b60405180910390fd5b82600a54816118ec610ca7565b6118f6919061406b565b1115611937576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161192e90613df1565b60405180910390fd5b83600a81111561197c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161197390613e91565b60405180910390fd5b6119863386612b2f565b50505050600160088190555050565b61199d612302565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611a02576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060066000611a0f612302565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611abc612302565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611b019190613d79565b60405180910390a35050565b611b15612302565b73ffffffffffffffffffffffffffffffffffffffff16611b33611722565b73ffffffffffffffffffffffffffffffffffffffff1614611b89576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b8090613e71565b60405180910390fd5b80600e8190555050565b60026008541415611bd9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bd090613f31565b60405180910390fd5b6002600881905550600f60009054906101000a900460ff16611c30576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c2790613ed1565b60405180910390fd5b8260ff16600a5481611c40610ca7565b611c4a919061406b565b1115611c8b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c8290613df1565b60405180910390fd5b600b548460ff16348183611c9f91906140f2565b14611cdf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cd690613ef1565b60405180910390fd5b8484600e54611d56838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f820116905080830192505050505050508233604051602001611d3b9190613c9f565b60405160208183030381529060405280519060200120612b4d565b611d95576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d8c90613e31565b60405180910390fd5b6000601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905060038a60ff1682611dea919061406b565b1115611e2b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e2290613f11565b60405180910390fd5b600d548a60ff16611e3a610ca7565b611e44919061406b565b1115611e85576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e7c90613df1565b60405180910390fd5b8960ff1681611e94919061406b565b601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611ee4338b60ff16612b2f565b505050505050506001600881905550505050565b611f038484846123bc565b611f0f84848484612b64565b611f45576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b6060611f56826122f5565b611f95576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f8c90613e51565b60405180910390fd5b6009611fa083612cf2565b604051602001611fb1929190613cba565b6040516020818303038152906040529050919050565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600260085414156120a1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161209890613f31565b60405180910390fd5b60026008819055506120b1612302565b73ffffffffffffffffffffffffffffffffffffffff166120cf611722565b73ffffffffffffffffffffffffffffffffffffffff1614612125576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161211c90613e71565b60405180910390fd5b80600a5481612132610ca7565b61213c919061406b565b111561217d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161217490613df1565b60405180910390fd5b6121873383612b2f565b50600160088190555050565b61219b612302565b73ffffffffffffffffffffffffffffffffffffffff166121b9611722565b73ffffffffffffffffffffffffffffffffffffffff161461220f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161220690613e71565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561227f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161227690613dd1565b60405180910390fd5b61228881612a69565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000805482109050919050565b600033905090565b826005600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b60006123c7826128e1565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff166123ee612302565b73ffffffffffffffffffffffffffffffffffffffff16148061244a5750612413612302565b73ffffffffffffffffffffffffffffffffffffffff1661243284610b1a565b73ffffffffffffffffffffffffffffffffffffffff16145b8061246657506124658260000151612460612302565b611fc7565b5b90508061249f576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff1614612508576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16141561256f576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61257c8585856001612e53565b61258c600084846000015161230a565b6001600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff160392506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff1602179055506001600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff160192506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff160217905550836003600085815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426003600085815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600184019050600073ffffffffffffffffffffffffffffffffffffffff166003600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415612871576127d0816122f5565b156128705782600001516003600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082602001516003600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b50828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46128da8585856001612e59565b5050505050565b6128e961330d565b6128f2826122f5565b612928576040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008290505b60008110612a31576000600360008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612a22578092505050612a64565b5080806001900391505061292e565b506040517fe7c0edfb00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612b49828260405180602001604052806000815250612e5f565b5050565b600082612b5a8584612e71565b1490509392505050565b6000612b858473ffffffffffffffffffffffffffffffffffffffff16612ee6565b15612ce5578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612bae612302565b8786866040518563ffffffff1660e01b8152600401612bd09493929190613d04565b602060405180830381600087803b158015612bea57600080fd5b505af1925050508015612c1b57506040513d601f19601f82011682018060405250810190612c1891906137e3565b60015b612c95573d8060008114612c4b576040519150601f19603f3d011682016040523d82523d6000602084013e612c50565b606091505b50600081511415612c8d576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612cea565b600190505b949350505050565b60606000821415612d3a576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612e4e565b600082905060005b60008214612d6c578080612d55906142c2565b915050600a82612d6591906140c1565b9150612d42565b60008167ffffffffffffffff811115612d8857612d8761441c565b5b6040519080825280601f01601f191660200182016040528015612dba5781602001600182028036833780820191505090505b5090505b60008514612e4757600182612dd3919061414c565b9150600a85612de2919061432f565b6030612dee919061406b565b60f81b818381518110612e0457612e036143ed565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612e4091906140c1565b9450612dbe565b8093505050505b919050565b50505050565b50505050565b612e6c8383836001612f09565b505050565b60008082905060005b8451811015612edb576000858281518110612e9857612e976143ed565b5b60200260200101519050808311612eba57612eb38382613270565b9250612ec7565b612ec48184613270565b92505b508080612ed3906142c2565b915050612e7a565b508091505092915050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415612f76576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000841415612fb1576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612fbe6000868387612e53565b83600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff160192506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555083600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160108282829054906101000a90046fffffffffffffffffffffffffffffffff160192506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff160217905550846003600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426003600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600081905060005b8581101561325357818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a483801561320757506132056000888488612b64565b155b1561323e576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8180600101925050808060010191505061318c565b5080600081905550506132696000868387612e59565b5050505050565b600082600052816020526040600020905092915050565b8280546132939061425f565b90600052602060002090601f0160209004810192826132b557600085556132fc565b82601f106132ce57805160ff19168380011785556132fc565b828001600101855582156132fc579182015b828111156132fb5782518255916020019190600101906132e0565b5b5090506133099190613347565b5090565b6040518060400160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681525090565b5b80821115613360576000816000905550600101613348565b5090565b600061337761337284613fb1565b613f8c565b9050828152602081018484840111156133935761339261445a565b5b61339e84828561421d565b509392505050565b60006133b96133b484613fe2565b613f8c565b9050828152602081018484840111156133d5576133d461445a565b5b6133e084828561421d565b509392505050565b6000813590506133f781614783565b92915050565b60008083601f84011261341357613412614450565b5b8235905067ffffffffffffffff8111156134305761342f61444b565b5b60208301915083602082028301111561344c5761344b614455565b5b9250929050565b6000813590506134628161479a565b92915050565b6000815190506134778161479a565b92915050565b60008135905061348c816147b1565b92915050565b6000813590506134a1816147c8565b92915050565b6000815190506134b6816147c8565b92915050565b600082601f8301126134d1576134d0614450565b5b81356134e1848260208601613364565b91505092915050565b6000813590506134f9816147df565b92915050565b600082601f83011261351457613513614450565b5b81356135248482602086016133a6565b91505092915050565b60008135905061353c816147f6565b92915050565b600081519050613551816147f6565b92915050565b6000813590506135668161480d565b92915050565b60006020828403121561358257613581614464565b5b6000613590848285016133e8565b91505092915050565b600080604083850312156135b0576135af614464565b5b60006135be858286016133e8565b92505060206135cf858286016133e8565b9150509250929050565b6000806000606084860312156135f2576135f1614464565b5b6000613600868287016133e8565b9350506020613611868287016133e8565b92505060406136228682870161352d565b9150509250925092565b6000806000806080858703121561364657613645614464565b5b6000613654878288016133e8565b9450506020613665878288016133e8565b93505060406136768782880161352d565b925050606085013567ffffffffffffffff8111156136975761369661445f565b5b6136a3878288016134bc565b91505092959194509250565b600080604083850312156136c6576136c5614464565b5b60006136d4858286016133e8565b92505060206136e585828601613453565b9150509250929050565b6000806040838503121561370657613705614464565b5b6000613714858286016133e8565b92505060206137258582860161352d565b9150509250929050565b60006020828403121561374557613744614464565b5b600061375384828501613453565b91505092915050565b60006020828403121561377257613771614464565b5b600061378084828501613468565b91505092915050565b60006020828403121561379f5761379e614464565b5b60006137ad8482850161347d565b91505092915050565b6000602082840312156137cc576137cb614464565b5b60006137da84828501613492565b91505092915050565b6000602082840312156137f9576137f8614464565b5b6000613807848285016134a7565b91505092915050565b60006020828403121561382657613825614464565b5b6000613834848285016134ea565b91505092915050565b60006020828403121561385357613852614464565b5b600082013567ffffffffffffffff8111156138715761387061445f565b5b61387d848285016134ff565b91505092915050565b60006020828403121561389c5761389b614464565b5b60006138aa8482850161352d565b91505092915050565b6000602082840312156138c9576138c8614464565b5b60006138d784828501613542565b91505092915050565b6000806000604084860312156138f9576138f8614464565b5b600061390786828701613557565b935050602084013567ffffffffffffffff8111156139285761392761445f565b5b613934868287016133fd565b92509250509250925092565b61394981614180565b82525050565b61396061395b82614180565b61430b565b82525050565b61396f81614192565b82525050565b61397e8161419e565b82525050565b600061398f82614028565b613999818561403e565b93506139a981856020860161422c565b6139b281614469565b840191505092915050565b60006139c882614033565b6139d2818561404f565b93506139e281856020860161422c565b6139eb81614469565b840191505092915050565b6000613a0182614033565b613a0b8185614060565b9350613a1b81856020860161422c565b80840191505092915050565b60008154613a348161425f565b613a3e8186614060565b94506001821660008114613a595760018114613a6a57613a9d565b60ff19831686528186019350613a9d565b613a7385614013565b60005b83811015613a9557815481890152600182019150602081019050613a76565b838801955050505b50505092915050565b6000613ab360268361404f565b9150613abe82614487565b604082019050919050565b6000613ad660228361404f565b9150613ae1826144d6565b604082019050919050565b6000613af960318361404f565b9150613b0482614525565b604082019050919050565b6000613b1c601e8361404f565b9150613b2782614574565b602082019050919050565b6000613b3f60118361404f565b9150613b4a8261459d565b602082019050919050565b6000613b6260208361404f565b9150613b6d826145c6565b602082019050919050565b6000613b8560178361404f565b9150613b90826145ef565b602082019050919050565b6000613ba860238361404f565b9150613bb382614618565b604082019050919050565b6000613bcb60138361404f565b9150613bd682614667565b602082019050919050565b6000613bee60188361404f565b9150613bf982614690565b602082019050919050565b6000613c1160238361404f565b9150613c1c826146b9565b604082019050919050565b6000613c34601f8361404f565b9150613c3f82614708565b602082019050919050565b6000613c5760178361404f565b9150613c6282614731565b602082019050919050565b6000613c7a600183614060565b9150613c858261475a565b600182019050919050565b613c9981614206565b82525050565b6000613cab828461394f565b60148201915081905092915050565b6000613cc68285613a27565b9150613cd182613c6d565b9150613cdd82846139f6565b91508190509392505050565b6000602082019050613cfe6000830184613940565b92915050565b6000608082019050613d196000830187613940565b613d266020830186613940565b613d336040830185613c90565b8181036060830152613d458184613984565b905095945050505050565b6000604082019050613d656000830185613940565b613d726020830184613c90565b9392505050565b6000602082019050613d8e6000830184613966565b92915050565b6000602082019050613da96000830184613975565b92915050565b60006020820190508181036000830152613dc981846139bd565b905092915050565b60006020820190508181036000830152613dea81613aa6565b9050919050565b60006020820190508181036000830152613e0a81613ac9565b9050919050565b60006020820190508181036000830152613e2a81613aec565b9050919050565b60006020820190508181036000830152613e4a81613b0f565b9050919050565b60006020820190508181036000830152613e6a81613b32565b9050919050565b60006020820190508181036000830152613e8a81613b55565b9050919050565b60006020820190508181036000830152613eaa81613b78565b9050919050565b60006020820190508181036000830152613eca81613b9b565b9050919050565b60006020820190508181036000830152613eea81613bbe565b9050919050565b60006020820190508181036000830152613f0a81613be1565b9050919050565b60006020820190508181036000830152613f2a81613c04565b9050919050565b60006020820190508181036000830152613f4a81613c27565b9050919050565b60006020820190508181036000830152613f6a81613c4a565b9050919050565b6000602082019050613f866000830184613c90565b92915050565b6000613f96613fa7565b9050613fa28282614291565b919050565b6000604051905090565b600067ffffffffffffffff821115613fcc57613fcb61441c565b5b613fd582614469565b9050602081019050919050565b600067ffffffffffffffff821115613ffd57613ffc61441c565b5b61400682614469565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600061407682614206565b915061408183614206565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156140b6576140b5614360565b5b828201905092915050565b60006140cc82614206565b91506140d783614206565b9250826140e7576140e661438f565b5b828204905092915050565b60006140fd82614206565b915061410883614206565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561414157614140614360565b5b828202905092915050565b600061415782614206565b915061416283614206565b92508282101561417557614174614360565b5b828203905092915050565b600061418b826141e6565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b60006141df82614180565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b8381101561424a57808201518184015260208101905061422f565b83811115614259576000848401525b50505050565b6000600282049050600182168061427757607f821691505b6020821081141561428b5761428a6143be565b5b50919050565b61429a82614469565b810181811067ffffffffffffffff821117156142b9576142b861441c565b5b80604052505050565b60006142cd82614206565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614300576142ff614360565b5b600182019050919050565b60006143168261431d565b9050919050565b60006143288261447a565b9050919050565b600061433a82614206565b915061434583614206565b9250826143555761435461438f565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4e6f7420656e6f7567682074756e65732072656d61696e696e6720746f206d6960008201527f6e74000000000000000000000000000000000000000000000000000000000000602082015250565b7f63616e6e6f7420726564756365206d6178696d756d20737570706c792062656c60008201527f6f772063757272656e7420636f756e742e000000000000000000000000000000602082015250565b7f4164647265737320646f6573206e6f7420657869737420696e206c6973740000600082015250565b7f4e6f6e6578697374656e7420746f6b656e000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4d61782074756e657320746f206d696e74206973203130000000000000000000600082015250565b7f63616e6e6f7420696e63726561736520746865206d6178696d756d207375707060008201527f6c792e0000000000000000000000000000000000000000000000000000000000602082015250565b7f50726573616c65206973206e6f74206f70656e00000000000000000000000000600082015250565b7f496e636f7272656374204554482076616c75652073656e740000000000000000600082015250565b7f4d61782074756e657320746f206d696e7420696e2050726573616c652069732060008201527f6f6e650000000000000000000000000000000000000000000000000000000000602082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b7f5075626c69632073616c65206973206e6f74206f70656e000000000000000000600082015250565b7f2f00000000000000000000000000000000000000000000000000000000000000600082015250565b61478c81614180565b811461479757600080fd5b50565b6147a381614192565b81146147ae57600080fd5b50565b6147ba8161419e565b81146147c557600080fd5b50565b6147d1816141a8565b81146147dc57600080fd5b50565b6147e8816141d4565b81146147f357600080fd5b50565b6147ff81614206565b811461480a57600080fd5b50565b61481681614210565b811461482157600080fd5b5056fea2646970667358221220daf22d67df6fd5b1074e162651c35ecf99f880c04e508031e65947c05ec460c164736f6c63430008070033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000012ec00000000000000000000000000000000000000000000000000000000000012ec
-----Decoded View---------------
Arg [0] : _maxTunes (uint256): 4844
Arg [1] : _maxPreSaleTunes (uint256): 4844
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000012ec
Arg [1] : 00000000000000000000000000000000000000000000000000000000000012ec
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.