ERC-721
Overview
Max Total Supply
1,666 SPUMPKIN
Holders
688
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
9 SPUMPKINLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
SPumpkin
Compiler Version
v0.8.9+commit.e5eed63a
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT /* .,' .'`.' .' .' _.ood0Pp._ ,' `.~ .q?00doo._ .od00Pd0000Pdb._. . _:db?000b?000bo. .?000Pd0000PP?000PdbMb?000P??000b?0000b. .d0000Pd0000P' `?0Pd000b?0' `?000b?0000b. .d0000Pd0000?' `?d000b?' `?00b?0000b. d00000Pd0000Pd0000Pd00000b?00000b?0000b?0000b ?00000b?0000b?0000b?b dd00000Pd0000Pd0000P `?0000b?0000b?0000b?0b dPd00000Pd0000Pd000P' `?0000b?0000b?0000b?0bd0Pd0000Pd0000Pd000P' `?000b?00bo. `?P' `?P' .od0Pd000P' `~?00b?000bo._ .db. _.od000Pd0P~' `~?0b?0b?000b?0Pd0Pd000PdP~' */ pragma solidity ^0.8.9; import "./ERC721A.sol"; import "@openzeppelin/contracts/utils/Counters.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; contract SPumpkin is ERC721A, Ownable { using Strings for uint256; bytes32 public merkleRoot; mapping(address => uint256) public wlClaimed; //public mapping(address => uint256) public publicClaimed; string public uriPrefix = ""; string public uriSuffix = ""; // public mint cost, max supply , max amount uint256 public publicCost = 0.0069 ether; uint256 public publicMaxMintAmount = 3; // whitelist uint256 public wlCost = 0.0045 ether; uint256 public wlMaxMintAmount = 2; // max supply uint256 public maxSupply = 2222; bool public publicSaleEnabled = false; bool public whitelistMintEnabled = false; bool private costPayed = false; address public royaltyAddress = address(0x877c12a0A3220CDDf5d9Ab654c5678970f2233C8); uint256 public royaltyPercent = 10; constructor() ERC721A("SPUMPKIN", "SPUMPKIN") {} // Makes sure the mint amount is valid and not greater than the max supply. modifier publicMintCompliance(uint256 _mintAmount) { require( _mintAmount <= publicMaxMintAmount, "That amount is higher then publicMaxMintAmount" ); require( totalSupply() + _mintAmount <= maxSupply, "Public Mint sold out already" ); _; } modifier wlMintCompliance(uint256 _mintAmount) { require( _mintAmount <= wlMaxMintAmount, "That amount is higher then wlMaxMintAmount" ); require( totalSupply() + _mintAmount <= maxSupply, "Whitelist Mint sold out already" ); _; } modifier publicPriceCompliance(uint256 _mintAmount) { require( msg.value >= publicCost * _mintAmount, "You didn't send enough ETH to mint" ); _; } modifier wlPriceCompliance(uint256 _mintAmount) { require( msg.value >= wlCost * _mintAmount, "You didn't send enough ETH to mint" ); _; } /* _ __ ____ ___ (_)___ / /_ / __ `__ \/ / __ \/ __/ / / / / / / / / / / /_ /_/ /_/ /_/_/_/ /_/\__/ */ function whitelistMint(uint256 _mintAmount, bytes32[] calldata _merkleProof) public payable wlMintCompliance(_mintAmount) wlPriceCompliance(_mintAmount) { // Verify whitelist requirements require(whitelistMintEnabled, "Whitelist minting is not enabled yet"); require( MerkleProof.verify( _merkleProof, merkleRoot, keccak256(abi.encodePacked(msg.sender)) ), "You are not in the list!" ); // Make sure the user does not mint more than what he is allowed to require( (wlClaimed[msg.sender] + _mintAmount) <= wlMaxMintAmount, "You have already claimed what you are allowed to!" ); // Update the number of claimed tokens for the whitelist sale wlClaimed[msg.sender] += _mintAmount; _safeMint(msg.sender, _mintAmount); } function mint(uint256 _mintAmount) public payable publicMintCompliance(_mintAmount) publicPriceCompliance(_mintAmount) { require( publicSaleEnabled, "Public sale is not enabled yet. Check back later!" ); require( (publicClaimed[msg.sender] + _mintAmount) <= publicMaxMintAmount, "You have already claimed what you are allowed to!" ); publicClaimed[msg.sender] += _mintAmount; _safeMint(msg.sender, _mintAmount); } // Internal function to airdrop multiple tokens to multiple wallets. function mintForAddresses(uint256 _mintAmount, address[] memory _receivers) public onlyOwner { require( totalSupply() + _mintAmount * _receivers.length <= maxSupply, "Is over supply" ); require(_mintAmount > 0, "Mint amount must be greater than 0"); for (uint256 i = 0; i < _receivers.length; i++) { _safeMint(_receivers[i], _mintAmount); } } /* __ __ ________ / /_/ /____ __________ / ___/ _ \/ __/ __/ _ \/ ___/ ___/ (__ ) __/ /_/ /_/ __/ / (__ ) /____/\___/\__/\__/\___/_/ /____/ */ function setPublicCost(uint256 _cost) public onlyOwner { publicCost = _cost; } function setWlCost(uint256 _cost) public onlyOwner { wlCost = _cost; } function setPublicMaxMintAmount(uint256 _maxMintAmount) public onlyOwner { publicMaxMintAmount = _maxMintAmount; } function setWlMaxMintAmount(uint256 _maxMintAmount) public onlyOwner { wlMaxMintAmount = _maxMintAmount; } function setMaxSupply(uint256 _maxSupply) public onlyOwner { maxSupply = _maxSupply; } function setUriPrefix(string memory _uriPrefix) public onlyOwner { uriPrefix = _uriPrefix; } function setUriSuffix(string memory _uriSuffix) public onlyOwner { uriSuffix = _uriSuffix; } function setPublicSaleEnabled(bool _state) public onlyOwner { publicSaleEnabled = _state; } function setMerkleRoot(bytes32 _merkleRoot) public onlyOwner { merkleRoot = _merkleRoot; } function setWhitelistMintEnabled(bool _state) public onlyOwner { whitelistMintEnabled = _state; } /* _ __ __ __ _ __(_) /_/ /_ ____/ /________ __ __ | | /| / / / __/ __ \/ __ / ___/ __ `/ | /| / / | |/ |/ / / /_/ / / / /_/ / / / /_/ /| |/ |/ / |__/|__/_/\__/_/ /_/\__,_/_/ \__,_/ |__/|__/ */ // Used in case the contract receives funds. function withdraw() public onlyOwner { // This will transfer the remaining contract balance to the owner. // ============================================================================= uint256 bal = address(this).balance; uint256 cost = 0 ether; uint256 balance = bal; address devAddress = address(0x840a56131FcfbF169e84dEadA1546b0684BDAD5f); address artistAddress = address(0xA91B390FeFa2C198FCF1Bd25B426F114D30fda9b); address marketingAddress = address(0x4caC860b1A5b005fE7598069c4B4F60D062E749a); if (bal > 0.9 ether && !costPayed) { cost = 0.9 ether; balance = bal - cost; costPayed = true; payable(marketingAddress).transfer(cost); } // Dev : 33% , Artist : 33%, Marketing : 33% , inkl Cost uint256 dev = (balance * 33) / 100; uint256 artist = (balance * 33) / 100; uint256 marketing = (balance * 33) / 100; (bool ds, ) = payable(devAddress).call{value: dev}(""); (bool gs, ) = payable(artistAddress).call{value: artist}(""); (bool ms, ) = payable(marketingAddress).call{value: marketing}(""); require(ds && gs && ms, "Transfer failed."); // ============================================================================= } function emergencyWithdraw() public onlyOwner { bool os = payable(owner()).send(address(this).balance); require(os, "Transfer failed."); } /* _ __ ____ _ _____ __________(_)___/ /__ _____ / __ \ | / / _ \/ ___/ ___/ / __ / _ \/ ___/ / /_/ / |/ / __/ / / / / / /_/ / __(__ ) \____/|___/\___/_/ /_/ /_/\__,_/\___/____/ */ function tokenURI(uint256 _tokenId) public view virtual override returns (string memory) { require( _exists(_tokenId), "ERC721Metadata: URI query for nonexistent token" ); string memory currentBaseURI = _baseURI(); return bytes(currentBaseURI).length > 0 ? string( abi.encodePacked( currentBaseURI, _tokenId.toString(), uriSuffix ) ) : ""; } // ERC721A baseURI override function _baseURI() internal view virtual override returns (string memory) { return uriPrefix; } // ======== Royalties ========= function setRoyaltyReceiver(address royaltyReceiver) public onlyOwner { royaltyAddress = royaltyReceiver; } function setRoyaltyPercentage(uint256 royaltyPercentage) public onlyOwner { royaltyPercent = royaltyPercentage; } }
// SPDX-License-Identifier: MIT // Creators: locationtba.eth, 2pmflow.eth pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts/utils/Context.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata and Enumerable extension. Built to optimize for lower gas during batch mints. * * Assumes serials are sequentially minted starting at 0 (e.g. 0, 1, 2, 3..). * */ contract ERC721A is Context, ERC165, IERC721, IERC721Metadata, IERC721Enumerable { using Address for address; using Strings for uint256; // Compiler will pack this into a single 256bit word. struct TokenOwnership { // The address of the owner. address addr; // Keeps track of the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; } // Compiler will pack this into a single 256bit word. struct AddressData { // Realistically, 2**64-1 is more than enough. uint64 balance; // Keeps track of mint count with minimal overhead for tokenomics. uint64 numberMinted; // Keeps track of burn count with minimal overhead for tokenomics. uint64 numberBurned; // For miscellaneous variables (e.g. number preSale minted). // Please pack into 64 bits. uint64 aux; } uint256 internal currentIndex = 0; uint256 internal totalBurned = 0; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. See ownershipOf implementation for details. mapping(uint256 => TokenOwnership) internal _ownerships; // Mapping owner address to address data mapping(address => AddressData) private _addressData; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Skips the zero index. * This method must be called before any mints (e.g. in the consturctor). */ function _initOneIndexed() internal { require(!_exists(0), "ERC721A: 0 index already occupied."); currentIndex = 1; totalBurned = 1; _ownerships[0].burned = true; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view override returns (uint256) { return currentIndex - totalBurned; } /** * @dev See {IERC721Enumerable-tokenByIndex}. * This read function is O(totalSupply). If calling from a separate contract, be sure to test gas first. * It may also degrade with extremely large collection sizes (e.g >> 10000), test for your use case. */ function tokenByIndex(uint256 index) public view override returns (uint256) { uint256 numMintedSoFar = currentIndex; uint256 tokenIdsIdx = 0; for (uint256 i = 0; i < numMintedSoFar; i++) { TokenOwnership memory ownership = _ownerships[i]; if (!ownership.burned) { if (tokenIdsIdx == index) { return i; } tokenIdsIdx++; } } require(false, 'ERC721A: global index out of bounds'); return 0; } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. * This read function is O(totalSupply). If calling from a separate contract, be sure to test gas first. * It may also degrade with extremely large collection sizes (e.g >> 10000), test for your use case. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view override returns (uint256) { require(index < balanceOf(owner), 'ERC721A: owner index out of bounds'); uint256 numMintedSoFar = currentIndex; uint256 tokenIdsIdx = 0; address currOwnershipAddr = address(0); for (uint256 i = 0; i < numMintedSoFar; i++) { TokenOwnership memory ownership = _ownerships[i]; if (ownership.addr != address(0)) { currOwnershipAddr = ownership.addr; } if (ownership.burned) { currOwnershipAddr = address(0); } if (currOwnershipAddr == owner) { if (tokenIdsIdx == index) { return i; } tokenIdsIdx++; } } revert('ERC721A: unable to get token of owner by index'); } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view override returns (uint256) { require(owner != address(0), 'ERC721A: balance query for the zero address'); return uint256(_addressData[owner].balance); } function _numberMinted(address owner) internal view returns (uint256) { require(owner != address(0), 'ERC721A: number minted query for the zero address'); return uint256(_addressData[owner].numberMinted); } function _numberBurned(address owner) internal view returns (uint256) { require(owner != address(0), 'ERC721A: number burned query for the zero address'); return uint256(_addressData[owner].numberBurned); } function _getAux(address owner) internal view returns (uint64) { require(owner != address(0), 'ERC721A: aux query for the zero address'); return _addressData[owner].aux; } function _setAux(address owner, uint64 aux) internal { require(owner != address(0), 'ERC721A: aux query for the zero address'); _addressData[owner].aux = aux; } /** * Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around in the collection over time. */ function ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) { require(_exists(tokenId), 'ERC721A: owner query for nonexistent token'); for (uint256 curr = tokenId; ; curr--) { TokenOwnership memory ownership = _ownerships[curr]; if (ownership.addr != address(0) && !ownership.burned) { return ownership; } } revert('ERC721A: unable to determine the owner of token'); } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view override returns (address) { return ownershipOf(tokenId).addr; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), 'ERC721Metadata: URI query for nonexistent token'); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ''; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public override { address owner = ERC721A.ownerOf(tokenId); require(to != owner, 'ERC721A: approval to current owner'); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), 'ERC721A: approve caller is not owner nor approved for all' ); _approve(to, tokenId, owner); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view override returns (address) { require(_exists(tokenId), 'ERC721A: approved query for nonexistent token'); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public override { require(operator != _msgSender(), 'ERC721A: approve to caller'); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { _transfer(from, to, tokenId); require( _checkOnERC721Received(from, to, tokenId, _data), 'ERC721A: 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`), */ function _exists(uint256 tokenId) internal view returns (bool) { return tokenId < currentIndex && !_ownerships[tokenId].burned; } function _safeMint(address to, uint256 quantity) internal { _safeMint(to, quantity, ''); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * Emits a {Transfer} event. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal { _mint(to, quantity, _data, true); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event. */ function _mint( address to, uint256 quantity, bytes memory _data, bool safe ) internal { uint256 startTokenId = currentIndex; require(to != address(0), 'ERC721A: mint to the zero address'); // We know if the first token in the batch doesn't exist, the other ones don't as well, because of serial ordering. require(!_exists(startTokenId), 'ERC721A: token already minted'); require(quantity > 0, 'ERC721A: quantity must be greater than 0'); _beforeTokenTransfers(address(0), to, startTokenId, quantity); _addressData[to].balance += uint64(quantity); _addressData[to].numberMinted += uint64(quantity); _ownerships[startTokenId].addr = to; _ownerships[startTokenId].startTimestamp = uint64(block.timestamp); uint256 updatedIndex = startTokenId; for (uint256 i = 0; i < quantity; i++) { emit Transfer(address(0), to, updatedIndex); if (safe) { require( _checkOnERC721Received(address(0), to, updatedIndex, _data), 'ERC721A: transfer to non ERC721Receiver implementer' ); } updatedIndex++; } currentIndex = updatedIndex; _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) private { TokenOwnership memory prevOwnership = ownershipOf(tokenId); bool isApprovedOrOwner = (_msgSender() == prevOwnership.addr || getApproved(tokenId) == _msgSender() || isApprovedForAll(prevOwnership.addr, _msgSender())); require(isApprovedOrOwner, 'ERC721A: transfer caller is not owner nor approved'); require(prevOwnership.addr == from, 'ERC721A: transfer from incorrect owner'); require(to != address(0), 'ERC721A: transfer to the zero address'); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, prevOwnership.addr); // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. unchecked { _addressData[from].balance -= 1; _addressData[to].balance += 1; } _ownerships[tokenId].addr = to; _ownerships[tokenId].startTimestamp = uint64(block.timestamp); // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it. // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls. uint256 nextTokenId = tokenId + 1; if (_ownerships[nextTokenId].addr == address(0)) { if (_exists(nextTokenId)) { _ownerships[nextTokenId].addr = prevOwnership.addr; _ownerships[nextTokenId].startTimestamp = prevOwnership.startTimestamp; } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev 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 { TokenOwnership memory prevOwnership = ownershipOf(tokenId); _beforeTokenTransfers(prevOwnership.addr, address(0), tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, prevOwnership.addr); // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. unchecked { _addressData[prevOwnership.addr].balance -= 1; _addressData[prevOwnership.addr].numberBurned += 1; } // Keep track of who burnt the token, and when is it burned. _ownerships[tokenId].addr = prevOwnership.addr; _ownerships[tokenId].startTimestamp = uint64(block.timestamp); _ownerships[tokenId].burned = true; // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it. // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls. uint256 nextTokenId = tokenId + 1; if (_ownerships[nextTokenId].addr == address(0)) { if (_exists(nextTokenId)) { _ownerships[nextTokenId].addr = prevOwnership.addr; _ownerships[nextTokenId].startTimestamp = prevOwnership.startTimestamp; } } emit Transfer(prevOwnership.addr, address(0), tokenId); _afterTokenTransfers(prevOwnership.addr, address(0), tokenId, 1); totalBurned++; } /** * @dev Burns `tokenId`. See {ERC721A-_burn}. * * Requirements: * * - The caller must own `tokenId` or be an approved operator. */ function burn(uint256 tokenId) public virtual { TokenOwnership memory prevOwnership = ownershipOf(tokenId); bool isApprovedOrOwner = (_msgSender() == prevOwnership.addr || getApproved(tokenId) == _msgSender() || isApprovedForAll(prevOwnership.addr, _msgSender())); require(isApprovedOrOwner, 'ERC721A: caller is not owner nor approved'); _burn(tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve( address to, uint256 tokenId, address owner ) private { _tokenApprovals[tokenId] = to; emit Approval(owner, to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert('ERC721A: transfer to non ERC721Receiver implementer'); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token ids have been transferred. This includes * minting. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - when `from` and `to` are both non-zero. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Counters.sol) pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` */ library Counters { struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { unchecked { counter._value += 1; } } function decrement(Counter storage counter) internal { uint256 value = counter._value; require(value > 0, "Counter: decrement overflow"); unchecked { counter._value = value - 1; } } function reset(Counter storage counter) internal { counter._value = 0; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (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 v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (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 (last updated v4.7.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (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); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":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":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"emergencyWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"},{"internalType":"address[]","name":"_receivers","type":"address[]"}],"name":"mintForAddresses","outputs":[],"stateMutability":"nonpayable","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":[{"internalType":"address","name":"","type":"address"}],"name":"publicClaimed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicCost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicMaxMintAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicSaleEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"royaltyAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"royaltyPercent","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxSupply","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_cost","type":"uint256"}],"name":"setPublicCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxMintAmount","type":"uint256"}],"name":"setPublicMaxMintAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setPublicSaleEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"royaltyPercentage","type":"uint256"}],"name":"setRoyaltyPercentage","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"royaltyReceiver","type":"address"}],"name":"setRoyaltyReceiver","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uriPrefix","type":"string"}],"name":"setUriPrefix","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uriSuffix","type":"string"}],"name":"setUriSuffix","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setWhitelistMintEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_cost","type":"uint256"}],"name":"setWlCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxMintAmount","type":"uint256"}],"name":"setWlMaxMintAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uriPrefix","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uriSuffix","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"},{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"whitelistMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"whitelistMintEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"wlClaimed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"wlCost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"wlMaxMintAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
608060405260008055600060015560405180602001604052806000815250600c908051906020019062000034929190620002d0565b5060405180602001604052806000815250600d90805190602001906200005c929190620002d0565b506618838370f34000600e556003600f55660ffcb9e57d400060105560026011556108ae6012556000601360006101000a81548160ff0219169083151502179055506000601360016101000a81548160ff0219169083151502179055506000601360026101000a81548160ff02191690831515021790555073877c12a0a3220cddf5d9ab654c5678970f2233c8601360036101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600a6014553480156200013b57600080fd5b506040518060400160405280600881526020017f5350554d504b494e0000000000000000000000000000000000000000000000008152506040518060400160405280600881526020017f5350554d504b494e0000000000000000000000000000000000000000000000008152508160029080519060200190620001c0929190620002d0565b508060039080519060200190620001d9929190620002d0565b505050620001fc620001f06200020260201b60201c565b6200020a60201b60201c565b620003e5565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620002de90620003af565b90600052602060002090601f0160209004810192826200030257600085556200034e565b82601f106200031d57805160ff19168380011785556200034e565b828001600101855582156200034e579182015b828111156200034d57825182559160200191906001019062000330565b5b5090506200035d919062000361565b5090565b5b808211156200037c57600081600090555060010162000362565b5090565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620003c857607f821691505b60208210811415620003df57620003de62000380565b5b50919050565b615c3a80620003f56000396000f3fe6080604052600436106102e45760003560e01c80637b5cd7b811610190578063ad2f852a116100dc578063d2cab05611610095578063db2e21bc1161006f578063db2e21bc14610b06578063e985e9c514610b1d578063f12f6d5d14610b5a578063f2fde38b14610b83576102e4565b8063d2cab05614610a94578063d5abeb0114610ab0578063d70a28d114610adb576102e4565b8063ad2f852a14610972578063b5b1cd7c1461099d578063b767a098146109da578063b88d4fde14610a03578063c87b56dd14610a2c578063cce54e4414610a69576102e4565b80638da5cb5b116101495780639f67756d116101235780639f67756d146108d9578063a0712d6814610904578063a22cb46514610920578063a5025e7a14610949576102e4565b80638da5cb5b1461085a5780638dc251e31461088557806395d89b41146108ae576102e4565b80637b5cd7b8146107605780637cb647591461078b5780637ec4a659146107b4578063811d2437146107dd5780638693da20146108065780638720fbef14610831576102e4565b806342842e0e1161024f57806361ba27da116102085780636caede3d116101e25780636caede3d146106b85780636f8b44b0146106e357806370a082311461070c578063715018a614610749576102e4565b806361ba27da1461062757806362b99ad4146106505780636352211e1461067b576102e4565b806342842e0e1461050757806342966c681461053057806348313029146105595780634f6ccce7146105825780635503a0e8146105bf5780635a089b30146105ea576102e4565b806323b872dd116102a157806323b872dd1461040b5780632ab91bba146104345780632eb4a7ab1461045f5780632f745c591461048a5780633b6714f8146104c75780633ccfd60b146104f0576102e4565b806301ffc9a7146102e957806306fdde0314610326578063081812fc14610351578063095ea7b31461038e57806316ba10e0146103b757806318160ddd146103e0575b600080fd5b3480156102f557600080fd5b50610310600480360381019061030b9190613c94565b610bac565b60405161031d9190613cdc565b60405180910390f35b34801561033257600080fd5b5061033b610cf6565b6040516103489190613d90565b60405180910390f35b34801561035d57600080fd5b5061037860048036038101906103739190613de8565b610d88565b6040516103859190613e56565b60405180910390f35b34801561039a57600080fd5b506103b560048036038101906103b09190613e9d565b610e0d565b005b3480156103c357600080fd5b506103de60048036038101906103d99190614012565b610f26565b005b3480156103ec57600080fd5b506103f5610f48565b604051610402919061406a565b60405180910390f35b34801561041757600080fd5b50610432600480360381019061042d9190614085565b610f5f565b005b34801561044057600080fd5b50610449610f6f565b6040516104569190613cdc565b60405180910390f35b34801561046b57600080fd5b50610474610f82565b60405161048191906140f1565b60405180910390f35b34801561049657600080fd5b506104b160048036038101906104ac9190613e9d565b610f88565b6040516104be919061406a565b60405180910390f35b3480156104d357600080fd5b506104ee60048036038101906104e991906141d4565b6111aa565b005b3480156104fc57600080fd5b506105056112a0565b005b34801561051357600080fd5b5061052e60048036038101906105299190614085565b61159e565b005b34801561053c57600080fd5b5061055760048036038101906105529190613de8565b6115be565b005b34801561056557600080fd5b50610580600480360381019061057b9190613de8565b6116b8565b005b34801561058e57600080fd5b506105a960048036038101906105a49190613de8565b6116ca565b6040516105b6919061406a565b60405180910390f35b3480156105cb57600080fd5b506105d4611831565b6040516105e19190613d90565b60405180910390f35b3480156105f657600080fd5b50610611600480360381019061060c9190614230565b6118bf565b60405161061e919061406a565b60405180910390f35b34801561063357600080fd5b5061064e60048036038101906106499190613de8565b6118d7565b005b34801561065c57600080fd5b506106656118e9565b6040516106729190613d90565b60405180910390f35b34801561068757600080fd5b506106a2600480360381019061069d9190613de8565b611977565b6040516106af9190613e56565b60405180910390f35b3480156106c457600080fd5b506106cd61198d565b6040516106da9190613cdc565b60405180910390f35b3480156106ef57600080fd5b5061070a60048036038101906107059190613de8565b6119a0565b005b34801561071857600080fd5b50610733600480360381019061072e9190614230565b6119b2565b604051610740919061406a565b60405180910390f35b34801561075557600080fd5b5061075e611a8b565b005b34801561076c57600080fd5b50610775611a9f565b604051610782919061406a565b60405180910390f35b34801561079757600080fd5b506107b260048036038101906107ad9190614289565b611aa5565b005b3480156107c057600080fd5b506107db60048036038101906107d69190614012565b611ab7565b005b3480156107e957600080fd5b5061080460048036038101906107ff9190613de8565b611ad9565b005b34801561081257600080fd5b5061081b611aeb565b604051610828919061406a565b60405180910390f35b34801561083d57600080fd5b50610858600480360381019061085391906142e2565b611af1565b005b34801561086657600080fd5b5061086f611b16565b60405161087c9190613e56565b60405180910390f35b34801561089157600080fd5b506108ac60048036038101906108a79190614230565b611b40565b005b3480156108ba57600080fd5b506108c3611b8c565b6040516108d09190613d90565b60405180910390f35b3480156108e557600080fd5b506108ee611c1e565b6040516108fb919061406a565b60405180910390f35b61091e60048036038101906109199190613de8565b611c24565b005b34801561092c57600080fd5b506109476004803603810190610942919061430f565b611e55565b005b34801561095557600080fd5b50610970600480360381019061096b9190613de8565b611fd6565b005b34801561097e57600080fd5b50610987611fe8565b6040516109949190613e56565b60405180910390f35b3480156109a957600080fd5b506109c460048036038101906109bf9190614230565b61200e565b6040516109d1919061406a565b60405180910390f35b3480156109e657600080fd5b50610a0160048036038101906109fc91906142e2565b612026565b005b348015610a0f57600080fd5b50610a2a6004803603810190610a2591906143f0565b61204b565b005b348015610a3857600080fd5b50610a536004803603810190610a4e9190613de8565b6120a7565b604051610a609190613d90565b60405180910390f35b348015610a7557600080fd5b50610a7e612151565b604051610a8b919061406a565b60405180910390f35b610aae6004803603810190610aa991906144ce565b612157565b005b348015610abc57600080fd5b50610ac561243d565b604051610ad2919061406a565b60405180910390f35b348015610ae757600080fd5b50610af0612443565b604051610afd919061406a565b60405180910390f35b348015610b1257600080fd5b50610b1b612449565b005b348015610b2957600080fd5b50610b446004803603810190610b3f919061452e565b6124d4565b604051610b519190613cdc565b60405180910390f35b348015610b6657600080fd5b50610b816004803603810190610b7c9190613de8565b612568565b005b348015610b8f57600080fd5b50610baa6004803603810190610ba59190614230565b61257a565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610c7757507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610cdf57507f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610cef5750610cee826125fe565b5b9050919050565b606060028054610d059061459d565b80601f0160208091040260200160405190810160405280929190818152602001828054610d319061459d565b8015610d7e5780601f10610d5357610100808354040283529160200191610d7e565b820191906000526020600020905b815481529060010190602001808311610d6157829003601f168201915b5050505050905090565b6000610d9382612668565b610dd2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dc990614641565b60405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610e1882611977565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610e89576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e80906146d3565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610ea86126a2565b73ffffffffffffffffffffffffffffffffffffffff161480610ed75750610ed681610ed16126a2565b6124d4565b5b610f16576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f0d90614765565b60405180910390fd5b610f218383836126aa565b505050565b610f2e61275c565b80600d9080519060200190610f44929190613b42565b5050565b6000600154600054610f5a91906147b4565b905090565b610f6a8383836127da565b505050565b601360009054906101000a900460ff1681565b60095481565b6000610f93836119b2565b8210610fd4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fcb9061485a565b60405180910390fd5b60008054905060008060005b83811015611168576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146110ed57806000015192505b8060400151156110fc57600092505b8773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561115457868414156111455781955050505050506111a4565b83806111509061487a565b9450505b5080806111609061487a565b915050610fe0565b506040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161119b90614935565b60405180910390fd5b92915050565b6111b261275c565b6012548151836111c29190614955565b6111ca610f48565b6111d491906149af565b1115611215576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161120c90614a51565b60405180910390fd5b60008211611258576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161124f90614ae3565b60405180910390fd5b60005b815181101561129b5761128882828151811061127a57611279614b03565b5b602002602001015184612cf3565b80806112939061487a565b91505061125b565b505050565b6112a861275c565b6000479050600080829050600073840a56131fcfbf169e84deada1546b0684bdad5f9050600073a91b390fefa2c198fcf1bd25b426f114d30fda9b90506000734cac860b1a5b005fe7598069c4b4f60d062e749a9050670c7d713b49da0000861180156113225750601360029054906101000a900460ff16155b156113a357670c7d713b49da00009450848661133e91906147b4565b93506001601360026101000a81548160ff0219169083151502179055508073ffffffffffffffffffffffffffffffffffffffff166108fc869081150290604051600060405180830381858888f193505050501580156113a1573d6000803e3d6000fd5b505b600060646021866113b49190614955565b6113be9190614b61565b9050600060646021876113d19190614955565b6113db9190614b61565b9050600060646021886113ee9190614955565b6113f89190614b61565b905060008673ffffffffffffffffffffffffffffffffffffffff168460405161142090614bc3565b60006040518083038185875af1925050503d806000811461145d576040519150601f19603f3d011682016040523d82523d6000602084013e611462565b606091505b5050905060008673ffffffffffffffffffffffffffffffffffffffff168460405161148c90614bc3565b60006040518083038185875af1925050503d80600081146114c9576040519150601f19603f3d011682016040523d82523d6000602084013e6114ce565b606091505b5050905060008673ffffffffffffffffffffffffffffffffffffffff16846040516114f890614bc3565b60006040518083038185875af1925050503d8060008114611535576040519150601f19603f3d011682016040523d82523d6000602084013e61153a565b606091505b505090508280156115485750815b80156115515750805b611590576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161158790614c24565b60405180910390fd5b505050505050505050505050565b6115b98383836040518060200160405280600081525061204b565b505050565b60006115c982612d11565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff166115f06126a2565b73ffffffffffffffffffffffffffffffffffffffff16148061164c57506116156126a2565b73ffffffffffffffffffffffffffffffffffffffff1661163484610d88565b73ffffffffffffffffffffffffffffffffffffffff16145b80611668575061166782600001516116626126a2565b6124d4565b5b9050806116aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116a190614cb6565b60405180910390fd5b6116b383612e97565b505050565b6116c061275c565b80600f8190555050565b60008060005490506000805b828110156117e3576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff161515151581525050905080604001516117cf57858314156117c0578194505050505061182c565b82806117cb9061487a565b9350505b5080806117db9061487a565b9150506116d6565b506000611825576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161181c90614d48565b60405180910390fd5b6000925050505b919050565b600d805461183e9061459d565b80601f016020809104026020016040519081016040528092919081815260200182805461186a9061459d565b80156118b75780601f1061188c576101008083540402835291602001916118b7565b820191906000526020600020905b81548152906001019060200180831161189a57829003601f168201915b505050505081565b600a6020528060005260406000206000915090505481565b6118df61275c565b8060148190555050565b600c80546118f69061459d565b80601f01602080910402602001604051908101604052809291908181526020018280546119229061459d565b801561196f5780601f106119445761010080835404028352916020019161196f565b820191906000526020600020905b81548152906001019060200180831161195257829003601f168201915b505050505081565b600061198282612d11565b600001519050919050565b601360019054906101000a900460ff1681565b6119a861275c565b8060128190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611a23576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a1a90614dda565b60405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b611a9361275c565b611a9d600061324e565b565b60115481565b611aad61275c565b8060098190555050565b611abf61275c565b80600c9080519060200190611ad5929190613b42565b5050565b611ae161275c565b80600e8190555050565b600e5481565b611af961275c565b80601360006101000a81548160ff02191690831515021790555050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611b4861275c565b80601360036101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b606060038054611b9b9061459d565b80601f0160208091040260200160405190810160405280929190818152602001828054611bc79061459d565b8015611c145780601f10611be957610100808354040283529160200191611c14565b820191906000526020600020905b815481529060010190602001808311611bf757829003601f168201915b5050505050905090565b60145481565b80600f54811115611c6a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c6190614e6c565b60405180910390fd5b60125481611c76610f48565b611c8091906149af565b1115611cc1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cb890614ed8565b60405180910390fd5b8180600e54611cd09190614955565b341015611d12576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d0990614f6a565b60405180910390fd5b601360009054906101000a900460ff16611d61576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d5890614ffc565b60405180910390fd5b600f5483600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611daf91906149af565b1115611df0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611de79061508e565b60405180910390fd5b82600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611e3f91906149af565b92505081905550611e503384612cf3565b505050565b611e5d6126a2565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611ecb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ec2906150fa565b60405180910390fd5b8060076000611ed86126a2565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611f856126a2565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611fca9190613cdc565b60405180910390a35050565b611fde61275c565b8060118190555050565b601360039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600b6020528060005260406000206000915090505481565b61202e61275c565b80601360016101000a81548160ff02191690831515021790555050565b6120568484846127da565b61206284848484613314565b6120a1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120989061518c565b60405180910390fd5b50505050565b60606120b282612668565b6120f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120e89061521e565b60405180910390fd5b60006120fb6134ab565b9050600081511161211b5760405180602001604052806000815250612149565b806121258461353d565b600d6040516020016121399392919061530e565b6040516020818303038152906040525b915050919050565b600f5481565b8260115481111561219d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612194906153b1565b60405180910390fd5b601254816121a9610f48565b6121b391906149af565b11156121f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121eb9061541d565b60405180910390fd5b83806010546122039190614955565b341015612245576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161223c90614f6a565b60405180910390fd5b601360019054906101000a900460ff16612294576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161228b906154af565b60405180910390fd5b612308848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600954336040516020016122ed9190615517565b6040516020818303038152906040528051906020012061369e565b612347576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161233e9061557e565b60405180910390fd5b60115485600a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461239591906149af565b11156123d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123cd9061508e565b60405180910390fd5b84600a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461242591906149af565b925050819055506124363386612cf3565b5050505050565b60125481565b60105481565b61245161275c565b600061245b611b16565b73ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f193505050509050806124d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124c890614c24565b60405180910390fd5b50565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61257061275c565b8060108190555050565b61258261275c565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156125f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125e990615610565b60405180910390fd5b6125fb8161324e565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600080548210801561269b575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b6127646126a2565b73ffffffffffffffffffffffffffffffffffffffff16612782611b16565b73ffffffffffffffffffffffffffffffffffffffff16146127d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127cf9061567c565b60405180910390fd5b565b60006127e582612d11565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff1661280c6126a2565b73ffffffffffffffffffffffffffffffffffffffff16148061286857506128316126a2565b73ffffffffffffffffffffffffffffffffffffffff1661285084610d88565b73ffffffffffffffffffffffffffffffffffffffff16145b806128845750612883826000015161287e6126a2565b6124d4565b5b9050806128c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128bd9061570e565b60405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff1614612938576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161292f906157a0565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156129a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161299f90615832565b60405180910390fd5b6129b585858560016136b5565b6129c560008484600001516126aa565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550836004600085815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600085815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600184612b6c91906149af565b9050600073ffffffffffffffffffffffffffffffffffffffff166004600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415612c8357612be281612668565b15612c825782600001516004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082602001516004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612ceb86868660016136bb565b505050505050565b612d0d8282604051806020016040528060008152506136c1565b5050565b612d19613bc8565b612d2282612668565b612d61576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d58906158c4565b60405180910390fd5b60008290505b6000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614158015612e6f57508060400151155b15612e7e578092505050612e92565b508080612e8a906158e4565b915050612d67565b919050565b6000612ea282612d11565b9050612eb6816000015160008460016136b5565b612ec660008383600001516126aa565b600160056000836000015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600160056000836000015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160108282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555080600001516004600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600084815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600160046000848152602001908152602001600020600001601c6101000a81548160ff02191690831515021790555060006001836130a891906149af565b9050600073ffffffffffffffffffffffffffffffffffffffff166004600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156131bf5761311e81612668565b156131be5781600001516004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081602001516004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b82600073ffffffffffffffffffffffffffffffffffffffff16836000015173ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4613231826000015160008560016136bb565b600160008154809291906132449061487a565b9190505550505050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60006133358473ffffffffffffffffffffffffffffffffffffffff166136d3565b1561349e578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261335e6126a2565b8786866040518563ffffffff1660e01b81526004016133809493929190615963565b602060405180830381600087803b15801561339a57600080fd5b505af19250505080156133cb57506040513d601f19601f820116820180604052508101906133c891906159c4565b60015b61344e573d80600081146133fb576040519150601f19603f3d011682016040523d82523d6000602084013e613400565b606091505b50600081511415613446576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161343d9061518c565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506134a3565b600190505b949350505050565b6060600c80546134ba9061459d565b80601f01602080910402602001604051908101604052809291908181526020018280546134e69061459d565b80156135335780601f1061350857610100808354040283529160200191613533565b820191906000526020600020905b81548152906001019060200180831161351657829003601f168201915b5050505050905090565b60606000821415613585576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613699565b600082905060005b600082146135b75780806135a09061487a565b915050600a826135b09190614b61565b915061358d565b60008167ffffffffffffffff8111156135d3576135d2613ee7565b5b6040519080825280601f01601f1916602001820160405280156136055781602001600182028036833780820191505090505b5090505b600085146136925760018261361e91906147b4565b9150600a8561362d91906159f1565b603061363991906149af565b60f81b81838151811061364f5761364e614b03565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561368b9190614b61565b9450613609565b8093505050505b919050565b6000826136ab85846136f6565b1490509392505050565b50505050565b50505050565b6136ce838383600161374c565b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008082905060005b84518110156137415761372c8286838151811061371f5761371e614b03565b5b6020026020010151613b00565b915080806137399061487a565b9150506136ff565b508091505092915050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614156137c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016137b990615a94565b60405180910390fd5b6137cb81612668565b1561380b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161380290615b00565b60405180910390fd5b6000841161384e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161384590615b92565b60405180910390fd5b61385b60008683876136b5565b83600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff166138c09190615bc6565b92506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff1661394b9190615bc6565b92506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600081905060005b85811015613ae357818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a48315613ac257613a826000888488613314565b613ac1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613ab89061518c565b60405180910390fd5b5b8180613acd9061487a565b9250508080613adb9061487a565b915050613a0b565b5080600081905550613af860008784886136bb565b505050505050565b6000818310613b1857613b138284613b2b565b613b23565b613b228383613b2b565b5b905092915050565b600082600052816020526040600020905092915050565b828054613b4e9061459d565b90600052602060002090601f016020900481019282613b705760008555613bb7565b82601f10613b8957805160ff1916838001178555613bb7565b82800160010185558215613bb7579182015b82811115613bb6578251825591602001919060010190613b9b565b5b509050613bc49190613c0b565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b80821115613c24576000816000905550600101613c0c565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613c7181613c3c565b8114613c7c57600080fd5b50565b600081359050613c8e81613c68565b92915050565b600060208284031215613caa57613ca9613c32565b5b6000613cb884828501613c7f565b91505092915050565b60008115159050919050565b613cd681613cc1565b82525050565b6000602082019050613cf16000830184613ccd565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613d31578082015181840152602081019050613d16565b83811115613d40576000848401525b50505050565b6000601f19601f8301169050919050565b6000613d6282613cf7565b613d6c8185613d02565b9350613d7c818560208601613d13565b613d8581613d46565b840191505092915050565b60006020820190508181036000830152613daa8184613d57565b905092915050565b6000819050919050565b613dc581613db2565b8114613dd057600080fd5b50565b600081359050613de281613dbc565b92915050565b600060208284031215613dfe57613dfd613c32565b5b6000613e0c84828501613dd3565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613e4082613e15565b9050919050565b613e5081613e35565b82525050565b6000602082019050613e6b6000830184613e47565b92915050565b613e7a81613e35565b8114613e8557600080fd5b50565b600081359050613e9781613e71565b92915050565b60008060408385031215613eb457613eb3613c32565b5b6000613ec285828601613e88565b9250506020613ed385828601613dd3565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613f1f82613d46565b810181811067ffffffffffffffff82111715613f3e57613f3d613ee7565b5b80604052505050565b6000613f51613c28565b9050613f5d8282613f16565b919050565b600067ffffffffffffffff821115613f7d57613f7c613ee7565b5b613f8682613d46565b9050602081019050919050565b82818337600083830152505050565b6000613fb5613fb084613f62565b613f47565b905082815260208101848484011115613fd157613fd0613ee2565b5b613fdc848285613f93565b509392505050565b600082601f830112613ff957613ff8613edd565b5b8135614009848260208601613fa2565b91505092915050565b60006020828403121561402857614027613c32565b5b600082013567ffffffffffffffff81111561404657614045613c37565b5b61405284828501613fe4565b91505092915050565b61406481613db2565b82525050565b600060208201905061407f600083018461405b565b92915050565b60008060006060848603121561409e5761409d613c32565b5b60006140ac86828701613e88565b93505060206140bd86828701613e88565b92505060406140ce86828701613dd3565b9150509250925092565b6000819050919050565b6140eb816140d8565b82525050565b600060208201905061410660008301846140e2565b92915050565b600067ffffffffffffffff82111561412757614126613ee7565b5b602082029050602081019050919050565b600080fd5b600061415061414b8461410c565b613f47565b9050808382526020820190506020840283018581111561417357614172614138565b5b835b8181101561419c57806141888882613e88565b845260208401935050602081019050614175565b5050509392505050565b600082601f8301126141bb576141ba613edd565b5b81356141cb84826020860161413d565b91505092915050565b600080604083850312156141eb576141ea613c32565b5b60006141f985828601613dd3565b925050602083013567ffffffffffffffff81111561421a57614219613c37565b5b614226858286016141a6565b9150509250929050565b60006020828403121561424657614245613c32565b5b600061425484828501613e88565b91505092915050565b614266816140d8565b811461427157600080fd5b50565b6000813590506142838161425d565b92915050565b60006020828403121561429f5761429e613c32565b5b60006142ad84828501614274565b91505092915050565b6142bf81613cc1565b81146142ca57600080fd5b50565b6000813590506142dc816142b6565b92915050565b6000602082840312156142f8576142f7613c32565b5b6000614306848285016142cd565b91505092915050565b6000806040838503121561432657614325613c32565b5b600061433485828601613e88565b9250506020614345858286016142cd565b9150509250929050565b600067ffffffffffffffff82111561436a57614369613ee7565b5b61437382613d46565b9050602081019050919050565b600061439361438e8461434f565b613f47565b9050828152602081018484840111156143af576143ae613ee2565b5b6143ba848285613f93565b509392505050565b600082601f8301126143d7576143d6613edd565b5b81356143e7848260208601614380565b91505092915050565b6000806000806080858703121561440a57614409613c32565b5b600061441887828801613e88565b945050602061442987828801613e88565b935050604061443a87828801613dd3565b925050606085013567ffffffffffffffff81111561445b5761445a613c37565b5b614467878288016143c2565b91505092959194509250565b600080fd5b60008083601f84011261448e5761448d613edd565b5b8235905067ffffffffffffffff8111156144ab576144aa614473565b5b6020830191508360208202830111156144c7576144c6614138565b5b9250929050565b6000806000604084860312156144e7576144e6613c32565b5b60006144f586828701613dd3565b935050602084013567ffffffffffffffff81111561451657614515613c37565b5b61452286828701614478565b92509250509250925092565b6000806040838503121561454557614544613c32565b5b600061455385828601613e88565b925050602061456485828601613e88565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806145b557607f821691505b602082108114156145c9576145c861456e565b5b50919050565b7f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560008201527f78697374656e7420746f6b656e00000000000000000000000000000000000000602082015250565b600061462b602d83613d02565b9150614636826145cf565b604082019050919050565b6000602082019050818103600083015261465a8161461e565b9050919050565b7f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60008201527f6572000000000000000000000000000000000000000000000000000000000000602082015250565b60006146bd602283613d02565b91506146c882614661565b604082019050919050565b600060208201905081810360008301526146ec816146b0565b9050919050565b7f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f76656420666f7220616c6c00000000000000602082015250565b600061474f603983613d02565b915061475a826146f3565b604082019050919050565b6000602082019050818103600083015261477e81614742565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006147bf82613db2565b91506147ca83613db2565b9250828210156147dd576147dc614785565b5b828203905092915050565b7f455243373231413a206f776e657220696e646578206f7574206f6620626f756e60008201527f6473000000000000000000000000000000000000000000000000000000000000602082015250565b6000614844602283613d02565b915061484f826147e8565b604082019050919050565b6000602082019050818103600083015261487381614837565b9050919050565b600061488582613db2565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156148b8576148b7614785565b5b600182019050919050565b7f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060008201527f6f776e657220627920696e646578000000000000000000000000000000000000602082015250565b600061491f602e83613d02565b915061492a826148c3565b604082019050919050565b6000602082019050818103600083015261494e81614912565b9050919050565b600061496082613db2565b915061496b83613db2565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156149a4576149a3614785565b5b828202905092915050565b60006149ba82613db2565b91506149c583613db2565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156149fa576149f9614785565b5b828201905092915050565b7f4973206f76657220737570706c79000000000000000000000000000000000000600082015250565b6000614a3b600e83613d02565b9150614a4682614a05565b602082019050919050565b60006020820190508181036000830152614a6a81614a2e565b9050919050565b7f4d696e7420616d6f756e74206d7573742062652067726561746572207468616e60008201527f2030000000000000000000000000000000000000000000000000000000000000602082015250565b6000614acd602283613d02565b9150614ad882614a71565b604082019050919050565b60006020820190508181036000830152614afc81614ac0565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614b6c82613db2565b9150614b7783613db2565b925082614b8757614b86614b32565b5b828204905092915050565b600081905092915050565b50565b6000614bad600083614b92565b9150614bb882614b9d565b600082019050919050565b6000614bce82614ba0565b9150819050919050565b7f5472616e73666572206661696c65642e00000000000000000000000000000000600082015250565b6000614c0e601083613d02565b9150614c1982614bd8565b602082019050919050565b60006020820190508181036000830152614c3d81614c01565b9050919050565b7f455243373231413a2063616c6c6572206973206e6f74206f776e6572206e6f7260008201527f20617070726f7665640000000000000000000000000000000000000000000000602082015250565b6000614ca0602983613d02565b9150614cab82614c44565b604082019050919050565b60006020820190508181036000830152614ccf81614c93565b9050919050565b7f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f7560008201527f6e64730000000000000000000000000000000000000000000000000000000000602082015250565b6000614d32602383613d02565b9150614d3d82614cd6565b604082019050919050565b60006020820190508181036000830152614d6181614d25565b9050919050565b7f455243373231413a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b6000614dc4602b83613d02565b9150614dcf82614d68565b604082019050919050565b60006020820190508181036000830152614df381614db7565b9050919050565b7f5468617420616d6f756e7420697320686967686572207468656e207075626c6960008201527f634d61784d696e74416d6f756e74000000000000000000000000000000000000602082015250565b6000614e56602e83613d02565b9150614e6182614dfa565b604082019050919050565b60006020820190508181036000830152614e8581614e49565b9050919050565b7f5075626c6963204d696e7420736f6c64206f757420616c726561647900000000600082015250565b6000614ec2601c83613d02565b9150614ecd82614e8c565b602082019050919050565b60006020820190508181036000830152614ef181614eb5565b9050919050565b7f596f75206469646e27742073656e6420656e6f7567682045544820746f206d6960008201527f6e74000000000000000000000000000000000000000000000000000000000000602082015250565b6000614f54602283613d02565b9150614f5f82614ef8565b604082019050919050565b60006020820190508181036000830152614f8381614f47565b9050919050565b7f5075626c69632073616c65206973206e6f7420656e61626c6564207965742e2060008201527f436865636b206261636b206c6174657221000000000000000000000000000000602082015250565b6000614fe6603183613d02565b9150614ff182614f8a565b604082019050919050565b6000602082019050818103600083015261501581614fd9565b9050919050565b7f596f75206861766520616c726561647920636c61696d6564207768617420796f60008201527f752061726520616c6c6f77656420746f21000000000000000000000000000000602082015250565b6000615078603183613d02565b91506150838261501c565b604082019050919050565b600060208201905081810360008301526150a78161506b565b9050919050565b7f455243373231413a20617070726f766520746f2063616c6c6572000000000000600082015250565b60006150e4601a83613d02565b91506150ef826150ae565b602082019050919050565b60006020820190508181036000830152615113816150d7565b9050919050565b7f455243373231413a207472616e7366657220746f206e6f6e204552433732315260008201527f6563656976657220696d706c656d656e74657200000000000000000000000000602082015250565b6000615176603383613d02565b91506151818261511a565b604082019050919050565b600060208201905081810360008301526151a581615169565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000615208602f83613d02565b9150615213826151ac565b604082019050919050565b60006020820190508181036000830152615237816151fb565b9050919050565b600081905092915050565b600061525482613cf7565b61525e818561523e565b935061526e818560208601613d13565b80840191505092915050565b60008190508160005260206000209050919050565b6000815461529c8161459d565b6152a6818661523e565b945060018216600081146152c157600181146152d257615305565b60ff19831686528186019350615305565b6152db8561527a565b60005b838110156152fd578154818901526001820191506020810190506152de565b838801955050505b50505092915050565b600061531a8286615249565b91506153268285615249565b9150615332828461528f565b9150819050949350505050565b7f5468617420616d6f756e7420697320686967686572207468656e20776c4d617860008201527f4d696e74416d6f756e7400000000000000000000000000000000000000000000602082015250565b600061539b602a83613d02565b91506153a68261533f565b604082019050919050565b600060208201905081810360008301526153ca8161538e565b9050919050565b7f57686974656c697374204d696e7420736f6c64206f757420616c726561647900600082015250565b6000615407601f83613d02565b9150615412826153d1565b602082019050919050565b60006020820190508181036000830152615436816153fa565b9050919050565b7f57686974656c697374206d696e74696e67206973206e6f7420656e61626c656460008201527f2079657400000000000000000000000000000000000000000000000000000000602082015250565b6000615499602483613d02565b91506154a48261543d565b604082019050919050565b600060208201905081810360008301526154c88161548c565b9050919050565b60008160601b9050919050565b60006154e7826154cf565b9050919050565b60006154f9826154dc565b9050919050565b61551161550c82613e35565b6154ee565b82525050565b60006155238284615500565b60148201915081905092915050565b7f596f7520617265206e6f7420696e20746865206c697374210000000000000000600082015250565b6000615568601883613d02565b915061557382615532565b602082019050919050565b600060208201905081810360008301526155978161555b565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006155fa602683613d02565b91506156058261559e565b604082019050919050565b60006020820190508181036000830152615629816155ed565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000615666602083613d02565b915061567182615630565b602082019050919050565b6000602082019050818103600083015261569581615659565b9050919050565b7f455243373231413a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b60006156f8603283613d02565b91506157038261569c565b604082019050919050565b60006020820190508181036000830152615727816156eb565b9050919050565b7f455243373231413a207472616e736665722066726f6d20696e636f727265637460008201527f206f776e65720000000000000000000000000000000000000000000000000000602082015250565b600061578a602683613d02565b91506157958261572e565b604082019050919050565b600060208201905081810360008301526157b98161577d565b9050919050565b7f455243373231413a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b600061581c602583613d02565b9150615827826157c0565b604082019050919050565b6000602082019050818103600083015261584b8161580f565b9050919050565b7f455243373231413a206f776e657220717565727920666f72206e6f6e6578697360008201527f74656e7420746f6b656e00000000000000000000000000000000000000000000602082015250565b60006158ae602a83613d02565b91506158b982615852565b604082019050919050565b600060208201905081810360008301526158dd816158a1565b9050919050565b60006158ef82613db2565b9150600082141561590357615902614785565b5b600182039050919050565b600081519050919050565b600082825260208201905092915050565b60006159358261590e565b61593f8185615919565b935061594f818560208601613d13565b61595881613d46565b840191505092915050565b60006080820190506159786000830187613e47565b6159856020830186613e47565b615992604083018561405b565b81810360608301526159a4818461592a565b905095945050505050565b6000815190506159be81613c68565b92915050565b6000602082840312156159da576159d9613c32565b5b60006159e8848285016159af565b91505092915050565b60006159fc82613db2565b9150615a0783613db2565b925082615a1757615a16614b32565b5b828206905092915050565b7f455243373231413a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b6000615a7e602183613d02565b9150615a8982615a22565b604082019050919050565b60006020820190508181036000830152615aad81615a71565b9050919050565b7f455243373231413a20746f6b656e20616c7265616479206d696e746564000000600082015250565b6000615aea601d83613d02565b9150615af582615ab4565b602082019050919050565b60006020820190508181036000830152615b1981615add565b9050919050565b7f455243373231413a207175616e74697479206d7573742062652067726561746560008201527f72207468616e2030000000000000000000000000000000000000000000000000602082015250565b6000615b7c602883613d02565b9150615b8782615b20565b604082019050919050565b60006020820190508181036000830152615bab81615b6f565b9050919050565b600067ffffffffffffffff82169050919050565b6000615bd182615bb2565b9150615bdc83615bb2565b92508267ffffffffffffffff03821115615bf957615bf8614785565b5b82820190509291505056fea2646970667358221220f3b5749cd2e99d062bdfa3425ed4d0505e11c97ed05caf6bea5fe8b3a5be882064736f6c63430008090033
Deployed Bytecode
0x6080604052600436106102e45760003560e01c80637b5cd7b811610190578063ad2f852a116100dc578063d2cab05611610095578063db2e21bc1161006f578063db2e21bc14610b06578063e985e9c514610b1d578063f12f6d5d14610b5a578063f2fde38b14610b83576102e4565b8063d2cab05614610a94578063d5abeb0114610ab0578063d70a28d114610adb576102e4565b8063ad2f852a14610972578063b5b1cd7c1461099d578063b767a098146109da578063b88d4fde14610a03578063c87b56dd14610a2c578063cce54e4414610a69576102e4565b80638da5cb5b116101495780639f67756d116101235780639f67756d146108d9578063a0712d6814610904578063a22cb46514610920578063a5025e7a14610949576102e4565b80638da5cb5b1461085a5780638dc251e31461088557806395d89b41146108ae576102e4565b80637b5cd7b8146107605780637cb647591461078b5780637ec4a659146107b4578063811d2437146107dd5780638693da20146108065780638720fbef14610831576102e4565b806342842e0e1161024f57806361ba27da116102085780636caede3d116101e25780636caede3d146106b85780636f8b44b0146106e357806370a082311461070c578063715018a614610749576102e4565b806361ba27da1461062757806362b99ad4146106505780636352211e1461067b576102e4565b806342842e0e1461050757806342966c681461053057806348313029146105595780634f6ccce7146105825780635503a0e8146105bf5780635a089b30146105ea576102e4565b806323b872dd116102a157806323b872dd1461040b5780632ab91bba146104345780632eb4a7ab1461045f5780632f745c591461048a5780633b6714f8146104c75780633ccfd60b146104f0576102e4565b806301ffc9a7146102e957806306fdde0314610326578063081812fc14610351578063095ea7b31461038e57806316ba10e0146103b757806318160ddd146103e0575b600080fd5b3480156102f557600080fd5b50610310600480360381019061030b9190613c94565b610bac565b60405161031d9190613cdc565b60405180910390f35b34801561033257600080fd5b5061033b610cf6565b6040516103489190613d90565b60405180910390f35b34801561035d57600080fd5b5061037860048036038101906103739190613de8565b610d88565b6040516103859190613e56565b60405180910390f35b34801561039a57600080fd5b506103b560048036038101906103b09190613e9d565b610e0d565b005b3480156103c357600080fd5b506103de60048036038101906103d99190614012565b610f26565b005b3480156103ec57600080fd5b506103f5610f48565b604051610402919061406a565b60405180910390f35b34801561041757600080fd5b50610432600480360381019061042d9190614085565b610f5f565b005b34801561044057600080fd5b50610449610f6f565b6040516104569190613cdc565b60405180910390f35b34801561046b57600080fd5b50610474610f82565b60405161048191906140f1565b60405180910390f35b34801561049657600080fd5b506104b160048036038101906104ac9190613e9d565b610f88565b6040516104be919061406a565b60405180910390f35b3480156104d357600080fd5b506104ee60048036038101906104e991906141d4565b6111aa565b005b3480156104fc57600080fd5b506105056112a0565b005b34801561051357600080fd5b5061052e60048036038101906105299190614085565b61159e565b005b34801561053c57600080fd5b5061055760048036038101906105529190613de8565b6115be565b005b34801561056557600080fd5b50610580600480360381019061057b9190613de8565b6116b8565b005b34801561058e57600080fd5b506105a960048036038101906105a49190613de8565b6116ca565b6040516105b6919061406a565b60405180910390f35b3480156105cb57600080fd5b506105d4611831565b6040516105e19190613d90565b60405180910390f35b3480156105f657600080fd5b50610611600480360381019061060c9190614230565b6118bf565b60405161061e919061406a565b60405180910390f35b34801561063357600080fd5b5061064e60048036038101906106499190613de8565b6118d7565b005b34801561065c57600080fd5b506106656118e9565b6040516106729190613d90565b60405180910390f35b34801561068757600080fd5b506106a2600480360381019061069d9190613de8565b611977565b6040516106af9190613e56565b60405180910390f35b3480156106c457600080fd5b506106cd61198d565b6040516106da9190613cdc565b60405180910390f35b3480156106ef57600080fd5b5061070a60048036038101906107059190613de8565b6119a0565b005b34801561071857600080fd5b50610733600480360381019061072e9190614230565b6119b2565b604051610740919061406a565b60405180910390f35b34801561075557600080fd5b5061075e611a8b565b005b34801561076c57600080fd5b50610775611a9f565b604051610782919061406a565b60405180910390f35b34801561079757600080fd5b506107b260048036038101906107ad9190614289565b611aa5565b005b3480156107c057600080fd5b506107db60048036038101906107d69190614012565b611ab7565b005b3480156107e957600080fd5b5061080460048036038101906107ff9190613de8565b611ad9565b005b34801561081257600080fd5b5061081b611aeb565b604051610828919061406a565b60405180910390f35b34801561083d57600080fd5b50610858600480360381019061085391906142e2565b611af1565b005b34801561086657600080fd5b5061086f611b16565b60405161087c9190613e56565b60405180910390f35b34801561089157600080fd5b506108ac60048036038101906108a79190614230565b611b40565b005b3480156108ba57600080fd5b506108c3611b8c565b6040516108d09190613d90565b60405180910390f35b3480156108e557600080fd5b506108ee611c1e565b6040516108fb919061406a565b60405180910390f35b61091e60048036038101906109199190613de8565b611c24565b005b34801561092c57600080fd5b506109476004803603810190610942919061430f565b611e55565b005b34801561095557600080fd5b50610970600480360381019061096b9190613de8565b611fd6565b005b34801561097e57600080fd5b50610987611fe8565b6040516109949190613e56565b60405180910390f35b3480156109a957600080fd5b506109c460048036038101906109bf9190614230565b61200e565b6040516109d1919061406a565b60405180910390f35b3480156109e657600080fd5b50610a0160048036038101906109fc91906142e2565b612026565b005b348015610a0f57600080fd5b50610a2a6004803603810190610a2591906143f0565b61204b565b005b348015610a3857600080fd5b50610a536004803603810190610a4e9190613de8565b6120a7565b604051610a609190613d90565b60405180910390f35b348015610a7557600080fd5b50610a7e612151565b604051610a8b919061406a565b60405180910390f35b610aae6004803603810190610aa991906144ce565b612157565b005b348015610abc57600080fd5b50610ac561243d565b604051610ad2919061406a565b60405180910390f35b348015610ae757600080fd5b50610af0612443565b604051610afd919061406a565b60405180910390f35b348015610b1257600080fd5b50610b1b612449565b005b348015610b2957600080fd5b50610b446004803603810190610b3f919061452e565b6124d4565b604051610b519190613cdc565b60405180910390f35b348015610b6657600080fd5b50610b816004803603810190610b7c9190613de8565b612568565b005b348015610b8f57600080fd5b50610baa6004803603810190610ba59190614230565b61257a565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610c7757507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610cdf57507f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610cef5750610cee826125fe565b5b9050919050565b606060028054610d059061459d565b80601f0160208091040260200160405190810160405280929190818152602001828054610d319061459d565b8015610d7e5780601f10610d5357610100808354040283529160200191610d7e565b820191906000526020600020905b815481529060010190602001808311610d6157829003601f168201915b5050505050905090565b6000610d9382612668565b610dd2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dc990614641565b60405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610e1882611977565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610e89576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e80906146d3565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610ea86126a2565b73ffffffffffffffffffffffffffffffffffffffff161480610ed75750610ed681610ed16126a2565b6124d4565b5b610f16576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f0d90614765565b60405180910390fd5b610f218383836126aa565b505050565b610f2e61275c565b80600d9080519060200190610f44929190613b42565b5050565b6000600154600054610f5a91906147b4565b905090565b610f6a8383836127da565b505050565b601360009054906101000a900460ff1681565b60095481565b6000610f93836119b2565b8210610fd4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fcb9061485a565b60405180910390fd5b60008054905060008060005b83811015611168576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146110ed57806000015192505b8060400151156110fc57600092505b8773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561115457868414156111455781955050505050506111a4565b83806111509061487a565b9450505b5080806111609061487a565b915050610fe0565b506040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161119b90614935565b60405180910390fd5b92915050565b6111b261275c565b6012548151836111c29190614955565b6111ca610f48565b6111d491906149af565b1115611215576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161120c90614a51565b60405180910390fd5b60008211611258576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161124f90614ae3565b60405180910390fd5b60005b815181101561129b5761128882828151811061127a57611279614b03565b5b602002602001015184612cf3565b80806112939061487a565b91505061125b565b505050565b6112a861275c565b6000479050600080829050600073840a56131fcfbf169e84deada1546b0684bdad5f9050600073a91b390fefa2c198fcf1bd25b426f114d30fda9b90506000734cac860b1a5b005fe7598069c4b4f60d062e749a9050670c7d713b49da0000861180156113225750601360029054906101000a900460ff16155b156113a357670c7d713b49da00009450848661133e91906147b4565b93506001601360026101000a81548160ff0219169083151502179055508073ffffffffffffffffffffffffffffffffffffffff166108fc869081150290604051600060405180830381858888f193505050501580156113a1573d6000803e3d6000fd5b505b600060646021866113b49190614955565b6113be9190614b61565b9050600060646021876113d19190614955565b6113db9190614b61565b9050600060646021886113ee9190614955565b6113f89190614b61565b905060008673ffffffffffffffffffffffffffffffffffffffff168460405161142090614bc3565b60006040518083038185875af1925050503d806000811461145d576040519150601f19603f3d011682016040523d82523d6000602084013e611462565b606091505b5050905060008673ffffffffffffffffffffffffffffffffffffffff168460405161148c90614bc3565b60006040518083038185875af1925050503d80600081146114c9576040519150601f19603f3d011682016040523d82523d6000602084013e6114ce565b606091505b5050905060008673ffffffffffffffffffffffffffffffffffffffff16846040516114f890614bc3565b60006040518083038185875af1925050503d8060008114611535576040519150601f19603f3d011682016040523d82523d6000602084013e61153a565b606091505b505090508280156115485750815b80156115515750805b611590576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161158790614c24565b60405180910390fd5b505050505050505050505050565b6115b98383836040518060200160405280600081525061204b565b505050565b60006115c982612d11565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff166115f06126a2565b73ffffffffffffffffffffffffffffffffffffffff16148061164c57506116156126a2565b73ffffffffffffffffffffffffffffffffffffffff1661163484610d88565b73ffffffffffffffffffffffffffffffffffffffff16145b80611668575061166782600001516116626126a2565b6124d4565b5b9050806116aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116a190614cb6565b60405180910390fd5b6116b383612e97565b505050565b6116c061275c565b80600f8190555050565b60008060005490506000805b828110156117e3576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff161515151581525050905080604001516117cf57858314156117c0578194505050505061182c565b82806117cb9061487a565b9350505b5080806117db9061487a565b9150506116d6565b506000611825576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161181c90614d48565b60405180910390fd5b6000925050505b919050565b600d805461183e9061459d565b80601f016020809104026020016040519081016040528092919081815260200182805461186a9061459d565b80156118b75780601f1061188c576101008083540402835291602001916118b7565b820191906000526020600020905b81548152906001019060200180831161189a57829003601f168201915b505050505081565b600a6020528060005260406000206000915090505481565b6118df61275c565b8060148190555050565b600c80546118f69061459d565b80601f01602080910402602001604051908101604052809291908181526020018280546119229061459d565b801561196f5780601f106119445761010080835404028352916020019161196f565b820191906000526020600020905b81548152906001019060200180831161195257829003601f168201915b505050505081565b600061198282612d11565b600001519050919050565b601360019054906101000a900460ff1681565b6119a861275c565b8060128190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611a23576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a1a90614dda565b60405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b611a9361275c565b611a9d600061324e565b565b60115481565b611aad61275c565b8060098190555050565b611abf61275c565b80600c9080519060200190611ad5929190613b42565b5050565b611ae161275c565b80600e8190555050565b600e5481565b611af961275c565b80601360006101000a81548160ff02191690831515021790555050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611b4861275c565b80601360036101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b606060038054611b9b9061459d565b80601f0160208091040260200160405190810160405280929190818152602001828054611bc79061459d565b8015611c145780601f10611be957610100808354040283529160200191611c14565b820191906000526020600020905b815481529060010190602001808311611bf757829003601f168201915b5050505050905090565b60145481565b80600f54811115611c6a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c6190614e6c565b60405180910390fd5b60125481611c76610f48565b611c8091906149af565b1115611cc1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cb890614ed8565b60405180910390fd5b8180600e54611cd09190614955565b341015611d12576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d0990614f6a565b60405180910390fd5b601360009054906101000a900460ff16611d61576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d5890614ffc565b60405180910390fd5b600f5483600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611daf91906149af565b1115611df0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611de79061508e565b60405180910390fd5b82600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611e3f91906149af565b92505081905550611e503384612cf3565b505050565b611e5d6126a2565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611ecb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ec2906150fa565b60405180910390fd5b8060076000611ed86126a2565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611f856126a2565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611fca9190613cdc565b60405180910390a35050565b611fde61275c565b8060118190555050565b601360039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600b6020528060005260406000206000915090505481565b61202e61275c565b80601360016101000a81548160ff02191690831515021790555050565b6120568484846127da565b61206284848484613314565b6120a1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120989061518c565b60405180910390fd5b50505050565b60606120b282612668565b6120f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120e89061521e565b60405180910390fd5b60006120fb6134ab565b9050600081511161211b5760405180602001604052806000815250612149565b806121258461353d565b600d6040516020016121399392919061530e565b6040516020818303038152906040525b915050919050565b600f5481565b8260115481111561219d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612194906153b1565b60405180910390fd5b601254816121a9610f48565b6121b391906149af565b11156121f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121eb9061541d565b60405180910390fd5b83806010546122039190614955565b341015612245576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161223c90614f6a565b60405180910390fd5b601360019054906101000a900460ff16612294576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161228b906154af565b60405180910390fd5b612308848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600954336040516020016122ed9190615517565b6040516020818303038152906040528051906020012061369e565b612347576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161233e9061557e565b60405180910390fd5b60115485600a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461239591906149af565b11156123d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123cd9061508e565b60405180910390fd5b84600a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461242591906149af565b925050819055506124363386612cf3565b5050505050565b60125481565b60105481565b61245161275c565b600061245b611b16565b73ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f193505050509050806124d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124c890614c24565b60405180910390fd5b50565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61257061275c565b8060108190555050565b61258261275c565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156125f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125e990615610565b60405180910390fd5b6125fb8161324e565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600080548210801561269b575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b6127646126a2565b73ffffffffffffffffffffffffffffffffffffffff16612782611b16565b73ffffffffffffffffffffffffffffffffffffffff16146127d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127cf9061567c565b60405180910390fd5b565b60006127e582612d11565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff1661280c6126a2565b73ffffffffffffffffffffffffffffffffffffffff16148061286857506128316126a2565b73ffffffffffffffffffffffffffffffffffffffff1661285084610d88565b73ffffffffffffffffffffffffffffffffffffffff16145b806128845750612883826000015161287e6126a2565b6124d4565b5b9050806128c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128bd9061570e565b60405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff1614612938576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161292f906157a0565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156129a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161299f90615832565b60405180910390fd5b6129b585858560016136b5565b6129c560008484600001516126aa565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550836004600085815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600085815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600184612b6c91906149af565b9050600073ffffffffffffffffffffffffffffffffffffffff166004600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415612c8357612be281612668565b15612c825782600001516004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082602001516004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612ceb86868660016136bb565b505050505050565b612d0d8282604051806020016040528060008152506136c1565b5050565b612d19613bc8565b612d2282612668565b612d61576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d58906158c4565b60405180910390fd5b60008290505b6000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614158015612e6f57508060400151155b15612e7e578092505050612e92565b508080612e8a906158e4565b915050612d67565b919050565b6000612ea282612d11565b9050612eb6816000015160008460016136b5565b612ec660008383600001516126aa565b600160056000836000015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600160056000836000015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160108282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555080600001516004600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600084815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600160046000848152602001908152602001600020600001601c6101000a81548160ff02191690831515021790555060006001836130a891906149af565b9050600073ffffffffffffffffffffffffffffffffffffffff166004600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156131bf5761311e81612668565b156131be5781600001516004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081602001516004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b82600073ffffffffffffffffffffffffffffffffffffffff16836000015173ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4613231826000015160008560016136bb565b600160008154809291906132449061487a565b9190505550505050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60006133358473ffffffffffffffffffffffffffffffffffffffff166136d3565b1561349e578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261335e6126a2565b8786866040518563ffffffff1660e01b81526004016133809493929190615963565b602060405180830381600087803b15801561339a57600080fd5b505af19250505080156133cb57506040513d601f19601f820116820180604052508101906133c891906159c4565b60015b61344e573d80600081146133fb576040519150601f19603f3d011682016040523d82523d6000602084013e613400565b606091505b50600081511415613446576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161343d9061518c565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506134a3565b600190505b949350505050565b6060600c80546134ba9061459d565b80601f01602080910402602001604051908101604052809291908181526020018280546134e69061459d565b80156135335780601f1061350857610100808354040283529160200191613533565b820191906000526020600020905b81548152906001019060200180831161351657829003601f168201915b5050505050905090565b60606000821415613585576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613699565b600082905060005b600082146135b75780806135a09061487a565b915050600a826135b09190614b61565b915061358d565b60008167ffffffffffffffff8111156135d3576135d2613ee7565b5b6040519080825280601f01601f1916602001820160405280156136055781602001600182028036833780820191505090505b5090505b600085146136925760018261361e91906147b4565b9150600a8561362d91906159f1565b603061363991906149af565b60f81b81838151811061364f5761364e614b03565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561368b9190614b61565b9450613609565b8093505050505b919050565b6000826136ab85846136f6565b1490509392505050565b50505050565b50505050565b6136ce838383600161374c565b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008082905060005b84518110156137415761372c8286838151811061371f5761371e614b03565b5b6020026020010151613b00565b915080806137399061487a565b9150506136ff565b508091505092915050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614156137c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016137b990615a94565b60405180910390fd5b6137cb81612668565b1561380b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161380290615b00565b60405180910390fd5b6000841161384e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161384590615b92565b60405180910390fd5b61385b60008683876136b5565b83600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff166138c09190615bc6565b92506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff1661394b9190615bc6565b92506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600081905060005b85811015613ae357818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a48315613ac257613a826000888488613314565b613ac1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613ab89061518c565b60405180910390fd5b5b8180613acd9061487a565b9250508080613adb9061487a565b915050613a0b565b5080600081905550613af860008784886136bb565b505050505050565b6000818310613b1857613b138284613b2b565b613b23565b613b228383613b2b565b5b905092915050565b600082600052816020526040600020905092915050565b828054613b4e9061459d565b90600052602060002090601f016020900481019282613b705760008555613bb7565b82601f10613b8957805160ff1916838001178555613bb7565b82800160010185558215613bb7579182015b82811115613bb6578251825591602001919060010190613b9b565b5b509050613bc49190613c0b565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b80821115613c24576000816000905550600101613c0c565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613c7181613c3c565b8114613c7c57600080fd5b50565b600081359050613c8e81613c68565b92915050565b600060208284031215613caa57613ca9613c32565b5b6000613cb884828501613c7f565b91505092915050565b60008115159050919050565b613cd681613cc1565b82525050565b6000602082019050613cf16000830184613ccd565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613d31578082015181840152602081019050613d16565b83811115613d40576000848401525b50505050565b6000601f19601f8301169050919050565b6000613d6282613cf7565b613d6c8185613d02565b9350613d7c818560208601613d13565b613d8581613d46565b840191505092915050565b60006020820190508181036000830152613daa8184613d57565b905092915050565b6000819050919050565b613dc581613db2565b8114613dd057600080fd5b50565b600081359050613de281613dbc565b92915050565b600060208284031215613dfe57613dfd613c32565b5b6000613e0c84828501613dd3565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613e4082613e15565b9050919050565b613e5081613e35565b82525050565b6000602082019050613e6b6000830184613e47565b92915050565b613e7a81613e35565b8114613e8557600080fd5b50565b600081359050613e9781613e71565b92915050565b60008060408385031215613eb457613eb3613c32565b5b6000613ec285828601613e88565b9250506020613ed385828601613dd3565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613f1f82613d46565b810181811067ffffffffffffffff82111715613f3e57613f3d613ee7565b5b80604052505050565b6000613f51613c28565b9050613f5d8282613f16565b919050565b600067ffffffffffffffff821115613f7d57613f7c613ee7565b5b613f8682613d46565b9050602081019050919050565b82818337600083830152505050565b6000613fb5613fb084613f62565b613f47565b905082815260208101848484011115613fd157613fd0613ee2565b5b613fdc848285613f93565b509392505050565b600082601f830112613ff957613ff8613edd565b5b8135614009848260208601613fa2565b91505092915050565b60006020828403121561402857614027613c32565b5b600082013567ffffffffffffffff81111561404657614045613c37565b5b61405284828501613fe4565b91505092915050565b61406481613db2565b82525050565b600060208201905061407f600083018461405b565b92915050565b60008060006060848603121561409e5761409d613c32565b5b60006140ac86828701613e88565b93505060206140bd86828701613e88565b92505060406140ce86828701613dd3565b9150509250925092565b6000819050919050565b6140eb816140d8565b82525050565b600060208201905061410660008301846140e2565b92915050565b600067ffffffffffffffff82111561412757614126613ee7565b5b602082029050602081019050919050565b600080fd5b600061415061414b8461410c565b613f47565b9050808382526020820190506020840283018581111561417357614172614138565b5b835b8181101561419c57806141888882613e88565b845260208401935050602081019050614175565b5050509392505050565b600082601f8301126141bb576141ba613edd565b5b81356141cb84826020860161413d565b91505092915050565b600080604083850312156141eb576141ea613c32565b5b60006141f985828601613dd3565b925050602083013567ffffffffffffffff81111561421a57614219613c37565b5b614226858286016141a6565b9150509250929050565b60006020828403121561424657614245613c32565b5b600061425484828501613e88565b91505092915050565b614266816140d8565b811461427157600080fd5b50565b6000813590506142838161425d565b92915050565b60006020828403121561429f5761429e613c32565b5b60006142ad84828501614274565b91505092915050565b6142bf81613cc1565b81146142ca57600080fd5b50565b6000813590506142dc816142b6565b92915050565b6000602082840312156142f8576142f7613c32565b5b6000614306848285016142cd565b91505092915050565b6000806040838503121561432657614325613c32565b5b600061433485828601613e88565b9250506020614345858286016142cd565b9150509250929050565b600067ffffffffffffffff82111561436a57614369613ee7565b5b61437382613d46565b9050602081019050919050565b600061439361438e8461434f565b613f47565b9050828152602081018484840111156143af576143ae613ee2565b5b6143ba848285613f93565b509392505050565b600082601f8301126143d7576143d6613edd565b5b81356143e7848260208601614380565b91505092915050565b6000806000806080858703121561440a57614409613c32565b5b600061441887828801613e88565b945050602061442987828801613e88565b935050604061443a87828801613dd3565b925050606085013567ffffffffffffffff81111561445b5761445a613c37565b5b614467878288016143c2565b91505092959194509250565b600080fd5b60008083601f84011261448e5761448d613edd565b5b8235905067ffffffffffffffff8111156144ab576144aa614473565b5b6020830191508360208202830111156144c7576144c6614138565b5b9250929050565b6000806000604084860312156144e7576144e6613c32565b5b60006144f586828701613dd3565b935050602084013567ffffffffffffffff81111561451657614515613c37565b5b61452286828701614478565b92509250509250925092565b6000806040838503121561454557614544613c32565b5b600061455385828601613e88565b925050602061456485828601613e88565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806145b557607f821691505b602082108114156145c9576145c861456e565b5b50919050565b7f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560008201527f78697374656e7420746f6b656e00000000000000000000000000000000000000602082015250565b600061462b602d83613d02565b9150614636826145cf565b604082019050919050565b6000602082019050818103600083015261465a8161461e565b9050919050565b7f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60008201527f6572000000000000000000000000000000000000000000000000000000000000602082015250565b60006146bd602283613d02565b91506146c882614661565b604082019050919050565b600060208201905081810360008301526146ec816146b0565b9050919050565b7f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f76656420666f7220616c6c00000000000000602082015250565b600061474f603983613d02565b915061475a826146f3565b604082019050919050565b6000602082019050818103600083015261477e81614742565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006147bf82613db2565b91506147ca83613db2565b9250828210156147dd576147dc614785565b5b828203905092915050565b7f455243373231413a206f776e657220696e646578206f7574206f6620626f756e60008201527f6473000000000000000000000000000000000000000000000000000000000000602082015250565b6000614844602283613d02565b915061484f826147e8565b604082019050919050565b6000602082019050818103600083015261487381614837565b9050919050565b600061488582613db2565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156148b8576148b7614785565b5b600182019050919050565b7f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060008201527f6f776e657220627920696e646578000000000000000000000000000000000000602082015250565b600061491f602e83613d02565b915061492a826148c3565b604082019050919050565b6000602082019050818103600083015261494e81614912565b9050919050565b600061496082613db2565b915061496b83613db2565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156149a4576149a3614785565b5b828202905092915050565b60006149ba82613db2565b91506149c583613db2565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156149fa576149f9614785565b5b828201905092915050565b7f4973206f76657220737570706c79000000000000000000000000000000000000600082015250565b6000614a3b600e83613d02565b9150614a4682614a05565b602082019050919050565b60006020820190508181036000830152614a6a81614a2e565b9050919050565b7f4d696e7420616d6f756e74206d7573742062652067726561746572207468616e60008201527f2030000000000000000000000000000000000000000000000000000000000000602082015250565b6000614acd602283613d02565b9150614ad882614a71565b604082019050919050565b60006020820190508181036000830152614afc81614ac0565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614b6c82613db2565b9150614b7783613db2565b925082614b8757614b86614b32565b5b828204905092915050565b600081905092915050565b50565b6000614bad600083614b92565b9150614bb882614b9d565b600082019050919050565b6000614bce82614ba0565b9150819050919050565b7f5472616e73666572206661696c65642e00000000000000000000000000000000600082015250565b6000614c0e601083613d02565b9150614c1982614bd8565b602082019050919050565b60006020820190508181036000830152614c3d81614c01565b9050919050565b7f455243373231413a2063616c6c6572206973206e6f74206f776e6572206e6f7260008201527f20617070726f7665640000000000000000000000000000000000000000000000602082015250565b6000614ca0602983613d02565b9150614cab82614c44565b604082019050919050565b60006020820190508181036000830152614ccf81614c93565b9050919050565b7f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f7560008201527f6e64730000000000000000000000000000000000000000000000000000000000602082015250565b6000614d32602383613d02565b9150614d3d82614cd6565b604082019050919050565b60006020820190508181036000830152614d6181614d25565b9050919050565b7f455243373231413a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b6000614dc4602b83613d02565b9150614dcf82614d68565b604082019050919050565b60006020820190508181036000830152614df381614db7565b9050919050565b7f5468617420616d6f756e7420697320686967686572207468656e207075626c6960008201527f634d61784d696e74416d6f756e74000000000000000000000000000000000000602082015250565b6000614e56602e83613d02565b9150614e6182614dfa565b604082019050919050565b60006020820190508181036000830152614e8581614e49565b9050919050565b7f5075626c6963204d696e7420736f6c64206f757420616c726561647900000000600082015250565b6000614ec2601c83613d02565b9150614ecd82614e8c565b602082019050919050565b60006020820190508181036000830152614ef181614eb5565b9050919050565b7f596f75206469646e27742073656e6420656e6f7567682045544820746f206d6960008201527f6e74000000000000000000000000000000000000000000000000000000000000602082015250565b6000614f54602283613d02565b9150614f5f82614ef8565b604082019050919050565b60006020820190508181036000830152614f8381614f47565b9050919050565b7f5075626c69632073616c65206973206e6f7420656e61626c6564207965742e2060008201527f436865636b206261636b206c6174657221000000000000000000000000000000602082015250565b6000614fe6603183613d02565b9150614ff182614f8a565b604082019050919050565b6000602082019050818103600083015261501581614fd9565b9050919050565b7f596f75206861766520616c726561647920636c61696d6564207768617420796f60008201527f752061726520616c6c6f77656420746f21000000000000000000000000000000602082015250565b6000615078603183613d02565b91506150838261501c565b604082019050919050565b600060208201905081810360008301526150a78161506b565b9050919050565b7f455243373231413a20617070726f766520746f2063616c6c6572000000000000600082015250565b60006150e4601a83613d02565b91506150ef826150ae565b602082019050919050565b60006020820190508181036000830152615113816150d7565b9050919050565b7f455243373231413a207472616e7366657220746f206e6f6e204552433732315260008201527f6563656976657220696d706c656d656e74657200000000000000000000000000602082015250565b6000615176603383613d02565b91506151818261511a565b604082019050919050565b600060208201905081810360008301526151a581615169565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000615208602f83613d02565b9150615213826151ac565b604082019050919050565b60006020820190508181036000830152615237816151fb565b9050919050565b600081905092915050565b600061525482613cf7565b61525e818561523e565b935061526e818560208601613d13565b80840191505092915050565b60008190508160005260206000209050919050565b6000815461529c8161459d565b6152a6818661523e565b945060018216600081146152c157600181146152d257615305565b60ff19831686528186019350615305565b6152db8561527a565b60005b838110156152fd578154818901526001820191506020810190506152de565b838801955050505b50505092915050565b600061531a8286615249565b91506153268285615249565b9150615332828461528f565b9150819050949350505050565b7f5468617420616d6f756e7420697320686967686572207468656e20776c4d617860008201527f4d696e74416d6f756e7400000000000000000000000000000000000000000000602082015250565b600061539b602a83613d02565b91506153a68261533f565b604082019050919050565b600060208201905081810360008301526153ca8161538e565b9050919050565b7f57686974656c697374204d696e7420736f6c64206f757420616c726561647900600082015250565b6000615407601f83613d02565b9150615412826153d1565b602082019050919050565b60006020820190508181036000830152615436816153fa565b9050919050565b7f57686974656c697374206d696e74696e67206973206e6f7420656e61626c656460008201527f2079657400000000000000000000000000000000000000000000000000000000602082015250565b6000615499602483613d02565b91506154a48261543d565b604082019050919050565b600060208201905081810360008301526154c88161548c565b9050919050565b60008160601b9050919050565b60006154e7826154cf565b9050919050565b60006154f9826154dc565b9050919050565b61551161550c82613e35565b6154ee565b82525050565b60006155238284615500565b60148201915081905092915050565b7f596f7520617265206e6f7420696e20746865206c697374210000000000000000600082015250565b6000615568601883613d02565b915061557382615532565b602082019050919050565b600060208201905081810360008301526155978161555b565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006155fa602683613d02565b91506156058261559e565b604082019050919050565b60006020820190508181036000830152615629816155ed565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000615666602083613d02565b915061567182615630565b602082019050919050565b6000602082019050818103600083015261569581615659565b9050919050565b7f455243373231413a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b60006156f8603283613d02565b91506157038261569c565b604082019050919050565b60006020820190508181036000830152615727816156eb565b9050919050565b7f455243373231413a207472616e736665722066726f6d20696e636f727265637460008201527f206f776e65720000000000000000000000000000000000000000000000000000602082015250565b600061578a602683613d02565b91506157958261572e565b604082019050919050565b600060208201905081810360008301526157b98161577d565b9050919050565b7f455243373231413a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b600061581c602583613d02565b9150615827826157c0565b604082019050919050565b6000602082019050818103600083015261584b8161580f565b9050919050565b7f455243373231413a206f776e657220717565727920666f72206e6f6e6578697360008201527f74656e7420746f6b656e00000000000000000000000000000000000000000000602082015250565b60006158ae602a83613d02565b91506158b982615852565b604082019050919050565b600060208201905081810360008301526158dd816158a1565b9050919050565b60006158ef82613db2565b9150600082141561590357615902614785565b5b600182039050919050565b600081519050919050565b600082825260208201905092915050565b60006159358261590e565b61593f8185615919565b935061594f818560208601613d13565b61595881613d46565b840191505092915050565b60006080820190506159786000830187613e47565b6159856020830186613e47565b615992604083018561405b565b81810360608301526159a4818461592a565b905095945050505050565b6000815190506159be81613c68565b92915050565b6000602082840312156159da576159d9613c32565b5b60006159e8848285016159af565b91505092915050565b60006159fc82613db2565b9150615a0783613db2565b925082615a1757615a16614b32565b5b828206905092915050565b7f455243373231413a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b6000615a7e602183613d02565b9150615a8982615a22565b604082019050919050565b60006020820190508181036000830152615aad81615a71565b9050919050565b7f455243373231413a20746f6b656e20616c7265616479206d696e746564000000600082015250565b6000615aea601d83613d02565b9150615af582615ab4565b602082019050919050565b60006020820190508181036000830152615b1981615add565b9050919050565b7f455243373231413a207175616e74697479206d7573742062652067726561746560008201527f72207468616e2030000000000000000000000000000000000000000000000000602082015250565b6000615b7c602883613d02565b9150615b8782615b20565b604082019050919050565b60006020820190508181036000830152615bab81615b6f565b9050919050565b600067ffffffffffffffff82169050919050565b6000615bd182615bb2565b9150615bdc83615bb2565b92508267ffffffffffffffff03821115615bf957615bf8614785565b5b82820190509291505056fea2646970667358221220f3b5749cd2e99d062bdfa3425ed4d0505e11c97ed05caf6bea5fe8b3a5be882064736f6c63430008090033
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.