Overview
TokenID
5725
Total Transfers
-
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Pepeth
Compiler Version
v0.8.9+commit.e5eed63a
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity >=0.8.9 <0.9.0; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; contract Pepeth is ERC721Enumerable, Ownable { using Strings for uint256; uint256 public constant MAX_TOKENS = 10000; uint256 public PRESALE_LIMIT_1 = 4000; uint256 public presaleTokensSold_1 = 0; uint256 public reservedTokensMinted = 0; uint256 public PRICE = 0.005 ether; bool public preSaleIsActive_1 = false; bool public publicIsActive = false; bytes32 public merkleRoot; mapping(address => bool) public whitelistClaimed; mapping(address => uint256) public publicClaimed; string public uriSuffix = ".json"; string public baseURI = ""; address payable private guy = payable(0xA778705aD62FC052c814b0d6b2F7c64aA1b10AE1); constructor( string memory _tokenName, string memory _tokenSymbol ) ERC721(_tokenName, _tokenSymbol) { } //Mint function function mintWhitelist(bytes32[] memory _proof) public payable { require(preSaleIsActive_1, "Sale must be active to mint"); bytes32 leaf = keccak256(abi.encodePacked(msg.sender)); require(MerkleProof.verify(_proof, merkleRoot, leaf), "Invalid proof!"); require(!whitelistClaimed[msg.sender], "Address already minted a pepeth!"); require(presaleTokensSold_1 + 1 <= PRESALE_LIMIT_1, "Purchase would exceed max supply"); whitelistClaimed[msg.sender] = true; _safeMint(msg.sender, totalSupply() + 1); presaleTokensSold_1++; } function mint() public payable { require(publicIsActive, "Sale must be active to mint"); require(publicClaimed[msg.sender] <= 1, "Address already minted max allowed"); require(totalSupply() + 1 <= MAX_TOKENS - (100 - reservedTokensMinted), "Purchase would exceed max supply"); require(msg.value >= PRICE * 1, "Insufficient funds!"); publicClaimed[msg.sender] = publicClaimed[msg.sender] + 1; _safeMint(msg.sender, totalSupply() + 1); } function mintReservedTokens(uint256 amount) external onlyOwner { require(reservedTokensMinted + amount <= 100, "This amount is more than max allowed"); for (uint i = 0; i < amount; i++) { _safeMint(msg.sender, totalSupply() + 1); reservedTokensMinted++; } } //Utility function function setPrice(uint256 newPrice) external onlyOwner { PRICE = newPrice; } function flipSaleState() external onlyOwner { publicIsActive = !publicIsActive; } function flipPreSaleState_1() external onlyOwner { preSaleIsActive_1 = !preSaleIsActive_1; } function withdraw() external { require(msg.sender == guy || msg.sender == owner(), "Invalid sender"); (bool success, ) = guy.call{value: address(this).balance / 100 * 50}(""); (bool success2, ) = owner().call{value: address(this).balance}(""); require(success, "Transfer 1 failed"); require(success2, "Transfer 2 failed"); } function setRoot(bytes32 _root) external onlyOwner { merkleRoot = _root; } function isValid(bytes32[] memory proof) public view returns (bool) { bytes32 leaf = keccak256(abi.encodePacked(msg.sender)); return MerkleProof.verify(proof, merkleRoot, leaf); } //// //URI management part //// function _baseURI() internal view virtual override returns (string memory) { return baseURI; } function setBaseURI(string memory newBaseURI) public onlyOwner { baseURI = newBaseURI; } function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require( _exists(tokenId), "ERC721Metadata: URI query for nonexistent token" ); string memory _tokenURI = super.tokenURI(tokenId); return bytes(_tokenURI).length > 0 ? string(abi.encodePacked(_tokenURI, ".json")) : ""; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Enumerable.sol) pragma solidity ^0.8.0; import "../ERC721.sol"; import "./IERC721Enumerable.sol"; /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from owner to list of owned token IDs mapping(address => mapping(uint256 => uint256)) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); return _ownedTokens[owner][index]; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _allTokens.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds"); return _allTokens[index]; } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` cannot be the zero address. * - `to` cannot be the zero address. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual override { super._beforeTokenTransfer(from, to, tokenId); if (from == address(0)) { _addTokenToAllTokensEnumeration(tokenId); } else if (from != to) { _removeTokenFromOwnerEnumeration(from, tokenId); } if (to == address(0)) { _removeTokenFromAllTokensEnumeration(tokenId); } else if (to != from) { _addTokenToOwnerEnumeration(to, tokenId); } } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { uint256 length = ERC721.balanceOf(to); _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; } /** * @dev Private function to add a token to this extension's token tracking data structures. * @param tokenId uint256 ID of the token to be added to the tokens list */ function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for * gas optimizations e.g. when performing a transfer operation (avoiding double writes). * This has O(1) time complexity, but alters the order of the _ownedTokens array. * @param from address representing the previous owner of the given token ID * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = ERC721.balanceOf(from) - 1; uint256 tokenIndex = _ownedTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } // This also deletes the contents at the last position of the array delete _ownedTokensIndex[tokenId]; delete _ownedTokens[from][lastTokenIndex]; } /** * @dev Private function to remove a token from this extension's token tracking data structures. * This has O(1) time complexity, but alters the order of the _allTokens array. * @param tokenId uint256 ID of the token to be removed from the tokens list */ function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _allTokens.length - 1; uint256 tokenIndex = _allTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding // an 'if' statement (like in _removeTokenFromOwnerEnumeration) uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index // This also deletes the contents at the last position of the array delete _allTokensIndex[tokenId]; _allTokens.pop(); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Tree 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. * * WARNING: You should avoid using leaf values that are 64 bytes long prior to * hashing, or use a hash function other than keccak256 for hashing leaves. * This is because the concatenation of a sorted pair of internal nodes in * the merkle tree could be reinterpreted as a leaf value. */ 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 Calldata version of {verify} * * _Available since v4.7._ */ function verifyCalldata( bytes32[] calldata proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProofCalldata(proof, leaf) == root; } /** * @dev Returns the rebuilt hash obtained by traversing a Merkle 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++) { computedHash = _hashPair(computedHash, proof[i]); } return computedHash; } /** * @dev Calldata version of {processProof} * * _Available since v4.7._ */ function processProofCalldata(bytes32[] calldata proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { computedHash = _hashPair(computedHash, proof[i]); } return computedHash; } /** * @dev Returns true if the `leaves` can be proved to be a part of a Merkle tree defined by * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}. * * _Available since v4.7._ */ function multiProofVerify( bytes32[] memory proof, bool[] memory proofFlags, bytes32 root, bytes32[] memory leaves ) internal pure returns (bool) { return processMultiProof(proof, proofFlags, leaves) == root; } /** * @dev Calldata version of {multiProofVerify} * * _Available since v4.7._ */ function multiProofVerifyCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32 root, bytes32[] memory leaves ) internal pure returns (bool) { return processMultiProofCalldata(proof, proofFlags, leaves) == root; } /** * @dev Returns the root of a tree reconstructed from `leaves` and the sibling nodes in `proof`, * consuming from one or the other at each step according to the instructions given by * `proofFlags`. * * _Available since v4.7._ */ function processMultiProof( bytes32[] memory proof, bool[] memory proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of // the merkle tree. uint256 leavesLen = leaves.length; uint256 totalHashes = proofFlags.length; // Check proof validity. require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof"); // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop". bytes32[] memory hashes = new bytes32[](totalHashes); uint256 leafPos = 0; uint256 hashPos = 0; uint256 proofPos = 0; // At each step, we compute the next hash using two values: // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we // get the next hash. // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the // `proof` array. for (uint256 i = 0; i < totalHashes; i++) { bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]; bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++]; hashes[i] = _hashPair(a, b); } if (totalHashes > 0) { return hashes[totalHashes - 1]; } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } /** * @dev Calldata version of {processMultiProof} * * _Available since v4.7._ */ function processMultiProofCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of // the merkle tree. uint256 leavesLen = leaves.length; uint256 totalHashes = proofFlags.length; // Check proof validity. require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof"); // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop". bytes32[] memory hashes = new bytes32[](totalHashes); uint256 leafPos = 0; uint256 hashPos = 0; uint256 proofPos = 0; // At each step, we compute the next hash using two values: // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we // get the next hash. // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the // `proof` array. for (uint256 i = 0; i < totalHashes; i++) { bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]; bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++]; hashes[i] = _hashPair(a, b); } if (totalHashes > 0) { return hashes[totalHashes - 1]; } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } function _hashPair(bytes32 a, bytes32 b) private pure returns (bytes32) { return a < b ? _efficientHash(a, b) : _efficientHash(b, a); } function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) { /// @solidity memory-safe-assembly assembly { mstore(0x00, a) mstore(0x20, b) value := keccak256(0x00, 0x40) } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.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 (last updated v4.7.0) (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: address zero is not a valid owner"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: invalid token ID"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { _requireMinted(tokenId); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not token owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { _requireMinted(tokenId); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner nor approved"); _safeTransfer(from, to, tokenId, data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { address owner = ERC721.ownerOf(tokenId); return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); _afterTokenTransfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); _afterTokenTransfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); _afterTokenTransfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits an {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits an {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Reverts if the `tokenId` has not been minted yet. */ function _requireMinted(uint256 tokenId) internal view virtual { require(_exists(tokenId), "ERC721: invalid token ID"); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { /// @solidity memory-safe-assembly assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: 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 Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts 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 (last updated v4.7.0) (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // 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); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.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 /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"_tokenName","type":"string"},{"internalType":"string","name":"_tokenSymbol","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":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_TOKENS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRESALE_LIMIT_1","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"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":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"flipPreSaleState_1","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"flipSaleState","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":[{"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":[{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"isValid","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mintReservedTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"_proof","type":"bytes32[]"}],"name":"mintWhitelist","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"preSaleIsActive_1","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presaleTokensSold_1","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"publicClaimed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reservedTokensMinted","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":"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":"newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_root","type":"bytes32"}],"name":"setRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uriSuffix","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"whitelistClaimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6080604052610fa0600b556000600c556000600d556611c37937e08000600e556000600f60006101000a81548160ff0219169083151502179055506000600f60016101000a81548160ff0219169083151502179055506040518060400160405280600581526020017f2e6a736f6e00000000000000000000000000000000000000000000000000000081525060139080519060200190620000a29291906200027f565b506040518060200160405280600081525060149080519060200190620000ca9291906200027f565b5073a778705ad62fc052c814b0d6b2f7c64aa1b10ae1601560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055503480156200012d57600080fd5b50604051620050d3380380620050d38339818101604052810190620001539190620004cc565b818181600090805190602001906200016d9291906200027f565b508060019080519060200190620001869291906200027f565b505050620001a96200019d620001b160201b60201c565b620001b960201b60201c565b5050620005b6565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280546200028d9062000580565b90600052602060002090601f016020900481019282620002b15760008555620002fd565b82601f10620002cc57805160ff1916838001178555620002fd565b82800160010185558215620002fd579182015b82811115620002fc578251825591602001919060010190620002df565b5b5090506200030c919062000310565b5090565b5b808211156200032b57600081600090555060010162000311565b5090565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b62000398826200034d565b810181811067ffffffffffffffff82111715620003ba57620003b96200035e565b5b80604052505050565b6000620003cf6200032f565b9050620003dd82826200038d565b919050565b600067ffffffffffffffff8211156200040057620003ff6200035e565b5b6200040b826200034d565b9050602081019050919050565b60005b83811015620004385780820151818401526020810190506200041b565b8381111562000448576000848401525b50505050565b6000620004656200045f84620003e2565b620003c3565b90508281526020810184848401111562000484576200048362000348565b5b6200049184828562000418565b509392505050565b600082601f830112620004b157620004b062000343565b5b8151620004c38482602086016200044e565b91505092915050565b60008060408385031215620004e657620004e562000339565b5b600083015167ffffffffffffffff8111156200050757620005066200033e565b5b620005158582860162000499565b925050602083015167ffffffffffffffff8111156200053957620005386200033e565b5b620005478582860162000499565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200059957607f821691505b60208210811415620005b057620005af62000551565b5b50919050565b614b0d80620005c66000396000f3fe6080604052600436106102465760003560e01c8063715018a611610139578063c1294e7c116100b6578063db4bec441161007a578063db4bec441461082a578063e985e9c514610867578063f2fde38b146108a4578063f3e38821146108cd578063f47c84c5146108f8578063f56f516f1461092357610246565b8063c1294e7c14610743578063c87b56dd1461076e578063cf521eff146107ab578063d30babc2146107d6578063dab5f3401461080157610246565b806395d89b41116100fd57806395d89b4114610672578063a22cb4651461069d578063b14113be146106c6578063b5b1cd7c146106dd578063b88d4fde1461071a57610246565b8063715018a6146105b35780637d5cb4e5146105ca5780638d859f3e146105f35780638da5cb5b1461061e57806391b7f5ed1461064957610246565b806334918dfd116101c75780635503a0e81161018b5780635503a0e8146104ba57806355f804b3146104e55780636352211e1461050e5780636c0360eb1461054b57806370a082311461057657610246565b806334918dfd1461040a5780633ccfd60b1461042157806342842e0e1461043857806344d84381146104615780634f6ccce71461047d57610246565b80631249c58b1161020e5780631249c58b1461034457806318160ddd1461034e57806323b872dd146103795780632eb4a7ab146103a25780632f745c59146103cd57610246565b806301ffc9a71461024b578063033a02d61461028857806306fdde03146102b3578063081812fc146102de578063095ea7b31461031b575b600080fd5b34801561025757600080fd5b50610272600480360381019061026d919061310c565b610960565b60405161027f9190613154565b60405180910390f35b34801561029457600080fd5b5061029d6109da565b6040516102aa9190613154565b60405180910390f35b3480156102bf57600080fd5b506102c86109ed565b6040516102d59190613208565b60405180910390f35b3480156102ea57600080fd5b5061030560048036038101906103009190613260565b610a7f565b60405161031291906132ce565b60405180910390f35b34801561032757600080fd5b50610342600480360381019061033d9190613315565b610ac5565b005b61034c610bdd565b005b34801561035a57600080fd5b50610363610e1f565b6040516103709190613364565b60405180910390f35b34801561038557600080fd5b506103a0600480360381019061039b919061337f565b610e2c565b005b3480156103ae57600080fd5b506103b7610e8c565b6040516103c491906133eb565b60405180910390f35b3480156103d957600080fd5b506103f460048036038101906103ef9190613315565b610e92565b6040516104019190613364565b60405180910390f35b34801561041657600080fd5b5061041f610f37565b005b34801561042d57600080fd5b50610436610f6b565b005b34801561044457600080fd5b5061045f600480360381019061045a919061337f565b6111d5565b005b61047b6004803603810190610476919061357a565b6111f5565b005b34801561048957600080fd5b506104a4600480360381019061049f9190613260565b61142c565b6040516104b19190613364565b60405180910390f35b3480156104c657600080fd5b506104cf61149d565b6040516104dc9190613208565b60405180910390f35b3480156104f157600080fd5b5061050c60048036038101906105079190613678565b61152b565b005b34801561051a57600080fd5b5061053560048036038101906105309190613260565b61154d565b60405161054291906132ce565b60405180910390f35b34801561055757600080fd5b506105606115ff565b60405161056d9190613208565b60405180910390f35b34801561058257600080fd5b5061059d600480360381019061059891906136c1565b61168d565b6040516105aa9190613364565b60405180910390f35b3480156105bf57600080fd5b506105c8611745565b005b3480156105d657600080fd5b506105f160048036038101906105ec9190613260565b611759565b005b3480156105ff57600080fd5b50610608611809565b6040516106159190613364565b60405180910390f35b34801561062a57600080fd5b5061063361180f565b60405161064091906132ce565b60405180910390f35b34801561065557600080fd5b50610670600480360381019061066b9190613260565b611839565b005b34801561067e57600080fd5b5061068761184b565b6040516106949190613208565b60405180910390f35b3480156106a957600080fd5b506106c460048036038101906106bf919061371a565b6118dd565b005b3480156106d257600080fd5b506106db6118f3565b005b3480156106e957600080fd5b5061070460048036038101906106ff91906136c1565b611927565b6040516107119190613364565b60405180910390f35b34801561072657600080fd5b50610741600480360381019061073c91906137fb565b61193f565b005b34801561074f57600080fd5b506107586119a1565b6040516107659190613154565b60405180910390f35b34801561077a57600080fd5b5061079560048036038101906107909190613260565b6119b4565b6040516107a29190613208565b60405180910390f35b3480156107b757600080fd5b506107c0611a52565b6040516107cd9190613364565b60405180910390f35b3480156107e257600080fd5b506107eb611a58565b6040516107f89190613364565b60405180910390f35b34801561080d57600080fd5b506108286004803603810190610823919061387e565b611a5e565b005b34801561083657600080fd5b50610851600480360381019061084c91906136c1565b611a70565b60405161085e9190613154565b60405180910390f35b34801561087357600080fd5b5061088e600480360381019061088991906138ab565b611a90565b60405161089b9190613154565b60405180910390f35b3480156108b057600080fd5b506108cb60048036038101906108c691906136c1565b611b24565b005b3480156108d957600080fd5b506108e2611ba8565b6040516108ef9190613364565b60405180910390f35b34801561090457600080fd5b5061090d611bae565b60405161091a9190613364565b60405180910390f35b34801561092f57600080fd5b5061094a6004803603810190610945919061357a565b611bb4565b6040516109579190613154565b60405180910390f35b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806109d357506109d282611bf5565b5b9050919050565b600f60019054906101000a900460ff1681565b6060600080546109fc9061391a565b80601f0160208091040260200160405190810160405280929190818152602001828054610a289061391a565b8015610a755780601f10610a4a57610100808354040283529160200191610a75565b820191906000526020600020905b815481529060010190602001808311610a5857829003601f168201915b5050505050905090565b6000610a8a82611cd7565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610ad08261154d565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610b41576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b38906139be565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610b60611d22565b73ffffffffffffffffffffffffffffffffffffffff161480610b8f5750610b8e81610b89611d22565b611a90565b5b610bce576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bc590613a50565b60405180910390fd5b610bd88383611d2a565b505050565b600f60019054906101000a900460ff16610c2c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c2390613abc565b60405180910390fd5b6001601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541115610caf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ca690613b4e565b60405180910390fd5b600d546064610cbe9190613b9d565b612710610ccb9190613b9d565b6001610cd5610e1f565b610cdf9190613bd1565b1115610d20576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d1790613c73565b60405180910390fd5b6001600e54610d2f9190613c93565b341015610d71576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d6890613d39565b60405180910390fd5b6001601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610dbd9190613bd1565b601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550610e1d336001610e0e610e1f565b610e189190613bd1565b611de3565b565b6000600880549050905090565b610e3d610e37611d22565b82611e01565b610e7c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e7390613dcb565b60405180910390fd5b610e87838383611e96565b505050565b60105481565b6000610e9d8361168d565b8210610ede576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ed590613e5d565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610f3f6120fd565b600f60019054906101000a900460ff1615600f60016101000a81548160ff021916908315150217905550565b601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480610ff95750610fca61180f565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b611038576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161102f90613ec9565b60405180910390fd5b6000601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1660326064476110829190613f18565b61108c9190613c93565b60405161109890613f7a565b60006040518083038185875af1925050503d80600081146110d5576040519150601f19603f3d011682016040523d82523d6000602084013e6110da565b606091505b5050905060006110e861180f565b73ffffffffffffffffffffffffffffffffffffffff164760405161110b90613f7a565b60006040518083038185875af1925050503d8060008114611148576040519150601f19603f3d011682016040523d82523d6000602084013e61114d565b606091505b5050905081611191576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161118890613fdb565b60405180910390fd5b806111d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111c890614047565b60405180910390fd5b5050565b6111f08383836040518060200160405280600081525061193f565b505050565b600f60009054906101000a900460ff16611244576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161123b90613abc565b60405180910390fd5b60003360405160200161125791906140af565b60405160208183030381529060405280519060200120905061127c826010548361217b565b6112bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112b290614116565b60405180910390fd5b601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615611348576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161133f90614182565b60405180910390fd5b600b546001600c5461135a9190613bd1565b111561139b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161139290613c73565b60405180910390fd5b6001601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611410336001611401610e1f565b61140b9190613bd1565b611de3565b600c6000815480929190611423906141a2565b91905055505050565b6000611436610e1f565b8210611477576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161146e9061425d565b60405180910390fd5b6008828154811061148b5761148a61427d565b5b90600052602060002001549050919050565b601380546114aa9061391a565b80601f01602080910402602001604051908101604052809291908181526020018280546114d69061391a565b80156115235780601f106114f857610100808354040283529160200191611523565b820191906000526020600020905b81548152906001019060200180831161150657829003601f168201915b505050505081565b6115336120fd565b8060149080519060200190611549929190612ffd565b5050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156115f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115ed906142f8565b60405180910390fd5b80915050919050565b6014805461160c9061391a565b80601f01602080910402602001604051908101604052809291908181526020018280546116389061391a565b80156116855780601f1061165a57610100808354040283529160200191611685565b820191906000526020600020905b81548152906001019060200180831161166857829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156116fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116f59061438a565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61174d6120fd565b6117576000612192565b565b6117616120fd565b606481600d546117719190613bd1565b11156117b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117a99061441c565b60405180910390fd5b60005b81811015611805576117da3360016117cb610e1f565b6117d59190613bd1565b611de3565b600d60008154809291906117ed906141a2565b919050555080806117fd906141a2565b9150506117b5565b5050565b600e5481565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6118416120fd565b80600e8190555050565b60606001805461185a9061391a565b80601f01602080910402602001604051908101604052809291908181526020018280546118869061391a565b80156118d35780601f106118a8576101008083540402835291602001916118d3565b820191906000526020600020905b8154815290600101906020018083116118b657829003601f168201915b5050505050905090565b6118ef6118e8611d22565b8383612258565b5050565b6118fb6120fd565b600f60009054906101000a900460ff1615600f60006101000a81548160ff021916908315150217905550565b60126020528060005260406000206000915090505481565b61195061194a611d22565b83611e01565b61198f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161198690613dcb565b60405180910390fd5b61199b848484846123c5565b50505050565b600f60009054906101000a900460ff1681565b60606119bf82612421565b6119fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119f5906144ae565b60405180910390fd5b6000611a098361248d565b90506000815111611a295760405180602001604052806000815250611a4a565b80604051602001611a3a9190614556565b6040516020818303038152906040525b915050919050565b600b5481565b600c5481565b611a666120fd565b8060108190555050565b60116020528060005260406000206000915054906101000a900460ff1681565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611b2c6120fd565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611b9c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b93906145ea565b60405180910390fd5b611ba581612192565b50565b600d5481565b61271081565b60008033604051602001611bc891906140af565b604051602081830303815290604052805190602001209050611bed836010548361217b565b915050919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611cc057507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611cd05750611ccf826124f5565b5b9050919050565b611ce081612421565b611d1f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d16906142f8565b60405180910390fd5b50565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611d9d8361154d565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b611dfd82826040518060200160405280600081525061255f565b5050565b600080611e0d8361154d565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611e4f5750611e4e8185611a90565b5b80611e8d57508373ffffffffffffffffffffffffffffffffffffffff16611e7584610a7f565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611eb68261154d565b73ffffffffffffffffffffffffffffffffffffffff1614611f0c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f039061467c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611f7c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f739061470e565b60405180910390fd5b611f878383836125ba565b611f92600082611d2a565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611fe29190613b9d565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546120399190613bd1565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46120f88383836126ce565b505050565b612105611d22565b73ffffffffffffffffffffffffffffffffffffffff1661212361180f565b73ffffffffffffffffffffffffffffffffffffffff1614612179576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121709061477a565b60405180910390fd5b565b60008261218885846126d3565b1490509392505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156122c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122be906147e6565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516123b89190613154565b60405180910390a3505050565b6123d0848484611e96565b6123dc84848484612729565b61241b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161241290614878565b60405180910390fd5b50505050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b606061249882611cd7565b60006124a26128c0565b905060008151116124c257604051806020016040528060008152506124ed565b806124cc84612952565b6040516020016124dd929190614898565b6040516020818303038152906040525b915050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6125698383612ab3565b6125766000848484612729565b6125b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125ac90614878565b60405180910390fd5b505050565b6125c5838383612c8d565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156126085761260381612c92565b612647565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612646576126458382612cdb565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561268a5761268581612e48565b6126c9565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146126c8576126c78282612f19565b5b5b505050565b505050565b60008082905060005b845181101561271e57612709828683815181106126fc576126fb61427d565b5b6020026020010151612f98565b91508080612716906141a2565b9150506126dc565b508091505092915050565b600061274a8473ffffffffffffffffffffffffffffffffffffffff16612fc3565b156128b3578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612773611d22565b8786866040518563ffffffff1660e01b81526004016127959493929190614911565b602060405180830381600087803b1580156127af57600080fd5b505af19250505080156127e057506040513d601f19601f820116820180604052508101906127dd9190614972565b60015b612863573d8060008114612810576040519150601f19603f3d011682016040523d82523d6000602084013e612815565b606091505b5060008151141561285b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161285290614878565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506128b8565b600190505b949350505050565b6060601480546128cf9061391a565b80601f01602080910402602001604051908101604052809291908181526020018280546128fb9061391a565b80156129485780601f1061291d57610100808354040283529160200191612948565b820191906000526020600020905b81548152906001019060200180831161292b57829003601f168201915b5050505050905090565b6060600082141561299a576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612aae565b600082905060005b600082146129cc5780806129b5906141a2565b915050600a826129c59190613f18565b91506129a2565b60008167ffffffffffffffff8111156129e8576129e761340b565b5b6040519080825280601f01601f191660200182016040528015612a1a5781602001600182028036833780820191505090505b5090505b60008514612aa757600182612a339190613b9d565b9150600a85612a42919061499f565b6030612a4e9190613bd1565b60f81b818381518110612a6457612a6361427d565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612aa09190613f18565b9450612a1e565b8093505050505b919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612b23576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b1a90614a1c565b60405180910390fd5b612b2c81612421565b15612b6c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b6390614a88565b60405180910390fd5b612b78600083836125ba565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612bc89190613bd1565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612c89600083836126ce565b5050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001612ce88461168d565b612cf29190613b9d565b9050600060076000848152602001908152602001600020549050818114612dd7576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050612e5c9190613b9d565b9050600060096000848152602001908152602001600020549050600060088381548110612e8c57612e8b61427d565b5b906000526020600020015490508060088381548110612eae57612ead61427d565b5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480612efd57612efc614aa8565b5b6001900381819060005260206000200160009055905550505050565b6000612f248361168d565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b6000818310612fb057612fab8284612fe6565b612fbb565b612fba8383612fe6565b5b905092915050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600082600052816020526040600020905092915050565b8280546130099061391a565b90600052602060002090601f01602090048101928261302b5760008555613072565b82601f1061304457805160ff1916838001178555613072565b82800160010185558215613072579182015b82811115613071578251825591602001919060010190613056565b5b50905061307f9190613083565b5090565b5b8082111561309c576000816000905550600101613084565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6130e9816130b4565b81146130f457600080fd5b50565b600081359050613106816130e0565b92915050565b600060208284031215613122576131216130aa565b5b6000613130848285016130f7565b91505092915050565b60008115159050919050565b61314e81613139565b82525050565b60006020820190506131696000830184613145565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156131a957808201518184015260208101905061318e565b838111156131b8576000848401525b50505050565b6000601f19601f8301169050919050565b60006131da8261316f565b6131e4818561317a565b93506131f481856020860161318b565b6131fd816131be565b840191505092915050565b6000602082019050818103600083015261322281846131cf565b905092915050565b6000819050919050565b61323d8161322a565b811461324857600080fd5b50565b60008135905061325a81613234565b92915050565b600060208284031215613276576132756130aa565b5b60006132848482850161324b565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006132b88261328d565b9050919050565b6132c8816132ad565b82525050565b60006020820190506132e360008301846132bf565b92915050565b6132f2816132ad565b81146132fd57600080fd5b50565b60008135905061330f816132e9565b92915050565b6000806040838503121561332c5761332b6130aa565b5b600061333a85828601613300565b925050602061334b8582860161324b565b9150509250929050565b61335e8161322a565b82525050565b60006020820190506133796000830184613355565b92915050565b600080600060608486031215613398576133976130aa565b5b60006133a686828701613300565b93505060206133b786828701613300565b92505060406133c88682870161324b565b9150509250925092565b6000819050919050565b6133e5816133d2565b82525050565b600060208201905061340060008301846133dc565b92915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613443826131be565b810181811067ffffffffffffffff821117156134625761346161340b565b5b80604052505050565b60006134756130a0565b9050613481828261343a565b919050565b600067ffffffffffffffff8211156134a1576134a061340b565b5b602082029050602081019050919050565b600080fd5b6134c0816133d2565b81146134cb57600080fd5b50565b6000813590506134dd816134b7565b92915050565b60006134f66134f184613486565b61346b565b90508083825260208201905060208402830185811115613519576135186134b2565b5b835b81811015613542578061352e88826134ce565b84526020840193505060208101905061351b565b5050509392505050565b600082601f83011261356157613560613406565b5b81356135718482602086016134e3565b91505092915050565b6000602082840312156135905761358f6130aa565b5b600082013567ffffffffffffffff8111156135ae576135ad6130af565b5b6135ba8482850161354c565b91505092915050565b600080fd5b600067ffffffffffffffff8211156135e3576135e261340b565b5b6135ec826131be565b9050602081019050919050565b82818337600083830152505050565b600061361b613616846135c8565b61346b565b905082815260208101848484011115613637576136366135c3565b5b6136428482856135f9565b509392505050565b600082601f83011261365f5761365e613406565b5b813561366f848260208601613608565b91505092915050565b60006020828403121561368e5761368d6130aa565b5b600082013567ffffffffffffffff8111156136ac576136ab6130af565b5b6136b88482850161364a565b91505092915050565b6000602082840312156136d7576136d66130aa565b5b60006136e584828501613300565b91505092915050565b6136f781613139565b811461370257600080fd5b50565b600081359050613714816136ee565b92915050565b60008060408385031215613731576137306130aa565b5b600061373f85828601613300565b925050602061375085828601613705565b9150509250929050565b600067ffffffffffffffff8211156137755761377461340b565b5b61377e826131be565b9050602081019050919050565b600061379e6137998461375a565b61346b565b9050828152602081018484840111156137ba576137b96135c3565b5b6137c58482856135f9565b509392505050565b600082601f8301126137e2576137e1613406565b5b81356137f284826020860161378b565b91505092915050565b60008060008060808587031215613815576138146130aa565b5b600061382387828801613300565b945050602061383487828801613300565b93505060406138458782880161324b565b925050606085013567ffffffffffffffff811115613866576138656130af565b5b613872878288016137cd565b91505092959194509250565b600060208284031215613894576138936130aa565b5b60006138a2848285016134ce565b91505092915050565b600080604083850312156138c2576138c16130aa565b5b60006138d085828601613300565b92505060206138e185828601613300565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061393257607f821691505b60208210811415613946576139456138eb565b5b50919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b60006139a860218361317a565b91506139b38261394c565b604082019050919050565b600060208201905081810360008301526139d78161399b565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c0000602082015250565b6000613a3a603e8361317a565b9150613a45826139de565b604082019050919050565b60006020820190508181036000830152613a6981613a2d565b9050919050565b7f53616c65206d7573742062652061637469766520746f206d696e740000000000600082015250565b6000613aa6601b8361317a565b9150613ab182613a70565b602082019050919050565b60006020820190508181036000830152613ad581613a99565b9050919050565b7f4164647265737320616c7265616479206d696e746564206d617820616c6c6f7760008201527f6564000000000000000000000000000000000000000000000000000000000000602082015250565b6000613b3860228361317a565b9150613b4382613adc565b604082019050919050565b60006020820190508181036000830152613b6781613b2b565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613ba88261322a565b9150613bb38361322a565b925082821015613bc657613bc5613b6e565b5b828203905092915050565b6000613bdc8261322a565b9150613be78361322a565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613c1c57613c1b613b6e565b5b828201905092915050565b7f507572636861736520776f756c6420657863656564206d617820737570706c79600082015250565b6000613c5d60208361317a565b9150613c6882613c27565b602082019050919050565b60006020820190508181036000830152613c8c81613c50565b9050919050565b6000613c9e8261322a565b9150613ca98361322a565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613ce257613ce1613b6e565b5b828202905092915050565b7f496e73756666696369656e742066756e64732100000000000000000000000000600082015250565b6000613d2360138361317a565b9150613d2e82613ced565b602082019050919050565b60006020820190508181036000830152613d5281613d16565b9050919050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206e6f7220617070726f766564000000000000000000000000000000000000602082015250565b6000613db5602e8361317a565b9150613dc082613d59565b604082019050919050565b60006020820190508181036000830152613de481613da8565b9050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b6000613e47602b8361317a565b9150613e5282613deb565b604082019050919050565b60006020820190508181036000830152613e7681613e3a565b9050919050565b7f496e76616c69642073656e646572000000000000000000000000000000000000600082015250565b6000613eb3600e8361317a565b9150613ebe82613e7d565b602082019050919050565b60006020820190508181036000830152613ee281613ea6565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613f238261322a565b9150613f2e8361322a565b925082613f3e57613f3d613ee9565b5b828204905092915050565b600081905092915050565b50565b6000613f64600083613f49565b9150613f6f82613f54565b600082019050919050565b6000613f8582613f57565b9150819050919050565b7f5472616e736665722031206661696c6564000000000000000000000000000000600082015250565b6000613fc560118361317a565b9150613fd082613f8f565b602082019050919050565b60006020820190508181036000830152613ff481613fb8565b9050919050565b7f5472616e736665722032206661696c6564000000000000000000000000000000600082015250565b600061403160118361317a565b915061403c82613ffb565b602082019050919050565b6000602082019050818103600083015261406081614024565b9050919050565b60008160601b9050919050565b600061407f82614067565b9050919050565b600061409182614074565b9050919050565b6140a96140a4826132ad565b614086565b82525050565b60006140bb8284614098565b60148201915081905092915050565b7f496e76616c69642070726f6f6621000000000000000000000000000000000000600082015250565b6000614100600e8361317a565b915061410b826140ca565b602082019050919050565b6000602082019050818103600083015261412f816140f3565b9050919050565b7f4164647265737320616c7265616479206d696e74656420612070657065746821600082015250565b600061416c60208361317a565b915061417782614136565b602082019050919050565b6000602082019050818103600083015261419b8161415f565b9050919050565b60006141ad8261322a565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156141e0576141df613b6e565b5b600182019050919050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b6000614247602c8361317a565b9150614252826141eb565b604082019050919050565b600060208201905081810360008301526142768161423a565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b60006142e260188361317a565b91506142ed826142ac565b602082019050919050565b60006020820190508181036000830152614311816142d5565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b600061437460298361317a565b915061437f82614318565b604082019050919050565b600060208201905081810360008301526143a381614367565b9050919050565b7f5468697320616d6f756e74206973206d6f7265207468616e206d617820616c6c60008201527f6f77656400000000000000000000000000000000000000000000000000000000602082015250565b600061440660248361317a565b9150614411826143aa565b604082019050919050565b60006020820190508181036000830152614435816143f9565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000614498602f8361317a565b91506144a38261443c565b604082019050919050565b600060208201905081810360008301526144c78161448b565b9050919050565b600081905092915050565b60006144e48261316f565b6144ee81856144ce565b93506144fe81856020860161318b565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b60006145406005836144ce565b915061454b8261450a565b600582019050919050565b600061456282846144d9565b915061456d82614533565b915081905092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006145d460268361317a565b91506145df82614578565b604082019050919050565b60006020820190508181036000830152614603816145c7565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b600061466660258361317a565b91506146718261460a565b604082019050919050565b6000602082019050818103600083015261469581614659565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006146f860248361317a565b91506147038261469c565b604082019050919050565b60006020820190508181036000830152614727816146eb565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061476460208361317a565b915061476f8261472e565b602082019050919050565b6000602082019050818103600083015261479381614757565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b60006147d060198361317a565b91506147db8261479a565b602082019050919050565b600060208201905081810360008301526147ff816147c3565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b600061486260328361317a565b915061486d82614806565b604082019050919050565b6000602082019050818103600083015261489181614855565b9050919050565b60006148a482856144d9565b91506148b082846144d9565b91508190509392505050565b600081519050919050565b600082825260208201905092915050565b60006148e3826148bc565b6148ed81856148c7565b93506148fd81856020860161318b565b614906816131be565b840191505092915050565b600060808201905061492660008301876132bf565b61493360208301866132bf565b6149406040830185613355565b818103606083015261495281846148d8565b905095945050505050565b60008151905061496c816130e0565b92915050565b600060208284031215614988576149876130aa565b5b60006149968482850161495d565b91505092915050565b60006149aa8261322a565b91506149b58361322a565b9250826149c5576149c4613ee9565b5b828206905092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000614a0660208361317a565b9150614a11826149d0565b602082019050919050565b60006020820190508181036000830152614a35816149f9565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000614a72601c8361317a565b9150614a7d82614a3c565b602082019050919050565b60006020820190508181036000830152614aa181614a65565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fdfea2646970667358221220ee5fe58b97a11abe0426a49ebd5ff4fb18ba0c05b36d992d3de77f33b017f80c64736f6c63430008090033000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000006504550455448000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000065045504554480000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106102465760003560e01c8063715018a611610139578063c1294e7c116100b6578063db4bec441161007a578063db4bec441461082a578063e985e9c514610867578063f2fde38b146108a4578063f3e38821146108cd578063f47c84c5146108f8578063f56f516f1461092357610246565b8063c1294e7c14610743578063c87b56dd1461076e578063cf521eff146107ab578063d30babc2146107d6578063dab5f3401461080157610246565b806395d89b41116100fd57806395d89b4114610672578063a22cb4651461069d578063b14113be146106c6578063b5b1cd7c146106dd578063b88d4fde1461071a57610246565b8063715018a6146105b35780637d5cb4e5146105ca5780638d859f3e146105f35780638da5cb5b1461061e57806391b7f5ed1461064957610246565b806334918dfd116101c75780635503a0e81161018b5780635503a0e8146104ba57806355f804b3146104e55780636352211e1461050e5780636c0360eb1461054b57806370a082311461057657610246565b806334918dfd1461040a5780633ccfd60b1461042157806342842e0e1461043857806344d84381146104615780634f6ccce71461047d57610246565b80631249c58b1161020e5780631249c58b1461034457806318160ddd1461034e57806323b872dd146103795780632eb4a7ab146103a25780632f745c59146103cd57610246565b806301ffc9a71461024b578063033a02d61461028857806306fdde03146102b3578063081812fc146102de578063095ea7b31461031b575b600080fd5b34801561025757600080fd5b50610272600480360381019061026d919061310c565b610960565b60405161027f9190613154565b60405180910390f35b34801561029457600080fd5b5061029d6109da565b6040516102aa9190613154565b60405180910390f35b3480156102bf57600080fd5b506102c86109ed565b6040516102d59190613208565b60405180910390f35b3480156102ea57600080fd5b5061030560048036038101906103009190613260565b610a7f565b60405161031291906132ce565b60405180910390f35b34801561032757600080fd5b50610342600480360381019061033d9190613315565b610ac5565b005b61034c610bdd565b005b34801561035a57600080fd5b50610363610e1f565b6040516103709190613364565b60405180910390f35b34801561038557600080fd5b506103a0600480360381019061039b919061337f565b610e2c565b005b3480156103ae57600080fd5b506103b7610e8c565b6040516103c491906133eb565b60405180910390f35b3480156103d957600080fd5b506103f460048036038101906103ef9190613315565b610e92565b6040516104019190613364565b60405180910390f35b34801561041657600080fd5b5061041f610f37565b005b34801561042d57600080fd5b50610436610f6b565b005b34801561044457600080fd5b5061045f600480360381019061045a919061337f565b6111d5565b005b61047b6004803603810190610476919061357a565b6111f5565b005b34801561048957600080fd5b506104a4600480360381019061049f9190613260565b61142c565b6040516104b19190613364565b60405180910390f35b3480156104c657600080fd5b506104cf61149d565b6040516104dc9190613208565b60405180910390f35b3480156104f157600080fd5b5061050c60048036038101906105079190613678565b61152b565b005b34801561051a57600080fd5b5061053560048036038101906105309190613260565b61154d565b60405161054291906132ce565b60405180910390f35b34801561055757600080fd5b506105606115ff565b60405161056d9190613208565b60405180910390f35b34801561058257600080fd5b5061059d600480360381019061059891906136c1565b61168d565b6040516105aa9190613364565b60405180910390f35b3480156105bf57600080fd5b506105c8611745565b005b3480156105d657600080fd5b506105f160048036038101906105ec9190613260565b611759565b005b3480156105ff57600080fd5b50610608611809565b6040516106159190613364565b60405180910390f35b34801561062a57600080fd5b5061063361180f565b60405161064091906132ce565b60405180910390f35b34801561065557600080fd5b50610670600480360381019061066b9190613260565b611839565b005b34801561067e57600080fd5b5061068761184b565b6040516106949190613208565b60405180910390f35b3480156106a957600080fd5b506106c460048036038101906106bf919061371a565b6118dd565b005b3480156106d257600080fd5b506106db6118f3565b005b3480156106e957600080fd5b5061070460048036038101906106ff91906136c1565b611927565b6040516107119190613364565b60405180910390f35b34801561072657600080fd5b50610741600480360381019061073c91906137fb565b61193f565b005b34801561074f57600080fd5b506107586119a1565b6040516107659190613154565b60405180910390f35b34801561077a57600080fd5b5061079560048036038101906107909190613260565b6119b4565b6040516107a29190613208565b60405180910390f35b3480156107b757600080fd5b506107c0611a52565b6040516107cd9190613364565b60405180910390f35b3480156107e257600080fd5b506107eb611a58565b6040516107f89190613364565b60405180910390f35b34801561080d57600080fd5b506108286004803603810190610823919061387e565b611a5e565b005b34801561083657600080fd5b50610851600480360381019061084c91906136c1565b611a70565b60405161085e9190613154565b60405180910390f35b34801561087357600080fd5b5061088e600480360381019061088991906138ab565b611a90565b60405161089b9190613154565b60405180910390f35b3480156108b057600080fd5b506108cb60048036038101906108c691906136c1565b611b24565b005b3480156108d957600080fd5b506108e2611ba8565b6040516108ef9190613364565b60405180910390f35b34801561090457600080fd5b5061090d611bae565b60405161091a9190613364565b60405180910390f35b34801561092f57600080fd5b5061094a6004803603810190610945919061357a565b611bb4565b6040516109579190613154565b60405180910390f35b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806109d357506109d282611bf5565b5b9050919050565b600f60019054906101000a900460ff1681565b6060600080546109fc9061391a565b80601f0160208091040260200160405190810160405280929190818152602001828054610a289061391a565b8015610a755780601f10610a4a57610100808354040283529160200191610a75565b820191906000526020600020905b815481529060010190602001808311610a5857829003601f168201915b5050505050905090565b6000610a8a82611cd7565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610ad08261154d565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610b41576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b38906139be565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610b60611d22565b73ffffffffffffffffffffffffffffffffffffffff161480610b8f5750610b8e81610b89611d22565b611a90565b5b610bce576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bc590613a50565b60405180910390fd5b610bd88383611d2a565b505050565b600f60019054906101000a900460ff16610c2c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c2390613abc565b60405180910390fd5b6001601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541115610caf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ca690613b4e565b60405180910390fd5b600d546064610cbe9190613b9d565b612710610ccb9190613b9d565b6001610cd5610e1f565b610cdf9190613bd1565b1115610d20576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d1790613c73565b60405180910390fd5b6001600e54610d2f9190613c93565b341015610d71576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d6890613d39565b60405180910390fd5b6001601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610dbd9190613bd1565b601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550610e1d336001610e0e610e1f565b610e189190613bd1565b611de3565b565b6000600880549050905090565b610e3d610e37611d22565b82611e01565b610e7c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e7390613dcb565b60405180910390fd5b610e87838383611e96565b505050565b60105481565b6000610e9d8361168d565b8210610ede576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ed590613e5d565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610f3f6120fd565b600f60019054906101000a900460ff1615600f60016101000a81548160ff021916908315150217905550565b601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480610ff95750610fca61180f565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b611038576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161102f90613ec9565b60405180910390fd5b6000601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1660326064476110829190613f18565b61108c9190613c93565b60405161109890613f7a565b60006040518083038185875af1925050503d80600081146110d5576040519150601f19603f3d011682016040523d82523d6000602084013e6110da565b606091505b5050905060006110e861180f565b73ffffffffffffffffffffffffffffffffffffffff164760405161110b90613f7a565b60006040518083038185875af1925050503d8060008114611148576040519150601f19603f3d011682016040523d82523d6000602084013e61114d565b606091505b5050905081611191576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161118890613fdb565b60405180910390fd5b806111d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111c890614047565b60405180910390fd5b5050565b6111f08383836040518060200160405280600081525061193f565b505050565b600f60009054906101000a900460ff16611244576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161123b90613abc565b60405180910390fd5b60003360405160200161125791906140af565b60405160208183030381529060405280519060200120905061127c826010548361217b565b6112bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112b290614116565b60405180910390fd5b601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615611348576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161133f90614182565b60405180910390fd5b600b546001600c5461135a9190613bd1565b111561139b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161139290613c73565b60405180910390fd5b6001601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611410336001611401610e1f565b61140b9190613bd1565b611de3565b600c6000815480929190611423906141a2565b91905055505050565b6000611436610e1f565b8210611477576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161146e9061425d565b60405180910390fd5b6008828154811061148b5761148a61427d565b5b90600052602060002001549050919050565b601380546114aa9061391a565b80601f01602080910402602001604051908101604052809291908181526020018280546114d69061391a565b80156115235780601f106114f857610100808354040283529160200191611523565b820191906000526020600020905b81548152906001019060200180831161150657829003601f168201915b505050505081565b6115336120fd565b8060149080519060200190611549929190612ffd565b5050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156115f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115ed906142f8565b60405180910390fd5b80915050919050565b6014805461160c9061391a565b80601f01602080910402602001604051908101604052809291908181526020018280546116389061391a565b80156116855780601f1061165a57610100808354040283529160200191611685565b820191906000526020600020905b81548152906001019060200180831161166857829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156116fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116f59061438a565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61174d6120fd565b6117576000612192565b565b6117616120fd565b606481600d546117719190613bd1565b11156117b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117a99061441c565b60405180910390fd5b60005b81811015611805576117da3360016117cb610e1f565b6117d59190613bd1565b611de3565b600d60008154809291906117ed906141a2565b919050555080806117fd906141a2565b9150506117b5565b5050565b600e5481565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6118416120fd565b80600e8190555050565b60606001805461185a9061391a565b80601f01602080910402602001604051908101604052809291908181526020018280546118869061391a565b80156118d35780601f106118a8576101008083540402835291602001916118d3565b820191906000526020600020905b8154815290600101906020018083116118b657829003601f168201915b5050505050905090565b6118ef6118e8611d22565b8383612258565b5050565b6118fb6120fd565b600f60009054906101000a900460ff1615600f60006101000a81548160ff021916908315150217905550565b60126020528060005260406000206000915090505481565b61195061194a611d22565b83611e01565b61198f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161198690613dcb565b60405180910390fd5b61199b848484846123c5565b50505050565b600f60009054906101000a900460ff1681565b60606119bf82612421565b6119fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119f5906144ae565b60405180910390fd5b6000611a098361248d565b90506000815111611a295760405180602001604052806000815250611a4a565b80604051602001611a3a9190614556565b6040516020818303038152906040525b915050919050565b600b5481565b600c5481565b611a666120fd565b8060108190555050565b60116020528060005260406000206000915054906101000a900460ff1681565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611b2c6120fd565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611b9c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b93906145ea565b60405180910390fd5b611ba581612192565b50565b600d5481565b61271081565b60008033604051602001611bc891906140af565b604051602081830303815290604052805190602001209050611bed836010548361217b565b915050919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611cc057507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611cd05750611ccf826124f5565b5b9050919050565b611ce081612421565b611d1f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d16906142f8565b60405180910390fd5b50565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611d9d8361154d565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b611dfd82826040518060200160405280600081525061255f565b5050565b600080611e0d8361154d565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611e4f5750611e4e8185611a90565b5b80611e8d57508373ffffffffffffffffffffffffffffffffffffffff16611e7584610a7f565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611eb68261154d565b73ffffffffffffffffffffffffffffffffffffffff1614611f0c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f039061467c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611f7c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f739061470e565b60405180910390fd5b611f878383836125ba565b611f92600082611d2a565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611fe29190613b9d565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546120399190613bd1565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46120f88383836126ce565b505050565b612105611d22565b73ffffffffffffffffffffffffffffffffffffffff1661212361180f565b73ffffffffffffffffffffffffffffffffffffffff1614612179576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121709061477a565b60405180910390fd5b565b60008261218885846126d3565b1490509392505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156122c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122be906147e6565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516123b89190613154565b60405180910390a3505050565b6123d0848484611e96565b6123dc84848484612729565b61241b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161241290614878565b60405180910390fd5b50505050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b606061249882611cd7565b60006124a26128c0565b905060008151116124c257604051806020016040528060008152506124ed565b806124cc84612952565b6040516020016124dd929190614898565b6040516020818303038152906040525b915050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6125698383612ab3565b6125766000848484612729565b6125b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125ac90614878565b60405180910390fd5b505050565b6125c5838383612c8d565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156126085761260381612c92565b612647565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612646576126458382612cdb565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561268a5761268581612e48565b6126c9565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146126c8576126c78282612f19565b5b5b505050565b505050565b60008082905060005b845181101561271e57612709828683815181106126fc576126fb61427d565b5b6020026020010151612f98565b91508080612716906141a2565b9150506126dc565b508091505092915050565b600061274a8473ffffffffffffffffffffffffffffffffffffffff16612fc3565b156128b3578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612773611d22565b8786866040518563ffffffff1660e01b81526004016127959493929190614911565b602060405180830381600087803b1580156127af57600080fd5b505af19250505080156127e057506040513d601f19601f820116820180604052508101906127dd9190614972565b60015b612863573d8060008114612810576040519150601f19603f3d011682016040523d82523d6000602084013e612815565b606091505b5060008151141561285b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161285290614878565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506128b8565b600190505b949350505050565b6060601480546128cf9061391a565b80601f01602080910402602001604051908101604052809291908181526020018280546128fb9061391a565b80156129485780601f1061291d57610100808354040283529160200191612948565b820191906000526020600020905b81548152906001019060200180831161292b57829003601f168201915b5050505050905090565b6060600082141561299a576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612aae565b600082905060005b600082146129cc5780806129b5906141a2565b915050600a826129c59190613f18565b91506129a2565b60008167ffffffffffffffff8111156129e8576129e761340b565b5b6040519080825280601f01601f191660200182016040528015612a1a5781602001600182028036833780820191505090505b5090505b60008514612aa757600182612a339190613b9d565b9150600a85612a42919061499f565b6030612a4e9190613bd1565b60f81b818381518110612a6457612a6361427d565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612aa09190613f18565b9450612a1e565b8093505050505b919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612b23576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b1a90614a1c565b60405180910390fd5b612b2c81612421565b15612b6c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b6390614a88565b60405180910390fd5b612b78600083836125ba565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612bc89190613bd1565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612c89600083836126ce565b5050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001612ce88461168d565b612cf29190613b9d565b9050600060076000848152602001908152602001600020549050818114612dd7576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050612e5c9190613b9d565b9050600060096000848152602001908152602001600020549050600060088381548110612e8c57612e8b61427d565b5b906000526020600020015490508060088381548110612eae57612ead61427d565b5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480612efd57612efc614aa8565b5b6001900381819060005260206000200160009055905550505050565b6000612f248361168d565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b6000818310612fb057612fab8284612fe6565b612fbb565b612fba8383612fe6565b5b905092915050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600082600052816020526040600020905092915050565b8280546130099061391a565b90600052602060002090601f01602090048101928261302b5760008555613072565b82601f1061304457805160ff1916838001178555613072565b82800160010185558215613072579182015b82811115613071578251825591602001919060010190613056565b5b50905061307f9190613083565b5090565b5b8082111561309c576000816000905550600101613084565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6130e9816130b4565b81146130f457600080fd5b50565b600081359050613106816130e0565b92915050565b600060208284031215613122576131216130aa565b5b6000613130848285016130f7565b91505092915050565b60008115159050919050565b61314e81613139565b82525050565b60006020820190506131696000830184613145565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156131a957808201518184015260208101905061318e565b838111156131b8576000848401525b50505050565b6000601f19601f8301169050919050565b60006131da8261316f565b6131e4818561317a565b93506131f481856020860161318b565b6131fd816131be565b840191505092915050565b6000602082019050818103600083015261322281846131cf565b905092915050565b6000819050919050565b61323d8161322a565b811461324857600080fd5b50565b60008135905061325a81613234565b92915050565b600060208284031215613276576132756130aa565b5b60006132848482850161324b565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006132b88261328d565b9050919050565b6132c8816132ad565b82525050565b60006020820190506132e360008301846132bf565b92915050565b6132f2816132ad565b81146132fd57600080fd5b50565b60008135905061330f816132e9565b92915050565b6000806040838503121561332c5761332b6130aa565b5b600061333a85828601613300565b925050602061334b8582860161324b565b9150509250929050565b61335e8161322a565b82525050565b60006020820190506133796000830184613355565b92915050565b600080600060608486031215613398576133976130aa565b5b60006133a686828701613300565b93505060206133b786828701613300565b92505060406133c88682870161324b565b9150509250925092565b6000819050919050565b6133e5816133d2565b82525050565b600060208201905061340060008301846133dc565b92915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613443826131be565b810181811067ffffffffffffffff821117156134625761346161340b565b5b80604052505050565b60006134756130a0565b9050613481828261343a565b919050565b600067ffffffffffffffff8211156134a1576134a061340b565b5b602082029050602081019050919050565b600080fd5b6134c0816133d2565b81146134cb57600080fd5b50565b6000813590506134dd816134b7565b92915050565b60006134f66134f184613486565b61346b565b90508083825260208201905060208402830185811115613519576135186134b2565b5b835b81811015613542578061352e88826134ce565b84526020840193505060208101905061351b565b5050509392505050565b600082601f83011261356157613560613406565b5b81356135718482602086016134e3565b91505092915050565b6000602082840312156135905761358f6130aa565b5b600082013567ffffffffffffffff8111156135ae576135ad6130af565b5b6135ba8482850161354c565b91505092915050565b600080fd5b600067ffffffffffffffff8211156135e3576135e261340b565b5b6135ec826131be565b9050602081019050919050565b82818337600083830152505050565b600061361b613616846135c8565b61346b565b905082815260208101848484011115613637576136366135c3565b5b6136428482856135f9565b509392505050565b600082601f83011261365f5761365e613406565b5b813561366f848260208601613608565b91505092915050565b60006020828403121561368e5761368d6130aa565b5b600082013567ffffffffffffffff8111156136ac576136ab6130af565b5b6136b88482850161364a565b91505092915050565b6000602082840312156136d7576136d66130aa565b5b60006136e584828501613300565b91505092915050565b6136f781613139565b811461370257600080fd5b50565b600081359050613714816136ee565b92915050565b60008060408385031215613731576137306130aa565b5b600061373f85828601613300565b925050602061375085828601613705565b9150509250929050565b600067ffffffffffffffff8211156137755761377461340b565b5b61377e826131be565b9050602081019050919050565b600061379e6137998461375a565b61346b565b9050828152602081018484840111156137ba576137b96135c3565b5b6137c58482856135f9565b509392505050565b600082601f8301126137e2576137e1613406565b5b81356137f284826020860161378b565b91505092915050565b60008060008060808587031215613815576138146130aa565b5b600061382387828801613300565b945050602061383487828801613300565b93505060406138458782880161324b565b925050606085013567ffffffffffffffff811115613866576138656130af565b5b613872878288016137cd565b91505092959194509250565b600060208284031215613894576138936130aa565b5b60006138a2848285016134ce565b91505092915050565b600080604083850312156138c2576138c16130aa565b5b60006138d085828601613300565b92505060206138e185828601613300565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061393257607f821691505b60208210811415613946576139456138eb565b5b50919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b60006139a860218361317a565b91506139b38261394c565b604082019050919050565b600060208201905081810360008301526139d78161399b565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c0000602082015250565b6000613a3a603e8361317a565b9150613a45826139de565b604082019050919050565b60006020820190508181036000830152613a6981613a2d565b9050919050565b7f53616c65206d7573742062652061637469766520746f206d696e740000000000600082015250565b6000613aa6601b8361317a565b9150613ab182613a70565b602082019050919050565b60006020820190508181036000830152613ad581613a99565b9050919050565b7f4164647265737320616c7265616479206d696e746564206d617820616c6c6f7760008201527f6564000000000000000000000000000000000000000000000000000000000000602082015250565b6000613b3860228361317a565b9150613b4382613adc565b604082019050919050565b60006020820190508181036000830152613b6781613b2b565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613ba88261322a565b9150613bb38361322a565b925082821015613bc657613bc5613b6e565b5b828203905092915050565b6000613bdc8261322a565b9150613be78361322a565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613c1c57613c1b613b6e565b5b828201905092915050565b7f507572636861736520776f756c6420657863656564206d617820737570706c79600082015250565b6000613c5d60208361317a565b9150613c6882613c27565b602082019050919050565b60006020820190508181036000830152613c8c81613c50565b9050919050565b6000613c9e8261322a565b9150613ca98361322a565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613ce257613ce1613b6e565b5b828202905092915050565b7f496e73756666696369656e742066756e64732100000000000000000000000000600082015250565b6000613d2360138361317a565b9150613d2e82613ced565b602082019050919050565b60006020820190508181036000830152613d5281613d16565b9050919050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206e6f7220617070726f766564000000000000000000000000000000000000602082015250565b6000613db5602e8361317a565b9150613dc082613d59565b604082019050919050565b60006020820190508181036000830152613de481613da8565b9050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b6000613e47602b8361317a565b9150613e5282613deb565b604082019050919050565b60006020820190508181036000830152613e7681613e3a565b9050919050565b7f496e76616c69642073656e646572000000000000000000000000000000000000600082015250565b6000613eb3600e8361317a565b9150613ebe82613e7d565b602082019050919050565b60006020820190508181036000830152613ee281613ea6565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613f238261322a565b9150613f2e8361322a565b925082613f3e57613f3d613ee9565b5b828204905092915050565b600081905092915050565b50565b6000613f64600083613f49565b9150613f6f82613f54565b600082019050919050565b6000613f8582613f57565b9150819050919050565b7f5472616e736665722031206661696c6564000000000000000000000000000000600082015250565b6000613fc560118361317a565b9150613fd082613f8f565b602082019050919050565b60006020820190508181036000830152613ff481613fb8565b9050919050565b7f5472616e736665722032206661696c6564000000000000000000000000000000600082015250565b600061403160118361317a565b915061403c82613ffb565b602082019050919050565b6000602082019050818103600083015261406081614024565b9050919050565b60008160601b9050919050565b600061407f82614067565b9050919050565b600061409182614074565b9050919050565b6140a96140a4826132ad565b614086565b82525050565b60006140bb8284614098565b60148201915081905092915050565b7f496e76616c69642070726f6f6621000000000000000000000000000000000000600082015250565b6000614100600e8361317a565b915061410b826140ca565b602082019050919050565b6000602082019050818103600083015261412f816140f3565b9050919050565b7f4164647265737320616c7265616479206d696e74656420612070657065746821600082015250565b600061416c60208361317a565b915061417782614136565b602082019050919050565b6000602082019050818103600083015261419b8161415f565b9050919050565b60006141ad8261322a565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156141e0576141df613b6e565b5b600182019050919050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b6000614247602c8361317a565b9150614252826141eb565b604082019050919050565b600060208201905081810360008301526142768161423a565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b60006142e260188361317a565b91506142ed826142ac565b602082019050919050565b60006020820190508181036000830152614311816142d5565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b600061437460298361317a565b915061437f82614318565b604082019050919050565b600060208201905081810360008301526143a381614367565b9050919050565b7f5468697320616d6f756e74206973206d6f7265207468616e206d617820616c6c60008201527f6f77656400000000000000000000000000000000000000000000000000000000602082015250565b600061440660248361317a565b9150614411826143aa565b604082019050919050565b60006020820190508181036000830152614435816143f9565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000614498602f8361317a565b91506144a38261443c565b604082019050919050565b600060208201905081810360008301526144c78161448b565b9050919050565b600081905092915050565b60006144e48261316f565b6144ee81856144ce565b93506144fe81856020860161318b565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b60006145406005836144ce565b915061454b8261450a565b600582019050919050565b600061456282846144d9565b915061456d82614533565b915081905092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006145d460268361317a565b91506145df82614578565b604082019050919050565b60006020820190508181036000830152614603816145c7565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b600061466660258361317a565b91506146718261460a565b604082019050919050565b6000602082019050818103600083015261469581614659565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006146f860248361317a565b91506147038261469c565b604082019050919050565b60006020820190508181036000830152614727816146eb565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061476460208361317a565b915061476f8261472e565b602082019050919050565b6000602082019050818103600083015261479381614757565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b60006147d060198361317a565b91506147db8261479a565b602082019050919050565b600060208201905081810360008301526147ff816147c3565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b600061486260328361317a565b915061486d82614806565b604082019050919050565b6000602082019050818103600083015261489181614855565b9050919050565b60006148a482856144d9565b91506148b082846144d9565b91508190509392505050565b600081519050919050565b600082825260208201905092915050565b60006148e3826148bc565b6148ed81856148c7565b93506148fd81856020860161318b565b614906816131be565b840191505092915050565b600060808201905061492660008301876132bf565b61493360208301866132bf565b6149406040830185613355565b818103606083015261495281846148d8565b905095945050505050565b60008151905061496c816130e0565b92915050565b600060208284031215614988576149876130aa565b5b60006149968482850161495d565b91505092915050565b60006149aa8261322a565b91506149b58361322a565b9250826149c5576149c4613ee9565b5b828206905092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000614a0660208361317a565b9150614a11826149d0565b602082019050919050565b60006020820190508181036000830152614a35816149f9565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000614a72601c8361317a565b9150614a7d82614a3c565b602082019050919050565b60006020820190508181036000830152614aa181614a65565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fdfea2646970667358221220ee5fe58b97a11abe0426a49ebd5ff4fb18ba0c05b36d992d3de77f33b017f80c64736f6c63430008090033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000006504550455448000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000065045504554480000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _tokenName (string): PEPETH
Arg [1] : _tokenSymbol (string): PEPETH
-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000006
Arg [3] : 5045504554480000000000000000000000000000000000000000000000000000
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000006
Arg [5] : 5045504554480000000000000000000000000000000000000000000000000000
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.