ERC-721
Overview
Max Total Supply
5,022 PNP
Holders
2,163
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 PNPLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
PeopleNeedPrivacy
Compiler Version
v0.8.7+commit.e28d00a7
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.7; import "erc721a/contracts/ERC721A.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/utils/Counters.sol"; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; contract PeopleNeedPrivacy is ERC721A, Ownable, ReentrancyGuard { using Strings for uint256; string private _baseTokenURI; string private _defaultTokenURI; uint256 public constant MAX_SUPPLY = 5022; uint256 public constant WHITELIST_DELEY = 1 hours; uint256 public constant PUBLIC_DELAY = 2 hours; uint256 public constant OG_MINT_MAX_QUANTITY = 25; uint256 public constant CONTRIBUTE_MINT_MAX_QUANTITY = 2; uint256 public constant MINT_MAX_QUANTITY = 1; address public constant TS_ADDRESS = 0x458D4e2C959A7A5dF88304Df396078E3BE038748; address public constant TEAM_ADDRESS = 0x5793083B30Ca639b924126CdF0EC96219d8a056E; bytes32 public ogRoot; bytes32 public contributeRoot; bytes32 public whiteListRoot; uint256 public OG_STARTING_AT; uint256 public WHITELIST_STARTING_AT; uint256 public PUBLIC_STARTING_AT; mapping(address => uint256) public minted; constructor(string memory URI) ERC721A("People Need Privacy", "PNP") { _safeMint(TS_ADDRESS, 500); _safeMint(TEAM_ADDRESS, 300); _baseTokenURI = URI; OG_STARTING_AT = 1660858200; WHITELIST_STARTING_AT = OG_STARTING_AT + WHITELIST_DELEY; PUBLIC_STARTING_AT = OG_STARTING_AT + PUBLIC_DELAY; } function setOgRoot(bytes32 merkleroot) external onlyOwner { ogRoot = merkleroot; } function setContributeRoot(bytes32 merkleroot) external onlyOwner { contributeRoot = merkleroot; } function setWhiteListRoot(bytes32 merkleroot) external onlyOwner { whiteListRoot = merkleroot; } function ogMint(address to, bytes32[] calldata proof) external nonReentrant{ require(OG_STARTING_AT <= block.timestamp, "Ogmint not ready"); require(minted[to] < OG_MINT_MAX_QUANTITY, "Already minted"); require(totalSupply() + OG_MINT_MAX_QUANTITY <= MAX_SUPPLY, "Exceed alloc"); bytes32 leaf = keccak256(abi.encodePacked(to)); bool isValidLeaf = MerkleProof.verify(proof, ogRoot, leaf); require(isValidLeaf == true, "Not in merkle"); minted[to] = OG_MINT_MAX_QUANTITY; _safeMint(to, OG_MINT_MAX_QUANTITY); } function contributeMint( address to, bytes32[] calldata proof) external nonReentrant{ require(OG_STARTING_AT <= block.timestamp, "Contribute not ready"); require(minted[to] < CONTRIBUTE_MINT_MAX_QUANTITY, "Already minted"); require(totalSupply() + CONTRIBUTE_MINT_MAX_QUANTITY <= MAX_SUPPLY, "Exceed alloc"); bytes32 leaf = keccak256(abi.encodePacked(to)); bool isValidLeaf = MerkleProof.verify(proof, contributeRoot, leaf); require(isValidLeaf == true, "Not in merkle"); minted[to] = CONTRIBUTE_MINT_MAX_QUANTITY; _safeMint(to, CONTRIBUTE_MINT_MAX_QUANTITY); } function whitelistMint( address to, bytes32[] calldata proof) external nonReentrant{ require(WHITELIST_STARTING_AT <= block.timestamp, "Whitelist not ready"); require(minted[to] < MINT_MAX_QUANTITY, "Already minted"); require(totalSupply() + MINT_MAX_QUANTITY <= MAX_SUPPLY, "Exceed alloc"); bytes32 leaf = keccak256(abi.encodePacked(to)); bool isValidLeaf = MerkleProof.verify(proof, whiteListRoot, leaf); require(isValidLeaf == true, "Not in merkle"); minted[to] = MINT_MAX_QUANTITY; _safeMint(to, MINT_MAX_QUANTITY); } function publicMint( address to) external nonReentrant{ require(PUBLIC_STARTING_AT <= block.timestamp, "Public sale haven't start"); require(totalSupply() + MINT_MAX_QUANTITY <= MAX_SUPPLY, "Exceed alloc"); require(minted[to] < MINT_MAX_QUANTITY, "Already minted"); minted[to] = MINT_MAX_QUANTITY; _safeMint(to, MINT_MAX_QUANTITY); } function setPresaleMint(uint256 presaleTime) external onlyOwner{ OG_STARTING_AT = presaleTime; WHITELIST_STARTING_AT = OG_STARTING_AT + WHITELIST_DELEY; PUBLIC_STARTING_AT = OG_STARTING_AT + PUBLIC_DELAY; } function setBaseURI(string calldata URI) external onlyOwner { _baseTokenURI = URI; } function setDefaultTokenURI(string calldata URI) external onlyOwner { _defaultTokenURI = URI; } function baseURI() public view returns (string memory) { return _baseTokenURI; } function tokenURI(uint256 tokenId) public override view 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())) : _defaultTokenURI; } function withdraw() external onlyOwner nonReentrant { (bool success, ) = msg.sender.call{value: address(this).balance}(""); require(success, "Transfer failed."); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Trees proofs. * * The proofs can be generated using the JavaScript library * https://github.com/miguelmota/merkletreejs[merkletreejs]. * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled. * * See `test/utils/cryptography/MerkleProof.test.js` for some examples. */ library MerkleProof { /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify( bytes32[] memory proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProof(proof, leaf) == root; } /** * @dev Returns the rebuilt hash obtained by traversing a Merklee tree up * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt * hash matches the root of the tree. When processing the proof, the pairs * of leafs & pre-images are assumed to be sorted. * * _Available since v4.4._ */ function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { bytes32 proofElement = proof[i]; if (computedHash <= proofElement) { // Hash(current computed hash + current element of the proof) computedHash = _efficientHash(computedHash, proofElement); } else { // Hash(current element of the proof + current computed hash) computedHash = _efficientHash(proofElement, computedHash); } } return computedHash; } function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) { assembly { mstore(0x00, a) mstore(0x20, b) value := keccak256(0x00, 0x40) } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Counters.sol) pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` */ library Counters { struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { unchecked { counter._value += 1; } } function decrement(Counter storage counter) internal { uint256 value = counter._value; require(value > 0, "Counter: decrement overflow"); unchecked { counter._value = value - 1; } } function reset(Counter storage counter) internal { counter._value = 0; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721URIStorage.sol) pragma solidity ^0.8.0; import "../ERC721.sol"; /** * @dev ERC721 token with storage based token URI management. */ abstract contract ERC721URIStorage is ERC721 { using Strings for uint256; // Optional mapping for token URIs mapping(uint256 => string) private _tokenURIs; /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721URIStorage: URI query for nonexistent token"); string memory _tokenURI = _tokenURIs[tokenId]; string memory base = _baseURI(); // If there is no base URI, return the token URI. if (bytes(base).length == 0) { return _tokenURI; } // If both are set, concatenate the baseURI and tokenURI (via abi.encodePacked). if (bytes(_tokenURI).length > 0) { return string(abi.encodePacked(base, _tokenURI)); } return super.tokenURI(tokenId); } /** * @dev Sets `_tokenURI` as the tokenURI of `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal virtual { require(_exists(tokenId), "ERC721URIStorage: URI set of nonexistent token"); _tokenURIs[tokenId] = _tokenURI; } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual override { super._burn(tokenId); if (bytes(_tokenURIs[tokenId]).length != 0) { delete _tokenURIs[tokenId]; } } }
// SPDX-License-Identifier: MIT // Creator: Chiru Labs pragma solidity ^0.8.4; import '@openzeppelin/contracts/token/ERC721/IERC721.sol'; import '@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol'; import '@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol'; import '@openzeppelin/contracts/utils/Address.sol'; import '@openzeppelin/contracts/utils/Context.sol'; import '@openzeppelin/contracts/utils/Strings.sol'; import '@openzeppelin/contracts/utils/introspection/ERC165.sol'; error ApprovalCallerNotOwnerNorApproved(); error ApprovalQueryForNonexistentToken(); error ApproveToCaller(); error ApprovalToCurrentOwner(); error BalanceQueryForZeroAddress(); error MintToZeroAddress(); error MintZeroQuantity(); error OwnerQueryForNonexistentToken(); error TransferCallerNotOwnerNorApproved(); error TransferFromIncorrectOwner(); error TransferToNonERC721ReceiverImplementer(); error TransferToZeroAddress(); error URIQueryForNonexistentToken(); /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension. Built to optimize for lower gas during batch mints. * * Assumes serials are sequentially minted starting at _startTokenId() (defaults to 0, e.g. 0, 1, 2, 3..). * * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Compiler will pack this into a single 256bit word. struct TokenOwnership { // The address of the owner. address addr; // Keeps track of the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; } // Compiler will pack this into a single 256bit word. struct AddressData { // Realistically, 2**64-1 is more than enough. uint64 balance; // Keeps track of mint count with minimal overhead for tokenomics. uint64 numberMinted; // Keeps track of burn count with minimal overhead for tokenomics. uint64 numberBurned; // For miscellaneous variable(s) pertaining to the address // (e.g. number of whitelist mint slots used). // If there are multiple variables, please pack them into a uint64. uint64 aux; } // The tokenId of the next token to be minted. uint256 internal _currentIndex; // The number of tokens burned. uint256 internal _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. See _ownershipOf implementation for details. mapping(uint256 => TokenOwnership) internal _ownerships; // Mapping owner address to address data mapping(address => AddressData) private _addressData; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } /** * To change the starting tokenId, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Burned tokens are calculated here, use _totalMinted() if you want to count just minted tokens. */ function totalSupply() public view returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than _currentIndex - _startTokenId() times unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view returns (uint256) { // Counter underflow is impossible as _currentIndex does not decrement, // and it is initialized to _startTokenId() unchecked { return _currentIndex - _startTokenId(); } } /** * @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 override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return uint256(_addressData[owner].balance); } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return uint256(_addressData[owner].numberMinted); } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return uint256(_addressData[owner].numberBurned); } /** * Returns the auxillary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return _addressData[owner].aux; } /** * Sets the auxillary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal { _addressData[owner].aux = aux; } /** * Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around in the collection over time. */ function _ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr && curr < _currentIndex) { TokenOwnership memory ownership = _ownerships[curr]; if (!ownership.burned) { if (ownership.addr != address(0)) { return ownership; } // Invariant: // There will always be an ownership that has an address and is not burned // before an ownership that does not have an address and is not burned. // Hence, curr will not underflow. while (true) { curr--; ownership = _ownerships[curr]; if (ownership.addr != address(0)) { return ownership; } } } } } revert OwnerQueryForNonexistentToken(); } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view override returns (address) { return _ownershipOf(tokenId).addr; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ''; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public override { address owner = ERC721A.ownerOf(tokenId); if (to == owner) revert ApprovalToCurrentOwner(); if (_msgSender() != owner && !isApprovedForAll(owner, _msgSender())) { revert ApprovalCallerNotOwnerNorApproved(); } _approve(to, tokenId, owner); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { if (operator == _msgSender()) revert ApproveToCaller(); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { _transfer(from, to, tokenId); if (to.isContract() && !_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), */ function _exists(uint256 tokenId) internal view returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && !_ownerships[tokenId].burned; } function _safeMint(address to, uint256 quantity) internal { _safeMint(to, quantity, ''); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * Emits a {Transfer} event. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal { _mint(to, quantity, _data, true); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event. */ function _mint( address to, uint256 quantity, bytes memory _data, bool safe ) internal { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1 // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1 unchecked { _addressData[to].balance += uint64(quantity); _addressData[to].numberMinted += uint64(quantity); _ownerships[startTokenId].addr = to; _ownerships[startTokenId].startTimestamp = uint64(block.timestamp); uint256 updatedIndex = startTokenId; uint256 end = updatedIndex + quantity; if (safe && to.isContract()) { do { emit Transfer(address(0), to, updatedIndex); if (!_checkContractOnERC721Received(address(0), to, updatedIndex++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (updatedIndex != end); // Reentrancy protection if (_currentIndex != startTokenId) revert(); } else { do { emit Transfer(address(0), to, updatedIndex++); } while (updatedIndex != end); } _currentIndex = updatedIndex; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) private { TokenOwnership memory prevOwnership = _ownershipOf(tokenId); if (prevOwnership.addr != from) revert TransferFromIncorrectOwner(); bool isApprovedOrOwner = (_msgSender() == from || isApprovedForAll(from, _msgSender()) || getApproved(tokenId) == _msgSender()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, from); // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256. unchecked { _addressData[from].balance -= 1; _addressData[to].balance += 1; TokenOwnership storage currSlot = _ownerships[tokenId]; currSlot.addr = to; currSlot.startTimestamp = uint64(block.timestamp); // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it. // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls. uint256 nextTokenId = tokenId + 1; TokenOwnership storage nextSlot = _ownerships[nextTokenId]; if (nextSlot.addr == address(0)) { // This will suffice for checking _exists(nextTokenId), // as a burned slot cannot contain the zero address. if (nextTokenId != _currentIndex) { nextSlot.addr = from; nextSlot.startTimestamp = prevOwnership.startTimestamp; } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev This is equivalent to _burn(tokenId, false) */ function _burn(uint256 tokenId) internal virtual { _burn(tokenId, false); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId, bool approvalCheck) internal virtual { TokenOwnership memory prevOwnership = _ownershipOf(tokenId); address from = prevOwnership.addr; if (approvalCheck) { bool isApprovedOrOwner = (_msgSender() == from || isApprovedForAll(from, _msgSender()) || getApproved(tokenId) == _msgSender()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, from); // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256. unchecked { AddressData storage addressData = _addressData[from]; addressData.balance -= 1; addressData.numberBurned += 1; // Keep track of who burned the token, and the timestamp of burning. TokenOwnership storage currSlot = _ownerships[tokenId]; currSlot.addr = from; currSlot.startTimestamp = uint64(block.timestamp); currSlot.burned = true; // If the ownership slot of tokenId+1 is not explicitly set, that means the burn initiator owns it. // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls. uint256 nextTokenId = tokenId + 1; TokenOwnership storage nextSlot = _ownerships[nextTokenId]; if (nextSlot.addr == address(0)) { // This will suffice for checking _exists(nextTokenId), // as a burned slot cannot contain the zero address. if (nextTokenId != _currentIndex) { nextSlot.addr = from; nextSlot.startTimestamp = prevOwnership.startTimestamp; } } } emit Transfer(from, address(0), tokenId); _afterTokenTransfers(from, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve( address to, uint256 tokenId, address owner ) private { _tokenApprovals[tokenId] = to; emit Approval(owner, to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target 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 _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } /** * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting. * And also called before burning one token. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token ids have been transferred. This includes * minting. * And also called after one token has been burned. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Address.sol) pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits a {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"URI","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"CONTRIBUTE_MINT_MAX_QUANTITY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINT_MAX_QUANTITY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OG_MINT_MAX_QUANTITY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OG_STARTING_AT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PUBLIC_DELAY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PUBLIC_STARTING_AT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TEAM_ADDRESS","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TS_ADDRESS","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WHITELIST_DELEY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WHITELIST_STARTING_AT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"contributeMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"contributeRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"minted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"ogMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"ogRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"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":[{"internalType":"address","name":"to","type":"address"}],"name":"publicMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"URI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"merkleroot","type":"bytes32"}],"name":"setContributeRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"URI","type":"string"}],"name":"setDefaultTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"merkleroot","type":"bytes32"}],"name":"setOgRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"presaleTime","type":"uint256"}],"name":"setPresaleMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"merkleroot","type":"bytes32"}],"name":"setWhiteListRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"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":"whiteListRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"whitelistMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b5060405162005241380380620052418339818101604052810190620000379190620009d7565b6040518060400160405280601381526020017f50656f706c65204e6565642050726976616379000000000000000000000000008152506040518060400160405280600381526020017f504e5000000000000000000000000000000000000000000000000000000000008152508160029080519060200190620000bb92919062000860565b508060039080519060200190620000d492919062000860565b50620000e5620001c060201b60201c565b60008190555050506200010d62000101620001c560201b60201c565b620001cd60201b60201c565b60016009819055506200013d73458d4e2c959a7a5df88304df396078e3be0387486101f46200029360201b60201c565b62000165735793083b30ca639b924126cdf0ec96219d8a056e61012c6200029360201b60201c565b80600a90805190602001906200017d92919062000860565b506362feaf58600f81905550610e10600f546200019b919062000b5a565b601081905550611c20600f54620001b3919062000b5a565b6011819055505062000d8f565b600090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b620002b5828260405180602001604052806000815250620002b960201b60201c565b5050565b620002ce8383836001620002d360201b60201c565b505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16141562000341576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008414156200037d576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b620003926000868387620006cf60201b60201c565b83600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000819050600085820190508380156200056a5750620005698773ffffffffffffffffffffffffffffffffffffffff16620006d560201b620021651760201c565b5b156200063d575b818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4620005e86000888480600101955088620006e860201b60201c565b6200061f576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80821415620005715782600054146200063757600080fd5b620006aa565b5b818060010192508773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4808214156200063e575b816000819055505050620006c860008683876200085a60201b60201c565b5050505050565b50505050565b600080823b905060008111915050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a0262000716620001c560201b60201c565b8786866040518563ffffffff1660e01b81526004016200073a949392919062000a8b565b602060405180830381600087803b1580156200075557600080fd5b505af19250505080156200078957506040513d601f19601f82011682018060405250810190620007869190620009a5565b60015b62000807573d8060008114620007bc576040519150601f19603f3d011682016040523d82523d6000602084013e620007c1565b606091505b50600081511415620007ff576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b50505050565b8280546200086e9062000c57565b90600052602060002090601f016020900481019282620008925760008555620008de565b82601f10620008ad57805160ff1916838001178555620008de565b82800160010185558215620008de579182015b82811115620008dd578251825591602001919060010190620008c0565b5b509050620008ed9190620008f1565b5090565b5b808211156200090c576000816000905550600101620008f2565b5090565b600062000927620009218462000b08565b62000adf565b90508281526020810184848401111562000946576200094562000d55565b5b6200095384828562000c21565b509392505050565b6000815190506200096c8162000d75565b92915050565b600082601f8301126200098a576200098962000d50565b5b81516200099c84826020860162000910565b91505092915050565b600060208284031215620009be57620009bd62000d5f565b5b6000620009ce848285016200095b565b91505092915050565b600060208284031215620009f057620009ef62000d5f565b5b600082015167ffffffffffffffff81111562000a115762000a1062000d5a565b5b62000a1f8482850162000972565b91505092915050565b62000a338162000bb7565b82525050565b600062000a468262000b3e565b62000a52818562000b49565b935062000a6481856020860162000c21565b62000a6f8162000d64565b840191505092915050565b62000a858162000c17565b82525050565b600060808201905062000aa2600083018762000a28565b62000ab1602083018662000a28565b62000ac0604083018562000a7a565b818103606083015262000ad4818462000a39565b905095945050505050565b600062000aeb62000afe565b905062000af9828262000c8d565b919050565b6000604051905090565b600067ffffffffffffffff82111562000b265762000b2562000d21565b5b62000b318262000d64565b9050602081019050919050565b600081519050919050565b600082825260208201905092915050565b600062000b678262000c17565b915062000b748362000c17565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111562000bac5762000bab62000cc3565b5b828201905092915050565b600062000bc48262000bf7565b9050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60005b8381101562000c4157808201518184015260208101905062000c24565b8381111562000c51576000848401525b50505050565b6000600282049050600182168062000c7057607f821691505b6020821081141562000c875762000c8662000cf2565b5b50919050565b62000c988262000d64565b810181811067ffffffffffffffff8211171562000cba5762000cb962000d21565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b62000d808162000bcb565b811462000d8c57600080fd5b50565b6144a28062000d9f6000396000f3fe608060405234801561001057600080fd5b50600436106102745760003560e01c806356f1e4e811610151578063a125c824116100c3578063c8792ba111610087578063c8792ba114610703578063c87b56dd1461071f578063d24330e31461074f578063d9eab7c61461076d578063e985e9c51461078b578063f2fde38b146107bb57610274565b8063a125c82414610675578063a22cb46514610691578063a6b6e433146106ad578063a9d38431146106c9578063b88d4fde146106e757610274565b806370a082311161011557806370a08231146105c5578063715018a6146105f55780638312f344146105ff5780638da5cb5b1461061b578063903afdc01461063957806395d89b411461065757610274565b806356f1e4e81461051d5780636352211e1461053b578063638a8cf71461056b57806365f4fd12146105895780636c0360eb146105a757610274565b806332a93a3a116101ea5780633ccfd60b116101ae5780633ccfd60b1461048757806342842e0e1461049157806344372ada146104ad57806345149bb3146104c95780634eb026df146104e557806355f804b31461050157610274565b806332a93a3a146103f357806332cb6b0c1461040f578063351509a81461042d578063385571ad1461044b5780633acb21571461046957610274565b806318160ddd1161023c57806318160ddd14610331578063188ae91f1461034f5780631e7269c51461036d57806323b872dd1461039d57806324437ce1146103b95780632d4effba146103d557610274565b806301ffc9a71461027957806306fdde03146102a9578063081812fc146102c7578063095ea7b3146102f7578063178e988114610313575b600080fd5b610293600480360381019061028e9190613738565b6107d7565b6040516102a09190613b84565b60405180910390f35b6102b16108b9565b6040516102be9190613bba565b60405180910390f35b6102e160048036038101906102dc91906137df565b61094b565b6040516102ee9190613b1d565b60405180910390f35b610311600480360381019061030c91906136cb565b6109c7565b005b61031b610ad2565b6040516103289190613d5c565b60405180910390f35b610339610ad7565b6040516103469190613d5c565b60405180910390f35b610357610aee565b6040516103649190613d5c565b60405180910390f35b610387600480360381019061038291906134e8565b610af3565b6040516103949190613d5c565b60405180910390f35b6103b760048036038101906103b29190613555565b610b0b565b005b6103d360048036038101906103ce91906137df565b610b1b565b005b6103dd610bcd565b6040516103ea9190613d5c565b60405180910390f35b61040d600480360381019061040891906134e8565b610bd3565b005b610417610d9b565b6040516104249190613d5c565b60405180910390f35b610435610da1565b6040516104429190613b1d565b60405180910390f35b610453610db9565b6040516104609190613d5c565b60405180910390f35b610471610dbf565b60405161047e9190613d5c565b60405180910390f35b61048f610dc4565b005b6104ab60048036038101906104a69190613555565b610f45565b005b6104c760048036038101906104c2919061362b565b610f65565b005b6104e360048036038101906104de919061370b565b6111f5565b005b6104ff60048036038101906104fa919061370b565b61127b565b005b61051b60048036038101906105169190613792565b611301565b005b610525611393565b6040516105329190613b9f565b60405180910390f35b610555600480360381019061055091906137df565b611399565b6040516105629190613b1d565b60405180910390f35b6105736113af565b6040516105809190613d5c565b60405180910390f35b6105916113b5565b60405161059e9190613b9f565b60405180910390f35b6105af6113bb565b6040516105bc9190613bba565b60405180910390f35b6105df60048036038101906105da91906134e8565b61144d565b6040516105ec9190613d5c565b60405180910390f35b6105fd61151d565b005b6106196004803603810190610614919061362b565b6115a5565b005b610623611835565b6040516106309190613b1d565b60405180910390f35b61064161185f565b60405161064e9190613b9f565b60405180910390f35b61065f611865565b60405161066c9190613bba565b60405180910390f35b61068f600480360381019061068a9190613792565b6118f7565b005b6106ab60048036038101906106a6919061368b565b611989565b005b6106c760048036038101906106c2919061362b565b611b01565b005b6106d1611d91565b6040516106de9190613d5c565b60405180910390f35b61070160048036038101906106fc91906135a8565b611d97565b005b61071d6004803603810190610718919061370b565b611e13565b005b610739600480360381019061073491906137df565b611e99565b6040516107469190613bba565b60405180910390f35b610757611fbb565b6040516107649190613b1d565b60405180910390f35b610775611fd3565b6040516107829190613d5c565b60405180910390f35b6107a560048036038101906107a09190613515565b611fd9565b6040516107b29190613b84565b60405180910390f35b6107d560048036038101906107d091906134e8565b61206d565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806108a257507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806108b257506108b182612178565b5b9050919050565b6060600280546108c890613f96565b80601f01602080910402602001604051908101604052809291908181526020018280546108f490613f96565b80156109415780601f1061091657610100808354040283529160200191610941565b820191906000526020600020905b81548152906001019060200180831161092457829003601f168201915b5050505050905090565b6000610956826121e2565b61098c576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006109d282611399565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610a3a576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610a59612230565b73ffffffffffffffffffffffffffffffffffffffff1614158015610a8b5750610a8981610a84612230565b611fd9565b155b15610ac2576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610acd838383612238565b505050565b600281565b6000610ae16122ea565b6001546000540303905090565b600181565b60126020528060005260406000206000915090505481565b610b168383836122ef565b505050565b610b23612230565b73ffffffffffffffffffffffffffffffffffffffff16610b41611835565b73ffffffffffffffffffffffffffffffffffffffff1614610b97576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b8e90613c9c565b60405180910390fd5b80600f81905550610e10600f54610bae9190613e1b565b601081905550611c20600f54610bc49190613e1b565b60118190555050565b611c2081565b60026009541415610c19576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c1090613d3c565b60405180910390fd5b6002600981905550426011541115610c66576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c5d90613bfc565b60405180910390fd5b61139e6001610c73610ad7565b610c7d9190613e1b565b1115610cbe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cb590613d1c565b60405180910390fd5b6001601260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205410610d40576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d3790613bdc565b60405180910390fd5b6001601260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550610d908160016127a5565b600160098190555050565b61139e81565b735793083b30ca639b924126cdf0ec96219d8a056e81565b610e1081565b601981565b610dcc612230565b73ffffffffffffffffffffffffffffffffffffffff16610dea611835565b73ffffffffffffffffffffffffffffffffffffffff1614610e40576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e3790613c9c565b60405180910390fd5b60026009541415610e86576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e7d90613d3c565b60405180910390fd5b600260098190555060003373ffffffffffffffffffffffffffffffffffffffff1647604051610eb490613b08565b60006040518083038185875af1925050503d8060008114610ef1576040519150601f19603f3d011682016040523d82523d6000602084013e610ef6565b606091505b5050905080610f3a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f3190613cfc565b60405180910390fd5b506001600981905550565b610f6083838360405180602001604052806000815250611d97565b505050565b60026009541415610fab576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fa290613d3c565b60405180910390fd5b600260098190555042600f541115610ff8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fef90613cdc565b60405180910390fd5b6019601260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541061107a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161107190613bdc565b60405180910390fd5b61139e6019611087610ad7565b6110919190613e1b565b11156110d2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110c990613d1c565b60405180910390fd5b6000836040516020016110e59190613ac9565b604051602081830303815290604052805190602001209050600061114d848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600c54846127c3565b90506001151581151514611196576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161118d90613c3c565b60405180910390fd5b6019601260008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506111e68560196127a5565b50506001600981905550505050565b6111fd612230565b73ffffffffffffffffffffffffffffffffffffffff1661121b611835565b73ffffffffffffffffffffffffffffffffffffffff1614611271576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161126890613c9c565b60405180910390fd5b80600e8190555050565b611283612230565b73ffffffffffffffffffffffffffffffffffffffff166112a1611835565b73ffffffffffffffffffffffffffffffffffffffff16146112f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112ee90613c9c565b60405180910390fd5b80600d8190555050565b611309612230565b73ffffffffffffffffffffffffffffffffffffffff16611327611835565b73ffffffffffffffffffffffffffffffffffffffff161461137d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161137490613c9c565b60405180910390fd5b8181600a919061138e929190613268565b505050565b600d5481565b60006113a4826127da565b600001519050919050565b60105481565b600e5481565b6060600a80546113ca90613f96565b80601f01602080910402602001604051908101604052809291908181526020018280546113f690613f96565b80156114435780601f1061141857610100808354040283529160200191611443565b820191906000526020600020905b81548152906001019060200180831161142657829003601f168201915b5050505050905090565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156114b5576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b611525612230565b73ffffffffffffffffffffffffffffffffffffffff16611543611835565b73ffffffffffffffffffffffffffffffffffffffff1614611599576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161159090613c9c565b60405180910390fd5b6115a36000612a69565b565b600260095414156115eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115e290613d3c565b60405180910390fd5b600260098190555042600f541115611638576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161162f90613c5c565b60405180910390fd5b6002601260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054106116ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116b190613bdc565b60405180910390fd5b61139e60026116c7610ad7565b6116d19190613e1b565b1115611712576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161170990613d1c565b60405180910390fd5b6000836040516020016117259190613ac9565b604051602081830303815290604052805190602001209050600061178d848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600d54846127c3565b905060011515811515146117d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117cd90613c3c565b60405180910390fd5b6002601260008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506118268560026127a5565b50506001600981905550505050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600c5481565b60606003805461187490613f96565b80601f01602080910402602001604051908101604052809291908181526020018280546118a090613f96565b80156118ed5780601f106118c2576101008083540402835291602001916118ed565b820191906000526020600020905b8154815290600101906020018083116118d057829003601f168201915b5050505050905090565b6118ff612230565b73ffffffffffffffffffffffffffffffffffffffff1661191d611835565b73ffffffffffffffffffffffffffffffffffffffff1614611973576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161196a90613c9c565b60405180910390fd5b8181600b9190611984929190613268565b505050565b611991612230565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156119f6576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000611a03612230565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611ab0612230565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611af59190613b84565b60405180910390a35050565b60026009541415611b47576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b3e90613d3c565b60405180910390fd5b6002600981905550426010541115611b94576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b8b90613c7c565b60405180910390fd5b6001601260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205410611c16576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c0d90613bdc565b60405180910390fd5b61139e6001611c23610ad7565b611c2d9190613e1b565b1115611c6e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c6590613d1c565b60405180910390fd5b600083604051602001611c819190613ac9565b6040516020818303038152906040528051906020012090506000611ce9848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600e54846127c3565b90506001151581151514611d32576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d2990613c3c565b60405180910390fd5b6001601260008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611d828560016127a5565b50506001600981905550505050565b600f5481565b611da28484846122ef565b611dc18373ffffffffffffffffffffffffffffffffffffffff16612165565b8015611dd65750611dd484848484612b2f565b155b15611e0d576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b611e1b612230565b73ffffffffffffffffffffffffffffffffffffffff16611e39611835565b73ffffffffffffffffffffffffffffffffffffffff1614611e8f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e8690613c9c565b60405180910390fd5b80600c8190555050565b6060611ea4826121e2565b611ee3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eda90613cbc565b60405180910390fd5b6000611eed6113bb565b90506000815111611f8857600b8054611f0590613f96565b80601f0160208091040260200160405190810160405280929190818152602001828054611f3190613f96565b8015611f7e5780601f10611f5357610100808354040283529160200191611f7e565b820191906000526020600020905b815481529060010190602001808311611f6157829003601f168201915b5050505050611fb3565b80611f9284612c8f565b604051602001611fa3929190613ae4565b6040516020818303038152906040525b915050919050565b73458d4e2c959a7a5df88304df396078e3be03874881565b60115481565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b612075612230565b73ffffffffffffffffffffffffffffffffffffffff16612093611835565b73ffffffffffffffffffffffffffffffffffffffff16146120e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120e090613c9c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612159576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161215090613c1c565b60405180910390fd5b61216281612a69565b50565b600080823b905060008111915050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000816121ed6122ea565b111580156121fc575060005482105b8015612229575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600090565b60006122fa826127da565b90508373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612365576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff16612386612230565b73ffffffffffffffffffffffffffffffffffffffff1614806123b557506123b4856123af612230565b611fd9565b5b806123fa57506123c3612230565b73ffffffffffffffffffffffffffffffffffffffff166123e28461094b565b73ffffffffffffffffffffffffffffffffffffffff16145b905080612433576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16141561249a576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6124a78585856001612df0565b6124b360008487612238565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600460008581526020019081526020016000209050848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550428160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060006001850190506000600460008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141561273357600054821461273257878160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084602001518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b505050828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461279e8585856001612df6565b5050505050565b6127bf828260405180602001604052806000815250612dfc565b5050565b6000826127d08584612e0e565b1490509392505050565b6127e26132ee565b6000829050806127f06122ea565b111580156127ff575060005481105b15612a32576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff16151515158152505090508060400151612a3057600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612914578092505050612a64565b5b600115612a2f57818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612a2a578092505050612a64565b612915565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612b55612230565b8786866040518563ffffffff1660e01b8152600401612b779493929190613b38565b602060405180830381600087803b158015612b9157600080fd5b505af1925050508015612bc257506040513d601f19601f82011682018060405250810190612bbf9190613765565b60015b612c3c573d8060008114612bf2576040519150601f19603f3d011682016040523d82523d6000602084013e612bf7565b606091505b50600081511415612c34576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60606000821415612cd7576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612deb565b600082905060005b60008214612d09578080612cf290613ff9565b915050600a82612d029190613e71565b9150612cdf565b60008167ffffffffffffffff811115612d2557612d24614153565b5b6040519080825280601f01601f191660200182016040528015612d575781602001600182028036833780820191505090505b5090505b60008514612de457600182612d709190613ea2565b9150600a85612d7f9190614066565b6030612d8b9190613e1b565b60f81b818381518110612da157612da0614124565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612ddd9190613e71565b9450612d5b565b8093505050505b919050565b50505050565b50505050565b612e098383836001612e83565b505050565b60008082905060005b8451811015612e78576000858281518110612e3557612e34614124565b5b60200260200101519050808311612e5757612e508382613251565b9250612e64565b612e618184613251565b92505b508080612e7090613ff9565b915050612e17565b508091505092915050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415612ef0576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000841415612f2b576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612f386000868387612df0565b83600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060008190506000858201905083801561310257506131018773ffffffffffffffffffffffffffffffffffffffff16612165565b5b156131c8575b818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46131776000888480600101955088612b2f565b6131ad576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b808214156131085782600054146131c357600080fd5b613234565b5b818060010192508773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4808214156131c9575b81600081905550505061324a6000868387612df6565b5050505050565b600082600052816020526040600020905092915050565b82805461327490613f96565b90600052602060002090601f01602090048101928261329657600085556132dd565b82601f106132af57803560ff19168380011785556132dd565b828001600101855582156132dd579182015b828111156132dc5782358255916020019190600101906132c1565b5b5090506132ea9190613331565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b8082111561334a576000816000905550600101613332565b5090565b600061336161335c84613d9c565b613d77565b90508281526020810184848401111561337d5761337c614191565b5b613388848285613f54565b509392505050565b60008135905061339f816143f9565b92915050565b60008083601f8401126133bb576133ba614187565b5b8235905067ffffffffffffffff8111156133d8576133d7614182565b5b6020830191508360208202830111156133f4576133f361418c565b5b9250929050565b60008135905061340a81614410565b92915050565b60008135905061341f81614427565b92915050565b6000813590506134348161443e565b92915050565b6000815190506134498161443e565b92915050565b600082601f83011261346457613463614187565b5b813561347484826020860161334e565b91505092915050565b60008083601f84011261349357613492614187565b5b8235905067ffffffffffffffff8111156134b0576134af614182565b5b6020830191508360018202830111156134cc576134cb61418c565b5b9250929050565b6000813590506134e281614455565b92915050565b6000602082840312156134fe576134fd61419b565b5b600061350c84828501613390565b91505092915050565b6000806040838503121561352c5761352b61419b565b5b600061353a85828601613390565b925050602061354b85828601613390565b9150509250929050565b60008060006060848603121561356e5761356d61419b565b5b600061357c86828701613390565b935050602061358d86828701613390565b925050604061359e868287016134d3565b9150509250925092565b600080600080608085870312156135c2576135c161419b565b5b60006135d087828801613390565b94505060206135e187828801613390565b93505060406135f2878288016134d3565b925050606085013567ffffffffffffffff81111561361357613612614196565b5b61361f8782880161344f565b91505092959194509250565b6000806000604084860312156136445761364361419b565b5b600061365286828701613390565b935050602084013567ffffffffffffffff81111561367357613672614196565b5b61367f868287016133a5565b92509250509250925092565b600080604083850312156136a2576136a161419b565b5b60006136b085828601613390565b92505060206136c1858286016133fb565b9150509250929050565b600080604083850312156136e2576136e161419b565b5b60006136f085828601613390565b9250506020613701858286016134d3565b9150509250929050565b6000602082840312156137215761372061419b565b5b600061372f84828501613410565b91505092915050565b60006020828403121561374e5761374d61419b565b5b600061375c84828501613425565b91505092915050565b60006020828403121561377b5761377a61419b565b5b60006137898482850161343a565b91505092915050565b600080602083850312156137a9576137a861419b565b5b600083013567ffffffffffffffff8111156137c7576137c6614196565b5b6137d38582860161347d565b92509250509250929050565b6000602082840312156137f5576137f461419b565b5b6000613803848285016134d3565b91505092915050565b61381581613ed6565b82525050565b61382c61382782613ed6565b614042565b82525050565b61383b81613ee8565b82525050565b61384a81613ef4565b82525050565b600061385b82613dcd565b6138658185613de3565b9350613875818560208601613f63565b61387e816141a0565b840191505092915050565b600061389482613dd8565b61389e8185613dff565b93506138ae818560208601613f63565b6138b7816141a0565b840191505092915050565b60006138cd82613dd8565b6138d78185613e10565b93506138e7818560208601613f63565b80840191505092915050565b6000613900600e83613dff565b915061390b826141be565b602082019050919050565b6000613923601983613dff565b915061392e826141e7565b602082019050919050565b6000613946602683613dff565b915061395182614210565b604082019050919050565b6000613969600d83613dff565b91506139748261425f565b602082019050919050565b600061398c601483613dff565b915061399782614288565b602082019050919050565b60006139af601383613dff565b91506139ba826142b1565b602082019050919050565b60006139d2602083613dff565b91506139dd826142da565b602082019050919050565b60006139f5602f83613dff565b9150613a0082614303565b604082019050919050565b6000613a18601083613dff565b9150613a2382614352565b602082019050919050565b6000613a3b600083613df4565b9150613a468261437b565b600082019050919050565b6000613a5e601083613dff565b9150613a698261437e565b602082019050919050565b6000613a81600c83613dff565b9150613a8c826143a7565b602082019050919050565b6000613aa4601f83613dff565b9150613aaf826143d0565b602082019050919050565b613ac381613f4a565b82525050565b6000613ad5828461381b565b60148201915081905092915050565b6000613af082856138c2565b9150613afc82846138c2565b91508190509392505050565b6000613b1382613a2e565b9150819050919050565b6000602082019050613b32600083018461380c565b92915050565b6000608082019050613b4d600083018761380c565b613b5a602083018661380c565b613b676040830185613aba565b8181036060830152613b798184613850565b905095945050505050565b6000602082019050613b996000830184613832565b92915050565b6000602082019050613bb46000830184613841565b92915050565b60006020820190508181036000830152613bd48184613889565b905092915050565b60006020820190508181036000830152613bf5816138f3565b9050919050565b60006020820190508181036000830152613c1581613916565b9050919050565b60006020820190508181036000830152613c3581613939565b9050919050565b60006020820190508181036000830152613c558161395c565b9050919050565b60006020820190508181036000830152613c758161397f565b9050919050565b60006020820190508181036000830152613c95816139a2565b9050919050565b60006020820190508181036000830152613cb5816139c5565b9050919050565b60006020820190508181036000830152613cd5816139e8565b9050919050565b60006020820190508181036000830152613cf581613a0b565b9050919050565b60006020820190508181036000830152613d1581613a51565b9050919050565b60006020820190508181036000830152613d3581613a74565b9050919050565b60006020820190508181036000830152613d5581613a97565b9050919050565b6000602082019050613d716000830184613aba565b92915050565b6000613d81613d92565b9050613d8d8282613fc8565b919050565b6000604051905090565b600067ffffffffffffffff821115613db757613db6614153565b5b613dc0826141a0565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000613e2682613f4a565b9150613e3183613f4a565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613e6657613e65614097565b5b828201905092915050565b6000613e7c82613f4a565b9150613e8783613f4a565b925082613e9757613e966140c6565b5b828204905092915050565b6000613ead82613f4a565b9150613eb883613f4a565b925082821015613ecb57613eca614097565b5b828203905092915050565b6000613ee182613f2a565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015613f81578082015181840152602081019050613f66565b83811115613f90576000848401525b50505050565b60006002820490506001821680613fae57607f821691505b60208210811415613fc257613fc16140f5565b5b50919050565b613fd1826141a0565b810181811067ffffffffffffffff82111715613ff057613fef614153565b5b80604052505050565b600061400482613f4a565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561403757614036614097565b5b600182019050919050565b600061404d82614054565b9050919050565b600061405f826141b1565b9050919050565b600061407182613f4a565b915061407c83613f4a565b92508261408c5761408b6140c6565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f416c7265616479206d696e746564000000000000000000000000000000000000600082015250565b7f5075626c69632073616c6520686176656e277420737461727400000000000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4e6f7420696e206d65726b6c6500000000000000000000000000000000000000600082015250565b7f436f6e74726962757465206e6f74207265616479000000000000000000000000600082015250565b7f57686974656c697374206e6f7420726561647900000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4f676d696e74206e6f7420726561647900000000000000000000000000000000600082015250565b50565b7f5472616e73666572206661696c65642e00000000000000000000000000000000600082015250565b7f45786365656420616c6c6f630000000000000000000000000000000000000000600082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b61440281613ed6565b811461440d57600080fd5b50565b61441981613ee8565b811461442457600080fd5b50565b61443081613ef4565b811461443b57600080fd5b50565b61444781613efe565b811461445257600080fd5b50565b61445e81613f4a565b811461446957600080fd5b5056fea2646970667358221220e3fffff21c7e7b789ee89af6f8a897d3cb6f5f843585c044338dd252395e380d64736f6c634300080700330000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004f68747470733a2f2f706e702e6d7970696e6174612e636c6f75642f697066732f516d586252544e384c796839577a70544d35416747666b426f4a527475454256436148486e395a78326d6a7879752f0000000000000000000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106102745760003560e01c806356f1e4e811610151578063a125c824116100c3578063c8792ba111610087578063c8792ba114610703578063c87b56dd1461071f578063d24330e31461074f578063d9eab7c61461076d578063e985e9c51461078b578063f2fde38b146107bb57610274565b8063a125c82414610675578063a22cb46514610691578063a6b6e433146106ad578063a9d38431146106c9578063b88d4fde146106e757610274565b806370a082311161011557806370a08231146105c5578063715018a6146105f55780638312f344146105ff5780638da5cb5b1461061b578063903afdc01461063957806395d89b411461065757610274565b806356f1e4e81461051d5780636352211e1461053b578063638a8cf71461056b57806365f4fd12146105895780636c0360eb146105a757610274565b806332a93a3a116101ea5780633ccfd60b116101ae5780633ccfd60b1461048757806342842e0e1461049157806344372ada146104ad57806345149bb3146104c95780634eb026df146104e557806355f804b31461050157610274565b806332a93a3a146103f357806332cb6b0c1461040f578063351509a81461042d578063385571ad1461044b5780633acb21571461046957610274565b806318160ddd1161023c57806318160ddd14610331578063188ae91f1461034f5780631e7269c51461036d57806323b872dd1461039d57806324437ce1146103b95780632d4effba146103d557610274565b806301ffc9a71461027957806306fdde03146102a9578063081812fc146102c7578063095ea7b3146102f7578063178e988114610313575b600080fd5b610293600480360381019061028e9190613738565b6107d7565b6040516102a09190613b84565b60405180910390f35b6102b16108b9565b6040516102be9190613bba565b60405180910390f35b6102e160048036038101906102dc91906137df565b61094b565b6040516102ee9190613b1d565b60405180910390f35b610311600480360381019061030c91906136cb565b6109c7565b005b61031b610ad2565b6040516103289190613d5c565b60405180910390f35b610339610ad7565b6040516103469190613d5c565b60405180910390f35b610357610aee565b6040516103649190613d5c565b60405180910390f35b610387600480360381019061038291906134e8565b610af3565b6040516103949190613d5c565b60405180910390f35b6103b760048036038101906103b29190613555565b610b0b565b005b6103d360048036038101906103ce91906137df565b610b1b565b005b6103dd610bcd565b6040516103ea9190613d5c565b60405180910390f35b61040d600480360381019061040891906134e8565b610bd3565b005b610417610d9b565b6040516104249190613d5c565b60405180910390f35b610435610da1565b6040516104429190613b1d565b60405180910390f35b610453610db9565b6040516104609190613d5c565b60405180910390f35b610471610dbf565b60405161047e9190613d5c565b60405180910390f35b61048f610dc4565b005b6104ab60048036038101906104a69190613555565b610f45565b005b6104c760048036038101906104c2919061362b565b610f65565b005b6104e360048036038101906104de919061370b565b6111f5565b005b6104ff60048036038101906104fa919061370b565b61127b565b005b61051b60048036038101906105169190613792565b611301565b005b610525611393565b6040516105329190613b9f565b60405180910390f35b610555600480360381019061055091906137df565b611399565b6040516105629190613b1d565b60405180910390f35b6105736113af565b6040516105809190613d5c565b60405180910390f35b6105916113b5565b60405161059e9190613b9f565b60405180910390f35b6105af6113bb565b6040516105bc9190613bba565b60405180910390f35b6105df60048036038101906105da91906134e8565b61144d565b6040516105ec9190613d5c565b60405180910390f35b6105fd61151d565b005b6106196004803603810190610614919061362b565b6115a5565b005b610623611835565b6040516106309190613b1d565b60405180910390f35b61064161185f565b60405161064e9190613b9f565b60405180910390f35b61065f611865565b60405161066c9190613bba565b60405180910390f35b61068f600480360381019061068a9190613792565b6118f7565b005b6106ab60048036038101906106a6919061368b565b611989565b005b6106c760048036038101906106c2919061362b565b611b01565b005b6106d1611d91565b6040516106de9190613d5c565b60405180910390f35b61070160048036038101906106fc91906135a8565b611d97565b005b61071d6004803603810190610718919061370b565b611e13565b005b610739600480360381019061073491906137df565b611e99565b6040516107469190613bba565b60405180910390f35b610757611fbb565b6040516107649190613b1d565b60405180910390f35b610775611fd3565b6040516107829190613d5c565b60405180910390f35b6107a560048036038101906107a09190613515565b611fd9565b6040516107b29190613b84565b60405180910390f35b6107d560048036038101906107d091906134e8565b61206d565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806108a257507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806108b257506108b182612178565b5b9050919050565b6060600280546108c890613f96565b80601f01602080910402602001604051908101604052809291908181526020018280546108f490613f96565b80156109415780601f1061091657610100808354040283529160200191610941565b820191906000526020600020905b81548152906001019060200180831161092457829003601f168201915b5050505050905090565b6000610956826121e2565b61098c576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006109d282611399565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610a3a576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610a59612230565b73ffffffffffffffffffffffffffffffffffffffff1614158015610a8b5750610a8981610a84612230565b611fd9565b155b15610ac2576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610acd838383612238565b505050565b600281565b6000610ae16122ea565b6001546000540303905090565b600181565b60126020528060005260406000206000915090505481565b610b168383836122ef565b505050565b610b23612230565b73ffffffffffffffffffffffffffffffffffffffff16610b41611835565b73ffffffffffffffffffffffffffffffffffffffff1614610b97576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b8e90613c9c565b60405180910390fd5b80600f81905550610e10600f54610bae9190613e1b565b601081905550611c20600f54610bc49190613e1b565b60118190555050565b611c2081565b60026009541415610c19576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c1090613d3c565b60405180910390fd5b6002600981905550426011541115610c66576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c5d90613bfc565b60405180910390fd5b61139e6001610c73610ad7565b610c7d9190613e1b565b1115610cbe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cb590613d1c565b60405180910390fd5b6001601260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205410610d40576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d3790613bdc565b60405180910390fd5b6001601260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550610d908160016127a5565b600160098190555050565b61139e81565b735793083b30ca639b924126cdf0ec96219d8a056e81565b610e1081565b601981565b610dcc612230565b73ffffffffffffffffffffffffffffffffffffffff16610dea611835565b73ffffffffffffffffffffffffffffffffffffffff1614610e40576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e3790613c9c565b60405180910390fd5b60026009541415610e86576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e7d90613d3c565b60405180910390fd5b600260098190555060003373ffffffffffffffffffffffffffffffffffffffff1647604051610eb490613b08565b60006040518083038185875af1925050503d8060008114610ef1576040519150601f19603f3d011682016040523d82523d6000602084013e610ef6565b606091505b5050905080610f3a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f3190613cfc565b60405180910390fd5b506001600981905550565b610f6083838360405180602001604052806000815250611d97565b505050565b60026009541415610fab576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fa290613d3c565b60405180910390fd5b600260098190555042600f541115610ff8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fef90613cdc565b60405180910390fd5b6019601260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541061107a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161107190613bdc565b60405180910390fd5b61139e6019611087610ad7565b6110919190613e1b565b11156110d2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110c990613d1c565b60405180910390fd5b6000836040516020016110e59190613ac9565b604051602081830303815290604052805190602001209050600061114d848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600c54846127c3565b90506001151581151514611196576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161118d90613c3c565b60405180910390fd5b6019601260008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506111e68560196127a5565b50506001600981905550505050565b6111fd612230565b73ffffffffffffffffffffffffffffffffffffffff1661121b611835565b73ffffffffffffffffffffffffffffffffffffffff1614611271576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161126890613c9c565b60405180910390fd5b80600e8190555050565b611283612230565b73ffffffffffffffffffffffffffffffffffffffff166112a1611835565b73ffffffffffffffffffffffffffffffffffffffff16146112f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112ee90613c9c565b60405180910390fd5b80600d8190555050565b611309612230565b73ffffffffffffffffffffffffffffffffffffffff16611327611835565b73ffffffffffffffffffffffffffffffffffffffff161461137d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161137490613c9c565b60405180910390fd5b8181600a919061138e929190613268565b505050565b600d5481565b60006113a4826127da565b600001519050919050565b60105481565b600e5481565b6060600a80546113ca90613f96565b80601f01602080910402602001604051908101604052809291908181526020018280546113f690613f96565b80156114435780601f1061141857610100808354040283529160200191611443565b820191906000526020600020905b81548152906001019060200180831161142657829003601f168201915b5050505050905090565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156114b5576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b611525612230565b73ffffffffffffffffffffffffffffffffffffffff16611543611835565b73ffffffffffffffffffffffffffffffffffffffff1614611599576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161159090613c9c565b60405180910390fd5b6115a36000612a69565b565b600260095414156115eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115e290613d3c565b60405180910390fd5b600260098190555042600f541115611638576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161162f90613c5c565b60405180910390fd5b6002601260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054106116ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116b190613bdc565b60405180910390fd5b61139e60026116c7610ad7565b6116d19190613e1b565b1115611712576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161170990613d1c565b60405180910390fd5b6000836040516020016117259190613ac9565b604051602081830303815290604052805190602001209050600061178d848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600d54846127c3565b905060011515811515146117d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117cd90613c3c565b60405180910390fd5b6002601260008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506118268560026127a5565b50506001600981905550505050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600c5481565b60606003805461187490613f96565b80601f01602080910402602001604051908101604052809291908181526020018280546118a090613f96565b80156118ed5780601f106118c2576101008083540402835291602001916118ed565b820191906000526020600020905b8154815290600101906020018083116118d057829003601f168201915b5050505050905090565b6118ff612230565b73ffffffffffffffffffffffffffffffffffffffff1661191d611835565b73ffffffffffffffffffffffffffffffffffffffff1614611973576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161196a90613c9c565b60405180910390fd5b8181600b9190611984929190613268565b505050565b611991612230565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156119f6576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000611a03612230565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611ab0612230565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611af59190613b84565b60405180910390a35050565b60026009541415611b47576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b3e90613d3c565b60405180910390fd5b6002600981905550426010541115611b94576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b8b90613c7c565b60405180910390fd5b6001601260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205410611c16576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c0d90613bdc565b60405180910390fd5b61139e6001611c23610ad7565b611c2d9190613e1b565b1115611c6e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c6590613d1c565b60405180910390fd5b600083604051602001611c819190613ac9565b6040516020818303038152906040528051906020012090506000611ce9848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600e54846127c3565b90506001151581151514611d32576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d2990613c3c565b60405180910390fd5b6001601260008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611d828560016127a5565b50506001600981905550505050565b600f5481565b611da28484846122ef565b611dc18373ffffffffffffffffffffffffffffffffffffffff16612165565b8015611dd65750611dd484848484612b2f565b155b15611e0d576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b611e1b612230565b73ffffffffffffffffffffffffffffffffffffffff16611e39611835565b73ffffffffffffffffffffffffffffffffffffffff1614611e8f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e8690613c9c565b60405180910390fd5b80600c8190555050565b6060611ea4826121e2565b611ee3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eda90613cbc565b60405180910390fd5b6000611eed6113bb565b90506000815111611f8857600b8054611f0590613f96565b80601f0160208091040260200160405190810160405280929190818152602001828054611f3190613f96565b8015611f7e5780601f10611f5357610100808354040283529160200191611f7e565b820191906000526020600020905b815481529060010190602001808311611f6157829003601f168201915b5050505050611fb3565b80611f9284612c8f565b604051602001611fa3929190613ae4565b6040516020818303038152906040525b915050919050565b73458d4e2c959a7a5df88304df396078e3be03874881565b60115481565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b612075612230565b73ffffffffffffffffffffffffffffffffffffffff16612093611835565b73ffffffffffffffffffffffffffffffffffffffff16146120e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120e090613c9c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612159576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161215090613c1c565b60405180910390fd5b61216281612a69565b50565b600080823b905060008111915050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000816121ed6122ea565b111580156121fc575060005482105b8015612229575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600090565b60006122fa826127da565b90508373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612365576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff16612386612230565b73ffffffffffffffffffffffffffffffffffffffff1614806123b557506123b4856123af612230565b611fd9565b5b806123fa57506123c3612230565b73ffffffffffffffffffffffffffffffffffffffff166123e28461094b565b73ffffffffffffffffffffffffffffffffffffffff16145b905080612433576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16141561249a576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6124a78585856001612df0565b6124b360008487612238565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600460008581526020019081526020016000209050848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550428160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060006001850190506000600460008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141561273357600054821461273257878160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084602001518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b505050828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461279e8585856001612df6565b5050505050565b6127bf828260405180602001604052806000815250612dfc565b5050565b6000826127d08584612e0e565b1490509392505050565b6127e26132ee565b6000829050806127f06122ea565b111580156127ff575060005481105b15612a32576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff16151515158152505090508060400151612a3057600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612914578092505050612a64565b5b600115612a2f57818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612a2a578092505050612a64565b612915565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612b55612230565b8786866040518563ffffffff1660e01b8152600401612b779493929190613b38565b602060405180830381600087803b158015612b9157600080fd5b505af1925050508015612bc257506040513d601f19601f82011682018060405250810190612bbf9190613765565b60015b612c3c573d8060008114612bf2576040519150601f19603f3d011682016040523d82523d6000602084013e612bf7565b606091505b50600081511415612c34576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60606000821415612cd7576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612deb565b600082905060005b60008214612d09578080612cf290613ff9565b915050600a82612d029190613e71565b9150612cdf565b60008167ffffffffffffffff811115612d2557612d24614153565b5b6040519080825280601f01601f191660200182016040528015612d575781602001600182028036833780820191505090505b5090505b60008514612de457600182612d709190613ea2565b9150600a85612d7f9190614066565b6030612d8b9190613e1b565b60f81b818381518110612da157612da0614124565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612ddd9190613e71565b9450612d5b565b8093505050505b919050565b50505050565b50505050565b612e098383836001612e83565b505050565b60008082905060005b8451811015612e78576000858281518110612e3557612e34614124565b5b60200260200101519050808311612e5757612e508382613251565b9250612e64565b612e618184613251565b92505b508080612e7090613ff9565b915050612e17565b508091505092915050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415612ef0576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000841415612f2b576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612f386000868387612df0565b83600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060008190506000858201905083801561310257506131018773ffffffffffffffffffffffffffffffffffffffff16612165565b5b156131c8575b818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46131776000888480600101955088612b2f565b6131ad576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b808214156131085782600054146131c357600080fd5b613234565b5b818060010192508773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4808214156131c9575b81600081905550505061324a6000868387612df6565b5050505050565b600082600052816020526040600020905092915050565b82805461327490613f96565b90600052602060002090601f01602090048101928261329657600085556132dd565b82601f106132af57803560ff19168380011785556132dd565b828001600101855582156132dd579182015b828111156132dc5782358255916020019190600101906132c1565b5b5090506132ea9190613331565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b8082111561334a576000816000905550600101613332565b5090565b600061336161335c84613d9c565b613d77565b90508281526020810184848401111561337d5761337c614191565b5b613388848285613f54565b509392505050565b60008135905061339f816143f9565b92915050565b60008083601f8401126133bb576133ba614187565b5b8235905067ffffffffffffffff8111156133d8576133d7614182565b5b6020830191508360208202830111156133f4576133f361418c565b5b9250929050565b60008135905061340a81614410565b92915050565b60008135905061341f81614427565b92915050565b6000813590506134348161443e565b92915050565b6000815190506134498161443e565b92915050565b600082601f83011261346457613463614187565b5b813561347484826020860161334e565b91505092915050565b60008083601f84011261349357613492614187565b5b8235905067ffffffffffffffff8111156134b0576134af614182565b5b6020830191508360018202830111156134cc576134cb61418c565b5b9250929050565b6000813590506134e281614455565b92915050565b6000602082840312156134fe576134fd61419b565b5b600061350c84828501613390565b91505092915050565b6000806040838503121561352c5761352b61419b565b5b600061353a85828601613390565b925050602061354b85828601613390565b9150509250929050565b60008060006060848603121561356e5761356d61419b565b5b600061357c86828701613390565b935050602061358d86828701613390565b925050604061359e868287016134d3565b9150509250925092565b600080600080608085870312156135c2576135c161419b565b5b60006135d087828801613390565b94505060206135e187828801613390565b93505060406135f2878288016134d3565b925050606085013567ffffffffffffffff81111561361357613612614196565b5b61361f8782880161344f565b91505092959194509250565b6000806000604084860312156136445761364361419b565b5b600061365286828701613390565b935050602084013567ffffffffffffffff81111561367357613672614196565b5b61367f868287016133a5565b92509250509250925092565b600080604083850312156136a2576136a161419b565b5b60006136b085828601613390565b92505060206136c1858286016133fb565b9150509250929050565b600080604083850312156136e2576136e161419b565b5b60006136f085828601613390565b9250506020613701858286016134d3565b9150509250929050565b6000602082840312156137215761372061419b565b5b600061372f84828501613410565b91505092915050565b60006020828403121561374e5761374d61419b565b5b600061375c84828501613425565b91505092915050565b60006020828403121561377b5761377a61419b565b5b60006137898482850161343a565b91505092915050565b600080602083850312156137a9576137a861419b565b5b600083013567ffffffffffffffff8111156137c7576137c6614196565b5b6137d38582860161347d565b92509250509250929050565b6000602082840312156137f5576137f461419b565b5b6000613803848285016134d3565b91505092915050565b61381581613ed6565b82525050565b61382c61382782613ed6565b614042565b82525050565b61383b81613ee8565b82525050565b61384a81613ef4565b82525050565b600061385b82613dcd565b6138658185613de3565b9350613875818560208601613f63565b61387e816141a0565b840191505092915050565b600061389482613dd8565b61389e8185613dff565b93506138ae818560208601613f63565b6138b7816141a0565b840191505092915050565b60006138cd82613dd8565b6138d78185613e10565b93506138e7818560208601613f63565b80840191505092915050565b6000613900600e83613dff565b915061390b826141be565b602082019050919050565b6000613923601983613dff565b915061392e826141e7565b602082019050919050565b6000613946602683613dff565b915061395182614210565b604082019050919050565b6000613969600d83613dff565b91506139748261425f565b602082019050919050565b600061398c601483613dff565b915061399782614288565b602082019050919050565b60006139af601383613dff565b91506139ba826142b1565b602082019050919050565b60006139d2602083613dff565b91506139dd826142da565b602082019050919050565b60006139f5602f83613dff565b9150613a0082614303565b604082019050919050565b6000613a18601083613dff565b9150613a2382614352565b602082019050919050565b6000613a3b600083613df4565b9150613a468261437b565b600082019050919050565b6000613a5e601083613dff565b9150613a698261437e565b602082019050919050565b6000613a81600c83613dff565b9150613a8c826143a7565b602082019050919050565b6000613aa4601f83613dff565b9150613aaf826143d0565b602082019050919050565b613ac381613f4a565b82525050565b6000613ad5828461381b565b60148201915081905092915050565b6000613af082856138c2565b9150613afc82846138c2565b91508190509392505050565b6000613b1382613a2e565b9150819050919050565b6000602082019050613b32600083018461380c565b92915050565b6000608082019050613b4d600083018761380c565b613b5a602083018661380c565b613b676040830185613aba565b8181036060830152613b798184613850565b905095945050505050565b6000602082019050613b996000830184613832565b92915050565b6000602082019050613bb46000830184613841565b92915050565b60006020820190508181036000830152613bd48184613889565b905092915050565b60006020820190508181036000830152613bf5816138f3565b9050919050565b60006020820190508181036000830152613c1581613916565b9050919050565b60006020820190508181036000830152613c3581613939565b9050919050565b60006020820190508181036000830152613c558161395c565b9050919050565b60006020820190508181036000830152613c758161397f565b9050919050565b60006020820190508181036000830152613c95816139a2565b9050919050565b60006020820190508181036000830152613cb5816139c5565b9050919050565b60006020820190508181036000830152613cd5816139e8565b9050919050565b60006020820190508181036000830152613cf581613a0b565b9050919050565b60006020820190508181036000830152613d1581613a51565b9050919050565b60006020820190508181036000830152613d3581613a74565b9050919050565b60006020820190508181036000830152613d5581613a97565b9050919050565b6000602082019050613d716000830184613aba565b92915050565b6000613d81613d92565b9050613d8d8282613fc8565b919050565b6000604051905090565b600067ffffffffffffffff821115613db757613db6614153565b5b613dc0826141a0565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000613e2682613f4a565b9150613e3183613f4a565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613e6657613e65614097565b5b828201905092915050565b6000613e7c82613f4a565b9150613e8783613f4a565b925082613e9757613e966140c6565b5b828204905092915050565b6000613ead82613f4a565b9150613eb883613f4a565b925082821015613ecb57613eca614097565b5b828203905092915050565b6000613ee182613f2a565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015613f81578082015181840152602081019050613f66565b83811115613f90576000848401525b50505050565b60006002820490506001821680613fae57607f821691505b60208210811415613fc257613fc16140f5565b5b50919050565b613fd1826141a0565b810181811067ffffffffffffffff82111715613ff057613fef614153565b5b80604052505050565b600061400482613f4a565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561403757614036614097565b5b600182019050919050565b600061404d82614054565b9050919050565b600061405f826141b1565b9050919050565b600061407182613f4a565b915061407c83613f4a565b92508261408c5761408b6140c6565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f416c7265616479206d696e746564000000000000000000000000000000000000600082015250565b7f5075626c69632073616c6520686176656e277420737461727400000000000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4e6f7420696e206d65726b6c6500000000000000000000000000000000000000600082015250565b7f436f6e74726962757465206e6f74207265616479000000000000000000000000600082015250565b7f57686974656c697374206e6f7420726561647900000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4f676d696e74206e6f7420726561647900000000000000000000000000000000600082015250565b50565b7f5472616e73666572206661696c65642e00000000000000000000000000000000600082015250565b7f45786365656420616c6c6f630000000000000000000000000000000000000000600082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b61440281613ed6565b811461440d57600080fd5b50565b61441981613ee8565b811461442457600080fd5b50565b61443081613ef4565b811461443b57600080fd5b50565b61444781613efe565b811461445257600080fd5b50565b61445e81613f4a565b811461446957600080fd5b5056fea2646970667358221220e3fffff21c7e7b789ee89af6f8a897d3cb6f5f843585c044338dd252395e380d64736f6c63430008070033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004f68747470733a2f2f706e702e6d7970696e6174612e636c6f75642f697066732f516d586252544e384c796839577a70544d35416747666b426f4a527475454256436148486e395a78326d6a7879752f0000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : URI (string): https://pnp.mypinata.cloud/ipfs/QmXbRTN8Lyh9WzpTM5AgGfkBoJRtuEBVCaHHn9Zx2mjxyu/
-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 000000000000000000000000000000000000000000000000000000000000004f
Arg [2] : 68747470733a2f2f706e702e6d7970696e6174612e636c6f75642f697066732f
Arg [3] : 516d586252544e384c796839577a70544d35416747666b426f4a527475454256
Arg [4] : 436148486e395a78326d6a7879752f0000000000000000000000000000000000
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.