ERC-721
Overview
Max Total Supply
377 NFTFC
Holders
254
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 NFTFCLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
NFTFC
Compiler Version
v0.8.4+commit.c7e474f2
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.3; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol"; /* ███╗ ██╗███████╗████████╗ ███████╗ ██████╗ ████╗ ██║██╔════╝╚══██╔══╝ ██╔════╝██╔════╝ ██╔██╗ ██║█████╗ ██║ █████╗ ██║ ██║╚██╗██║██╔══╝ ██║ ██╔══╝ ██║ ██║ ╚████║██║ ██║ ██║ ╚██████╗ ╚═╝ ╚═══╝╚═╝ ╚═╝ ╚═╝ ╚═════╝ by @nichosystem */ contract NFTFC is ERC721Enumerable, Ownable { using Strings for uint256; using ECDSA for bytes32; event ToggleSale(bool saleLive, bool presaleLive); address public constant SIGNER = 0x62559A0bc422E9Cc365FB0389CeF91B697893C55; address public constant VAULT = 0xB4C0E862889A8f7448504bA6d5fe3c59abDcD944; uint256 public constant MAX_SUPPLY = 10000; uint256 public constant TX_LIMIT = 20; uint256 public price; uint256 public batchSupply; uint256 public giftedAmount; bool public saleLive; bool public presaleLive; string public baseURI; mapping(address => uint256) public presaleTokensClaimed; mapping(address => mapping(uint256 => bool)) private _usedNonces; constructor() ERC721("NFT FC", "NFTFC") {} // INTERNAL function _hashTransaction( address sender, uint256 qty, uint256 nonce ) private pure returns (bytes32) { return keccak256(abi.encodePacked(sender, qty, nonce)) .toEthSignedMessageHash(); } function _matchSigner(bytes32 hash, bytes memory signature) private pure returns (bool) { return SIGNER == hash.recover(signature); } // ONLY OWNER function toggleSale(bool _saleLive, bool _presaleLive) external onlyOwner { saleLive = _saleLive; presaleLive = _presaleLive; emit ToggleSale(_saleLive, _presaleLive); } function setupBatch(uint256 _price, uint256 _batchSupply) external onlyOwner { price = _price; batchSupply = _batchSupply; } function gift(address[] calldata recipients) external onlyOwner { require( totalSupply() + recipients.length <= MAX_SUPPLY, "Exceeds max supply" ); giftedAmount += recipients.length; uint256 _supply = totalSupply(); // Gas optimization // zero-index i for recipients array for (uint256 i = 0; i < recipients.length; i++) { _safeMint(recipients[i], _supply + i + 1); // increment by 1 for token IDs } } function withdraw() external onlyOwner { payable(VAULT).transfer(address(this).balance); } function setBaseURI(string calldata URI) external onlyOwner { baseURI = URI; } // PUBLIC function mint(uint256 tokenQuantity) external payable { require(saleLive, "Sale closed"); require( totalSupply() + tokenQuantity <= batchSupply && totalSupply() + tokenQuantity <= MAX_SUPPLY, "Exceeds max supply" ); require(tokenQuantity <= TX_LIMIT, "Exceeds transaction limit"); require(tokenQuantity > 0, "No tokens issued"); require(msg.value >= price * tokenQuantity, "Insufficient ETH"); uint256 _supply = totalSupply(); // Gas optimization for (uint256 i = 1; i <= tokenQuantity; i++) { _safeMint(msg.sender, _supply + i); } } function presaleMint( bytes32 hash, bytes memory signature, uint256 nonce, uint256 tokenQuantity ) external payable { require(presaleLive, "Presale closed"); require( totalSupply() + tokenQuantity <= batchSupply && totalSupply() + tokenQuantity <= MAX_SUPPLY, "Exceeds presale supply" ); require(tokenQuantity > 0, "No tokens issued"); require(msg.value >= price * tokenQuantity, "Insufficient ETH"); require(_matchSigner(hash, signature), "No direct mint"); require(!_usedNonces[msg.sender][nonce], "Hash used"); require( _hashTransaction(msg.sender, tokenQuantity, nonce) == hash, "Hash fail" ); presaleTokensClaimed[msg.sender] += tokenQuantity; _usedNonces[msg.sender][nonce] = true; uint256 _supply = totalSupply(); // Gas optimization for (uint256 i = 1; i <= tokenQuantity; i++) { _safeMint(msg.sender, _supply + i); } } function tokenURI(uint256 tokenId) public view override(ERC721) returns (string memory) { return string(abi.encodePacked(baseURI, tokenId.toString())); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../ERC721.sol"; import "./IERC721Enumerable.sol"; /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from owner to list of owned token IDs mapping(address => mapping(uint256 => uint256)) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); return _ownedTokens[owner][index]; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _allTokens.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds"); return _allTokens[index]; } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` cannot be the zero address. * - `to` cannot be the zero address. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual override { super._beforeTokenTransfer(from, to, tokenId); if (from == address(0)) { _addTokenToAllTokensEnumeration(tokenId); } else if (from != to) { _removeTokenFromOwnerEnumeration(from, tokenId); } if (to == address(0)) { _removeTokenFromAllTokensEnumeration(tokenId); } else if (to != from) { _addTokenToOwnerEnumeration(to, tokenId); } } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { uint256 length = ERC721.balanceOf(to); _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; } /** * @dev Private function to add a token to this extension's token tracking data structures. * @param tokenId uint256 ID of the token to be added to the tokens list */ function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for * gas optimizations e.g. when performing a transfer operation (avoiding double writes). * This has O(1) time complexity, but alters the order of the _ownedTokens array. * @param from address representing the previous owner of the given token ID * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = ERC721.balanceOf(from) - 1; uint256 tokenIndex = _ownedTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } // This also deletes the contents at the last position of the array delete _ownedTokensIndex[tokenId]; delete _ownedTokens[from][lastTokenIndex]; } /** * @dev Private function to remove a token from this extension's token tracking data structures. * This has O(1) time complexity, but alters the order of the _allTokens array. * @param tokenId uint256 ID of the token to be removed from the tokens list */ function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _allTokens.length - 1; uint256 tokenIndex = _allTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding // an 'if' statement (like in _removeTokenFromOwnerEnumeration) uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index // This also deletes the contents at the last position of the array delete _allTokensIndex[tokenId]; _allTokens.pop(); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _setOwner(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _setOwner(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations. * * These functions can be used to verify that a message was signed by the holder * of the private keys of a given address. */ library ECDSA { enum RecoverError { NoError, InvalidSignature, InvalidSignatureLength, InvalidSignatureS, InvalidSignatureV } function _throwError(RecoverError error) private pure { if (error == RecoverError.NoError) { return; // no error: do nothing } else if (error == RecoverError.InvalidSignature) { revert("ECDSA: invalid signature"); } else if (error == RecoverError.InvalidSignatureLength) { revert("ECDSA: invalid signature length"); } else if (error == RecoverError.InvalidSignatureS) { revert("ECDSA: invalid signature 's' value"); } else if (error == RecoverError.InvalidSignatureV) { revert("ECDSA: invalid signature 'v' value"); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature` or error string. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. * * Documentation for signature generation: * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js] * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers] * * _Available since v4.3._ */ function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) { // Check the signature length // - case 65: r,s,v signature (standard) // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._ if (signature.length == 65) { bytes32 r; bytes32 s; uint8 v; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. assembly { r := mload(add(signature, 0x20)) s := mload(add(signature, 0x40)) v := byte(0, mload(add(signature, 0x60))) } return tryRecover(hash, v, r, s); } else if (signature.length == 64) { bytes32 r; bytes32 vs; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. assembly { r := mload(add(signature, 0x20)) vs := mload(add(signature, 0x40)) } return tryRecover(hash, r, vs); } else { return (address(0), RecoverError.InvalidSignatureLength); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature`. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. */ function recover(bytes32 hash, bytes memory signature) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, signature); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately. * * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures] * * _Available since v4.3._ */ function tryRecover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address, RecoverError) { bytes32 s; uint8 v; assembly { s := and(vs, 0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff) v := add(shr(255, vs), 27) } return tryRecover(hash, v, r, s); } /** * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately. * * _Available since v4.2._ */ function recover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, r, vs); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `v`, * `r` and `s` signature fields separately. * * _Available since v4.3._ */ function tryRecover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address, RecoverError) { // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most // signatures from current libraries generate a unique signature with an s-value in the lower half order. // // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept // these malleable signatures as well. if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) { return (address(0), RecoverError.InvalidSignatureS); } if (v != 27 && v != 28) { return (address(0), RecoverError.InvalidSignatureV); } // If the signature is valid (and not malleable), return the signer address address signer = ecrecover(hash, v, r, s); if (signer == address(0)) { return (address(0), RecoverError.InvalidSignature); } return (signer, RecoverError.NoError); } /** * @dev Overload of {ECDSA-recover} that receives the `v`, * `r` and `s` signature fields separately. */ function recover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, v, r, s); _throwError(error); return recovered; } /** * @dev Returns an Ethereum Signed Message, created from a `hash`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) { // 32 is the length in bytes of hash, // enforced by the type signature above return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash)); } /** * @dev Returns an Ethereum Signed Typed Data, created from a * `domainSeparator` and a `structHash`. This produces hash corresponding * to the one signed with the * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`] * JSON-RPC method as part of EIP-712. * * See {recover}. */ function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash)); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { require(operator != _msgSender(), "ERC721: approve to caller"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"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":false,"internalType":"bool","name":"saleLive","type":"bool"},{"indexed":false,"internalType":"bool","name":"presaleLive","type":"bool"}],"name":"ToggleSale","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_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SIGNER","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TX_LIMIT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"VAULT","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"batchSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"recipients","type":"address[]"}],"name":"gift","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"giftedAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenQuantity","type":"uint256"}],"name":"mint","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":"presaleLive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"hash","type":"bytes32"},{"internalType":"bytes","name":"signature","type":"bytes"},{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"uint256","name":"tokenQuantity","type":"uint256"}],"name":"presaleMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"presaleTokensClaimed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"saleLive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"URI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"},{"internalType":"uint256","name":"_batchSupply","type":"uint256"}],"name":"setupBatch","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":"bool","name":"_saleLive","type":"bool"},{"internalType":"bool","name":"_presaleLive","type":"bool"}],"name":"toggleSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b506040518060400160405280600681526020017f4e465420464300000000000000000000000000000000000000000000000000008152506040518060400160405280600581526020017f4e46544643000000000000000000000000000000000000000000000000000000815250816000908051906020019062000096929190620001a6565b508060019080519060200190620000af929190620001a6565b505050620000d2620000c6620000d860201b60201c565b620000e060201b60201c565b620002bb565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620001b49062000256565b90600052602060002090601f016020900481019282620001d8576000855562000224565b82601f10620001f357805160ff191683800117855562000224565b8280016001018555821562000224579182015b828111156200022357825182559160200191906001019062000206565b5b50905062000233919062000237565b5090565b5b808211156200025257600081600090555060010162000238565b5090565b600060028204905060018216806200026f57607f821691505b602082108114156200028657620002856200028c565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b61537780620002cb6000396000f3fe60806040526004361061021a5760003560e01c80636352211e11610123578063a0712d68116100ab578063b88d4fde1161006f578063b88d4fde146107a7578063c87b56dd146107d0578063e081b7811461080d578063e985e9c514610838578063f2fde38b146108755761021a565b8063a0712d68146106e5578063a22cb46514610701578063a3f4b61b1461072a578063aae7c57b14610753578063afb5453f1461077c5761021a565b8063759990fb116100f2578063759990fb1461061d57806383a9e049146106395780638da5cb5b1461066457806395d89b411461068f578063a035b1fe146106ba5761021a565b80636352211e146105615780636c0360eb1461059e57806370a08231146105c9578063715018a6146106065761021a565b806323fdfa19116101a6578063411557d111610175578063411557d11461047c57806342842e0e146104a75780634f6ccce7146104d057806355f804b31461050d578063582abd12146105365761021a565b806323fdfa19146103c05780632f745c59146103fd57806332cb6b0c1461043a5780633ccfd60b146104655761021a565b8063095ea7b3116101ed578063095ea7b3146102ef578063163e1e611461031857806318160ddd146103415780631b57190e1461036c57806323b872dd146103975761021a565b806301ffc9a71461021f57806306af692d1461025c57806306fdde0314610287578063081812fc146102b2575b600080fd5b34801561022b57600080fd5b5061024660048036038101906102419190613a53565b61089e565b604051610253919061424f565b60405180910390f35b34801561026857600080fd5b50610271610918565b60405161027e91906146da565b60405180910390f35b34801561029357600080fd5b5061029c61091e565b6040516102a991906142d8565b60405180910390f35b3480156102be57600080fd5b506102d960048036038101906102d49190613aea565b6109b0565b6040516102e691906141e8565b60405180910390f35b3480156102fb57600080fd5b506103166004803603810190610311919061391b565b610a35565b005b34801561032457600080fd5b5061033f600480360381019061033a9190613957565b610b4d565b005b34801561034d57600080fd5b50610356610ce0565b60405161036391906146da565b60405180910390f35b34801561037857600080fd5b50610381610ced565b60405161038e91906146da565b60405180910390f35b3480156103a357600080fd5b506103be60048036038101906103b99190613815565b610cf3565b005b3480156103cc57600080fd5b506103e760048036038101906103e291906137b0565b610d53565b6040516103f491906146da565b60405180910390f35b34801561040957600080fd5b50610424600480360381019061041f919061391b565b610d6b565b60405161043191906146da565b60405180910390f35b34801561044657600080fd5b5061044f610e10565b60405161045c91906146da565b60405180910390f35b34801561047157600080fd5b5061047a610e16565b005b34801561048857600080fd5b50610491610eef565b60405161049e91906141e8565b60405180910390f35b3480156104b357600080fd5b506104ce60048036038101906104c99190613815565b610f07565b005b3480156104dc57600080fd5b506104f760048036038101906104f29190613aea565b610f27565b60405161050491906146da565b60405180910390f35b34801561051957600080fd5b50610534600480360381019061052f9190613aa5565b610fbe565b005b34801561054257600080fd5b5061054b611050565b60405161055891906141e8565b60405180910390f35b34801561056d57600080fd5b5061058860048036038101906105839190613aea565b611068565b60405161059591906141e8565b60405180910390f35b3480156105aa57600080fd5b506105b361111a565b6040516105c091906142d8565b60405180910390f35b3480156105d557600080fd5b506105f060048036038101906105eb91906137b0565b6111a8565b6040516105fd91906146da565b60405180910390f35b34801561061257600080fd5b5061061b611260565b005b610637600480360381019061063291906139d8565b6112e8565b005b34801561064557600080fd5b5061064e61167d565b60405161065b919061424f565b60405180910390f35b34801561067057600080fd5b50610679611690565b60405161068691906141e8565b60405180910390f35b34801561069b57600080fd5b506106a46116ba565b6040516106b191906142d8565b60405180910390f35b3480156106c657600080fd5b506106cf61174c565b6040516106dc91906146da565b60405180910390f35b6106ff60048036038101906106fa9190613aea565b611752565b005b34801561070d57600080fd5b50610728600480360381019061072391906138df565b611936565b005b34801561073657600080fd5b50610751600480360381019061074c9190613b13565b611ab7565b005b34801561075f57600080fd5b5061077a6004803603810190610775919061399c565b611b45565b005b34801561078857600080fd5b50610791611c32565b60405161079e91906146da565b60405180910390f35b3480156107b357600080fd5b506107ce60048036038101906107c99190613864565b611c37565b005b3480156107dc57600080fd5b506107f760048036038101906107f29190613aea565b611c99565b60405161080491906142d8565b60405180910390f35b34801561081957600080fd5b50610822611ccd565b60405161082f919061424f565b60405180910390f35b34801561084457600080fd5b5061085f600480360381019061085a91906137d9565b611ce0565b60405161086c919061424f565b60405180910390f35b34801561088157600080fd5b5061089c600480360381019061089791906137b0565b611d74565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610911575061091082611e6c565b5b9050919050565b600c5481565b60606000805461092d90614985565b80601f016020809104026020016040519081016040528092919081815260200182805461095990614985565b80156109a65780601f1061097b576101008083540402835291602001916109a6565b820191906000526020600020905b81548152906001019060200180831161098957829003601f168201915b5050505050905090565b60006109bb82611f4e565b6109fa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109f19061457a565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610a4082611068565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610ab1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aa8906145da565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610ad0611fba565b73ffffffffffffffffffffffffffffffffffffffff161480610aff5750610afe81610af9611fba565b611ce0565b5b610b3e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b359061447a565b60405180910390fd5b610b488383611fc2565b505050565b610b55611fba565b73ffffffffffffffffffffffffffffffffffffffff16610b73611690565b73ffffffffffffffffffffffffffffffffffffffff1614610bc9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bc09061459a565b60405180910390fd5b61271082829050610bd8610ce0565b610be291906147a3565b1115610c23576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c1a906144fa565b60405180910390fd5b81819050600d6000828254610c3891906147a3565b925050819055506000610c49610ce0565b905060005b83839050811015610cda57610cc7848483818110610c95577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002016020810190610caa91906137b0565b60018385610cb891906147a3565b610cc291906147a3565b61207b565b8080610cd2906149e8565b915050610c4e565b50505050565b6000600880549050905090565b600d5481565b610d04610cfe611fba565b82612099565b610d43576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d3a9061461a565b60405180910390fd5b610d4e838383612177565b505050565b60106020528060005260406000206000915090505481565b6000610d76836111a8565b8210610db7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dae9061435a565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b61271081565b610e1e611fba565b73ffffffffffffffffffffffffffffffffffffffff16610e3c611690565b73ffffffffffffffffffffffffffffffffffffffff1614610e92576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e899061459a565b60405180910390fd5b73b4c0e862889a8f7448504ba6d5fe3c59abdcd94473ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015610eec573d6000803e3d6000fd5b50565b73b4c0e862889a8f7448504ba6d5fe3c59abdcd94481565b610f2283838360405180602001604052806000815250611c37565b505050565b6000610f31610ce0565b8210610f72576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f699061463a565b60405180910390fd5b60088281548110610fac577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b610fc6611fba565b73ffffffffffffffffffffffffffffffffffffffff16610fe4611690565b73ffffffffffffffffffffffffffffffffffffffff161461103a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110319061459a565b60405180910390fd5b8181600f919061104b929190613593565b505050565b7362559a0bc422e9cc365fb0389cef91b697893c5581565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611111576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611108906144ba565b60405180910390fd5b80915050919050565b600f805461112790614985565b80601f016020809104026020016040519081016040528092919081815260200182805461115390614985565b80156111a05780601f10611175576101008083540402835291602001916111a0565b820191906000526020600020905b81548152906001019060200180831161118357829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611219576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112109061449a565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611268611fba565b73ffffffffffffffffffffffffffffffffffffffff16611286611690565b73ffffffffffffffffffffffffffffffffffffffff16146112dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112d39061459a565b60405180910390fd5b6112e660006123d3565b565b600e60019054906101000a900460ff16611337576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161132e9061465a565b60405180910390fd5b600c5481611343610ce0565b61134d91906147a3565b1115801561136f575061271081611362610ce0565b61136c91906147a3565b11155b6113ae576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113a59061467a565b60405180910390fd5b600081116113f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113e89061455a565b60405180910390fd5b80600b546113ff919061482a565b341015611441576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114389061431a565b60405180910390fd5b61144b8484612499565b61148a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114819061441a565b60405180910390fd5b601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002060009054906101000a900460ff1615611528576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161151f906145fa565b60405180910390fd5b836115343383856124f8565b14611574576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161156b906146ba565b60405180910390fd5b80601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546115c391906147a3565b925050819055506001601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002060006101000a81548160ff021916908315150217905550600061163d610ce0565b90506000600190505b8281116116755761166233828461165d91906147a3565b61207b565b808061166d906149e8565b915050611646565b505050505050565b600e60019054906101000a900460ff1681565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600180546116c990614985565b80601f01602080910402602001604051908101604052809291908181526020018280546116f590614985565b80156117425780601f1061171757610100808354040283529160200191611742565b820191906000526020600020905b81548152906001019060200180831161172557829003601f168201915b5050505050905090565b600b5481565b600e60009054906101000a900460ff166117a1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611798906144da565b60405180910390fd5b600c54816117ad610ce0565b6117b791906147a3565b111580156117d95750612710816117cc610ce0565b6117d691906147a3565b11155b611818576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161180f906144fa565b60405180910390fd5b601481111561185c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118539061469a565b60405180910390fd5b6000811161189f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118969061455a565b60405180910390fd5b80600b546118ad919061482a565b3410156118ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118e69061431a565b60405180910390fd5b60006118f9610ce0565b90506000600190505b8281116119315761191e33828461191991906147a3565b61207b565b8080611929906149e8565b915050611902565b505050565b61193e611fba565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156119ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119a3906143fa565b60405180910390fd5b80600560006119b9611fba565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611a66611fba565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611aab919061424f565b60405180910390a35050565b611abf611fba565b73ffffffffffffffffffffffffffffffffffffffff16611add611690565b73ffffffffffffffffffffffffffffffffffffffff1614611b33576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b2a9061459a565b60405180910390fd5b81600b8190555080600c819055505050565b611b4d611fba565b73ffffffffffffffffffffffffffffffffffffffff16611b6b611690565b73ffffffffffffffffffffffffffffffffffffffff1614611bc1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bb89061459a565b60405180910390fd5b81600e60006101000a81548160ff02191690831515021790555080600e60016101000a81548160ff0219169083151502179055507fbf9da71ae4dd6d5bff9bf1647885ce5de321e81c1018648a6f54e60b6b9761338282604051611c2692919061426a565b60405180910390a15050565b601481565b611c48611c42611fba565b83612099565b611c87576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c7e9061461a565b60405180910390fd5b611c9384848484612536565b50505050565b6060600f611ca683612592565b604051602001611cb792919061419e565b6040516020818303038152906040529050919050565b600e60009054906101000a900460ff1681565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611d7c611fba565b73ffffffffffffffffffffffffffffffffffffffff16611d9a611690565b73ffffffffffffffffffffffffffffffffffffffff1614611df0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611de79061459a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611e60576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e579061439a565b60405180910390fd5b611e69816123d3565b50565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611f3757507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611f475750611f468261273f565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661203583611068565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6120958282604051806020016040528060008152506127a9565b5050565b60006120a482611f4e565b6120e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120da9061445a565b60405180910390fd5b60006120ee83611068565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061215d57508373ffffffffffffffffffffffffffffffffffffffff16612145846109b0565b73ffffffffffffffffffffffffffffffffffffffff16145b8061216e575061216d8185611ce0565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661219782611068565b73ffffffffffffffffffffffffffffffffffffffff16146121ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121e4906145ba565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561225d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612254906143da565b60405180910390fd5b612268838383612804565b612273600082611fc2565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546122c39190614884565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461231a91906147a3565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60006124ae828461291890919063ffffffff16565b73ffffffffffffffffffffffffffffffffffffffff167362559a0bc422e9cc365fb0389cef91b697893c5573ffffffffffffffffffffffffffffffffffffffff1614905092915050565b600061252d84848460405160200161251293929190614161565b6040516020818303038152906040528051906020012061293f565b90509392505050565b612541848484612177565b61254d8484848461296f565b61258c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125839061437a565b60405180910390fd5b50505050565b606060008214156125da576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061273a565b600082905060005b6000821461260c5780806125f5906149e8565b915050600a8261260591906147f9565b91506125e2565b60008167ffffffffffffffff81111561264e577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156126805781602001600182028036833780820191505090505b5090505b60008514612733576001826126999190614884565b9150600a856126a89190614a69565b60306126b491906147a3565b60f81b8183815181106126f0577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561272c91906147f9565b9450612684565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6127b38383612b06565b6127c0600084848461296f565b6127ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127f69061437a565b60405180910390fd5b505050565b61280f838383612cd4565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156128525761284d81612cd9565b612891565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146128905761288f8382612d22565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156128d4576128cf81612e8f565b612913565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612912576129118282612fd2565b5b5b505050565b60008060006129278585613051565b91509150612934816130d4565b819250505092915050565b60008160405160200161295291906141c2565b604051602081830303815290604052805190602001209050919050565b60006129908473ffffffffffffffffffffffffffffffffffffffff16613425565b15612af9578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026129b9611fba565b8786866040518563ffffffff1660e01b81526004016129db9493929190614203565b602060405180830381600087803b1580156129f557600080fd5b505af1925050508015612a2657506040513d601f19601f82011682018060405250810190612a239190613a7c565b60015b612aa9573d8060008114612a56576040519150601f19603f3d011682016040523d82523d6000602084013e612a5b565b606091505b50600081511415612aa1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a989061437a565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612afe565b600190505b949350505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612b76576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b6d9061453a565b60405180910390fd5b612b7f81611f4e565b15612bbf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bb6906143ba565b60405180910390fd5b612bcb60008383612804565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612c1b91906147a3565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001612d2f846111a8565b612d399190614884565b9050600060076000848152602001908152602001600020549050818114612e1e576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050612ea39190614884565b9050600060096000848152602001908152602001600020549050600060088381548110612ef9577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060088381548110612f41577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480612fb6577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000612fdd836111a8565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b6000806041835114156130935760008060006020860151925060408601519150606086015160001a905061308787828585613438565b945094505050506130cd565b6040835114156130c45760008060208501519150604085015190506130b9868383613545565b9350935050506130cd565b60006002915091505b9250929050565b6000600481111561310e577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115613147577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b141561315257613422565b6001600481111561318c577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b8160048111156131c5577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415613206576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131fd906142fa565b60405180910390fd5b60026004811115613240577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115613279577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b14156132ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132b19061433a565b60405180910390fd5b600360048111156132f4577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b81600481111561332d577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b141561336e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133659061443a565b60405180910390fd5b6004808111156133a7577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b8160048111156133e0577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415613421576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134189061451a565b60405180910390fd5b5b50565b600080823b905060008111915050919050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c111561347357600060039150915061353c565b601b8560ff161415801561348b5750601c8560ff1614155b1561349d57600060049150915061353c565b6000600187878787604051600081526020016040526040516134c29493929190614293565b6020604051602081039080840390855afa1580156134e4573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156135335760006001925092505061353c565b80600092509250505b94509492505050565b6000806000807f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff85169150601b8560ff1c01905061358587828885613438565b935093505050935093915050565b82805461359f90614985565b90600052602060002090601f0160209004810192826135c15760008555613608565b82601f106135da57803560ff1916838001178555613608565b82800160010185558215613608579182015b828111156136075782358255916020019190600101906135ec565b5b5090506136159190613619565b5090565b5b8082111561363257600081600090555060010161361a565b5090565b60006136496136448461471a565b6146f5565b90508281526020810184848401111561366157600080fd5b61366c848285614943565b509392505050565b600081359050613683816152ce565b92915050565b60008083601f84011261369b57600080fd5b8235905067ffffffffffffffff8111156136b457600080fd5b6020830191508360208202830111156136cc57600080fd5b9250929050565b6000813590506136e2816152e5565b92915050565b6000813590506136f7816152fc565b92915050565b60008135905061370c81615313565b92915050565b60008151905061372181615313565b92915050565b600082601f83011261373857600080fd5b8135613748848260208601613636565b91505092915050565b60008083601f84011261376357600080fd5b8235905067ffffffffffffffff81111561377c57600080fd5b60208301915083600182028301111561379457600080fd5b9250929050565b6000813590506137aa8161532a565b92915050565b6000602082840312156137c257600080fd5b60006137d084828501613674565b91505092915050565b600080604083850312156137ec57600080fd5b60006137fa85828601613674565b925050602061380b85828601613674565b9150509250929050565b60008060006060848603121561382a57600080fd5b600061383886828701613674565b935050602061384986828701613674565b925050604061385a8682870161379b565b9150509250925092565b6000806000806080858703121561387a57600080fd5b600061388887828801613674565b945050602061389987828801613674565b93505060406138aa8782880161379b565b925050606085013567ffffffffffffffff8111156138c757600080fd5b6138d387828801613727565b91505092959194509250565b600080604083850312156138f257600080fd5b600061390085828601613674565b9250506020613911858286016136d3565b9150509250929050565b6000806040838503121561392e57600080fd5b600061393c85828601613674565b925050602061394d8582860161379b565b9150509250929050565b6000806020838503121561396a57600080fd5b600083013567ffffffffffffffff81111561398457600080fd5b61399085828601613689565b92509250509250929050565b600080604083850312156139af57600080fd5b60006139bd858286016136d3565b92505060206139ce858286016136d3565b9150509250929050565b600080600080608085870312156139ee57600080fd5b60006139fc878288016136e8565b945050602085013567ffffffffffffffff811115613a1957600080fd5b613a2587828801613727565b9350506040613a368782880161379b565b9250506060613a478782880161379b565b91505092959194509250565b600060208284031215613a6557600080fd5b6000613a73848285016136fd565b91505092915050565b600060208284031215613a8e57600080fd5b6000613a9c84828501613712565b91505092915050565b60008060208385031215613ab857600080fd5b600083013567ffffffffffffffff811115613ad257600080fd5b613ade85828601613751565b92509250509250929050565b600060208284031215613afc57600080fd5b6000613b0a8482850161379b565b91505092915050565b60008060408385031215613b2657600080fd5b6000613b348582860161379b565b9250506020613b458582860161379b565b9150509250929050565b613b58816148b8565b82525050565b613b6f613b6a826148b8565b614a31565b82525050565b613b7e816148ca565b82525050565b613b8d816148d6565b82525050565b613ba4613b9f826148d6565b614a43565b82525050565b6000613bb582614760565b613bbf8185614776565b9350613bcf818560208601614952565b613bd881614b56565b840191505092915050565b6000613bee8261476b565b613bf88185614787565b9350613c08818560208601614952565b613c1181614b56565b840191505092915050565b6000613c278261476b565b613c318185614798565b9350613c41818560208601614952565b80840191505092915050565b60008154613c5a81614985565b613c648186614798565b94506001821660008114613c7f5760018114613c9057613cc3565b60ff19831686528186019350613cc3565b613c998561474b565b60005b83811015613cbb57815481890152600182019150602081019050613c9c565b838801955050505b50505092915050565b6000613cd9601883614787565b9150613ce482614b74565b602082019050919050565b6000613cfc601083614787565b9150613d0782614b9d565b602082019050919050565b6000613d1f601f83614787565b9150613d2a82614bc6565b602082019050919050565b6000613d42601c83614798565b9150613d4d82614bef565b601c82019050919050565b6000613d65602b83614787565b9150613d7082614c18565b604082019050919050565b6000613d88603283614787565b9150613d9382614c67565b604082019050919050565b6000613dab602683614787565b9150613db682614cb6565b604082019050919050565b6000613dce601c83614787565b9150613dd982614d05565b602082019050919050565b6000613df1602483614787565b9150613dfc82614d2e565b604082019050919050565b6000613e14601983614787565b9150613e1f82614d7d565b602082019050919050565b6000613e37600e83614787565b9150613e4282614da6565b602082019050919050565b6000613e5a602283614787565b9150613e6582614dcf565b604082019050919050565b6000613e7d602c83614787565b9150613e8882614e1e565b604082019050919050565b6000613ea0603883614787565b9150613eab82614e6d565b604082019050919050565b6000613ec3602a83614787565b9150613ece82614ebc565b604082019050919050565b6000613ee6602983614787565b9150613ef182614f0b565b604082019050919050565b6000613f09600b83614787565b9150613f1482614f5a565b602082019050919050565b6000613f2c601283614787565b9150613f3782614f83565b602082019050919050565b6000613f4f602283614787565b9150613f5a82614fac565b604082019050919050565b6000613f72602083614787565b9150613f7d82614ffb565b602082019050919050565b6000613f95601083614787565b9150613fa082615024565b602082019050919050565b6000613fb8602c83614787565b9150613fc38261504d565b604082019050919050565b6000613fdb602083614787565b9150613fe68261509c565b602082019050919050565b6000613ffe602983614787565b9150614009826150c5565b604082019050919050565b6000614021602183614787565b915061402c82615114565b604082019050919050565b6000614044600983614787565b915061404f82615163565b602082019050919050565b6000614067603183614787565b91506140728261518c565b604082019050919050565b600061408a602c83614787565b9150614095826151db565b604082019050919050565b60006140ad600e83614787565b91506140b88261522a565b602082019050919050565b60006140d0601683614787565b91506140db82615253565b602082019050919050565b60006140f3601983614787565b91506140fe8261527c565b602082019050919050565b6000614116600983614787565b9150614121826152a5565b602082019050919050565b6141358161492c565b82525050565b61414c6141478261492c565b614a5f565b82525050565b61415b81614936565b82525050565b600061416d8286613b5e565b60148201915061417d828561413b565b60208201915061418d828461413b565b602082019150819050949350505050565b60006141aa8285613c4d565b91506141b68284613c1c565b91508190509392505050565b60006141cd82613d35565b91506141d98284613b93565b60208201915081905092915050565b60006020820190506141fd6000830184613b4f565b92915050565b60006080820190506142186000830187613b4f565b6142256020830186613b4f565b614232604083018561412c565b81810360608301526142448184613baa565b905095945050505050565b60006020820190506142646000830184613b75565b92915050565b600060408201905061427f6000830185613b75565b61428c6020830184613b75565b9392505050565b60006080820190506142a86000830187613b84565b6142b56020830186614152565b6142c26040830185613b84565b6142cf6060830184613b84565b95945050505050565b600060208201905081810360008301526142f28184613be3565b905092915050565b6000602082019050818103600083015261431381613ccc565b9050919050565b6000602082019050818103600083015261433381613cef565b9050919050565b6000602082019050818103600083015261435381613d12565b9050919050565b6000602082019050818103600083015261437381613d58565b9050919050565b6000602082019050818103600083015261439381613d7b565b9050919050565b600060208201905081810360008301526143b381613d9e565b9050919050565b600060208201905081810360008301526143d381613dc1565b9050919050565b600060208201905081810360008301526143f381613de4565b9050919050565b6000602082019050818103600083015261441381613e07565b9050919050565b6000602082019050818103600083015261443381613e2a565b9050919050565b6000602082019050818103600083015261445381613e4d565b9050919050565b6000602082019050818103600083015261447381613e70565b9050919050565b6000602082019050818103600083015261449381613e93565b9050919050565b600060208201905081810360008301526144b381613eb6565b9050919050565b600060208201905081810360008301526144d381613ed9565b9050919050565b600060208201905081810360008301526144f381613efc565b9050919050565b6000602082019050818103600083015261451381613f1f565b9050919050565b6000602082019050818103600083015261453381613f42565b9050919050565b6000602082019050818103600083015261455381613f65565b9050919050565b6000602082019050818103600083015261457381613f88565b9050919050565b6000602082019050818103600083015261459381613fab565b9050919050565b600060208201905081810360008301526145b381613fce565b9050919050565b600060208201905081810360008301526145d381613ff1565b9050919050565b600060208201905081810360008301526145f381614014565b9050919050565b6000602082019050818103600083015261461381614037565b9050919050565b600060208201905081810360008301526146338161405a565b9050919050565b600060208201905081810360008301526146538161407d565b9050919050565b60006020820190508181036000830152614673816140a0565b9050919050565b60006020820190508181036000830152614693816140c3565b9050919050565b600060208201905081810360008301526146b3816140e6565b9050919050565b600060208201905081810360008301526146d381614109565b9050919050565b60006020820190506146ef600083018461412c565b92915050565b60006146ff614710565b905061470b82826149b7565b919050565b6000604051905090565b600067ffffffffffffffff82111561473557614734614b27565b5b61473e82614b56565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b60006147ae8261492c565b91506147b98361492c565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156147ee576147ed614a9a565b5b828201905092915050565b60006148048261492c565b915061480f8361492c565b92508261481f5761481e614ac9565b5b828204905092915050565b60006148358261492c565b91506148408361492c565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561487957614878614a9a565b5b828202905092915050565b600061488f8261492c565b915061489a8361492c565b9250828210156148ad576148ac614a9a565b5b828203905092915050565b60006148c38261490c565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b83811015614970578082015181840152602081019050614955565b8381111561497f576000848401525b50505050565b6000600282049050600182168061499d57607f821691505b602082108114156149b1576149b0614af8565b5b50919050565b6149c082614b56565b810181811067ffffffffffffffff821117156149df576149de614b27565b5b80604052505050565b60006149f38261492c565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614a2657614a25614a9a565b5b600182019050919050565b6000614a3c82614a4d565b9050919050565b6000819050919050565b6000614a5882614b67565b9050919050565b6000819050919050565b6000614a748261492c565b9150614a7f8361492c565b925082614a8f57614a8e614ac9565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b7f496e73756666696369656e742045544800000000000000000000000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4e6f20646972656374206d696e74000000000000000000000000000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f53616c6520636c6f736564000000000000000000000000000000000000000000600082015250565b7f45786365656473206d617820737570706c790000000000000000000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4e6f20746f6b656e732069737375656400000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4861736820757365640000000000000000000000000000000000000000000000600082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f50726573616c6520636c6f736564000000000000000000000000000000000000600082015250565b7f457863656564732070726573616c6520737570706c7900000000000000000000600082015250565b7f45786365656473207472616e73616374696f6e206c696d697400000000000000600082015250565b7f48617368206661696c0000000000000000000000000000000000000000000000600082015250565b6152d7816148b8565b81146152e257600080fd5b50565b6152ee816148ca565b81146152f957600080fd5b50565b615305816148d6565b811461531057600080fd5b50565b61531c816148e0565b811461532757600080fd5b50565b6153338161492c565b811461533e57600080fd5b5056fea2646970667358221220972290eecd204bd52adddb7e72ae166fdac7d8af7d7e8482f612965b3513a69064736f6c63430008040033
Deployed Bytecode
0x60806040526004361061021a5760003560e01c80636352211e11610123578063a0712d68116100ab578063b88d4fde1161006f578063b88d4fde146107a7578063c87b56dd146107d0578063e081b7811461080d578063e985e9c514610838578063f2fde38b146108755761021a565b8063a0712d68146106e5578063a22cb46514610701578063a3f4b61b1461072a578063aae7c57b14610753578063afb5453f1461077c5761021a565b8063759990fb116100f2578063759990fb1461061d57806383a9e049146106395780638da5cb5b1461066457806395d89b411461068f578063a035b1fe146106ba5761021a565b80636352211e146105615780636c0360eb1461059e57806370a08231146105c9578063715018a6146106065761021a565b806323fdfa19116101a6578063411557d111610175578063411557d11461047c57806342842e0e146104a75780634f6ccce7146104d057806355f804b31461050d578063582abd12146105365761021a565b806323fdfa19146103c05780632f745c59146103fd57806332cb6b0c1461043a5780633ccfd60b146104655761021a565b8063095ea7b3116101ed578063095ea7b3146102ef578063163e1e611461031857806318160ddd146103415780631b57190e1461036c57806323b872dd146103975761021a565b806301ffc9a71461021f57806306af692d1461025c57806306fdde0314610287578063081812fc146102b2575b600080fd5b34801561022b57600080fd5b5061024660048036038101906102419190613a53565b61089e565b604051610253919061424f565b60405180910390f35b34801561026857600080fd5b50610271610918565b60405161027e91906146da565b60405180910390f35b34801561029357600080fd5b5061029c61091e565b6040516102a991906142d8565b60405180910390f35b3480156102be57600080fd5b506102d960048036038101906102d49190613aea565b6109b0565b6040516102e691906141e8565b60405180910390f35b3480156102fb57600080fd5b506103166004803603810190610311919061391b565b610a35565b005b34801561032457600080fd5b5061033f600480360381019061033a9190613957565b610b4d565b005b34801561034d57600080fd5b50610356610ce0565b60405161036391906146da565b60405180910390f35b34801561037857600080fd5b50610381610ced565b60405161038e91906146da565b60405180910390f35b3480156103a357600080fd5b506103be60048036038101906103b99190613815565b610cf3565b005b3480156103cc57600080fd5b506103e760048036038101906103e291906137b0565b610d53565b6040516103f491906146da565b60405180910390f35b34801561040957600080fd5b50610424600480360381019061041f919061391b565b610d6b565b60405161043191906146da565b60405180910390f35b34801561044657600080fd5b5061044f610e10565b60405161045c91906146da565b60405180910390f35b34801561047157600080fd5b5061047a610e16565b005b34801561048857600080fd5b50610491610eef565b60405161049e91906141e8565b60405180910390f35b3480156104b357600080fd5b506104ce60048036038101906104c99190613815565b610f07565b005b3480156104dc57600080fd5b506104f760048036038101906104f29190613aea565b610f27565b60405161050491906146da565b60405180910390f35b34801561051957600080fd5b50610534600480360381019061052f9190613aa5565b610fbe565b005b34801561054257600080fd5b5061054b611050565b60405161055891906141e8565b60405180910390f35b34801561056d57600080fd5b5061058860048036038101906105839190613aea565b611068565b60405161059591906141e8565b60405180910390f35b3480156105aa57600080fd5b506105b361111a565b6040516105c091906142d8565b60405180910390f35b3480156105d557600080fd5b506105f060048036038101906105eb91906137b0565b6111a8565b6040516105fd91906146da565b60405180910390f35b34801561061257600080fd5b5061061b611260565b005b610637600480360381019061063291906139d8565b6112e8565b005b34801561064557600080fd5b5061064e61167d565b60405161065b919061424f565b60405180910390f35b34801561067057600080fd5b50610679611690565b60405161068691906141e8565b60405180910390f35b34801561069b57600080fd5b506106a46116ba565b6040516106b191906142d8565b60405180910390f35b3480156106c657600080fd5b506106cf61174c565b6040516106dc91906146da565b60405180910390f35b6106ff60048036038101906106fa9190613aea565b611752565b005b34801561070d57600080fd5b50610728600480360381019061072391906138df565b611936565b005b34801561073657600080fd5b50610751600480360381019061074c9190613b13565b611ab7565b005b34801561075f57600080fd5b5061077a6004803603810190610775919061399c565b611b45565b005b34801561078857600080fd5b50610791611c32565b60405161079e91906146da565b60405180910390f35b3480156107b357600080fd5b506107ce60048036038101906107c99190613864565b611c37565b005b3480156107dc57600080fd5b506107f760048036038101906107f29190613aea565b611c99565b60405161080491906142d8565b60405180910390f35b34801561081957600080fd5b50610822611ccd565b60405161082f919061424f565b60405180910390f35b34801561084457600080fd5b5061085f600480360381019061085a91906137d9565b611ce0565b60405161086c919061424f565b60405180910390f35b34801561088157600080fd5b5061089c600480360381019061089791906137b0565b611d74565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610911575061091082611e6c565b5b9050919050565b600c5481565b60606000805461092d90614985565b80601f016020809104026020016040519081016040528092919081815260200182805461095990614985565b80156109a65780601f1061097b576101008083540402835291602001916109a6565b820191906000526020600020905b81548152906001019060200180831161098957829003601f168201915b5050505050905090565b60006109bb82611f4e565b6109fa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109f19061457a565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610a4082611068565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610ab1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aa8906145da565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610ad0611fba565b73ffffffffffffffffffffffffffffffffffffffff161480610aff5750610afe81610af9611fba565b611ce0565b5b610b3e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b359061447a565b60405180910390fd5b610b488383611fc2565b505050565b610b55611fba565b73ffffffffffffffffffffffffffffffffffffffff16610b73611690565b73ffffffffffffffffffffffffffffffffffffffff1614610bc9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bc09061459a565b60405180910390fd5b61271082829050610bd8610ce0565b610be291906147a3565b1115610c23576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c1a906144fa565b60405180910390fd5b81819050600d6000828254610c3891906147a3565b925050819055506000610c49610ce0565b905060005b83839050811015610cda57610cc7848483818110610c95577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002016020810190610caa91906137b0565b60018385610cb891906147a3565b610cc291906147a3565b61207b565b8080610cd2906149e8565b915050610c4e565b50505050565b6000600880549050905090565b600d5481565b610d04610cfe611fba565b82612099565b610d43576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d3a9061461a565b60405180910390fd5b610d4e838383612177565b505050565b60106020528060005260406000206000915090505481565b6000610d76836111a8565b8210610db7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dae9061435a565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b61271081565b610e1e611fba565b73ffffffffffffffffffffffffffffffffffffffff16610e3c611690565b73ffffffffffffffffffffffffffffffffffffffff1614610e92576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e899061459a565b60405180910390fd5b73b4c0e862889a8f7448504ba6d5fe3c59abdcd94473ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015610eec573d6000803e3d6000fd5b50565b73b4c0e862889a8f7448504ba6d5fe3c59abdcd94481565b610f2283838360405180602001604052806000815250611c37565b505050565b6000610f31610ce0565b8210610f72576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f699061463a565b60405180910390fd5b60088281548110610fac577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b610fc6611fba565b73ffffffffffffffffffffffffffffffffffffffff16610fe4611690565b73ffffffffffffffffffffffffffffffffffffffff161461103a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110319061459a565b60405180910390fd5b8181600f919061104b929190613593565b505050565b7362559a0bc422e9cc365fb0389cef91b697893c5581565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611111576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611108906144ba565b60405180910390fd5b80915050919050565b600f805461112790614985565b80601f016020809104026020016040519081016040528092919081815260200182805461115390614985565b80156111a05780601f10611175576101008083540402835291602001916111a0565b820191906000526020600020905b81548152906001019060200180831161118357829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611219576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112109061449a565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611268611fba565b73ffffffffffffffffffffffffffffffffffffffff16611286611690565b73ffffffffffffffffffffffffffffffffffffffff16146112dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112d39061459a565b60405180910390fd5b6112e660006123d3565b565b600e60019054906101000a900460ff16611337576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161132e9061465a565b60405180910390fd5b600c5481611343610ce0565b61134d91906147a3565b1115801561136f575061271081611362610ce0565b61136c91906147a3565b11155b6113ae576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113a59061467a565b60405180910390fd5b600081116113f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113e89061455a565b60405180910390fd5b80600b546113ff919061482a565b341015611441576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114389061431a565b60405180910390fd5b61144b8484612499565b61148a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114819061441a565b60405180910390fd5b601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002060009054906101000a900460ff1615611528576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161151f906145fa565b60405180910390fd5b836115343383856124f8565b14611574576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161156b906146ba565b60405180910390fd5b80601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546115c391906147a3565b925050819055506001601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002060006101000a81548160ff021916908315150217905550600061163d610ce0565b90506000600190505b8281116116755761166233828461165d91906147a3565b61207b565b808061166d906149e8565b915050611646565b505050505050565b600e60019054906101000a900460ff1681565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600180546116c990614985565b80601f01602080910402602001604051908101604052809291908181526020018280546116f590614985565b80156117425780601f1061171757610100808354040283529160200191611742565b820191906000526020600020905b81548152906001019060200180831161172557829003601f168201915b5050505050905090565b600b5481565b600e60009054906101000a900460ff166117a1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611798906144da565b60405180910390fd5b600c54816117ad610ce0565b6117b791906147a3565b111580156117d95750612710816117cc610ce0565b6117d691906147a3565b11155b611818576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161180f906144fa565b60405180910390fd5b601481111561185c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118539061469a565b60405180910390fd5b6000811161189f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118969061455a565b60405180910390fd5b80600b546118ad919061482a565b3410156118ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118e69061431a565b60405180910390fd5b60006118f9610ce0565b90506000600190505b8281116119315761191e33828461191991906147a3565b61207b565b8080611929906149e8565b915050611902565b505050565b61193e611fba565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156119ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119a3906143fa565b60405180910390fd5b80600560006119b9611fba565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611a66611fba565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611aab919061424f565b60405180910390a35050565b611abf611fba565b73ffffffffffffffffffffffffffffffffffffffff16611add611690565b73ffffffffffffffffffffffffffffffffffffffff1614611b33576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b2a9061459a565b60405180910390fd5b81600b8190555080600c819055505050565b611b4d611fba565b73ffffffffffffffffffffffffffffffffffffffff16611b6b611690565b73ffffffffffffffffffffffffffffffffffffffff1614611bc1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bb89061459a565b60405180910390fd5b81600e60006101000a81548160ff02191690831515021790555080600e60016101000a81548160ff0219169083151502179055507fbf9da71ae4dd6d5bff9bf1647885ce5de321e81c1018648a6f54e60b6b9761338282604051611c2692919061426a565b60405180910390a15050565b601481565b611c48611c42611fba565b83612099565b611c87576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c7e9061461a565b60405180910390fd5b611c9384848484612536565b50505050565b6060600f611ca683612592565b604051602001611cb792919061419e565b6040516020818303038152906040529050919050565b600e60009054906101000a900460ff1681565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611d7c611fba565b73ffffffffffffffffffffffffffffffffffffffff16611d9a611690565b73ffffffffffffffffffffffffffffffffffffffff1614611df0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611de79061459a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611e60576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e579061439a565b60405180910390fd5b611e69816123d3565b50565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611f3757507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611f475750611f468261273f565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661203583611068565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6120958282604051806020016040528060008152506127a9565b5050565b60006120a482611f4e565b6120e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120da9061445a565b60405180910390fd5b60006120ee83611068565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061215d57508373ffffffffffffffffffffffffffffffffffffffff16612145846109b0565b73ffffffffffffffffffffffffffffffffffffffff16145b8061216e575061216d8185611ce0565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661219782611068565b73ffffffffffffffffffffffffffffffffffffffff16146121ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121e4906145ba565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561225d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612254906143da565b60405180910390fd5b612268838383612804565b612273600082611fc2565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546122c39190614884565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461231a91906147a3565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60006124ae828461291890919063ffffffff16565b73ffffffffffffffffffffffffffffffffffffffff167362559a0bc422e9cc365fb0389cef91b697893c5573ffffffffffffffffffffffffffffffffffffffff1614905092915050565b600061252d84848460405160200161251293929190614161565b6040516020818303038152906040528051906020012061293f565b90509392505050565b612541848484612177565b61254d8484848461296f565b61258c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125839061437a565b60405180910390fd5b50505050565b606060008214156125da576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061273a565b600082905060005b6000821461260c5780806125f5906149e8565b915050600a8261260591906147f9565b91506125e2565b60008167ffffffffffffffff81111561264e577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156126805781602001600182028036833780820191505090505b5090505b60008514612733576001826126999190614884565b9150600a856126a89190614a69565b60306126b491906147a3565b60f81b8183815181106126f0577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561272c91906147f9565b9450612684565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6127b38383612b06565b6127c0600084848461296f565b6127ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127f69061437a565b60405180910390fd5b505050565b61280f838383612cd4565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156128525761284d81612cd9565b612891565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146128905761288f8382612d22565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156128d4576128cf81612e8f565b612913565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612912576129118282612fd2565b5b5b505050565b60008060006129278585613051565b91509150612934816130d4565b819250505092915050565b60008160405160200161295291906141c2565b604051602081830303815290604052805190602001209050919050565b60006129908473ffffffffffffffffffffffffffffffffffffffff16613425565b15612af9578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026129b9611fba565b8786866040518563ffffffff1660e01b81526004016129db9493929190614203565b602060405180830381600087803b1580156129f557600080fd5b505af1925050508015612a2657506040513d601f19601f82011682018060405250810190612a239190613a7c565b60015b612aa9573d8060008114612a56576040519150601f19603f3d011682016040523d82523d6000602084013e612a5b565b606091505b50600081511415612aa1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a989061437a565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612afe565b600190505b949350505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612b76576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b6d9061453a565b60405180910390fd5b612b7f81611f4e565b15612bbf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bb6906143ba565b60405180910390fd5b612bcb60008383612804565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612c1b91906147a3565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001612d2f846111a8565b612d399190614884565b9050600060076000848152602001908152602001600020549050818114612e1e576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050612ea39190614884565b9050600060096000848152602001908152602001600020549050600060088381548110612ef9577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060088381548110612f41577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480612fb6577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000612fdd836111a8565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b6000806041835114156130935760008060006020860151925060408601519150606086015160001a905061308787828585613438565b945094505050506130cd565b6040835114156130c45760008060208501519150604085015190506130b9868383613545565b9350935050506130cd565b60006002915091505b9250929050565b6000600481111561310e577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115613147577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b141561315257613422565b6001600481111561318c577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b8160048111156131c5577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415613206576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131fd906142fa565b60405180910390fd5b60026004811115613240577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115613279577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b14156132ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132b19061433a565b60405180910390fd5b600360048111156132f4577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b81600481111561332d577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b141561336e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133659061443a565b60405180910390fd5b6004808111156133a7577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b8160048111156133e0577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415613421576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134189061451a565b60405180910390fd5b5b50565b600080823b905060008111915050919050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c111561347357600060039150915061353c565b601b8560ff161415801561348b5750601c8560ff1614155b1561349d57600060049150915061353c565b6000600187878787604051600081526020016040526040516134c29493929190614293565b6020604051602081039080840390855afa1580156134e4573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156135335760006001925092505061353c565b80600092509250505b94509492505050565b6000806000807f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff85169150601b8560ff1c01905061358587828885613438565b935093505050935093915050565b82805461359f90614985565b90600052602060002090601f0160209004810192826135c15760008555613608565b82601f106135da57803560ff1916838001178555613608565b82800160010185558215613608579182015b828111156136075782358255916020019190600101906135ec565b5b5090506136159190613619565b5090565b5b8082111561363257600081600090555060010161361a565b5090565b60006136496136448461471a565b6146f5565b90508281526020810184848401111561366157600080fd5b61366c848285614943565b509392505050565b600081359050613683816152ce565b92915050565b60008083601f84011261369b57600080fd5b8235905067ffffffffffffffff8111156136b457600080fd5b6020830191508360208202830111156136cc57600080fd5b9250929050565b6000813590506136e2816152e5565b92915050565b6000813590506136f7816152fc565b92915050565b60008135905061370c81615313565b92915050565b60008151905061372181615313565b92915050565b600082601f83011261373857600080fd5b8135613748848260208601613636565b91505092915050565b60008083601f84011261376357600080fd5b8235905067ffffffffffffffff81111561377c57600080fd5b60208301915083600182028301111561379457600080fd5b9250929050565b6000813590506137aa8161532a565b92915050565b6000602082840312156137c257600080fd5b60006137d084828501613674565b91505092915050565b600080604083850312156137ec57600080fd5b60006137fa85828601613674565b925050602061380b85828601613674565b9150509250929050565b60008060006060848603121561382a57600080fd5b600061383886828701613674565b935050602061384986828701613674565b925050604061385a8682870161379b565b9150509250925092565b6000806000806080858703121561387a57600080fd5b600061388887828801613674565b945050602061389987828801613674565b93505060406138aa8782880161379b565b925050606085013567ffffffffffffffff8111156138c757600080fd5b6138d387828801613727565b91505092959194509250565b600080604083850312156138f257600080fd5b600061390085828601613674565b9250506020613911858286016136d3565b9150509250929050565b6000806040838503121561392e57600080fd5b600061393c85828601613674565b925050602061394d8582860161379b565b9150509250929050565b6000806020838503121561396a57600080fd5b600083013567ffffffffffffffff81111561398457600080fd5b61399085828601613689565b92509250509250929050565b600080604083850312156139af57600080fd5b60006139bd858286016136d3565b92505060206139ce858286016136d3565b9150509250929050565b600080600080608085870312156139ee57600080fd5b60006139fc878288016136e8565b945050602085013567ffffffffffffffff811115613a1957600080fd5b613a2587828801613727565b9350506040613a368782880161379b565b9250506060613a478782880161379b565b91505092959194509250565b600060208284031215613a6557600080fd5b6000613a73848285016136fd565b91505092915050565b600060208284031215613a8e57600080fd5b6000613a9c84828501613712565b91505092915050565b60008060208385031215613ab857600080fd5b600083013567ffffffffffffffff811115613ad257600080fd5b613ade85828601613751565b92509250509250929050565b600060208284031215613afc57600080fd5b6000613b0a8482850161379b565b91505092915050565b60008060408385031215613b2657600080fd5b6000613b348582860161379b565b9250506020613b458582860161379b565b9150509250929050565b613b58816148b8565b82525050565b613b6f613b6a826148b8565b614a31565b82525050565b613b7e816148ca565b82525050565b613b8d816148d6565b82525050565b613ba4613b9f826148d6565b614a43565b82525050565b6000613bb582614760565b613bbf8185614776565b9350613bcf818560208601614952565b613bd881614b56565b840191505092915050565b6000613bee8261476b565b613bf88185614787565b9350613c08818560208601614952565b613c1181614b56565b840191505092915050565b6000613c278261476b565b613c318185614798565b9350613c41818560208601614952565b80840191505092915050565b60008154613c5a81614985565b613c648186614798565b94506001821660008114613c7f5760018114613c9057613cc3565b60ff19831686528186019350613cc3565b613c998561474b565b60005b83811015613cbb57815481890152600182019150602081019050613c9c565b838801955050505b50505092915050565b6000613cd9601883614787565b9150613ce482614b74565b602082019050919050565b6000613cfc601083614787565b9150613d0782614b9d565b602082019050919050565b6000613d1f601f83614787565b9150613d2a82614bc6565b602082019050919050565b6000613d42601c83614798565b9150613d4d82614bef565b601c82019050919050565b6000613d65602b83614787565b9150613d7082614c18565b604082019050919050565b6000613d88603283614787565b9150613d9382614c67565b604082019050919050565b6000613dab602683614787565b9150613db682614cb6565b604082019050919050565b6000613dce601c83614787565b9150613dd982614d05565b602082019050919050565b6000613df1602483614787565b9150613dfc82614d2e565b604082019050919050565b6000613e14601983614787565b9150613e1f82614d7d565b602082019050919050565b6000613e37600e83614787565b9150613e4282614da6565b602082019050919050565b6000613e5a602283614787565b9150613e6582614dcf565b604082019050919050565b6000613e7d602c83614787565b9150613e8882614e1e565b604082019050919050565b6000613ea0603883614787565b9150613eab82614e6d565b604082019050919050565b6000613ec3602a83614787565b9150613ece82614ebc565b604082019050919050565b6000613ee6602983614787565b9150613ef182614f0b565b604082019050919050565b6000613f09600b83614787565b9150613f1482614f5a565b602082019050919050565b6000613f2c601283614787565b9150613f3782614f83565b602082019050919050565b6000613f4f602283614787565b9150613f5a82614fac565b604082019050919050565b6000613f72602083614787565b9150613f7d82614ffb565b602082019050919050565b6000613f95601083614787565b9150613fa082615024565b602082019050919050565b6000613fb8602c83614787565b9150613fc38261504d565b604082019050919050565b6000613fdb602083614787565b9150613fe68261509c565b602082019050919050565b6000613ffe602983614787565b9150614009826150c5565b604082019050919050565b6000614021602183614787565b915061402c82615114565b604082019050919050565b6000614044600983614787565b915061404f82615163565b602082019050919050565b6000614067603183614787565b91506140728261518c565b604082019050919050565b600061408a602c83614787565b9150614095826151db565b604082019050919050565b60006140ad600e83614787565b91506140b88261522a565b602082019050919050565b60006140d0601683614787565b91506140db82615253565b602082019050919050565b60006140f3601983614787565b91506140fe8261527c565b602082019050919050565b6000614116600983614787565b9150614121826152a5565b602082019050919050565b6141358161492c565b82525050565b61414c6141478261492c565b614a5f565b82525050565b61415b81614936565b82525050565b600061416d8286613b5e565b60148201915061417d828561413b565b60208201915061418d828461413b565b602082019150819050949350505050565b60006141aa8285613c4d565b91506141b68284613c1c565b91508190509392505050565b60006141cd82613d35565b91506141d98284613b93565b60208201915081905092915050565b60006020820190506141fd6000830184613b4f565b92915050565b60006080820190506142186000830187613b4f565b6142256020830186613b4f565b614232604083018561412c565b81810360608301526142448184613baa565b905095945050505050565b60006020820190506142646000830184613b75565b92915050565b600060408201905061427f6000830185613b75565b61428c6020830184613b75565b9392505050565b60006080820190506142a86000830187613b84565b6142b56020830186614152565b6142c26040830185613b84565b6142cf6060830184613b84565b95945050505050565b600060208201905081810360008301526142f28184613be3565b905092915050565b6000602082019050818103600083015261431381613ccc565b9050919050565b6000602082019050818103600083015261433381613cef565b9050919050565b6000602082019050818103600083015261435381613d12565b9050919050565b6000602082019050818103600083015261437381613d58565b9050919050565b6000602082019050818103600083015261439381613d7b565b9050919050565b600060208201905081810360008301526143b381613d9e565b9050919050565b600060208201905081810360008301526143d381613dc1565b9050919050565b600060208201905081810360008301526143f381613de4565b9050919050565b6000602082019050818103600083015261441381613e07565b9050919050565b6000602082019050818103600083015261443381613e2a565b9050919050565b6000602082019050818103600083015261445381613e4d565b9050919050565b6000602082019050818103600083015261447381613e70565b9050919050565b6000602082019050818103600083015261449381613e93565b9050919050565b600060208201905081810360008301526144b381613eb6565b9050919050565b600060208201905081810360008301526144d381613ed9565b9050919050565b600060208201905081810360008301526144f381613efc565b9050919050565b6000602082019050818103600083015261451381613f1f565b9050919050565b6000602082019050818103600083015261453381613f42565b9050919050565b6000602082019050818103600083015261455381613f65565b9050919050565b6000602082019050818103600083015261457381613f88565b9050919050565b6000602082019050818103600083015261459381613fab565b9050919050565b600060208201905081810360008301526145b381613fce565b9050919050565b600060208201905081810360008301526145d381613ff1565b9050919050565b600060208201905081810360008301526145f381614014565b9050919050565b6000602082019050818103600083015261461381614037565b9050919050565b600060208201905081810360008301526146338161405a565b9050919050565b600060208201905081810360008301526146538161407d565b9050919050565b60006020820190508181036000830152614673816140a0565b9050919050565b60006020820190508181036000830152614693816140c3565b9050919050565b600060208201905081810360008301526146b3816140e6565b9050919050565b600060208201905081810360008301526146d381614109565b9050919050565b60006020820190506146ef600083018461412c565b92915050565b60006146ff614710565b905061470b82826149b7565b919050565b6000604051905090565b600067ffffffffffffffff82111561473557614734614b27565b5b61473e82614b56565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b60006147ae8261492c565b91506147b98361492c565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156147ee576147ed614a9a565b5b828201905092915050565b60006148048261492c565b915061480f8361492c565b92508261481f5761481e614ac9565b5b828204905092915050565b60006148358261492c565b91506148408361492c565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561487957614878614a9a565b5b828202905092915050565b600061488f8261492c565b915061489a8361492c565b9250828210156148ad576148ac614a9a565b5b828203905092915050565b60006148c38261490c565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b83811015614970578082015181840152602081019050614955565b8381111561497f576000848401525b50505050565b6000600282049050600182168061499d57607f821691505b602082108114156149b1576149b0614af8565b5b50919050565b6149c082614b56565b810181811067ffffffffffffffff821117156149df576149de614b27565b5b80604052505050565b60006149f38261492c565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614a2657614a25614a9a565b5b600182019050919050565b6000614a3c82614a4d565b9050919050565b6000819050919050565b6000614a5882614b67565b9050919050565b6000819050919050565b6000614a748261492c565b9150614a7f8361492c565b925082614a8f57614a8e614ac9565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b7f496e73756666696369656e742045544800000000000000000000000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4e6f20646972656374206d696e74000000000000000000000000000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f53616c6520636c6f736564000000000000000000000000000000000000000000600082015250565b7f45786365656473206d617820737570706c790000000000000000000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4e6f20746f6b656e732069737375656400000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4861736820757365640000000000000000000000000000000000000000000000600082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f50726573616c6520636c6f736564000000000000000000000000000000000000600082015250565b7f457863656564732070726573616c6520737570706c7900000000000000000000600082015250565b7f45786365656473207472616e73616374696f6e206c696d697400000000000000600082015250565b7f48617368206661696c0000000000000000000000000000000000000000000000600082015250565b6152d7816148b8565b81146152e257600080fd5b50565b6152ee816148ca565b81146152f957600080fd5b50565b615305816148d6565b811461531057600080fd5b50565b61531c816148e0565b811461532757600080fd5b50565b6153338161492c565b811461533e57600080fd5b5056fea2646970667358221220972290eecd204bd52adddb7e72ae166fdac7d8af7d7e8482f612965b3513a69064736f6c63430008040033
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.