Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
9,607 PPAPEAG
Holders
5,316
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
2 PPAPEAGLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
This contract may be a proxy contract. Click on More Options and select Is this a proxy? to confirm and enable the "Read as Proxy" & "Write as Proxy" tabs.
Contract Name:
PPAPECollection
Compiler Version
v0.8.4+commit.c7e474f2
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT // contract written by @ppape_io pragma solidity ^0.8.4; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; contract PPAPECollection is ERC721Enumerable, Ownable { using Strings for uint256; string public baseURI; string public craftBaseURI; string public constant UNREVEALED_TOKEN_URI = string(abi.encodePacked("https://nft.ppape.io/ag/unrevealed.json")); // PROVENANCE: Use the same hash mechanism as BAYC's. string public constant MINT_PROVENANCE = "e2d443f6dd8fff4ba1d69c3474e83beb8bc0d0e639cbe30c329ac94dd8f74fee"; string public constant CRAFT_PROVENANCE = "ecd862bb217af0ea3870bdfb0c81567fb1daca9b60018e685e1c22aab3146bb5"; uint256 public constant MAX_SUPPLY = 10000; uint256 public constant MINT_PER_WHITELIST_ADDRESS_LIMIT = 1; uint256 public constant MINT_PER_WAITING_LIST_ADDRESS_LIMIT = 1; // allSettings: // isRevealed | whitelistAcitve | waitinglistActive | mintActive | craftActive | tbd | tbd | tbd // 0 0 0 0 0 0 0 0 // mask: 0x80 0x40 0x20 0x10 0x08 0x04 0x02 0x01 bytes1 public allSettings = 0x00; bytes32 public whitelistMerkleRoot; bytes32 public waitingListMerkleRoot; // schedule: whitelist -> waiting list -> mint -> craft uint256 public whitelistMintStartTime; uint256 public waitingListMintStartTime; uint256 public mintStartTime; uint256 public craftStartTime; // The counter for each whitelist address has minted. mapping(address => uint256) public addressWhitelistMintedBalance; // The counter for each waiting list address has minted. mapping(address => uint256) public addressWaitingListMintedBalance; uint256 private _maxAvailableTokens; mapping(uint256 => uint256) private _availableTokens; uint256 private _maxAvailableCraftings; mapping(uint256 => uint256) private _availableCraftings; event Mint(address to, uint256 tokenId); event Craft(address to, uint256 tokenId); constructor() ERC721("PPAPE-American Gothic", "PPAPEAG") { baseURI = UNREVEALED_TOKEN_URI; craftBaseURI = UNREVEALED_TOKEN_URI; whitelistMintStartTime = 1667782800; waitingListMintStartTime = 1667869200; mintStartTime = 1667876400; craftStartTime = 1668387600; whitelistMerkleRoot = 0xca2cb24b1f568d3a52d14be4b1d6297d114713cc327c312bf8206755a2542cec; waitingListMerkleRoot = 0xd6a39d429048f21d11e7c63fa929e8aa9389e42d8778102a7d5020f38dde5900; _maxAvailableTokens = MAX_SUPPLY; _maxAvailableCraftings = MAX_SUPPLY / 2; } function _getRandomIndex(address to, uint256 updatedMaxAvailableTokens) internal view returns (uint256) { uint256 randomNum = uint256(keccak256(abi.encode(to, tx.gasprice, block.number, block.timestamp, block.difficulty, address(this), updatedMaxAvailableTokens))); return randomNum % updatedMaxAvailableTokens; } function _isLeft(uint256 tokenId) internal pure returns (bool) { return tokenId < MAX_SUPPLY / 2; } function _isRight(uint256 tokenId) internal pure returns (bool) { return tokenId >= MAX_SUPPLY / 2 && tokenId < MAX_SUPPLY; } function _getAvailableTokenAtIndex(uint256 indexToUse, uint256 currentMaxAvailableTokens) internal returns (uint256) { uint256 valAtIndex = _availableTokens[indexToUse]; uint256 lastIndex = currentMaxAvailableTokens - 1; if (indexToUse != lastIndex) { uint256 lastValInArray = _availableTokens[lastIndex]; if (lastValInArray == 0) { _availableTokens[indexToUse] = lastIndex; } else { _availableTokens[indexToUse] = lastValInArray; delete _availableTokens[lastIndex]; } } return valAtIndex == 0 ? indexToUse : valAtIndex; } function _getAvailableCraftingAtIndex(uint256 indexToUse, uint256 currentMaxAvailableCraftings) internal returns (uint256) { uint256 valAtIndex = _availableCraftings[indexToUse]; uint256 lastIndex = currentMaxAvailableCraftings - 1; if (indexToUse != lastIndex) { uint256 lastValInArray = _availableCraftings[lastIndex]; if (lastValInArray == 0) { _availableCraftings[indexToUse] = lastIndex; } else { _availableCraftings[indexToUse] = lastValInArray; delete _availableCraftings[lastIndex]; } } return valAtIndex == 0 ? indexToUse : valAtIndex; } function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal override { super._beforeTokenTransfer(from, to, tokenId); if (from != address(0)) { require(_isApprovedOrOwner(msg.sender, tokenId), "only the owner or approved contracts of NFT can transfer or burn it"); } } function isRevealed() public view returns (bool) { return (allSettings & 0x80) != 0; } function isWhitelistMintActive() public view returns (bool) { return (allSettings & 0x40) != 0; } function isWaitingListMintActive() public view returns (bool) { return (allSettings & 0x20) != 0; } function isMintActive() public view returns (bool) { return (allSettings & 0x10) != 0; } function isCraftActive() public view returns (bool) { return (allSettings & 0x08) != 0; } function getTokenIdsOfOwner(address owner) external view returns (uint256[] memory) { uint256 balanceOfOwner = balanceOf(owner); uint256[] memory ownerTokenIds = new uint256[](balanceOfOwner); for (uint256 i = 0; i < balanceOfOwner; i++) { ownerTokenIds[i] = tokenOfOwnerByIndex(owner, i); } return ownerTokenIds; } // Function to verify the merkle tree root function _merkleProofCheck(bytes32[] calldata proof, bytes32 root) internal view { require(MerkleProof.verify(proof, root, keccak256(abi.encodePacked(msg.sender))), "invalid proof, you're not on the list."); } // Function to help users verify the whitelist eligibility publicly function isEligibleForWhitelistMint(bytes32[] calldata _merkleProof) external view returns (bool) { require(isWhitelistMintActive(), "the whitelist mint is paused"); require(block.timestamp >= whitelistMintStartTime, "the whitelist is not started yet"); require(block.timestamp < waitingListMintStartTime, "the whitelist is over"); require(_maxAvailableTokens > 0, "all NFTs are minted!"); _merkleProofCheck(_merkleProof, whitelistMerkleRoot); require(addressWhitelistMintedBalance[msg.sender] + 1 <= MINT_PER_WHITELIST_ADDRESS_LIMIT, "max NFTs per whitelist address exceeded"); return true; } // Function to help users verify the waiting list eligibility publicly function isEligibleForWaitingListMint(bytes32[] calldata _merkleProof) external view returns (bool) { require(isWaitingListMintActive(), "the waiting list mint is paused"); require(block.timestamp >= waitingListMintStartTime, "the waiting list mint is not started yet"); require(_maxAvailableTokens > 0, "all NFTs are minted!"); _merkleProofCheck(_merkleProof, waitingListMerkleRoot); require(addressWaitingListMintedBalance[msg.sender] + 1 <= MINT_PER_WAITING_LIST_ADDRESS_LIMIT, "max NFTs per waiting list address exceeded"); return true; } // Function to verify the whitelist eligibility function _isEligibleForWhitelistMint(bytes32[] calldata _merkleProof) internal view returns (bool) { require(isWhitelistMintActive(), "the whitelist mint is paused"); require(block.timestamp >= whitelistMintStartTime, "the whitelist is not started yet"); require(block.timestamp < waitingListMintStartTime, "the whitelist is over"); require(_maxAvailableTokens > 0, "all NFTs are minted!"); _merkleProofCheck(_merkleProof, whitelistMerkleRoot); require(addressWhitelistMintedBalance[msg.sender] + 1 <= MINT_PER_WHITELIST_ADDRESS_LIMIT, "max NFTs per whitelist address exceeded"); return true; } // Function to verify the waiting list eligibility function _isEligibleForWaitingListMint(bytes32[] calldata _merkleProof) internal view returns (bool) { require(isWaitingListMintActive(), "the waiting list mint is paused"); require(block.timestamp >= waitingListMintStartTime, "the waiting list mint is not started yet"); require(_maxAvailableTokens > 0, "all NFTs are minted!"); _merkleProofCheck(_merkleProof, waitingListMerkleRoot); require(addressWaitingListMintedBalance[msg.sender] + 1 <= MINT_PER_WAITING_LIST_ADDRESS_LIMIT, "max NFTs per waiting list address exceeded"); return true; } // Whitelist mint function for people on the whitelist function whitelistMint(bytes32[] calldata _merkleProof) external returns (uint256) { _isEligibleForWhitelistMint(_merkleProof); addressWhitelistMintedBalance[msg.sender] += 1; return _mint(msg.sender); } // Waiting list mint function for people on the waiting list function waitingListMint(bytes32[] calldata _merkleProof) external returns (uint256) { _isEligibleForWaitingListMint(_merkleProof); addressWaitingListMintedBalance[msg.sender] += 1; return _mint(msg.sender); } // Public mint function function mint() external returns (uint256) { require(isMintActive(), "the public mint is paused"); require(block.timestamp >= mintStartTime, "the mint is not started yet"); require(_maxAvailableTokens > 0, "all NFTs are minted!"); return _mint(msg.sender); } function _mint(address to) internal virtual returns (uint256) { uint256 tokenId = _getAvailableTokenAtIndex(_getRandomIndex(to, _maxAvailableTokens), _maxAvailableTokens); _maxAvailableTokens--; _safeMint(to, tokenId); emit Mint(msg.sender, tokenId); return tokenId; } function craft(uint256 leftId, uint256 rightId) external returns (uint256) { require(isCraftActive(), "the craft is paused"); require(block.timestamp >= craftStartTime, "the craft is not started yet"); require(_isApprovedOrOwner(msg.sender, leftId) && _isApprovedOrOwner(msg.sender, rightId), "only the owner of both NFTs can craft them"); require((_isLeft(leftId) && _isRight(rightId)), "invalid Token Id"); require(_maxAvailableCraftings > 0, "all NFTs are crafted!"); return _craft(msg.sender, leftId, rightId); } function _craft(address to, uint256 leftId, uint256 rightId) internal returns (uint256) { _burn(leftId); _burn(rightId); uint256 tokenId = _getAvailableCraftingAtIndex(_getRandomIndex(to, _maxAvailableCraftings), _maxAvailableCraftings); uint256 craftId = tokenId + MAX_SUPPLY; _maxAvailableCraftings--; _safeMint(to, craftId); emit Craft(msg.sender, craftId); return craftId; } // Function to set whitelistMint start time function setWhitelistMintStartTime(uint256 ts) external onlyOwner { whitelistMintStartTime = ts; } // Function to set waitingListMint start time function setWaitingListMintStartTime(uint256 ts) external onlyOwner { waitingListMintStartTime = ts; } // Function to set mint start time function setMintStartTime(uint256 ts) external onlyOwner { mintStartTime = ts; } // Function to set craft start time function setCraftStartTime(uint256 ts) external onlyOwner { craftStartTime = ts; } // Function to set all settings function setAllSettings(bytes1 settings) external onlyOwner returns (bytes1) { return allSettings = settings; } // Function to toggle the nft revealed function toggleRevealed() external onlyOwner returns (bytes1) { return allSettings = allSettings ^ 0x80; } // Function to toggle the whitelist mint function toggleWhitelistMint() external onlyOwner returns (bytes1) { return allSettings = allSettings ^ 0x40; } // Function to toggle the waiting list mint function toggleWaitingListMint() external onlyOwner returns (bytes1) { return allSettings = allSettings ^ 0x20; } // Function to toggle the public mint function toggleMint() external onlyOwner returns (bytes1) { return allSettings = allSettings ^ 0x10; } // Function to toggle the public craft function toggleCraft() external onlyOwner returns (bytes1) { return allSettings = allSettings ^ 0x08; } // Function to set the whitelist merkle root function setWhitelistMerkleRoot(bytes32 _newMerkleRoot) external onlyOwner { whitelistMerkleRoot = _newMerkleRoot; } // Function to set the waiting list merkle root function setWaitingListMerkleRoot(bytes32 _newMerkleRoot) external onlyOwner { waitingListMerkleRoot = _newMerkleRoot; } // Function to set the base URI function setBaseURI(string memory _newBaseURI) external onlyOwner { baseURI = _newBaseURI; } // Function to set the craft base URI function setCraftBaseURI(string memory _newBaseURI) external onlyOwner { craftBaseURI = _newBaseURI; } function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "URI query for nonexistent token"); if (!isRevealed()) { return UNREVEALED_TOKEN_URI; } return string(abi.encodePacked( tokenId < MAX_SUPPLY ? _baseURI() : _craftBaseURI(), tokenId.toString(), ".json" )); } // Function to return the base URI (only for pre-craft stage) function _baseURI() internal view virtual override returns (string memory) { return baseURI; } // Function to return the base URI function _craftBaseURI() internal view virtual returns (string memory) { return craftBaseURI; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: address zero is not a valid owner"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: invalid token ID"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { _requireMinted(tokenId); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not token owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { _requireMinted(tokenId); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner nor approved"); _safeTransfer(from, to, tokenId, data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { address owner = ERC721.ownerOf(tokenId); return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); _afterTokenTransfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); _afterTokenTransfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); _afterTokenTransfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits an {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits an {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Reverts if the `tokenId` has not been minted yet. */ function _requireMinted(uint256 tokenId) internal view virtual { require(_exists(tokenId), "ERC721: invalid token ID"); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { /// @solidity memory-safe-assembly assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Enumerable.sol) pragma solidity ^0.8.0; import "../ERC721.sol"; import "./IERC721Enumerable.sol"; /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from owner to list of owned token IDs mapping(address => mapping(uint256 => uint256)) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); return _ownedTokens[owner][index]; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _allTokens.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds"); return _allTokens[index]; } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` cannot be the zero address. * - `to` cannot be the zero address. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual override { super._beforeTokenTransfer(from, to, tokenId); if (from == address(0)) { _addTokenToAllTokensEnumeration(tokenId); } else if (from != to) { _removeTokenFromOwnerEnumeration(from, tokenId); } if (to == address(0)) { _removeTokenFromAllTokensEnumeration(tokenId); } else if (to != from) { _addTokenToOwnerEnumeration(to, tokenId); } } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { uint256 length = ERC721.balanceOf(to); _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; } /** * @dev Private function to add a token to this extension's token tracking data structures. * @param tokenId uint256 ID of the token to be added to the tokens list */ function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for * gas optimizations e.g. when performing a transfer operation (avoiding double writes). * This has O(1) time complexity, but alters the order of the _ownedTokens array. * @param from address representing the previous owner of the given token ID * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = ERC721.balanceOf(from) - 1; uint256 tokenIndex = _ownedTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } // This also deletes the contents at the last position of the array delete _ownedTokensIndex[tokenId]; delete _ownedTokens[from][lastTokenIndex]; } /** * @dev Private function to remove a token from this extension's token tracking data structures. * This has O(1) time complexity, but alters the order of the _allTokens array. * @param tokenId uint256 ID of the token to be removed from the tokens list */ function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _allTokens.length - 1; uint256 tokenIndex = _allTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding // an 'if' statement (like in _removeTokenFromOwnerEnumeration) uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index // This also deletes the contents at the last position of the array delete _allTokensIndex[tokenId]; _allTokens.pop(); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Tree proofs. * * The proofs can be generated using the JavaScript library * https://github.com/miguelmota/merkletreejs[merkletreejs]. * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled. * * See `test/utils/cryptography/MerkleProof.test.js` for some examples. * * WARNING: You should avoid using leaf values that are 64 bytes long prior to * hashing, or use a hash function other than keccak256 for hashing leaves. * This is because the concatenation of a sorted pair of internal nodes in * the merkle tree could be reinterpreted as a leaf value. */ library MerkleProof { /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify( bytes32[] memory proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProof(proof, leaf) == root; } /** * @dev Calldata version of {verify} * * _Available since v4.7._ */ function verifyCalldata( bytes32[] calldata proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProofCalldata(proof, leaf) == root; } /** * @dev Returns the rebuilt hash obtained by traversing a Merkle tree up * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt * hash matches the root of the tree. When processing the proof, the pairs * of leafs & pre-images are assumed to be sorted. * * _Available since v4.4._ */ function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { computedHash = _hashPair(computedHash, proof[i]); } return computedHash; } /** * @dev Calldata version of {processProof} * * _Available since v4.7._ */ function processProofCalldata(bytes32[] calldata proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { computedHash = _hashPair(computedHash, proof[i]); } return computedHash; } /** * @dev Returns true if the `leaves` can be proved to be a part of a Merkle tree defined by * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}. * * _Available since v4.7._ */ function multiProofVerify( bytes32[] memory proof, bool[] memory proofFlags, bytes32 root, bytes32[] memory leaves ) internal pure returns (bool) { return processMultiProof(proof, proofFlags, leaves) == root; } /** * @dev Calldata version of {multiProofVerify} * * _Available since v4.7._ */ function multiProofVerifyCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32 root, bytes32[] memory leaves ) internal pure returns (bool) { return processMultiProofCalldata(proof, proofFlags, leaves) == root; } /** * @dev Returns the root of a tree reconstructed from `leaves` and the sibling nodes in `proof`, * consuming from one or the other at each step according to the instructions given by * `proofFlags`. * * _Available since v4.7._ */ function processMultiProof( bytes32[] memory proof, bool[] memory proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of // the merkle tree. uint256 leavesLen = leaves.length; uint256 totalHashes = proofFlags.length; // Check proof validity. require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof"); // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop". bytes32[] memory hashes = new bytes32[](totalHashes); uint256 leafPos = 0; uint256 hashPos = 0; uint256 proofPos = 0; // At each step, we compute the next hash using two values: // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we // get the next hash. // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the // `proof` array. for (uint256 i = 0; i < totalHashes; i++) { bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]; bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++]; hashes[i] = _hashPair(a, b); } if (totalHashes > 0) { return hashes[totalHashes - 1]; } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } /** * @dev Calldata version of {processMultiProof} * * _Available since v4.7._ */ function processMultiProofCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of // the merkle tree. uint256 leavesLen = leaves.length; uint256 totalHashes = proofFlags.length; // Check proof validity. require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof"); // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop". bytes32[] memory hashes = new bytes32[](totalHashes); uint256 leafPos = 0; uint256 hashPos = 0; uint256 proofPos = 0; // At each step, we compute the next hash using two values: // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we // get the next hash. // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the // `proof` array. for (uint256 i = 0; i < totalHashes; i++) { bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]; bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++]; hashes[i] = _hashPair(a, b); } if (totalHashes > 0) { return hashes[totalHashes - 1]; } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } function _hashPair(bytes32 a, bytes32 b) private pure returns (bytes32) { return a < b ? _efficientHash(a, b) : _efficientHash(b, a); } function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) { /// @solidity memory-safe-assembly assembly { mstore(0x00, a) mstore(0x20, b) value := keccak256(0x00, 0x40) } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts 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/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); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Craft","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Mint","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":"CRAFT_PROVENANCE","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINT_PER_WAITING_LIST_ADDRESS_LIMIT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINT_PER_WHITELIST_ADDRESS_LIMIT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINT_PROVENANCE","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"UNREVEALED_TOKEN_URI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"addressWaitingListMintedBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"addressWhitelistMintedBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"allSettings","outputs":[{"internalType":"bytes1","name":"","type":"bytes1"}],"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":"uint256","name":"leftId","type":"uint256"},{"internalType":"uint256","name":"rightId","type":"uint256"}],"name":"craft","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"craftBaseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"craftStartTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"getTokenIdsOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isCraftActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"isEligibleForWaitingListMint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"isEligibleForWhitelistMint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isMintActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isRevealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isWaitingListMintActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isWhitelistMintActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"mintStartTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"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":"bytes1","name":"settings","type":"bytes1"}],"name":"setAllSettings","outputs":[{"internalType":"bytes1","name":"","type":"bytes1"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"setCraftBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"ts","type":"uint256"}],"name":"setCraftStartTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"ts","type":"uint256"}],"name":"setMintStartTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_newMerkleRoot","type":"bytes32"}],"name":"setWaitingListMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"ts","type":"uint256"}],"name":"setWaitingListMintStartTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_newMerkleRoot","type":"bytes32"}],"name":"setWhitelistMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"ts","type":"uint256"}],"name":"setWhitelistMintStartTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"toggleCraft","outputs":[{"internalType":"bytes1","name":"","type":"bytes1"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"toggleMint","outputs":[{"internalType":"bytes1","name":"","type":"bytes1"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"toggleRevealed","outputs":[{"internalType":"bytes1","name":"","type":"bytes1"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"toggleWaitingListMint","outputs":[{"internalType":"bytes1","name":"","type":"bytes1"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"toggleWhitelistMint","outputs":[{"internalType":"bytes1","name":"","type":"bytes1"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"waitingListMerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"waitingListMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"waitingListMintStartTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"whitelistMerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"whitelistMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"whitelistMintStartTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
6080604052600060f81b600d60006101000a81548160ff021916908360f81c02179055503480156200003057600080fd5b506040518060400160405280601581526020017f50504150452d416d65726963616e20476f7468696300000000000000000000008152506040518060400160405280600781526020017f50504150454147000000000000000000000000000000000000000000000000008152508160009080519060200190620000b5929190620002d5565b508060019080519060200190620000ce929190620002d5565b505050620000f1620000e56200020760201b60201c565b6200020f60201b60201c565b6040516020016200010290620003ac565b604051602081830303815290604052600b908051906020019062000128929190620002d5565b506040516020016200013a90620003ac565b604051602081830303815290604052600c908051906020019062000160929190620002d5565b506363685890601081905550636369aa10601181905550636369c63060128190555063637193106013819055507fca2cb24b1f568d3a52d14be4b1d6297d114713cc327c312bf8206755a2542cec60001b600e819055507fd6a39d429048f21d11e7c63fa929e8aa9389e42d8778102a7d5020f38dde590060001b600f819055506127106016819055506002612710620001fb9190620003ce565b601881905550620004f3565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620002e39062000410565b90600052602060002090601f01602090048101928262000307576000855562000353565b82601f106200032257805160ff191683800117855562000353565b8280016001018555821562000353579182015b828111156200035257825182559160200191906001019062000335565b5b50905062000362919062000366565b5090565b5b808211156200038157600081600090555060010162000367565b5090565b600062000394602783620003c3565b9150620003a182620004a4565b602782019050919050565b6000620003b98262000385565b9150819050919050565b600081905092915050565b6000620003db8262000406565b9150620003e88362000406565b925082620003fb57620003fa62000446565b5b828204905092915050565b6000819050919050565b600060028204905060018216806200042957607f821691505b6020821081141562000440576200043f62000475565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f68747470733a2f2f6e66742e70706170652e696f2f61672f756e72657665616c60008201527f65642e6a736f6e00000000000000000000000000000000000000000000000000602082015250565b615fce80620005036000396000f3fe608060405234801561001057600080fd5b50600436106103ba5760003560e01c8063600cce1f116101f457806399347e631161011a578063d5b3621b116100ad578063edd568361161007c578063edd5683614610b91578063f2fde38b14610bad578063f348ce3f14610bc9578063fabd1d2d14610be7576103ba565b8063d5b3621b14610af7578063d67886d914610b13578063e8cb943814610b43578063e985e9c514610b61576103ba565b8063b88d4fde116100e9578063b88d4fde14610a71578063bd32fb6614610a8d578063c87b56dd14610aa9578063d3dd5fe014610ad9576103ba565b806399347e63146109fd578063a22cb46514610a1b578063a3d90cb414610a37578063aa98e0c614610a53576103ba565b8063715018a6116101925780638daa25ef116101615780638daa25ef14610973578063931e2e49146109a357806395d89b41146109c157806397d63ab5146109df576103ba565b8063715018a61461090f57806382cc6fce146109195780638b38f7eb146109375780638da5cb5b14610955576103ba565b80636835d20f116101ce5780636835d20f146108855780636c0360eb146108a35780636f63b60a146108c157806370a08231146108df576103ba565b8063600cce1f14610807578063634f3d4a146108255780636352211e14610855576103ba565b80632bb1a91a116102e457806354214f69116102775780635bc020bc116102465780635bc020bc1461077f5780635c04292c1461079d5780635ccd7dd9146107cd5780635fc028f5146107eb576103ba565b806354214f691461070b57806355f804b31461072957806356e7bea8146107455780635b92ac0d14610761576103ba565b80633e4dead7116102b35780633e4dead71461068357806342842e0e146106a1578063428ec4d4146106bd5780634f6ccce7146106db576103ba565b80632bb1a91a146105e75780632f745c591461060557806332cb6b0c14610635578063372f657c14610653576103ba565b80630a9951e51161035c578063157801541161032b578063157801541461055f57806318160ddd1461057d57806323b872dd1461059b578063289137a1146105b7576103ba565b80630a9951e5146104c357806310df82ce146104f35780631207700d146105115780631249c58b14610541576103ba565b80630799312c116103985780630799312c1461042b578063081812fc1461044757806308a5d0ad14610477578063095ea7b3146104a7576103ba565b806301ffc9a7146103bf57806302a5b436146103ef57806306fdde031461040d575b600080fd5b6103d960048036038101906103d4919061441f565b610c05565b6040516103e69190614cea565b60405180910390f35b6103f7610c7f565b6040516104049190614d3b565b60405180910390f35b610415610c9b565b6040516104229190614d3b565b60405180910390f35b61044560048036038101906104409190614471565b610d2d565b005b610461600480360381019061045c91906144b2565b610d4f565b60405161046e9190614bc9565b60405180910390f35b610491600480360381019061048c91906141e1565b610d95565b60405161049e9190614cc8565b60405180910390f35b6104c160048036038101906104bc919061434c565b610e8f565b005b6104dd60048036038101906104d891906141e1565b610fa7565b6040516104ea919061517d565b60405180910390f35b6104fb610fbf565b6040516105089190614d05565b60405180910390f35b61052b60048036038101906105269190614388565b610ffd565b604051610538919061517d565b60405180910390f35b610549611072565b604051610556919061517d565b60405180910390f35b610567611153565b6040516105749190614d05565b60405180910390f35b610585611191565b604051610592919061517d565b60405180910390f35b6105b560048036038101906105b09190614246565b61119e565b005b6105d160048036038101906105cc91906144db565b6111fe565b6040516105de919061517d565b60405180910390f35b6105ef611398565b6040516105fc919061517d565b60405180910390f35b61061f600480360381019061061a919061434c565b61139e565b60405161062c919061517d565b60405180910390f35b61063d611443565b60405161064a919061517d565b60405180910390f35b61066d60048036038101906106689190614388565b611449565b60405161067a919061517d565b60405180910390f35b61068b6114be565b604051610698919061517d565b60405180910390f35b6106bb60048036038101906106b69190614246565b6114c3565b005b6106c56114e3565b6040516106d29190614cea565b60405180910390f35b6106f560048036038101906106f091906144b2565b611528565b604051610702919061517d565b60405180910390f35b6107136115bf565b6040516107209190614cea565b60405180910390f35b610743600480360381019061073e9190614471565b611604565b005b61075f600480360381019061075a91906143f6565b611626565b005b610769611638565b6040516107769190614cea565b60405180910390f35b61078761167d565b6040516107949190614d05565b60405180910390f35b6107b760048036038101906107b29190614388565b6116bb565b6040516107c49190614cea565b60405180910390f35b6107d5611877565b6040516107e2919061517d565b60405180910390f35b610805600480360381019061080091906144b2565b61187c565b005b61080f61188e565b60405161081c9190614d20565b60405180910390f35b61083f600480360381019061083a91906141e1565b611894565b60405161084c919061517d565b60405180910390f35b61086f600480360381019061086a91906144b2565b6118ac565b60405161087c9190614bc9565b60405180910390f35b61088d61195e565b60405161089a919061517d565b60405180910390f35b6108ab611964565b6040516108b89190614d3b565b60405180910390f35b6108c96119f2565b6040516108d69190614d05565b60405180910390f35b6108f960048036038101906108f491906141e1565b611a30565b604051610906919061517d565b60405180910390f35b610917611ae8565b005b610921611afc565b60405161092e919061517d565b60405180910390f35b61093f611b02565b60405161094c9190614d05565b60405180910390f35b61095d611b15565b60405161096a9190614bc9565b60405180910390f35b61098d600480360381019061098891906143cd565b611b3f565b60405161099a9190614d05565b60405180910390f35b6109ab611b6a565b6040516109b8919061517d565b60405180910390f35b6109c9611b70565b6040516109d69190614d3b565b60405180910390f35b6109e7611c02565b6040516109f49190614d3b565b60405180910390f35b610a05611c1e565b604051610a129190614d3b565b60405180910390f35b610a356004803603810190610a309190614310565b611cac565b005b610a516004803603810190610a4c91906144b2565b611cc2565b005b610a5b611cd4565b604051610a689190614d20565b60405180910390f35b610a8b6004803603810190610a869190614295565b611cda565b005b610aa76004803603810190610aa291906143f6565b611d3c565b005b610ac36004803603810190610abe91906144b2565b611d4e565b604051610ad09190614d3b565b60405180910390f35b610ae1611e19565b604051610aee9190614d05565b60405180910390f35b610b116004803603810190610b0c91906144b2565b611e57565b005b610b2d6004803603810190610b289190614388565b611e69565b604051610b3a9190614cea565b60405180910390f35b610b4b611fe1565b604051610b589190614d3b565b60405180910390f35b610b7b6004803603810190610b76919061420a565b612002565b604051610b889190614cea565b60405180910390f35b610bab6004803603810190610ba691906144b2565b612096565b005b610bc76004803603810190610bc291906141e1565b6120a8565b005b610bd161212c565b604051610bde9190614cea565b60405180910390f35b610bef612171565b604051610bfc9190614cea565b60405180910390f35b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610c785750610c77826121b6565b5b9050919050565b604051806060016040528060408152602001615f196040913981565b606060008054610caa9061546c565b80601f0160208091040260200160405190810160405280929190818152602001828054610cd69061546c565b8015610d235780601f10610cf857610100808354040283529160200191610d23565b820191906000526020600020905b815481529060010190602001808311610d0657829003601f168201915b5050505050905090565b610d35612298565b80600c9080519060200190610d4b929190613f91565b5050565b6000610d5a82612316565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60606000610da283611a30565b905060008167ffffffffffffffff811115610de6577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015610e145781602001602082028036833780820191505090505b50905060005b82811015610e8457610e2c858261139e565b828281518110610e65577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010181815250508080610e7c906154cf565b915050610e1a565b508092505050919050565b6000610e9a826118ac565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610f0b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f029061505d565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610f2a612361565b73ffffffffffffffffffffffffffffffffffffffff161480610f595750610f5881610f53612361565b612002565b5b610f98576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f8f90614f9d565b60405180910390fd5b610fa28383612369565b505050565b60156020528060005260406000206000915090505481565b6000610fc9612298565b600860f81b600d60009054906101000a900460f81b18600d60006101000a81548160ff021916908360f81c02179055905090565b60006110098383612422565b506001601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461105a919061529b565b9250508190555061106a3361259a565b905092915050565b600061107c611638565b6110bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110b29061515d565b60405180910390fd5b601254421015611100576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110f790614f7d565b60405180910390fd5b600060165411611145576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161113c906150fd565b60405180910390fd5b61114e3361259a565b905090565b600061115d612298565b602060f81b600d60009054906101000a900460f81b18600d60006101000a81548160ff021916908360f81c02179055905090565b6000600880549050905090565b6111af6111a9612361565b8261261a565b6111ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111e59061511d565b60405180910390fd5b6111f98383836126af565b505050565b600061120861212c565b611247576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161123e906150dd565b60405180910390fd5b60135442101561128c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161128390614f1d565b60405180910390fd5b611296338461261a565b80156112a857506112a7338361261a565b5b6112e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112de90614d7d565b60405180910390fd5b6112f083612916565b8015611301575061130082612930565b5b611340576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611337906150bd565b60405180910390fd5b600060185411611385576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161137c9061507d565b60405180910390fd5b611390338484612958565b905092915050565b60105481565b60006113a983611a30565b82106113ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113e190614dbd565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b61271081565b60006114558383612a00565b506001601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546114a6919061529b565b925050819055506114b63361259a565b905092915050565b600181565b6114de83838360405180602001604052806000815250611cda565b505050565b60008060f81b602060f81b600d60009054906101000a900460f81b167effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161415905090565b6000611532611191565b8210611573576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161156a9061509d565b60405180910390fd5b600882815481106115ad577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b60008060f81b608060f81b600d60009054906101000a900460f81b167effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161415905090565b61160c612298565b80600b9080519060200190611622929190613f91565b5050565b61162e612298565b80600f8190555050565b60008060f81b601060f81b600d60009054906101000a900460f81b167effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161415905090565b6000611687612298565b608060f81b600d60009054906101000a900460f81b18600d60006101000a81548160ff021916908360f81c02179055905090565b60006116c5612171565b611704576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116fb90614f5d565b60405180910390fd5b601054421015611749576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117409061513d565b60405180910390fd5b601154421061178d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161178490614e5d565b60405180910390fd5b6000601654116117d2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117c9906150fd565b60405180910390fd5b6117df8383600e54612bbc565b600180601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461182c919061529b565b111561186d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161186490614f3d565b60405180910390fd5b6001905092915050565b600181565b611884612298565b8060138190555050565b600f5481565b60146020528060005260406000206000915090505481565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611955576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161194c9061503d565b60405180910390fd5b80915050919050565b60115481565b600b80546119719061546c565b80601f016020809104026020016040519081016040528092919081815260200182805461199d9061546c565b80156119ea5780601f106119bf576101008083540402835291602001916119ea565b820191906000526020600020905b8154815290600101906020018083116119cd57829003601f168201915b505050505081565b60006119fc612298565b604060f81b600d60009054906101000a900460f81b18600d60006101000a81548160ff021916908360f81c02179055905090565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611aa1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a9890614efd565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611af0612298565b611afa6000612c72565b565b60135481565b600d60009054906101000a900460f81b81565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000611b49612298565b81600d60006101000a81548160ff021916908360f81c021790559050919050565b60125481565b606060018054611b7f9061546c565b80601f0160208091040260200160405190810160405280929190818152602001828054611bab9061546c565b8015611bf85780601f10611bcd57610100808354040283529160200191611bf8565b820191906000526020600020905b815481529060010190602001808311611bdb57829003601f168201915b5050505050905090565b604051806060016040528060408152602001615f596040913981565b600c8054611c2b9061546c565b80601f0160208091040260200160405190810160405280929190818152602001828054611c579061546c565b8015611ca45780601f10611c7957610100808354040283529160200191611ca4565b820191906000526020600020905b815481529060010190602001808311611c8757829003601f168201915b505050505081565b611cbe611cb7612361565b8383612d38565b5050565b611cca612298565b8060108190555050565b600e5481565b611ceb611ce5612361565b8361261a565b611d2a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d219061511d565b60405180910390fd5b611d3684848484612ea5565b50505050565b611d44612298565b80600e8190555050565b6060611d5982612f01565b611d98576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d8f90614d9d565b60405180910390fd5b611da06115bf565b611dc957604051602001611db390614bb4565b6040516020818303038152906040529050611e14565b6127108210611ddf57611dda612f6d565b611de8565b611de7612fff565b5b611df183613091565b604051602001611e02929190614b85565b60405160208183030381529060405290505b919050565b6000611e23612298565b601060f81b600d60009054906101000a900460f81b18600d60006101000a81548160ff021916908360f81c02179055905090565b611e5f612298565b8060128190555050565b6000611e736114e3565b611eb2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ea990614edd565b60405180910390fd5b601154421015611ef7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eee90614ebd565b60405180910390fd5b600060165411611f3c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f33906150fd565b60405180910390fd5b611f498383600f54612bbc565b600180601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611f96919061529b565b1115611fd7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fce90614fdd565b60405180910390fd5b6001905092915050565b604051602001611ff090614bb4565b60405160208183030381529060405281565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61209e612298565b8060118190555050565b6120b0612298565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612120576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161211790614dfd565b60405180910390fd5b61212981612c72565b50565b60008060f81b600860f81b600d60009054906101000a900460f81b167effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161415905090565b60008060f81b604060f81b600d60009054906101000a900460f81b167effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161415905090565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061228157507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061229157506122908261323e565b5b9050919050565b6122a0612361565b73ffffffffffffffffffffffffffffffffffffffff166122be611b15565b73ffffffffffffffffffffffffffffffffffffffff1614612314576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161230b90614ffd565b60405180910390fd5b565b61231f81612f01565b61235e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123559061503d565b60405180910390fd5b50565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166123dc836118ac565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061242c6114e3565b61246b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161246290614edd565b60405180910390fd5b6011544210156124b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124a790614ebd565b60405180910390fd5b6000601654116124f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124ec906150fd565b60405180910390fd5b6125028383600f54612bbc565b600180601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461254f919061529b565b1115612590576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161258790614fdd565b60405180910390fd5b6001905092915050565b6000806125b46125ac846016546132a8565b6016546132f8565b9050601660008154809291906125c990615442565b91905055506125d883826133b3565b7f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d41213968853382604051612609929190614c30565b60405180910390a180915050919050565b600080612626836118ac565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061266857506126678185612002565b5b806126a657508373ffffffffffffffffffffffffffffffffffffffff1661268e84610d4f565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166126cf826118ac565b73ffffffffffffffffffffffffffffffffffffffff1614612725576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161271c90614e1d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612795576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161278c90614e7d565b60405180910390fd5b6127a08383836133d1565b6127ab600082612369565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546127fb9190615322565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612852919061529b565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461291183838361345f565b505050565b6000600261271061292791906152f1565b82109050919050565b6000600261271061294191906152f1565b8210158015612951575061271082105b9050919050565b600061296383613464565b61296c82613464565b600061298561297d866018546132a8565b601854613581565b9050600061271082612997919061529b565b9050601860008154809291906129ac90615442565b91905055506129bb86826133b3565b7f82bf558222c4c37aae80230f0a656373f327bcc6f1ac1ef73c385d4dec21b22333826040516129ec929190614c30565b60405180910390a180925050509392505050565b6000612a0a612171565b612a49576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a4090614f5d565b60405180910390fd5b601054421015612a8e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a859061513d565b60405180910390fd5b6011544210612ad2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ac990614e5d565b60405180910390fd5b600060165411612b17576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b0e906150fd565b60405180910390fd5b612b248383600e54612bbc565b600180601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612b71919061529b565b1115612bb2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ba990614f3d565b60405180910390fd5b6001905092915050565b612c2e838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f820116905080830192505050505050508233604051602001612c139190614b6a565b6040516020818303038152906040528051906020012061363c565b612c6d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c6490614d5d565b60405180910390fd5b505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612da7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d9e90614e9d565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612e989190614cea565b60405180910390a3505050565b612eb08484846126af565b612ebc84848484613653565b612efb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ef290614ddd565b60405180910390fd5b50505050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b6060600c8054612f7c9061546c565b80601f0160208091040260200160405190810160405280929190818152602001828054612fa89061546c565b8015612ff55780601f10612fca57610100808354040283529160200191612ff5565b820191906000526020600020905b815481529060010190602001808311612fd857829003601f168201915b5050505050905090565b6060600b805461300e9061546c565b80601f016020809104026020016040519081016040528092919081815260200182805461303a9061546c565b80156130875780601f1061305c57610100808354040283529160200191613087565b820191906000526020600020905b81548152906001019060200180831161306a57829003601f168201915b5050505050905090565b606060008214156130d9576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613239565b600082905060005b6000821461310b5780806130f4906154cf565b915050600a8261310491906152f1565b91506130e1565b60008167ffffffffffffffff81111561314d577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561317f5781602001600182028036833780820191505090505b5090505b60008514613232576001826131989190615322565b9150600a856131a7919061553c565b60306131b3919061529b565b60f81b8183815181106131ef577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561322b91906152f1565b9450613183565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600080833a43424430886040516020016132c89796959493929190614c59565b6040516020818303038152906040528051906020012060001c905082816132ef919061553c565b91505092915050565b6000806017600085815260200190815260200160002054905060006001846133209190615322565b905080851461339957600060176000838152602001908152602001600020549050600081141561336757816017600088815260200190815260200160002081905550613397565b80601760008881526020019081526020016000208190555060176000838152602001908152602001600020600090555b505b600082146133a757816133a9565b845b9250505092915050565b6133cd8282604051806020016040528060008152506137ea565b5050565b6133dc838383613845565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461345a5761341a338261261a565b613459576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134509061501d565b60405180910390fd5b5b505050565b505050565b600061346f826118ac565b905061347d816000846133d1565b613488600083612369565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546134d89190615322565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461357d8160008461345f565b5050565b6000806019600085815260200190815260200160002054905060006001846135a99190615322565b90508085146136225760006019600083815260200190815260200160002054905060008114156135f057816019600088815260200190815260200160002081905550613620565b80601960008881526020019081526020016000208190555060196000838152602001908152602001600020600090555b505b600082146136305781613632565b845b9250505092915050565b6000826136498584613959565b1490509392505050565b60006136748473ffffffffffffffffffffffffffffffffffffffff166139d5565b156137dd578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261369d612361565b8786866040518563ffffffff1660e01b81526004016136bf9493929190614be4565b602060405180830381600087803b1580156136d957600080fd5b505af192505050801561370a57506040513d601f19601f820116820180604052508101906137079190614448565b60015b61378d573d806000811461373a576040519150601f19603f3d011682016040523d82523d6000602084013e61373f565b606091505b50600081511415613785576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161377c90614ddd565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506137e2565b600190505b949350505050565b6137f483836139f8565b6138016000848484613653565b613840576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161383790614ddd565b60405180910390fd5b505050565b613850838383613bd2565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156138935761388e81613bd7565b6138d2565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146138d1576138d08382613c20565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156139155761391081613d8d565b613954565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614613953576139528282613ed0565b5b5b505050565b60008082905060005b84518110156139ca576139b5828683815181106139a8577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151613f4f565b915080806139c2906154cf565b915050613962565b508091505092915050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613a68576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613a5f90614fbd565b60405180910390fd5b613a7181612f01565b15613ab1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613aa890614e3d565b60405180910390fd5b613abd600083836133d1565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254613b0d919061529b565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4613bce6000838361345f565b5050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001613c2d84611a30565b613c379190615322565b9050600060076000848152602001908152602001600020549050818114613d1c576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050613da19190615322565b9050600060096000848152602001908152602001600020549050600060088381548110613df7577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060088381548110613e3f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613eb4577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000613edb83611a30565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b6000818310613f6757613f628284613f7a565b613f72565b613f718383613f7a565b5b905092915050565b600082600052816020526040600020905092915050565b828054613f9d9061546c565b90600052602060002090601f016020900481019282613fbf5760008555614006565b82601f10613fd857805160ff1916838001178555614006565b82800160010185558215614006579182015b82811115614005578251825591602001919060010190613fea565b5b5090506140139190614017565b5090565b5b80821115614030576000816000905550600101614018565b5090565b6000614047614042846151bd565b615198565b90508281526020810184848401111561405f57600080fd5b61406a848285615400565b509392505050565b6000614085614080846151ee565b615198565b90508281526020810184848401111561409d57600080fd5b6140a8848285615400565b509392505050565b6000813590506140bf81615e8e565b92915050565b60008083601f8401126140d757600080fd5b8235905067ffffffffffffffff8111156140f057600080fd5b60208301915083602082028301111561410857600080fd5b9250929050565b60008135905061411e81615ea5565b92915050565b60008135905061413381615ebc565b92915050565b60008135905061414881615ed3565b92915050565b60008135905061415d81615eea565b92915050565b60008151905061417281615eea565b92915050565b600082601f83011261418957600080fd5b8135614199848260208601614034565b91505092915050565b600082601f8301126141b357600080fd5b81356141c3848260208601614072565b91505092915050565b6000813590506141db81615f01565b92915050565b6000602082840312156141f357600080fd5b6000614201848285016140b0565b91505092915050565b6000806040838503121561421d57600080fd5b600061422b858286016140b0565b925050602061423c858286016140b0565b9150509250929050565b60008060006060848603121561425b57600080fd5b6000614269868287016140b0565b935050602061427a868287016140b0565b925050604061428b868287016141cc565b9150509250925092565b600080600080608085870312156142ab57600080fd5b60006142b9878288016140b0565b94505060206142ca878288016140b0565b93505060406142db878288016141cc565b925050606085013567ffffffffffffffff8111156142f857600080fd5b61430487828801614178565b91505092959194509250565b6000806040838503121561432357600080fd5b6000614331858286016140b0565b92505060206143428582860161410f565b9150509250929050565b6000806040838503121561435f57600080fd5b600061436d858286016140b0565b925050602061437e858286016141cc565b9150509250929050565b6000806020838503121561439b57600080fd5b600083013567ffffffffffffffff8111156143b557600080fd5b6143c1858286016140c5565b92509250509250929050565b6000602082840312156143df57600080fd5b60006143ed84828501614124565b91505092915050565b60006020828403121561440857600080fd5b600061441684828501614139565b91505092915050565b60006020828403121561443157600080fd5b600061443f8482850161414e565b91505092915050565b60006020828403121561445a57600080fd5b600061446884828501614163565b91505092915050565b60006020828403121561448357600080fd5b600082013567ffffffffffffffff81111561449d57600080fd5b6144a9848285016141a2565b91505092915050565b6000602082840312156144c457600080fd5b60006144d2848285016141cc565b91505092915050565b600080604083850312156144ee57600080fd5b60006144fc858286016141cc565b925050602061450d858286016141cc565b9150509250929050565b60006145238383614b4c565b60208301905092915050565b61453881615356565b82525050565b61454f61454a82615356565b615518565b82525050565b60006145608261522f565b61456a818561525d565b93506145758361521f565b8060005b838110156145a657815161458d8882614517565b975061459883615250565b925050600181019050614579565b5085935050505092915050565b6145bc81615368565b82525050565b6145cb81615374565b82525050565b6145da816153a0565b82525050565b60006145eb8261523a565b6145f5818561526e565b935061460581856020860161540f565b61460e81615629565b840191505092915050565b600061462482615245565b61462e818561527f565b935061463e81856020860161540f565b61464781615629565b840191505092915050565b600061465d82615245565b6146678185615290565b935061467781856020860161540f565b80840191505092915050565b600061469060268361527f565b915061469b82615647565b604082019050919050565b60006146b3602a8361527f565b91506146be82615696565b604082019050919050565b60006146d6601f8361527f565b91506146e1826156e5565b602082019050919050565b60006146f9602b8361527f565b91506147048261570e565b604082019050919050565b600061471c60328361527f565b91506147278261575d565b604082019050919050565b600061473f60268361527f565b915061474a826157ac565b604082019050919050565b600061476260258361527f565b915061476d826157fb565b604082019050919050565b6000614785601c8361527f565b91506147908261584a565b602082019050919050565b60006147a860158361527f565b91506147b382615873565b602082019050919050565b60006147cb60248361527f565b91506147d68261589c565b604082019050919050565b60006147ee60198361527f565b91506147f9826158eb565b602082019050919050565b600061481160288361527f565b915061481c82615914565b604082019050919050565b6000614834601f8361527f565b915061483f82615963565b602082019050919050565b600061485760298361527f565b91506148628261598c565b604082019050919050565b600061487a601c8361527f565b9150614885826159db565b602082019050919050565b600061489d60278361527f565b91506148a882615a04565b604082019050919050565b60006148c0601c8361527f565b91506148cb82615a53565b602082019050919050565b60006148e3601b8361527f565b91506148ee82615a7c565b602082019050919050565b6000614906603e8361527f565b915061491182615aa5565b604082019050919050565b600061492960208361527f565b915061493482615af4565b602082019050919050565b600061494c602a8361527f565b915061495782615b1d565b604082019050919050565b600061496f600583615290565b915061497a82615b6c565b600582019050919050565b600061499260208361527f565b915061499d82615b95565b602082019050919050565b60006149b560438361527f565b91506149c082615bbe565b606082019050919050565b60006149d860188361527f565b91506149e382615c33565b602082019050919050565b60006149fb60218361527f565b9150614a0682615c5c565b604082019050919050565b6000614a1e60158361527f565b9150614a2982615cab565b602082019050919050565b6000614a41602c8361527f565b9150614a4c82615cd4565b604082019050919050565b6000614a6460108361527f565b9150614a6f82615d23565b602082019050919050565b6000614a8760138361527f565b9150614a9282615d4c565b602082019050919050565b6000614aaa60148361527f565b9150614ab582615d75565b602082019050919050565b6000614acd602e8361527f565b9150614ad882615d9e565b604082019050919050565b6000614af060208361527f565b9150614afb82615ded565b602082019050919050565b6000614b13602783615290565b9150614b1e82615e16565b602782019050919050565b6000614b3660198361527f565b9150614b4182615e65565b602082019050919050565b614b55816153f6565b82525050565b614b64816153f6565b82525050565b6000614b76828461453e565b60148201915081905092915050565b6000614b918285614652565b9150614b9d8284614652565b9150614ba882614962565b91508190509392505050565b6000614bbf82614b06565b9150819050919050565b6000602082019050614bde600083018461452f565b92915050565b6000608082019050614bf9600083018761452f565b614c06602083018661452f565b614c136040830185614b5b565b8181036060830152614c2581846145e0565b905095945050505050565b6000604082019050614c45600083018561452f565b614c526020830184614b5b565b9392505050565b600060e082019050614c6e600083018a61452f565b614c7b6020830189614b5b565b614c886040830188614b5b565b614c956060830187614b5b565b614ca26080830186614b5b565b614caf60a083018561452f565b614cbc60c0830184614b5b565b98975050505050505050565b60006020820190508181036000830152614ce28184614555565b905092915050565b6000602082019050614cff60008301846145b3565b92915050565b6000602082019050614d1a60008301846145c2565b92915050565b6000602082019050614d3560008301846145d1565b92915050565b60006020820190508181036000830152614d558184614619565b905092915050565b60006020820190508181036000830152614d7681614683565b9050919050565b60006020820190508181036000830152614d96816146a6565b9050919050565b60006020820190508181036000830152614db6816146c9565b9050919050565b60006020820190508181036000830152614dd6816146ec565b9050919050565b60006020820190508181036000830152614df68161470f565b9050919050565b60006020820190508181036000830152614e1681614732565b9050919050565b60006020820190508181036000830152614e3681614755565b9050919050565b60006020820190508181036000830152614e5681614778565b9050919050565b60006020820190508181036000830152614e768161479b565b9050919050565b60006020820190508181036000830152614e96816147be565b9050919050565b60006020820190508181036000830152614eb6816147e1565b9050919050565b60006020820190508181036000830152614ed681614804565b9050919050565b60006020820190508181036000830152614ef681614827565b9050919050565b60006020820190508181036000830152614f168161484a565b9050919050565b60006020820190508181036000830152614f368161486d565b9050919050565b60006020820190508181036000830152614f5681614890565b9050919050565b60006020820190508181036000830152614f76816148b3565b9050919050565b60006020820190508181036000830152614f96816148d6565b9050919050565b60006020820190508181036000830152614fb6816148f9565b9050919050565b60006020820190508181036000830152614fd68161491c565b9050919050565b60006020820190508181036000830152614ff68161493f565b9050919050565b6000602082019050818103600083015261501681614985565b9050919050565b60006020820190508181036000830152615036816149a8565b9050919050565b60006020820190508181036000830152615056816149cb565b9050919050565b60006020820190508181036000830152615076816149ee565b9050919050565b6000602082019050818103600083015261509681614a11565b9050919050565b600060208201905081810360008301526150b681614a34565b9050919050565b600060208201905081810360008301526150d681614a57565b9050919050565b600060208201905081810360008301526150f681614a7a565b9050919050565b6000602082019050818103600083015261511681614a9d565b9050919050565b6000602082019050818103600083015261513681614ac0565b9050919050565b6000602082019050818103600083015261515681614ae3565b9050919050565b6000602082019050818103600083015261517681614b29565b9050919050565b60006020820190506151926000830184614b5b565b92915050565b60006151a26151b3565b90506151ae828261549e565b919050565b6000604051905090565b600067ffffffffffffffff8211156151d8576151d76155fa565b5b6151e182615629565b9050602081019050919050565b600067ffffffffffffffff821115615209576152086155fa565b5b61521282615629565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b60006152a6826153f6565b91506152b1836153f6565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156152e6576152e561556d565b5b828201905092915050565b60006152fc826153f6565b9150615307836153f6565b9250826153175761531661559c565b5b828204905092915050565b600061532d826153f6565b9150615338836153f6565b92508282101561534b5761534a61556d565b5b828203905092915050565b6000615361826153d6565b9050919050565b60008115159050919050565b60007fff0000000000000000000000000000000000000000000000000000000000000082169050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b8381101561542d578082015181840152602081019050615412565b8381111561543c576000848401525b50505050565b600061544d826153f6565b915060008214156154615761546061556d565b5b600182039050919050565b6000600282049050600182168061548457607f821691505b60208210811415615498576154976155cb565b5b50919050565b6154a782615629565b810181811067ffffffffffffffff821117156154c6576154c56155fa565b5b80604052505050565b60006154da826153f6565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561550d5761550c61556d565b5b600182019050919050565b60006155238261552a565b9050919050565b60006155358261563a565b9050919050565b6000615547826153f6565b9150615552836153f6565b9250826155625761556161559c565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f696e76616c69642070726f6f662c20796f75277265206e6f74206f6e2074686560008201527f206c6973742e0000000000000000000000000000000000000000000000000000602082015250565b7f6f6e6c7920746865206f776e6572206f6620626f7468204e4654732063616e2060008201527f6372616674207468656d00000000000000000000000000000000000000000000602082015250565b7f55524920717565727920666f72206e6f6e6578697374656e7420746f6b656e00600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f7468652077686974656c697374206973206f7665720000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f7468652077616974696e67206c697374206d696e74206973206e6f742073746160008201527f7274656420796574000000000000000000000000000000000000000000000000602082015250565b7f7468652077616974696e67206c697374206d696e742069732070617573656400600082015250565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b7f746865206372616674206973206e6f7420737461727465642079657400000000600082015250565b7f6d6178204e465473207065722077686974656c6973742061646472657373206560008201527f7863656564656400000000000000000000000000000000000000000000000000602082015250565b7f7468652077686974656c697374206d696e742069732070617573656400000000600082015250565b7f746865206d696e74206973206e6f742073746172746564207965740000000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c0000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f6d6178204e465473207065722077616974696e67206c6973742061646472657360008201527f7320657863656564656400000000000000000000000000000000000000000000602082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f6f6e6c7920746865206f776e6572206f7220617070726f76656420636f6e747260008201527f61637473206f66204e46542063616e207472616e73666572206f72206275726e60208201527f2069740000000000000000000000000000000000000000000000000000000000604082015250565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f616c6c204e465473206172652063726166746564210000000000000000000000600082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f696e76616c696420546f6b656e20496400000000000000000000000000000000600082015250565b7f7468652063726166742069732070617573656400000000000000000000000000600082015250565b7f616c6c204e46547320617265206d696e74656421000000000000000000000000600082015250565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206e6f7220617070726f766564000000000000000000000000000000000000602082015250565b7f7468652077686974656c697374206973206e6f74207374617274656420796574600082015250565b7f68747470733a2f2f6e66742e70706170652e696f2f61672f756e72657665616c60008201527f65642e6a736f6e00000000000000000000000000000000000000000000000000602082015250565b7f746865207075626c6963206d696e742069732070617573656400000000000000600082015250565b615e9781615356565b8114615ea257600080fd5b50565b615eae81615368565b8114615eb957600080fd5b50565b615ec581615374565b8114615ed057600080fd5b50565b615edc816153a0565b8114615ee757600080fd5b50565b615ef3816153aa565b8114615efe57600080fd5b50565b615f0a816153f6565b8114615f1557600080fd5b5056fe6563643836326262323137616630656133383730626466623063383135363766623164616361396236303031386536383565316332326161623331343662623565326434343366366464386666663462613164363963333437346538336265623862633064306536333963626533306333323961633934646438663734666565a2646970667358221220939e90cb6afe14470c4f12c8b9857354f010719ba1a88e5a9f9e0397c32c4fba64736f6c63430008040033
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106103ba5760003560e01c8063600cce1f116101f457806399347e631161011a578063d5b3621b116100ad578063edd568361161007c578063edd5683614610b91578063f2fde38b14610bad578063f348ce3f14610bc9578063fabd1d2d14610be7576103ba565b8063d5b3621b14610af7578063d67886d914610b13578063e8cb943814610b43578063e985e9c514610b61576103ba565b8063b88d4fde116100e9578063b88d4fde14610a71578063bd32fb6614610a8d578063c87b56dd14610aa9578063d3dd5fe014610ad9576103ba565b806399347e63146109fd578063a22cb46514610a1b578063a3d90cb414610a37578063aa98e0c614610a53576103ba565b8063715018a6116101925780638daa25ef116101615780638daa25ef14610973578063931e2e49146109a357806395d89b41146109c157806397d63ab5146109df576103ba565b8063715018a61461090f57806382cc6fce146109195780638b38f7eb146109375780638da5cb5b14610955576103ba565b80636835d20f116101ce5780636835d20f146108855780636c0360eb146108a35780636f63b60a146108c157806370a08231146108df576103ba565b8063600cce1f14610807578063634f3d4a146108255780636352211e14610855576103ba565b80632bb1a91a116102e457806354214f69116102775780635bc020bc116102465780635bc020bc1461077f5780635c04292c1461079d5780635ccd7dd9146107cd5780635fc028f5146107eb576103ba565b806354214f691461070b57806355f804b31461072957806356e7bea8146107455780635b92ac0d14610761576103ba565b80633e4dead7116102b35780633e4dead71461068357806342842e0e146106a1578063428ec4d4146106bd5780634f6ccce7146106db576103ba565b80632bb1a91a146105e75780632f745c591461060557806332cb6b0c14610635578063372f657c14610653576103ba565b80630a9951e51161035c578063157801541161032b578063157801541461055f57806318160ddd1461057d57806323b872dd1461059b578063289137a1146105b7576103ba565b80630a9951e5146104c357806310df82ce146104f35780631207700d146105115780631249c58b14610541576103ba565b80630799312c116103985780630799312c1461042b578063081812fc1461044757806308a5d0ad14610477578063095ea7b3146104a7576103ba565b806301ffc9a7146103bf57806302a5b436146103ef57806306fdde031461040d575b600080fd5b6103d960048036038101906103d4919061441f565b610c05565b6040516103e69190614cea565b60405180910390f35b6103f7610c7f565b6040516104049190614d3b565b60405180910390f35b610415610c9b565b6040516104229190614d3b565b60405180910390f35b61044560048036038101906104409190614471565b610d2d565b005b610461600480360381019061045c91906144b2565b610d4f565b60405161046e9190614bc9565b60405180910390f35b610491600480360381019061048c91906141e1565b610d95565b60405161049e9190614cc8565b60405180910390f35b6104c160048036038101906104bc919061434c565b610e8f565b005b6104dd60048036038101906104d891906141e1565b610fa7565b6040516104ea919061517d565b60405180910390f35b6104fb610fbf565b6040516105089190614d05565b60405180910390f35b61052b60048036038101906105269190614388565b610ffd565b604051610538919061517d565b60405180910390f35b610549611072565b604051610556919061517d565b60405180910390f35b610567611153565b6040516105749190614d05565b60405180910390f35b610585611191565b604051610592919061517d565b60405180910390f35b6105b560048036038101906105b09190614246565b61119e565b005b6105d160048036038101906105cc91906144db565b6111fe565b6040516105de919061517d565b60405180910390f35b6105ef611398565b6040516105fc919061517d565b60405180910390f35b61061f600480360381019061061a919061434c565b61139e565b60405161062c919061517d565b60405180910390f35b61063d611443565b60405161064a919061517d565b60405180910390f35b61066d60048036038101906106689190614388565b611449565b60405161067a919061517d565b60405180910390f35b61068b6114be565b604051610698919061517d565b60405180910390f35b6106bb60048036038101906106b69190614246565b6114c3565b005b6106c56114e3565b6040516106d29190614cea565b60405180910390f35b6106f560048036038101906106f091906144b2565b611528565b604051610702919061517d565b60405180910390f35b6107136115bf565b6040516107209190614cea565b60405180910390f35b610743600480360381019061073e9190614471565b611604565b005b61075f600480360381019061075a91906143f6565b611626565b005b610769611638565b6040516107769190614cea565b60405180910390f35b61078761167d565b6040516107949190614d05565b60405180910390f35b6107b760048036038101906107b29190614388565b6116bb565b6040516107c49190614cea565b60405180910390f35b6107d5611877565b6040516107e2919061517d565b60405180910390f35b610805600480360381019061080091906144b2565b61187c565b005b61080f61188e565b60405161081c9190614d20565b60405180910390f35b61083f600480360381019061083a91906141e1565b611894565b60405161084c919061517d565b60405180910390f35b61086f600480360381019061086a91906144b2565b6118ac565b60405161087c9190614bc9565b60405180910390f35b61088d61195e565b60405161089a919061517d565b60405180910390f35b6108ab611964565b6040516108b89190614d3b565b60405180910390f35b6108c96119f2565b6040516108d69190614d05565b60405180910390f35b6108f960048036038101906108f491906141e1565b611a30565b604051610906919061517d565b60405180910390f35b610917611ae8565b005b610921611afc565b60405161092e919061517d565b60405180910390f35b61093f611b02565b60405161094c9190614d05565b60405180910390f35b61095d611b15565b60405161096a9190614bc9565b60405180910390f35b61098d600480360381019061098891906143cd565b611b3f565b60405161099a9190614d05565b60405180910390f35b6109ab611b6a565b6040516109b8919061517d565b60405180910390f35b6109c9611b70565b6040516109d69190614d3b565b60405180910390f35b6109e7611c02565b6040516109f49190614d3b565b60405180910390f35b610a05611c1e565b604051610a129190614d3b565b60405180910390f35b610a356004803603810190610a309190614310565b611cac565b005b610a516004803603810190610a4c91906144b2565b611cc2565b005b610a5b611cd4565b604051610a689190614d20565b60405180910390f35b610a8b6004803603810190610a869190614295565b611cda565b005b610aa76004803603810190610aa291906143f6565b611d3c565b005b610ac36004803603810190610abe91906144b2565b611d4e565b604051610ad09190614d3b565b60405180910390f35b610ae1611e19565b604051610aee9190614d05565b60405180910390f35b610b116004803603810190610b0c91906144b2565b611e57565b005b610b2d6004803603810190610b289190614388565b611e69565b604051610b3a9190614cea565b60405180910390f35b610b4b611fe1565b604051610b589190614d3b565b60405180910390f35b610b7b6004803603810190610b76919061420a565b612002565b604051610b889190614cea565b60405180910390f35b610bab6004803603810190610ba691906144b2565b612096565b005b610bc76004803603810190610bc291906141e1565b6120a8565b005b610bd161212c565b604051610bde9190614cea565b60405180910390f35b610bef612171565b604051610bfc9190614cea565b60405180910390f35b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610c785750610c77826121b6565b5b9050919050565b604051806060016040528060408152602001615f196040913981565b606060008054610caa9061546c565b80601f0160208091040260200160405190810160405280929190818152602001828054610cd69061546c565b8015610d235780601f10610cf857610100808354040283529160200191610d23565b820191906000526020600020905b815481529060010190602001808311610d0657829003601f168201915b5050505050905090565b610d35612298565b80600c9080519060200190610d4b929190613f91565b5050565b6000610d5a82612316565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60606000610da283611a30565b905060008167ffffffffffffffff811115610de6577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015610e145781602001602082028036833780820191505090505b50905060005b82811015610e8457610e2c858261139e565b828281518110610e65577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010181815250508080610e7c906154cf565b915050610e1a565b508092505050919050565b6000610e9a826118ac565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610f0b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f029061505d565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610f2a612361565b73ffffffffffffffffffffffffffffffffffffffff161480610f595750610f5881610f53612361565b612002565b5b610f98576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f8f90614f9d565b60405180910390fd5b610fa28383612369565b505050565b60156020528060005260406000206000915090505481565b6000610fc9612298565b600860f81b600d60009054906101000a900460f81b18600d60006101000a81548160ff021916908360f81c02179055905090565b60006110098383612422565b506001601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461105a919061529b565b9250508190555061106a3361259a565b905092915050565b600061107c611638565b6110bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110b29061515d565b60405180910390fd5b601254421015611100576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110f790614f7d565b60405180910390fd5b600060165411611145576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161113c906150fd565b60405180910390fd5b61114e3361259a565b905090565b600061115d612298565b602060f81b600d60009054906101000a900460f81b18600d60006101000a81548160ff021916908360f81c02179055905090565b6000600880549050905090565b6111af6111a9612361565b8261261a565b6111ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111e59061511d565b60405180910390fd5b6111f98383836126af565b505050565b600061120861212c565b611247576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161123e906150dd565b60405180910390fd5b60135442101561128c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161128390614f1d565b60405180910390fd5b611296338461261a565b80156112a857506112a7338361261a565b5b6112e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112de90614d7d565b60405180910390fd5b6112f083612916565b8015611301575061130082612930565b5b611340576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611337906150bd565b60405180910390fd5b600060185411611385576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161137c9061507d565b60405180910390fd5b611390338484612958565b905092915050565b60105481565b60006113a983611a30565b82106113ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113e190614dbd565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b61271081565b60006114558383612a00565b506001601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546114a6919061529b565b925050819055506114b63361259a565b905092915050565b600181565b6114de83838360405180602001604052806000815250611cda565b505050565b60008060f81b602060f81b600d60009054906101000a900460f81b167effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161415905090565b6000611532611191565b8210611573576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161156a9061509d565b60405180910390fd5b600882815481106115ad577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b60008060f81b608060f81b600d60009054906101000a900460f81b167effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161415905090565b61160c612298565b80600b9080519060200190611622929190613f91565b5050565b61162e612298565b80600f8190555050565b60008060f81b601060f81b600d60009054906101000a900460f81b167effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161415905090565b6000611687612298565b608060f81b600d60009054906101000a900460f81b18600d60006101000a81548160ff021916908360f81c02179055905090565b60006116c5612171565b611704576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116fb90614f5d565b60405180910390fd5b601054421015611749576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117409061513d565b60405180910390fd5b601154421061178d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161178490614e5d565b60405180910390fd5b6000601654116117d2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117c9906150fd565b60405180910390fd5b6117df8383600e54612bbc565b600180601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461182c919061529b565b111561186d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161186490614f3d565b60405180910390fd5b6001905092915050565b600181565b611884612298565b8060138190555050565b600f5481565b60146020528060005260406000206000915090505481565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611955576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161194c9061503d565b60405180910390fd5b80915050919050565b60115481565b600b80546119719061546c565b80601f016020809104026020016040519081016040528092919081815260200182805461199d9061546c565b80156119ea5780601f106119bf576101008083540402835291602001916119ea565b820191906000526020600020905b8154815290600101906020018083116119cd57829003601f168201915b505050505081565b60006119fc612298565b604060f81b600d60009054906101000a900460f81b18600d60006101000a81548160ff021916908360f81c02179055905090565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611aa1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a9890614efd565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611af0612298565b611afa6000612c72565b565b60135481565b600d60009054906101000a900460f81b81565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000611b49612298565b81600d60006101000a81548160ff021916908360f81c021790559050919050565b60125481565b606060018054611b7f9061546c565b80601f0160208091040260200160405190810160405280929190818152602001828054611bab9061546c565b8015611bf85780601f10611bcd57610100808354040283529160200191611bf8565b820191906000526020600020905b815481529060010190602001808311611bdb57829003601f168201915b5050505050905090565b604051806060016040528060408152602001615f596040913981565b600c8054611c2b9061546c565b80601f0160208091040260200160405190810160405280929190818152602001828054611c579061546c565b8015611ca45780601f10611c7957610100808354040283529160200191611ca4565b820191906000526020600020905b815481529060010190602001808311611c8757829003601f168201915b505050505081565b611cbe611cb7612361565b8383612d38565b5050565b611cca612298565b8060108190555050565b600e5481565b611ceb611ce5612361565b8361261a565b611d2a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d219061511d565b60405180910390fd5b611d3684848484612ea5565b50505050565b611d44612298565b80600e8190555050565b6060611d5982612f01565b611d98576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d8f90614d9d565b60405180910390fd5b611da06115bf565b611dc957604051602001611db390614bb4565b6040516020818303038152906040529050611e14565b6127108210611ddf57611dda612f6d565b611de8565b611de7612fff565b5b611df183613091565b604051602001611e02929190614b85565b60405160208183030381529060405290505b919050565b6000611e23612298565b601060f81b600d60009054906101000a900460f81b18600d60006101000a81548160ff021916908360f81c02179055905090565b611e5f612298565b8060128190555050565b6000611e736114e3565b611eb2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ea990614edd565b60405180910390fd5b601154421015611ef7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eee90614ebd565b60405180910390fd5b600060165411611f3c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f33906150fd565b60405180910390fd5b611f498383600f54612bbc565b600180601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611f96919061529b565b1115611fd7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fce90614fdd565b60405180910390fd5b6001905092915050565b604051602001611ff090614bb4565b60405160208183030381529060405281565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61209e612298565b8060118190555050565b6120b0612298565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612120576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161211790614dfd565b60405180910390fd5b61212981612c72565b50565b60008060f81b600860f81b600d60009054906101000a900460f81b167effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161415905090565b60008060f81b604060f81b600d60009054906101000a900460f81b167effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161415905090565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061228157507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061229157506122908261323e565b5b9050919050565b6122a0612361565b73ffffffffffffffffffffffffffffffffffffffff166122be611b15565b73ffffffffffffffffffffffffffffffffffffffff1614612314576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161230b90614ffd565b60405180910390fd5b565b61231f81612f01565b61235e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123559061503d565b60405180910390fd5b50565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166123dc836118ac565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061242c6114e3565b61246b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161246290614edd565b60405180910390fd5b6011544210156124b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124a790614ebd565b60405180910390fd5b6000601654116124f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124ec906150fd565b60405180910390fd5b6125028383600f54612bbc565b600180601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461254f919061529b565b1115612590576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161258790614fdd565b60405180910390fd5b6001905092915050565b6000806125b46125ac846016546132a8565b6016546132f8565b9050601660008154809291906125c990615442565b91905055506125d883826133b3565b7f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d41213968853382604051612609929190614c30565b60405180910390a180915050919050565b600080612626836118ac565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061266857506126678185612002565b5b806126a657508373ffffffffffffffffffffffffffffffffffffffff1661268e84610d4f565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166126cf826118ac565b73ffffffffffffffffffffffffffffffffffffffff1614612725576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161271c90614e1d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612795576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161278c90614e7d565b60405180910390fd5b6127a08383836133d1565b6127ab600082612369565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546127fb9190615322565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612852919061529b565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461291183838361345f565b505050565b6000600261271061292791906152f1565b82109050919050565b6000600261271061294191906152f1565b8210158015612951575061271082105b9050919050565b600061296383613464565b61296c82613464565b600061298561297d866018546132a8565b601854613581565b9050600061271082612997919061529b565b9050601860008154809291906129ac90615442565b91905055506129bb86826133b3565b7f82bf558222c4c37aae80230f0a656373f327bcc6f1ac1ef73c385d4dec21b22333826040516129ec929190614c30565b60405180910390a180925050509392505050565b6000612a0a612171565b612a49576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a4090614f5d565b60405180910390fd5b601054421015612a8e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a859061513d565b60405180910390fd5b6011544210612ad2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ac990614e5d565b60405180910390fd5b600060165411612b17576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b0e906150fd565b60405180910390fd5b612b248383600e54612bbc565b600180601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612b71919061529b565b1115612bb2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ba990614f3d565b60405180910390fd5b6001905092915050565b612c2e838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f820116905080830192505050505050508233604051602001612c139190614b6a565b6040516020818303038152906040528051906020012061363c565b612c6d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c6490614d5d565b60405180910390fd5b505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612da7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d9e90614e9d565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612e989190614cea565b60405180910390a3505050565b612eb08484846126af565b612ebc84848484613653565b612efb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ef290614ddd565b60405180910390fd5b50505050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b6060600c8054612f7c9061546c565b80601f0160208091040260200160405190810160405280929190818152602001828054612fa89061546c565b8015612ff55780601f10612fca57610100808354040283529160200191612ff5565b820191906000526020600020905b815481529060010190602001808311612fd857829003601f168201915b5050505050905090565b6060600b805461300e9061546c565b80601f016020809104026020016040519081016040528092919081815260200182805461303a9061546c565b80156130875780601f1061305c57610100808354040283529160200191613087565b820191906000526020600020905b81548152906001019060200180831161306a57829003601f168201915b5050505050905090565b606060008214156130d9576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613239565b600082905060005b6000821461310b5780806130f4906154cf565b915050600a8261310491906152f1565b91506130e1565b60008167ffffffffffffffff81111561314d577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561317f5781602001600182028036833780820191505090505b5090505b60008514613232576001826131989190615322565b9150600a856131a7919061553c565b60306131b3919061529b565b60f81b8183815181106131ef577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561322b91906152f1565b9450613183565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600080833a43424430886040516020016132c89796959493929190614c59565b6040516020818303038152906040528051906020012060001c905082816132ef919061553c565b91505092915050565b6000806017600085815260200190815260200160002054905060006001846133209190615322565b905080851461339957600060176000838152602001908152602001600020549050600081141561336757816017600088815260200190815260200160002081905550613397565b80601760008881526020019081526020016000208190555060176000838152602001908152602001600020600090555b505b600082146133a757816133a9565b845b9250505092915050565b6133cd8282604051806020016040528060008152506137ea565b5050565b6133dc838383613845565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461345a5761341a338261261a565b613459576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134509061501d565b60405180910390fd5b5b505050565b505050565b600061346f826118ac565b905061347d816000846133d1565b613488600083612369565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546134d89190615322565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461357d8160008461345f565b5050565b6000806019600085815260200190815260200160002054905060006001846135a99190615322565b90508085146136225760006019600083815260200190815260200160002054905060008114156135f057816019600088815260200190815260200160002081905550613620565b80601960008881526020019081526020016000208190555060196000838152602001908152602001600020600090555b505b600082146136305781613632565b845b9250505092915050565b6000826136498584613959565b1490509392505050565b60006136748473ffffffffffffffffffffffffffffffffffffffff166139d5565b156137dd578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261369d612361565b8786866040518563ffffffff1660e01b81526004016136bf9493929190614be4565b602060405180830381600087803b1580156136d957600080fd5b505af192505050801561370a57506040513d601f19601f820116820180604052508101906137079190614448565b60015b61378d573d806000811461373a576040519150601f19603f3d011682016040523d82523d6000602084013e61373f565b606091505b50600081511415613785576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161377c90614ddd565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506137e2565b600190505b949350505050565b6137f483836139f8565b6138016000848484613653565b613840576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161383790614ddd565b60405180910390fd5b505050565b613850838383613bd2565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156138935761388e81613bd7565b6138d2565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146138d1576138d08382613c20565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156139155761391081613d8d565b613954565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614613953576139528282613ed0565b5b5b505050565b60008082905060005b84518110156139ca576139b5828683815181106139a8577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151613f4f565b915080806139c2906154cf565b915050613962565b508091505092915050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613a68576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613a5f90614fbd565b60405180910390fd5b613a7181612f01565b15613ab1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613aa890614e3d565b60405180910390fd5b613abd600083836133d1565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254613b0d919061529b565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4613bce6000838361345f565b5050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001613c2d84611a30565b613c379190615322565b9050600060076000848152602001908152602001600020549050818114613d1c576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050613da19190615322565b9050600060096000848152602001908152602001600020549050600060088381548110613df7577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060088381548110613e3f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613eb4577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000613edb83611a30565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b6000818310613f6757613f628284613f7a565b613f72565b613f718383613f7a565b5b905092915050565b600082600052816020526040600020905092915050565b828054613f9d9061546c565b90600052602060002090601f016020900481019282613fbf5760008555614006565b82601f10613fd857805160ff1916838001178555614006565b82800160010185558215614006579182015b82811115614005578251825591602001919060010190613fea565b5b5090506140139190614017565b5090565b5b80821115614030576000816000905550600101614018565b5090565b6000614047614042846151bd565b615198565b90508281526020810184848401111561405f57600080fd5b61406a848285615400565b509392505050565b6000614085614080846151ee565b615198565b90508281526020810184848401111561409d57600080fd5b6140a8848285615400565b509392505050565b6000813590506140bf81615e8e565b92915050565b60008083601f8401126140d757600080fd5b8235905067ffffffffffffffff8111156140f057600080fd5b60208301915083602082028301111561410857600080fd5b9250929050565b60008135905061411e81615ea5565b92915050565b60008135905061413381615ebc565b92915050565b60008135905061414881615ed3565b92915050565b60008135905061415d81615eea565b92915050565b60008151905061417281615eea565b92915050565b600082601f83011261418957600080fd5b8135614199848260208601614034565b91505092915050565b600082601f8301126141b357600080fd5b81356141c3848260208601614072565b91505092915050565b6000813590506141db81615f01565b92915050565b6000602082840312156141f357600080fd5b6000614201848285016140b0565b91505092915050565b6000806040838503121561421d57600080fd5b600061422b858286016140b0565b925050602061423c858286016140b0565b9150509250929050565b60008060006060848603121561425b57600080fd5b6000614269868287016140b0565b935050602061427a868287016140b0565b925050604061428b868287016141cc565b9150509250925092565b600080600080608085870312156142ab57600080fd5b60006142b9878288016140b0565b94505060206142ca878288016140b0565b93505060406142db878288016141cc565b925050606085013567ffffffffffffffff8111156142f857600080fd5b61430487828801614178565b91505092959194509250565b6000806040838503121561432357600080fd5b6000614331858286016140b0565b92505060206143428582860161410f565b9150509250929050565b6000806040838503121561435f57600080fd5b600061436d858286016140b0565b925050602061437e858286016141cc565b9150509250929050565b6000806020838503121561439b57600080fd5b600083013567ffffffffffffffff8111156143b557600080fd5b6143c1858286016140c5565b92509250509250929050565b6000602082840312156143df57600080fd5b60006143ed84828501614124565b91505092915050565b60006020828403121561440857600080fd5b600061441684828501614139565b91505092915050565b60006020828403121561443157600080fd5b600061443f8482850161414e565b91505092915050565b60006020828403121561445a57600080fd5b600061446884828501614163565b91505092915050565b60006020828403121561448357600080fd5b600082013567ffffffffffffffff81111561449d57600080fd5b6144a9848285016141a2565b91505092915050565b6000602082840312156144c457600080fd5b60006144d2848285016141cc565b91505092915050565b600080604083850312156144ee57600080fd5b60006144fc858286016141cc565b925050602061450d858286016141cc565b9150509250929050565b60006145238383614b4c565b60208301905092915050565b61453881615356565b82525050565b61454f61454a82615356565b615518565b82525050565b60006145608261522f565b61456a818561525d565b93506145758361521f565b8060005b838110156145a657815161458d8882614517565b975061459883615250565b925050600181019050614579565b5085935050505092915050565b6145bc81615368565b82525050565b6145cb81615374565b82525050565b6145da816153a0565b82525050565b60006145eb8261523a565b6145f5818561526e565b935061460581856020860161540f565b61460e81615629565b840191505092915050565b600061462482615245565b61462e818561527f565b935061463e81856020860161540f565b61464781615629565b840191505092915050565b600061465d82615245565b6146678185615290565b935061467781856020860161540f565b80840191505092915050565b600061469060268361527f565b915061469b82615647565b604082019050919050565b60006146b3602a8361527f565b91506146be82615696565b604082019050919050565b60006146d6601f8361527f565b91506146e1826156e5565b602082019050919050565b60006146f9602b8361527f565b91506147048261570e565b604082019050919050565b600061471c60328361527f565b91506147278261575d565b604082019050919050565b600061473f60268361527f565b915061474a826157ac565b604082019050919050565b600061476260258361527f565b915061476d826157fb565b604082019050919050565b6000614785601c8361527f565b91506147908261584a565b602082019050919050565b60006147a860158361527f565b91506147b382615873565b602082019050919050565b60006147cb60248361527f565b91506147d68261589c565b604082019050919050565b60006147ee60198361527f565b91506147f9826158eb565b602082019050919050565b600061481160288361527f565b915061481c82615914565b604082019050919050565b6000614834601f8361527f565b915061483f82615963565b602082019050919050565b600061485760298361527f565b91506148628261598c565b604082019050919050565b600061487a601c8361527f565b9150614885826159db565b602082019050919050565b600061489d60278361527f565b91506148a882615a04565b604082019050919050565b60006148c0601c8361527f565b91506148cb82615a53565b602082019050919050565b60006148e3601b8361527f565b91506148ee82615a7c565b602082019050919050565b6000614906603e8361527f565b915061491182615aa5565b604082019050919050565b600061492960208361527f565b915061493482615af4565b602082019050919050565b600061494c602a8361527f565b915061495782615b1d565b604082019050919050565b600061496f600583615290565b915061497a82615b6c565b600582019050919050565b600061499260208361527f565b915061499d82615b95565b602082019050919050565b60006149b560438361527f565b91506149c082615bbe565b606082019050919050565b60006149d860188361527f565b91506149e382615c33565b602082019050919050565b60006149fb60218361527f565b9150614a0682615c5c565b604082019050919050565b6000614a1e60158361527f565b9150614a2982615cab565b602082019050919050565b6000614a41602c8361527f565b9150614a4c82615cd4565b604082019050919050565b6000614a6460108361527f565b9150614a6f82615d23565b602082019050919050565b6000614a8760138361527f565b9150614a9282615d4c565b602082019050919050565b6000614aaa60148361527f565b9150614ab582615d75565b602082019050919050565b6000614acd602e8361527f565b9150614ad882615d9e565b604082019050919050565b6000614af060208361527f565b9150614afb82615ded565b602082019050919050565b6000614b13602783615290565b9150614b1e82615e16565b602782019050919050565b6000614b3660198361527f565b9150614b4182615e65565b602082019050919050565b614b55816153f6565b82525050565b614b64816153f6565b82525050565b6000614b76828461453e565b60148201915081905092915050565b6000614b918285614652565b9150614b9d8284614652565b9150614ba882614962565b91508190509392505050565b6000614bbf82614b06565b9150819050919050565b6000602082019050614bde600083018461452f565b92915050565b6000608082019050614bf9600083018761452f565b614c06602083018661452f565b614c136040830185614b5b565b8181036060830152614c2581846145e0565b905095945050505050565b6000604082019050614c45600083018561452f565b614c526020830184614b5b565b9392505050565b600060e082019050614c6e600083018a61452f565b614c7b6020830189614b5b565b614c886040830188614b5b565b614c956060830187614b5b565b614ca26080830186614b5b565b614caf60a083018561452f565b614cbc60c0830184614b5b565b98975050505050505050565b60006020820190508181036000830152614ce28184614555565b905092915050565b6000602082019050614cff60008301846145b3565b92915050565b6000602082019050614d1a60008301846145c2565b92915050565b6000602082019050614d3560008301846145d1565b92915050565b60006020820190508181036000830152614d558184614619565b905092915050565b60006020820190508181036000830152614d7681614683565b9050919050565b60006020820190508181036000830152614d96816146a6565b9050919050565b60006020820190508181036000830152614db6816146c9565b9050919050565b60006020820190508181036000830152614dd6816146ec565b9050919050565b60006020820190508181036000830152614df68161470f565b9050919050565b60006020820190508181036000830152614e1681614732565b9050919050565b60006020820190508181036000830152614e3681614755565b9050919050565b60006020820190508181036000830152614e5681614778565b9050919050565b60006020820190508181036000830152614e768161479b565b9050919050565b60006020820190508181036000830152614e96816147be565b9050919050565b60006020820190508181036000830152614eb6816147e1565b9050919050565b60006020820190508181036000830152614ed681614804565b9050919050565b60006020820190508181036000830152614ef681614827565b9050919050565b60006020820190508181036000830152614f168161484a565b9050919050565b60006020820190508181036000830152614f368161486d565b9050919050565b60006020820190508181036000830152614f5681614890565b9050919050565b60006020820190508181036000830152614f76816148b3565b9050919050565b60006020820190508181036000830152614f96816148d6565b9050919050565b60006020820190508181036000830152614fb6816148f9565b9050919050565b60006020820190508181036000830152614fd68161491c565b9050919050565b60006020820190508181036000830152614ff68161493f565b9050919050565b6000602082019050818103600083015261501681614985565b9050919050565b60006020820190508181036000830152615036816149a8565b9050919050565b60006020820190508181036000830152615056816149cb565b9050919050565b60006020820190508181036000830152615076816149ee565b9050919050565b6000602082019050818103600083015261509681614a11565b9050919050565b600060208201905081810360008301526150b681614a34565b9050919050565b600060208201905081810360008301526150d681614a57565b9050919050565b600060208201905081810360008301526150f681614a7a565b9050919050565b6000602082019050818103600083015261511681614a9d565b9050919050565b6000602082019050818103600083015261513681614ac0565b9050919050565b6000602082019050818103600083015261515681614ae3565b9050919050565b6000602082019050818103600083015261517681614b29565b9050919050565b60006020820190506151926000830184614b5b565b92915050565b60006151a26151b3565b90506151ae828261549e565b919050565b6000604051905090565b600067ffffffffffffffff8211156151d8576151d76155fa565b5b6151e182615629565b9050602081019050919050565b600067ffffffffffffffff821115615209576152086155fa565b5b61521282615629565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b60006152a6826153f6565b91506152b1836153f6565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156152e6576152e561556d565b5b828201905092915050565b60006152fc826153f6565b9150615307836153f6565b9250826153175761531661559c565b5b828204905092915050565b600061532d826153f6565b9150615338836153f6565b92508282101561534b5761534a61556d565b5b828203905092915050565b6000615361826153d6565b9050919050565b60008115159050919050565b60007fff0000000000000000000000000000000000000000000000000000000000000082169050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b8381101561542d578082015181840152602081019050615412565b8381111561543c576000848401525b50505050565b600061544d826153f6565b915060008214156154615761546061556d565b5b600182039050919050565b6000600282049050600182168061548457607f821691505b60208210811415615498576154976155cb565b5b50919050565b6154a782615629565b810181811067ffffffffffffffff821117156154c6576154c56155fa565b5b80604052505050565b60006154da826153f6565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561550d5761550c61556d565b5b600182019050919050565b60006155238261552a565b9050919050565b60006155358261563a565b9050919050565b6000615547826153f6565b9150615552836153f6565b9250826155625761556161559c565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f696e76616c69642070726f6f662c20796f75277265206e6f74206f6e2074686560008201527f206c6973742e0000000000000000000000000000000000000000000000000000602082015250565b7f6f6e6c7920746865206f776e6572206f6620626f7468204e4654732063616e2060008201527f6372616674207468656d00000000000000000000000000000000000000000000602082015250565b7f55524920717565727920666f72206e6f6e6578697374656e7420746f6b656e00600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f7468652077686974656c697374206973206f7665720000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f7468652077616974696e67206c697374206d696e74206973206e6f742073746160008201527f7274656420796574000000000000000000000000000000000000000000000000602082015250565b7f7468652077616974696e67206c697374206d696e742069732070617573656400600082015250565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b7f746865206372616674206973206e6f7420737461727465642079657400000000600082015250565b7f6d6178204e465473207065722077686974656c6973742061646472657373206560008201527f7863656564656400000000000000000000000000000000000000000000000000602082015250565b7f7468652077686974656c697374206d696e742069732070617573656400000000600082015250565b7f746865206d696e74206973206e6f742073746172746564207965740000000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c0000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f6d6178204e465473207065722077616974696e67206c6973742061646472657360008201527f7320657863656564656400000000000000000000000000000000000000000000602082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f6f6e6c7920746865206f776e6572206f7220617070726f76656420636f6e747260008201527f61637473206f66204e46542063616e207472616e73666572206f72206275726e60208201527f2069740000000000000000000000000000000000000000000000000000000000604082015250565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f616c6c204e465473206172652063726166746564210000000000000000000000600082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f696e76616c696420546f6b656e20496400000000000000000000000000000000600082015250565b7f7468652063726166742069732070617573656400000000000000000000000000600082015250565b7f616c6c204e46547320617265206d696e74656421000000000000000000000000600082015250565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206e6f7220617070726f766564000000000000000000000000000000000000602082015250565b7f7468652077686974656c697374206973206e6f74207374617274656420796574600082015250565b7f68747470733a2f2f6e66742e70706170652e696f2f61672f756e72657665616c60008201527f65642e6a736f6e00000000000000000000000000000000000000000000000000602082015250565b7f746865207075626c6963206d696e742069732070617573656400000000000000600082015250565b615e9781615356565b8114615ea257600080fd5b50565b615eae81615368565b8114615eb957600080fd5b50565b615ec581615374565b8114615ed057600080fd5b50565b615edc816153a0565b8114615ee757600080fd5b50565b615ef3816153aa565b8114615efe57600080fd5b50565b615f0a816153f6565b8114615f1557600080fd5b5056fe6563643836326262323137616630656133383730626466623063383135363766623164616361396236303031386536383565316332326161623331343662623565326434343366366464386666663462613164363963333437346538336265623862633064306536333963626533306333323961633934646438663734666565a2646970667358221220939e90cb6afe14470c4f12c8b9857354f010719ba1a88e5a9f9e0397c32c4fba64736f6c63430008040033
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.