Overview
TokenID
46
Total Transfers
-
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
ToonSociety
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)
//Contract based on [https://docs.openzeppelin.com/contracts/3.x/erc721](https://docs.openzeppelin.com/contracts/3.x/erc721) // SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/utils/Counters.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol"; contract ToonSociety is ERC721Enumerable, Ownable { using Counters for Counters.Counter; using SafeMath for uint256; Counters.Counter private _tokenIds; string public baseURI; string public baseExtension = ".json"; string public notRevealedURI; string public mycontractURI; uint256 public cost = 0.12 ether; uint256 public maxSupply = 50; uint256 public maxMintAmount = 1; uint256 public nftPerAddressLimit = 1; uint96 royaltyBasis; bool public paused = false; bool public revealed = false; bool public onlyWhitelisted = true; address royaltyAddress; //Whitelist, Alpha, OG mapping(address => bool) public isWhitelisted; mapping(address => uint256) public addressMintedBalance; constructor(string memory _name, string memory _symbol, string memory _initBaseURI, string memory _initNotRevealedUri, uint96 _royaltyBasis, string memory _contractURI) ERC721(_name, _symbol) { setBaseURI(_initBaseURI); setNotRevealedURI(_initNotRevealedUri); royaltyAddress = owner(); royaltyBasis = _royaltyBasis; mycontractURI = _contractURI; } // internal function _baseURI() internal view virtual override returns (string memory) { return baseURI; } function _notRevealedURI() internal view virtual returns (string memory) { return notRevealedURI; } function mint(uint256 _mintAmount) public payable { require(!paused, "the contract is paused"); uint256 supply = totalSupply(); require(_mintAmount > 0, "need to mint at least 1 NFT"); require(_mintAmount <= maxMintAmount, "max mint amount per session exceeded"); require(supply + _mintAmount <= maxSupply, "max NFT limit exceeded"); if (msg.sender != owner()) { if(onlyWhitelisted == true) { require(isWhitelisted[msg.sender], "user is not whitelisted"); uint256 ownerMintedCount = addressMintedBalance[msg.sender]; require(ownerMintedCount + _mintAmount <= nftPerAddressLimit, "max NFT per address exceeded"); require(msg.value >= cost * _mintAmount, "insufficient funds"); } } for (uint256 i = 1; i <= _mintAmount; i++) { addressMintedBalance[msg.sender]++; _safeMint(msg.sender, supply + i); } } function walletOfOwner(address _owner) public view returns (uint256[] memory) { uint256 ownerTokenCount = balanceOf(_owner); uint256[] memory tokenIds = new uint256[](ownerTokenCount); for (uint256 i; i < ownerTokenCount; i++) { tokenIds[i] = tokenOfOwnerByIndex(_owner, i); } return tokenIds; } function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require( _exists(tokenId), "ERC721Metadata: URI query for nonexistent token" ); if(revealed == false) { string memory currentNotRevealedURI = _notRevealedURI(); return bytes(currentNotRevealedURI).length > 0 ? string(abi.encodePacked(currentNotRevealedURI, Strings.toString(tokenId), baseExtension)) : ""; } string memory currentBaseURI = _baseURI(); return bytes(currentBaseURI).length > 0 ? string(abi.encodePacked(currentBaseURI, Strings.toString(tokenId), baseExtension)) : ""; } function contractURI() public view returns (string memory) { return string(abi.encodePacked(mycontractURI)); } function royaltyInfo(uint256 _tokenId, uint256 _salePrice) external view returns (address receiver, uint256 royaltyAmount){ return (royaltyAddress, _salePrice.mul(royaltyBasis).div(10000)); } function supportsInterface(bytes4 interfaceId) public view override(ERC721Enumerable) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || interfaceId == 0xe8a3d485 /* contractURI() */ || interfaceId == 0x2a55205a /* ERC-2981 royaltyInfo() */ || super.supportsInterface(interfaceId); } //only owner function reveal() public onlyOwner { revealed = true; } function setRoyaltyInfo(address _receiver, uint96 _royaltyBasis) public onlyOwner { royaltyAddress = _receiver; royaltyBasis = _royaltyBasis; } function setContractURI(string calldata _contractURI) public onlyOwner { mycontractURI = _contractURI; } function setNftPerAddressLimit(uint256 _limit) public onlyOwner { nftPerAddressLimit = _limit; } function setCost(uint256 _newCost) public onlyOwner { cost = _newCost; } function setmaxMintAmount(uint256 _newmaxMintAmount) public onlyOwner { maxMintAmount = _newmaxMintAmount; } function setBaseURI(string memory _newBaseURI) public onlyOwner { baseURI = _newBaseURI; } function setBaseExtension(string memory _newBaseExtension) public onlyOwner { baseExtension = _newBaseExtension; } function setNotRevealedURI(string memory _notRevealedUri) public onlyOwner { notRevealedURI = _notRevealedUri; } function pause(bool _state) public onlyOwner { paused = _state; } function setOnlyWhitelisted(bool _onlyWhitelist) public onlyOwner() { onlyWhitelisted = _onlyWhitelist; } function addUsersToWhitelist(address[] memory _users) public onlyOwner { for(uint i=0;i<_users.length;i++) isWhitelisted[_users[i]] = true; } function addToWhitelist(address _user) public onlyOwner { isWhitelisted[_user] = true; } function removeFromWhitelist(address _user) public onlyOwner { isWhitelisted[_user] = false; } function withdraw() public payable onlyOwner { // ============================================================================= (bool os, ) = payable(owner()).call{value: address(this).balance}(""); require(os); // ============================================================================= } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); _afterTokenTransfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); _afterTokenTransfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); _afterTokenTransfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits a {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Enumerable.sol) pragma solidity ^0.8.0; import "../ERC721.sol"; import "./IERC721Enumerable.sol"; /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from owner to list of owned token IDs mapping(address => mapping(uint256 => uint256)) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); return _ownedTokens[owner][index]; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _allTokens.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds"); return _allTokens[index]; } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` cannot be the zero address. * - `to` cannot be the zero address. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual override { super._beforeTokenTransfer(from, to, tokenId); if (from == address(0)) { _addTokenToAllTokensEnumeration(tokenId); } else if (from != to) { _removeTokenFromOwnerEnumeration(from, tokenId); } if (to == address(0)) { _removeTokenFromAllTokensEnumeration(tokenId); } else if (to != from) { _addTokenToOwnerEnumeration(to, tokenId); } } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { uint256 length = ERC721.balanceOf(to); _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; } /** * @dev Private function to add a token to this extension's token tracking data structures. * @param tokenId uint256 ID of the token to be added to the tokens list */ function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for * gas optimizations e.g. when performing a transfer operation (avoiding double writes). * This has O(1) time complexity, but alters the order of the _ownedTokens array. * @param from address representing the previous owner of the given token ID * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = ERC721.balanceOf(from) - 1; uint256 tokenIndex = _ownedTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } // This also deletes the contents at the last position of the array delete _ownedTokensIndex[tokenId]; delete _ownedTokens[from][lastTokenIndex]; } /** * @dev Private function to remove a token from this extension's token tracking data structures. * This has O(1) time complexity, but alters the order of the _allTokens array. * @param tokenId uint256 ID of the token to be removed from the tokens list */ function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _allTokens.length - 1; uint256 tokenIndex = _allTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding // an 'if' statement (like in _removeTokenFromOwnerEnumeration) uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index // This also deletes the contents at the last position of the array delete _allTokensIndex[tokenId]; _allTokens.pop(); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Counters.sol) pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` */ library Counters { struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { unchecked { counter._value += 1; } } function decrement(Counter storage counter) internal { uint256 value = counter._value; require(value > 0, "Counter: decrement overflow"); unchecked { counter._value = value - 1; } } function reset(Counter storage counter) internal { counter._value = 0; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/math/SafeMath.sol) pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721URIStorage.sol) pragma solidity ^0.8.0; import "../ERC721.sol"; /** * @dev ERC721 token with storage based token URI management. */ abstract contract ERC721URIStorage is ERC721 { using Strings for uint256; // Optional mapping for token URIs mapping(uint256 => string) private _tokenURIs; /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721URIStorage: URI query for nonexistent token"); string memory _tokenURI = _tokenURIs[tokenId]; string memory base = _baseURI(); // If there is no base URI, return the token URI. if (bytes(base).length == 0) { return _tokenURI; } // If both are set, concatenate the baseURI and tokenURI (via abi.encodePacked). if (bytes(_tokenURI).length > 0) { return string(abi.encodePacked(base, _tokenURI)); } return super.tokenURI(tokenId); } /** * @dev Sets `_tokenURI` as the tokenURI of `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal virtual { require(_exists(tokenId), "ERC721URIStorage: URI set of nonexistent token"); _tokenURIs[tokenId] = _tokenURI; } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual override { super._burn(tokenId); if (bytes(_tokenURIs[tokenId]).length != 0) { delete _tokenURIs[tokenId]; } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/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.5.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 assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"string","name":"_initBaseURI","type":"string"},{"internalType":"string","name":"_initNotRevealedUri","type":"string"},{"internalType":"uint96","name":"_royaltyBasis","type":"uint96"},{"internalType":"string","name":"_contractURI","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"_user","type":"address"}],"name":"addToWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_users","type":"address[]"}],"name":"addUsersToWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"addressMintedBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseExtension","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isWhitelisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mycontractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nftPerAddressLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"notRevealedURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"onlyWhitelisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"bool","name":"_state","type":"bool"}],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"}],"name":"removeFromWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"royaltyAmount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseExtension","type":"string"}],"name":"setBaseExtension","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_contractURI","type":"string"}],"name":"setContractURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newCost","type":"uint256"}],"name":"setCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_limit","type":"uint256"}],"name":"setNftPerAddressLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_notRevealedUri","type":"string"}],"name":"setNotRevealedURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_onlyWhitelist","type":"bool"}],"name":"setOnlyWhitelisted","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_receiver","type":"address"},{"internalType":"uint96","name":"_royaltyBasis","type":"uint96"}],"name":"setRoyaltyInfo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newmaxMintAmount","type":"uint256"}],"name":"setmaxMintAmount","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":[{"internalType":"address","name":"_owner","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"}]
Contract Creation Code
60806040526040518060400160405280600581526020017f2e6a736f6e000000000000000000000000000000000000000000000000000000815250600d9080519060200190620000519291906200045d565b506701aa535d3d0c000060105560326011556001601255600160135560006014600c6101000a81548160ff02191690831515021790555060006014600d6101000a81548160ff02191690831515021790555060016014600e6101000a81548160ff021916908315150217905550348015620000cb57600080fd5b5060405162006299380380620062998339818101604052810190620000f19190620006f3565b858581600090805190602001906200010b9291906200045d565b508060019080519060200190620001249291906200045d565b505050620001476200013b6200020f60201b60201c565b6200021760201b60201c565b6200015884620002dd60201b60201c565b62000169836200038860201b60201c565b620001796200043360201b60201c565b601560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081601460006101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff16021790555080600f9080519060200190620002029291906200045d565b5050505050505062000912565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b620002ed6200020f60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16620003136200043360201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16146200036c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000363906200088b565b60405180910390fd5b80600c9080519060200190620003849291906200045d565b5050565b620003986200020f60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16620003be6200043360201b60201c565b73ffffffffffffffffffffffffffffffffffffffff161462000417576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200040e906200088b565b60405180910390fd5b80600e90805190602001906200042f9291906200045d565b5050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b8280546200046b90620008dc565b90600052602060002090601f0160209004810192826200048f5760008555620004db565b82601f10620004aa57805160ff1916838001178555620004db565b82800160010185558215620004db579182015b82811115620004da578251825591602001919060010190620004bd565b5b509050620004ea9190620004ee565b5090565b5b8082111562000509576000816000905550600101620004ef565b5090565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b62000576826200052b565b810181811067ffffffffffffffff821117156200059857620005976200053c565b5b80604052505050565b6000620005ad6200050d565b9050620005bb82826200056b565b919050565b600067ffffffffffffffff821115620005de57620005dd6200053c565b5b620005e9826200052b565b9050602081019050919050565b60005b8381101562000616578082015181840152602081019050620005f9565b8381111562000626576000848401525b50505050565b6000620006436200063d84620005c0565b620005a1565b90508281526020810184848401111562000662576200066162000526565b5b6200066f848285620005f6565b509392505050565b600082601f8301126200068f576200068e62000521565b5b8151620006a18482602086016200062c565b91505092915050565b60006bffffffffffffffffffffffff82169050919050565b620006cd81620006aa565b8114620006d957600080fd5b50565b600081519050620006ed81620006c2565b92915050565b60008060008060008060c0878903121562000713576200071262000517565b5b600087015167ffffffffffffffff8111156200073457620007336200051c565b5b6200074289828a0162000677565b965050602087015167ffffffffffffffff8111156200076657620007656200051c565b5b6200077489828a0162000677565b955050604087015167ffffffffffffffff8111156200079857620007976200051c565b5b620007a689828a0162000677565b945050606087015167ffffffffffffffff811115620007ca57620007c96200051c565b5b620007d889828a0162000677565b9350506080620007eb89828a01620006dc565b92505060a087015167ffffffffffffffff8111156200080f576200080e6200051c565b5b6200081d89828a0162000677565b9150509295509295509295565b600082825260208201905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000620008736020836200082a565b915062000880826200083b565b602082019050919050565b60006020820190508181036000830152620008a68162000864565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620008f557607f821691505b602082108114156200090c576200090b620008ad565b5b50919050565b61597780620009226000396000f3fe6080604052600436106102e45760003560e01c8063639d7e1111610190578063a475b5dd116100dc578063d5abeb0111610095578063e8a3d4851161006f578063e8a3d48514610b1b578063e985e9c514610b46578063f2c4ce1e14610b83578063f2fde38b14610bac576102e4565b8063d5abeb0114610a9e578063da3ef23f14610ac9578063e43252d714610af2576102e4565b8063a475b5dd146109a2578063b88d4fde146109b9578063ba7d2c76146109e2578063c668286214610a0d578063c87b56dd14610a38578063d0eb26b014610a75576102e4565b80638ab1d6811161014957806395d89b411161012357806395d89b41146109075780639c70b51214610932578063a0712d681461095d578063a22cb46514610979576102e4565b80638ab1d6811461088a5780638da5cb5b146108b3578063938e3d7b146108de576102e4565b8063639d7e111461078c5780636c0360eb146107b757806370a08231146107e2578063715018a61461081f57806372250380146108365780637f00c7a614610861576102e4565b80632f745c591161024f57806344a0d68a1161020857806355f804b3116101e257806355f804b3146106d25780635ae698ff146106fb5780635c975abb146107245780636352211e1461074f576102e4565b806344a0d68a146106415780634f6ccce71461066a57806351830227146106a7576102e4565b80632f745c591461052e5780633af32abf1461056b5780633c952764146105a85780633ccfd60b146105d157806342842e0e146105db578063438b630014610604576102e4565b806313faede6116102a157806313faede61461040957806318160ddd1461043457806318cae2691461045f578063239c70ae1461049c57806323b872dd146104c75780632a55205a146104f0576102e4565b806301ffc9a7146102e957806302329a291461032657806302fa7c471461034f57806306fdde0314610378578063081812fc146103a3578063095ea7b3146103e0575b600080fd5b3480156102f557600080fd5b50610310600480360381019061030b9190613d9a565b610bd5565b60405161031d9190613de2565b60405180910390f35b34801561033257600080fd5b5061034d60048036038101906103489190613e29565b610caf565b005b34801561035b57600080fd5b5061037660048036038101906103719190613ef8565b610d48565b005b34801561038457600080fd5b5061038d610e3a565b60405161039a9190613fd1565b60405180910390f35b3480156103af57600080fd5b506103ca60048036038101906103c59190614029565b610ecc565b6040516103d79190614065565b60405180910390f35b3480156103ec57600080fd5b5061040760048036038101906104029190614080565b610f51565b005b34801561041557600080fd5b5061041e611069565b60405161042b91906140cf565b60405180910390f35b34801561044057600080fd5b5061044961106f565b60405161045691906140cf565b60405180910390f35b34801561046b57600080fd5b50610486600480360381019061048191906140ea565b61107c565b60405161049391906140cf565b60405180910390f35b3480156104a857600080fd5b506104b1611094565b6040516104be91906140cf565b60405180910390f35b3480156104d357600080fd5b506104ee60048036038101906104e99190614117565b61109a565b005b3480156104fc57600080fd5b506105176004803603810190610512919061416a565b6110fa565b6040516105259291906141aa565b60405180910390f35b34801561053a57600080fd5b5061055560048036038101906105509190614080565b61117a565b60405161056291906140cf565b60405180910390f35b34801561057757600080fd5b50610592600480360381019061058d91906140ea565b61121f565b60405161059f9190613de2565b60405180910390f35b3480156105b457600080fd5b506105cf60048036038101906105ca9190613e29565b61123f565b005b6105d96112d8565b005b3480156105e757600080fd5b5061060260048036038101906105fd9190614117565b6113d4565b005b34801561061057600080fd5b5061062b600480360381019061062691906140ea565b6113f4565b6040516106389190614291565b60405180910390f35b34801561064d57600080fd5b5061066860048036038101906106639190614029565b6114a2565b005b34801561067657600080fd5b50610691600480360381019061068c9190614029565b611528565b60405161069e91906140cf565b60405180910390f35b3480156106b357600080fd5b506106bc611599565b6040516106c99190613de2565b60405180910390f35b3480156106de57600080fd5b506106f960048036038101906106f491906143e8565b6115ac565b005b34801561070757600080fd5b50610722600480360381019061071d91906144f9565b611642565b005b34801561073057600080fd5b50610739611753565b6040516107469190613de2565b60405180910390f35b34801561075b57600080fd5b5061077660048036038101906107719190614029565b611766565b6040516107839190614065565b60405180910390f35b34801561079857600080fd5b506107a1611818565b6040516107ae9190613fd1565b60405180910390f35b3480156107c357600080fd5b506107cc6118a6565b6040516107d99190613fd1565b60405180910390f35b3480156107ee57600080fd5b50610809600480360381019061080491906140ea565b611934565b60405161081691906140cf565b60405180910390f35b34801561082b57600080fd5b506108346119ec565b005b34801561084257600080fd5b5061084b611a74565b6040516108589190613fd1565b60405180910390f35b34801561086d57600080fd5b5061088860048036038101906108839190614029565b611b02565b005b34801561089657600080fd5b506108b160048036038101906108ac91906140ea565b611b88565b005b3480156108bf57600080fd5b506108c8611c5f565b6040516108d59190614065565b60405180910390f35b3480156108ea57600080fd5b506109056004803603810190610900919061459d565b611c89565b005b34801561091357600080fd5b5061091c611d1b565b6040516109299190613fd1565b60405180910390f35b34801561093e57600080fd5b50610947611dad565b6040516109549190613de2565b60405180910390f35b61097760048036038101906109729190614029565b611dc0565b005b34801561098557600080fd5b506109a0600480360381019061099b91906145ea565b61214d565b005b3480156109ae57600080fd5b506109b7612163565b005b3480156109c557600080fd5b506109e060048036038101906109db91906146cb565b6121fc565b005b3480156109ee57600080fd5b506109f761225e565b604051610a0491906140cf565b60405180910390f35b348015610a1957600080fd5b50610a22612264565b604051610a2f9190613fd1565b60405180910390f35b348015610a4457600080fd5b50610a5f6004803603810190610a5a9190614029565b6122f2565b604051610a6c9190613fd1565b60405180910390f35b348015610a8157600080fd5b50610a9c6004803603810190610a979190614029565b612419565b005b348015610aaa57600080fd5b50610ab361249f565b604051610ac091906140cf565b60405180910390f35b348015610ad557600080fd5b50610af06004803603810190610aeb91906143e8565b6124a5565b005b348015610afe57600080fd5b50610b196004803603810190610b1491906140ea565b61253b565b005b348015610b2757600080fd5b50610b30612612565b604051610b3d9190613fd1565b60405180910390f35b348015610b5257600080fd5b50610b6d6004803603810190610b68919061474e565b61263a565b604051610b7a9190613de2565b60405180910390f35b348015610b8f57600080fd5b50610baa6004803603810190610ba591906143e8565b6126ce565b005b348015610bb857600080fd5b50610bd36004803603810190610bce91906140ea565b612764565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610c68575063e8a3d48560e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610c985750632a55205a60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610ca85750610ca78261285c565b5b9050919050565b610cb76128d6565b73ffffffffffffffffffffffffffffffffffffffff16610cd5611c5f565b73ffffffffffffffffffffffffffffffffffffffff1614610d2b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d22906147da565b60405180910390fd5b806014600c6101000a81548160ff02191690831515021790555050565b610d506128d6565b73ffffffffffffffffffffffffffffffffffffffff16610d6e611c5f565b73ffffffffffffffffffffffffffffffffffffffff1614610dc4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dbb906147da565b60405180910390fd5b81601560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080601460006101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055505050565b606060008054610e4990614829565b80601f0160208091040260200160405190810160405280929190818152602001828054610e7590614829565b8015610ec25780601f10610e9757610100808354040283529160200191610ec2565b820191906000526020600020905b815481529060010190602001808311610ea557829003601f168201915b5050505050905090565b6000610ed7826128de565b610f16576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f0d906148cd565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610f5c82611766565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610fcd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fc49061495f565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610fec6128d6565b73ffffffffffffffffffffffffffffffffffffffff16148061101b575061101a816110156128d6565b61263a565b5b61105a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611051906149f1565b60405180910390fd5b611064838361294a565b505050565b60105481565b6000600880549050905090565b60176020528060005260406000206000915090505481565b60125481565b6110ab6110a56128d6565b82612a03565b6110ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110e190614a83565b60405180910390fd5b6110f5838383612ae1565b505050565b600080601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1661116f612710611161601460009054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff1687612d4890919063ffffffff16565b612d5e90919063ffffffff16565b915091509250929050565b600061118583611934565b82106111c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111bd90614b15565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b60166020528060005260406000206000915054906101000a900460ff1681565b6112476128d6565b73ffffffffffffffffffffffffffffffffffffffff16611265611c5f565b73ffffffffffffffffffffffffffffffffffffffff16146112bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112b2906147da565b60405180910390fd5b806014600e6101000a81548160ff02191690831515021790555050565b6112e06128d6565b73ffffffffffffffffffffffffffffffffffffffff166112fe611c5f565b73ffffffffffffffffffffffffffffffffffffffff1614611354576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161134b906147da565b60405180910390fd5b600061135e611c5f565b73ffffffffffffffffffffffffffffffffffffffff164760405161138190614b66565b60006040518083038185875af1925050503d80600081146113be576040519150601f19603f3d011682016040523d82523d6000602084013e6113c3565b606091505b50509050806113d157600080fd5b50565b6113ef838383604051806020016040528060008152506121fc565b505050565b6060600061140183611934565b905060008167ffffffffffffffff81111561141f5761141e6142bd565b5b60405190808252806020026020018201604052801561144d5781602001602082028036833780820191505090505b50905060005b8281101561149757611465858261117a565b82828151811061147857611477614b7b565b5b602002602001018181525050808061148f90614bd9565b915050611453565b508092505050919050565b6114aa6128d6565b73ffffffffffffffffffffffffffffffffffffffff166114c8611c5f565b73ffffffffffffffffffffffffffffffffffffffff161461151e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611515906147da565b60405180910390fd5b8060108190555050565b600061153261106f565b8210611573576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161156a90614c94565b60405180910390fd5b6008828154811061158757611586614b7b565b5b90600052602060002001549050919050565b6014600d9054906101000a900460ff1681565b6115b46128d6565b73ffffffffffffffffffffffffffffffffffffffff166115d2611c5f565b73ffffffffffffffffffffffffffffffffffffffff1614611628576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161161f906147da565b60405180910390fd5b80600c908051906020019061163e929190613c05565b5050565b61164a6128d6565b73ffffffffffffffffffffffffffffffffffffffff16611668611c5f565b73ffffffffffffffffffffffffffffffffffffffff16146116be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116b5906147da565b60405180910390fd5b60005b815181101561174f576001601660008484815181106116e3576116e2614b7b565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550808061174790614bd9565b9150506116c1565b5050565b6014600c9054906101000a900460ff1681565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561180f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161180690614d26565b60405180910390fd5b80915050919050565b600f805461182590614829565b80601f016020809104026020016040519081016040528092919081815260200182805461185190614829565b801561189e5780601f106118735761010080835404028352916020019161189e565b820191906000526020600020905b81548152906001019060200180831161188157829003601f168201915b505050505081565b600c80546118b390614829565b80601f01602080910402602001604051908101604052809291908181526020018280546118df90614829565b801561192c5780601f106119015761010080835404028352916020019161192c565b820191906000526020600020905b81548152906001019060200180831161190f57829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156119a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161199c90614db8565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6119f46128d6565b73ffffffffffffffffffffffffffffffffffffffff16611a12611c5f565b73ffffffffffffffffffffffffffffffffffffffff1614611a68576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a5f906147da565b60405180910390fd5b611a726000612d74565b565b600e8054611a8190614829565b80601f0160208091040260200160405190810160405280929190818152602001828054611aad90614829565b8015611afa5780601f10611acf57610100808354040283529160200191611afa565b820191906000526020600020905b815481529060010190602001808311611add57829003601f168201915b505050505081565b611b0a6128d6565b73ffffffffffffffffffffffffffffffffffffffff16611b28611c5f565b73ffffffffffffffffffffffffffffffffffffffff1614611b7e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b75906147da565b60405180910390fd5b8060128190555050565b611b906128d6565b73ffffffffffffffffffffffffffffffffffffffff16611bae611c5f565b73ffffffffffffffffffffffffffffffffffffffff1614611c04576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bfb906147da565b60405180910390fd5b6000601660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611c916128d6565b73ffffffffffffffffffffffffffffffffffffffff16611caf611c5f565b73ffffffffffffffffffffffffffffffffffffffff1614611d05576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cfc906147da565b60405180910390fd5b8181600f9190611d16929190613c8b565b505050565b606060018054611d2a90614829565b80601f0160208091040260200160405190810160405280929190818152602001828054611d5690614829565b8015611da35780601f10611d7857610100808354040283529160200191611da3565b820191906000526020600020905b815481529060010190602001808311611d8657829003601f168201915b5050505050905090565b6014600e9054906101000a900460ff1681565b6014600c9054906101000a900460ff1615611e10576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e0790614e24565b60405180910390fd5b6000611e1a61106f565b905060008211611e5f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e5690614e90565b60405180910390fd5b601254821115611ea4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e9b90614f22565b60405180910390fd5b6011548282611eb39190614f42565b1115611ef4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eeb90614fe4565b60405180910390fd5b611efc611c5f565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146120bd57600115156014600e9054906101000a900460ff16151514156120bc57601660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16611fd6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fcd90615050565b60405180910390fd5b6000601760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905060135483826120299190614f42565b111561206a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612061906150bc565b60405180910390fd5b8260105461207891906150dc565b3410156120ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120b190615182565b60405180910390fd5b505b5b6000600190505b82811161214857601760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081548092919061211b90614bd9565b91905055506121353382846121309190614f42565b612e3a565b808061214090614bd9565b9150506120c4565b505050565b61215f6121586128d6565b8383612e58565b5050565b61216b6128d6565b73ffffffffffffffffffffffffffffffffffffffff16612189611c5f565b73ffffffffffffffffffffffffffffffffffffffff16146121df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121d6906147da565b60405180910390fd5b60016014600d6101000a81548160ff021916908315150217905550565b61220d6122076128d6565b83612a03565b61224c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161224390614a83565b60405180910390fd5b61225884848484612fc5565b50505050565b60135481565b600d805461227190614829565b80601f016020809104026020016040519081016040528092919081815260200182805461229d90614829565b80156122ea5780601f106122bf576101008083540402835291602001916122ea565b820191906000526020600020905b8154815290600101906020018083116122cd57829003601f168201915b505050505081565b60606122fd826128de565b61233c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161233390615214565b60405180910390fd5b600015156014600d9054906101000a900460ff16151514156123b8576000612362613021565b9050600081511161238257604051806020016040528060008152506123b0565b8061238c846130b3565b600d6040516020016123a093929190615304565b6040516020818303038152906040525b915050612414565b60006123c2613214565b905060008151116123e25760405180602001604052806000815250612410565b806123ec846130b3565b600d60405160200161240093929190615304565b6040516020818303038152906040525b9150505b919050565b6124216128d6565b73ffffffffffffffffffffffffffffffffffffffff1661243f611c5f565b73ffffffffffffffffffffffffffffffffffffffff1614612495576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161248c906147da565b60405180910390fd5b8060138190555050565b60115481565b6124ad6128d6565b73ffffffffffffffffffffffffffffffffffffffff166124cb611c5f565b73ffffffffffffffffffffffffffffffffffffffff1614612521576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612518906147da565b60405180910390fd5b80600d9080519060200190612537929190613c05565b5050565b6125436128d6565b73ffffffffffffffffffffffffffffffffffffffff16612561611c5f565b73ffffffffffffffffffffffffffffffffffffffff16146125b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125ae906147da565b60405180910390fd5b6001601660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b6060600f6040516020016126269190615335565b604051602081830303815290604052905090565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6126d66128d6565b73ffffffffffffffffffffffffffffffffffffffff166126f4611c5f565b73ffffffffffffffffffffffffffffffffffffffff161461274a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612741906147da565b60405180910390fd5b80600e9080519060200190612760929190613c05565b5050565b61276c6128d6565b73ffffffffffffffffffffffffffffffffffffffff1661278a611c5f565b73ffffffffffffffffffffffffffffffffffffffff16146127e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127d7906147da565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612850576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612847906153be565b60405180910390fd5b61285981612d74565b50565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806128cf57506128ce826132a6565b5b9050919050565b600033905090565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166129bd83611766565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000612a0e826128de565b612a4d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a4490615450565b60405180910390fd5b6000612a5883611766565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612ac757508373ffffffffffffffffffffffffffffffffffffffff16612aaf84610ecc565b73ffffffffffffffffffffffffffffffffffffffff16145b80612ad85750612ad7818561263a565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612b0182611766565b73ffffffffffffffffffffffffffffffffffffffff1614612b57576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b4e906154e2565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612bc7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bbe90615574565b60405180910390fd5b612bd2838383613388565b612bdd60008261294a565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612c2d9190615594565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612c849190614f42565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612d4383838361349c565b505050565b60008183612d5691906150dc565b905092915050565b60008183612d6c91906155f7565b905092915050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612e548282604051806020016040528060008152506134a1565b5050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612ec7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ebe90615674565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612fb89190613de2565b60405180910390a3505050565b612fd0848484612ae1565b612fdc848484846134fc565b61301b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161301290615706565b60405180910390fd5b50505050565b6060600e805461303090614829565b80601f016020809104026020016040519081016040528092919081815260200182805461305c90614829565b80156130a95780601f1061307e576101008083540402835291602001916130a9565b820191906000526020600020905b81548152906001019060200180831161308c57829003601f168201915b5050505050905090565b606060008214156130fb576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061320f565b600082905060005b6000821461312d57808061311690614bd9565b915050600a8261312691906155f7565b9150613103565b60008167ffffffffffffffff811115613149576131486142bd565b5b6040519080825280601f01601f19166020018201604052801561317b5781602001600182028036833780820191505090505b5090505b60008514613208576001826131949190615594565b9150600a856131a39190615726565b60306131af9190614f42565b60f81b8183815181106131c5576131c4614b7b565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561320191906155f7565b945061317f565b8093505050505b919050565b6060600c805461322390614829565b80601f016020809104026020016040519081016040528092919081815260200182805461324f90614829565b801561329c5780601f106132715761010080835404028352916020019161329c565b820191906000526020600020905b81548152906001019060200180831161327f57829003601f168201915b5050505050905090565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061337157507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80613381575061338082613693565b5b9050919050565b6133938383836136fd565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156133d6576133d181613702565b613415565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461341457613413838261374b565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561345857613453816138b8565b613497565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614613496576134958282613989565b5b5b505050565b505050565b6134ab8383613a08565b6134b860008484846134fc565b6134f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134ee90615706565b60405180910390fd5b505050565b600061351d8473ffffffffffffffffffffffffffffffffffffffff16613be2565b15613686578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026135466128d6565b8786866040518563ffffffff1660e01b815260040161356894939291906157ac565b602060405180830381600087803b15801561358257600080fd5b505af19250505080156135b357506040513d601f19601f820116820180604052508101906135b0919061580d565b60015b613636573d80600081146135e3576040519150601f19603f3d011682016040523d82523d6000602084013e6135e8565b606091505b5060008151141561362e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161362590615706565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061368b565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161375884611934565b6137629190615594565b9050600060076000848152602001908152602001600020549050818114613847576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506138cc9190615594565b90506000600960008481526020019081526020016000205490506000600883815481106138fc576138fb614b7b565b5b90600052602060002001549050806008838154811061391e5761391d614b7b565b5b90600052602060002001819055508160096000838152602001908152602001600020819055506009600085815260200190815260200160002060009055600880548061396d5761396c61583a565b5b6001900381819060005260206000200160009055905550505050565b600061399483611934565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613a78576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613a6f906158b5565b60405180910390fd5b613a81816128de565b15613ac1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613ab890615921565b60405180910390fd5b613acd60008383613388565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254613b1d9190614f42565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4613bde6000838361349c565b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b828054613c1190614829565b90600052602060002090601f016020900481019282613c335760008555613c7a565b82601f10613c4c57805160ff1916838001178555613c7a565b82800160010185558215613c7a579182015b82811115613c79578251825591602001919060010190613c5e565b5b509050613c879190613d11565b5090565b828054613c9790614829565b90600052602060002090601f016020900481019282613cb95760008555613d00565b82601f10613cd257803560ff1916838001178555613d00565b82800160010185558215613d00579182015b82811115613cff578235825591602001919060010190613ce4565b5b509050613d0d9190613d11565b5090565b5b80821115613d2a576000816000905550600101613d12565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613d7781613d42565b8114613d8257600080fd5b50565b600081359050613d9481613d6e565b92915050565b600060208284031215613db057613daf613d38565b5b6000613dbe84828501613d85565b91505092915050565b60008115159050919050565b613ddc81613dc7565b82525050565b6000602082019050613df76000830184613dd3565b92915050565b613e0681613dc7565b8114613e1157600080fd5b50565b600081359050613e2381613dfd565b92915050565b600060208284031215613e3f57613e3e613d38565b5b6000613e4d84828501613e14565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613e8182613e56565b9050919050565b613e9181613e76565b8114613e9c57600080fd5b50565b600081359050613eae81613e88565b92915050565b60006bffffffffffffffffffffffff82169050919050565b613ed581613eb4565b8114613ee057600080fd5b50565b600081359050613ef281613ecc565b92915050565b60008060408385031215613f0f57613f0e613d38565b5b6000613f1d85828601613e9f565b9250506020613f2e85828601613ee3565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613f72578082015181840152602081019050613f57565b83811115613f81576000848401525b50505050565b6000601f19601f8301169050919050565b6000613fa382613f38565b613fad8185613f43565b9350613fbd818560208601613f54565b613fc681613f87565b840191505092915050565b60006020820190508181036000830152613feb8184613f98565b905092915050565b6000819050919050565b61400681613ff3565b811461401157600080fd5b50565b60008135905061402381613ffd565b92915050565b60006020828403121561403f5761403e613d38565b5b600061404d84828501614014565b91505092915050565b61405f81613e76565b82525050565b600060208201905061407a6000830184614056565b92915050565b6000806040838503121561409757614096613d38565b5b60006140a585828601613e9f565b92505060206140b685828601614014565b9150509250929050565b6140c981613ff3565b82525050565b60006020820190506140e460008301846140c0565b92915050565b600060208284031215614100576140ff613d38565b5b600061410e84828501613e9f565b91505092915050565b6000806000606084860312156141305761412f613d38565b5b600061413e86828701613e9f565b935050602061414f86828701613e9f565b925050604061416086828701614014565b9150509250925092565b6000806040838503121561418157614180613d38565b5b600061418f85828601614014565b92505060206141a085828601614014565b9150509250929050565b60006040820190506141bf6000830185614056565b6141cc60208301846140c0565b9392505050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61420881613ff3565b82525050565b600061421a83836141ff565b60208301905092915050565b6000602082019050919050565b600061423e826141d3565b61424881856141de565b9350614253836141ef565b8060005b8381101561428457815161426b888261420e565b975061427683614226565b925050600181019050614257565b5085935050505092915050565b600060208201905081810360008301526142ab8184614233565b905092915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6142f582613f87565b810181811067ffffffffffffffff82111715614314576143136142bd565b5b80604052505050565b6000614327613d2e565b905061433382826142ec565b919050565b600067ffffffffffffffff821115614353576143526142bd565b5b61435c82613f87565b9050602081019050919050565b82818337600083830152505050565b600061438b61438684614338565b61431d565b9050828152602081018484840111156143a7576143a66142b8565b5b6143b2848285614369565b509392505050565b600082601f8301126143cf576143ce6142b3565b5b81356143df848260208601614378565b91505092915050565b6000602082840312156143fe576143fd613d38565b5b600082013567ffffffffffffffff81111561441c5761441b613d3d565b5b614428848285016143ba565b91505092915050565b600067ffffffffffffffff82111561444c5761444b6142bd565b5b602082029050602081019050919050565b600080fd5b600061447561447084614431565b61431d565b905080838252602082019050602084028301858111156144985761449761445d565b5b835b818110156144c157806144ad8882613e9f565b84526020840193505060208101905061449a565b5050509392505050565b600082601f8301126144e0576144df6142b3565b5b81356144f0848260208601614462565b91505092915050565b60006020828403121561450f5761450e613d38565b5b600082013567ffffffffffffffff81111561452d5761452c613d3d565b5b614539848285016144cb565b91505092915050565b600080fd5b60008083601f84011261455d5761455c6142b3565b5b8235905067ffffffffffffffff81111561457a57614579614542565b5b6020830191508360018202830111156145965761459561445d565b5b9250929050565b600080602083850312156145b4576145b3613d38565b5b600083013567ffffffffffffffff8111156145d2576145d1613d3d565b5b6145de85828601614547565b92509250509250929050565b6000806040838503121561460157614600613d38565b5b600061460f85828601613e9f565b925050602061462085828601613e14565b9150509250929050565b600067ffffffffffffffff821115614645576146446142bd565b5b61464e82613f87565b9050602081019050919050565b600061466e6146698461462a565b61431d565b90508281526020810184848401111561468a576146896142b8565b5b614695848285614369565b509392505050565b600082601f8301126146b2576146b16142b3565b5b81356146c284826020860161465b565b91505092915050565b600080600080608085870312156146e5576146e4613d38565b5b60006146f387828801613e9f565b945050602061470487828801613e9f565b935050604061471587828801614014565b925050606085013567ffffffffffffffff81111561473657614735613d3d565b5b6147428782880161469d565b91505092959194509250565b6000806040838503121561476557614764613d38565b5b600061477385828601613e9f565b925050602061478485828601613e9f565b9150509250929050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006147c4602083613f43565b91506147cf8261478e565b602082019050919050565b600060208201905081810360008301526147f3816147b7565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061484157607f821691505b60208210811415614855576148546147fa565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b60006148b7602c83613f43565b91506148c28261485b565b604082019050919050565b600060208201905081810360008301526148e6816148aa565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000614949602183613f43565b9150614954826148ed565b604082019050919050565b600060208201905081810360008301526149788161493c565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b60006149db603883613f43565b91506149e68261497f565b604082019050919050565b60006020820190508181036000830152614a0a816149ce565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b6000614a6d603183613f43565b9150614a7882614a11565b604082019050919050565b60006020820190508181036000830152614a9c81614a60565b9050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b6000614aff602b83613f43565b9150614b0a82614aa3565b604082019050919050565b60006020820190508181036000830152614b2e81614af2565b9050919050565b600081905092915050565b50565b6000614b50600083614b35565b9150614b5b82614b40565b600082019050919050565b6000614b7182614b43565b9150819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000614be482613ff3565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614c1757614c16614baa565b5b600182019050919050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b6000614c7e602c83613f43565b9150614c8982614c22565b604082019050919050565b60006020820190508181036000830152614cad81614c71565b9050919050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b6000614d10602983613f43565b9150614d1b82614cb4565b604082019050919050565b60006020820190508181036000830152614d3f81614d03565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b6000614da2602a83613f43565b9150614dad82614d46565b604082019050919050565b60006020820190508181036000830152614dd181614d95565b9050919050565b7f74686520636f6e74726163742069732070617573656400000000000000000000600082015250565b6000614e0e601683613f43565b9150614e1982614dd8565b602082019050919050565b60006020820190508181036000830152614e3d81614e01565b9050919050565b7f6e65656420746f206d696e74206174206c656173742031204e46540000000000600082015250565b6000614e7a601b83613f43565b9150614e8582614e44565b602082019050919050565b60006020820190508181036000830152614ea981614e6d565b9050919050565b7f6d6178206d696e7420616d6f756e74207065722073657373696f6e206578636560008201527f6564656400000000000000000000000000000000000000000000000000000000602082015250565b6000614f0c602483613f43565b9150614f1782614eb0565b604082019050919050565b60006020820190508181036000830152614f3b81614eff565b9050919050565b6000614f4d82613ff3565b9150614f5883613ff3565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614f8d57614f8c614baa565b5b828201905092915050565b7f6d6178204e4654206c696d697420657863656564656400000000000000000000600082015250565b6000614fce601683613f43565b9150614fd982614f98565b602082019050919050565b60006020820190508181036000830152614ffd81614fc1565b9050919050565b7f75736572206973206e6f742077686974656c6973746564000000000000000000600082015250565b600061503a601783613f43565b915061504582615004565b602082019050919050565b600060208201905081810360008301526150698161502d565b9050919050565b7f6d6178204e465420706572206164647265737320657863656564656400000000600082015250565b60006150a6601c83613f43565b91506150b182615070565b602082019050919050565b600060208201905081810360008301526150d581615099565b9050919050565b60006150e782613ff3565b91506150f283613ff3565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561512b5761512a614baa565b5b828202905092915050565b7f696e73756666696369656e742066756e64730000000000000000000000000000600082015250565b600061516c601283613f43565b915061517782615136565b602082019050919050565b6000602082019050818103600083015261519b8161515f565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b60006151fe602f83613f43565b9150615209826151a2565b604082019050919050565b6000602082019050818103600083015261522d816151f1565b9050919050565b600081905092915050565b600061524a82613f38565b6152548185615234565b9350615264818560208601613f54565b80840191505092915050565b60008190508160005260206000209050919050565b6000815461529281614829565b61529c8186615234565b945060018216600081146152b757600181146152c8576152fb565b60ff198316865281860193506152fb565b6152d185615270565b60005b838110156152f3578154818901526001820191506020810190506152d4565b838801955050505b50505092915050565b6000615310828661523f565b915061531c828561523f565b91506153288284615285565b9150819050949350505050565b60006153418284615285565b915081905092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006153a8602683613f43565b91506153b38261534c565b604082019050919050565b600060208201905081810360008301526153d78161539b565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b600061543a602c83613f43565b9150615445826153de565b604082019050919050565b600060208201905081810360008301526154698161542d565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b60006154cc602583613f43565b91506154d782615470565b604082019050919050565b600060208201905081810360008301526154fb816154bf565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b600061555e602483613f43565b915061556982615502565b604082019050919050565b6000602082019050818103600083015261558d81615551565b9050919050565b600061559f82613ff3565b91506155aa83613ff3565b9250828210156155bd576155bc614baa565b5b828203905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061560282613ff3565b915061560d83613ff3565b92508261561d5761561c6155c8565b5b828204905092915050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b600061565e601983613f43565b915061566982615628565b602082019050919050565b6000602082019050818103600083015261568d81615651565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b60006156f0603283613f43565b91506156fb82615694565b604082019050919050565b6000602082019050818103600083015261571f816156e3565b9050919050565b600061573182613ff3565b915061573c83613ff3565b92508261574c5761574b6155c8565b5b828206905092915050565b600081519050919050565b600082825260208201905092915050565b600061577e82615757565b6157888185615762565b9350615798818560208601613f54565b6157a181613f87565b840191505092915050565b60006080820190506157c16000830187614056565b6157ce6020830186614056565b6157db60408301856140c0565b81810360608301526157ed8184615773565b905095945050505050565b60008151905061580781613d6e565b92915050565b60006020828403121561582357615822613d38565b5b6000615831848285016157f8565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b600061589f602083613f43565b91506158aa82615869565b602082019050919050565b600060208201905081810360008301526158ce81615892565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b600061590b601c83613f43565b9150615916826158d5565b602082019050919050565b6000602082019050818103600083015261593a816158fe565b905091905056fea264697066735822122074b26ddb0650c87f1aec52be65f8fedb3056320d5616de7a21c61aff91c14f8a64736f6c6343000809003300000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000001f40000000000000000000000000000000000000000000000000000000000000240000000000000000000000000000000000000000000000000000000000000000d47454e4553495320546f6f6e730000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000024754000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004e68747470733a2f2f74732e6d7970696e6174612e636c6f75642f697066732f516d5069774652396854713579316d474a436b45736a555563625374437a373753325677427a435335556446776b2f000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004e68747470733a2f2f74732e6d7970696e6174612e636c6f75642f697066732f516d6378734b35383841446470365a64597070466f6936733941467a35356878724476326638327576525773656f2f000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004d68747470733a2f2f74732e6d7970696e6174612e636c6f75642f697066732f516d6265384d793979556f78763442335733394675537244626b334268745a735345587973437158384548486d5100000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106102e45760003560e01c8063639d7e1111610190578063a475b5dd116100dc578063d5abeb0111610095578063e8a3d4851161006f578063e8a3d48514610b1b578063e985e9c514610b46578063f2c4ce1e14610b83578063f2fde38b14610bac576102e4565b8063d5abeb0114610a9e578063da3ef23f14610ac9578063e43252d714610af2576102e4565b8063a475b5dd146109a2578063b88d4fde146109b9578063ba7d2c76146109e2578063c668286214610a0d578063c87b56dd14610a38578063d0eb26b014610a75576102e4565b80638ab1d6811161014957806395d89b411161012357806395d89b41146109075780639c70b51214610932578063a0712d681461095d578063a22cb46514610979576102e4565b80638ab1d6811461088a5780638da5cb5b146108b3578063938e3d7b146108de576102e4565b8063639d7e111461078c5780636c0360eb146107b757806370a08231146107e2578063715018a61461081f57806372250380146108365780637f00c7a614610861576102e4565b80632f745c591161024f57806344a0d68a1161020857806355f804b3116101e257806355f804b3146106d25780635ae698ff146106fb5780635c975abb146107245780636352211e1461074f576102e4565b806344a0d68a146106415780634f6ccce71461066a57806351830227146106a7576102e4565b80632f745c591461052e5780633af32abf1461056b5780633c952764146105a85780633ccfd60b146105d157806342842e0e146105db578063438b630014610604576102e4565b806313faede6116102a157806313faede61461040957806318160ddd1461043457806318cae2691461045f578063239c70ae1461049c57806323b872dd146104c75780632a55205a146104f0576102e4565b806301ffc9a7146102e957806302329a291461032657806302fa7c471461034f57806306fdde0314610378578063081812fc146103a3578063095ea7b3146103e0575b600080fd5b3480156102f557600080fd5b50610310600480360381019061030b9190613d9a565b610bd5565b60405161031d9190613de2565b60405180910390f35b34801561033257600080fd5b5061034d60048036038101906103489190613e29565b610caf565b005b34801561035b57600080fd5b5061037660048036038101906103719190613ef8565b610d48565b005b34801561038457600080fd5b5061038d610e3a565b60405161039a9190613fd1565b60405180910390f35b3480156103af57600080fd5b506103ca60048036038101906103c59190614029565b610ecc565b6040516103d79190614065565b60405180910390f35b3480156103ec57600080fd5b5061040760048036038101906104029190614080565b610f51565b005b34801561041557600080fd5b5061041e611069565b60405161042b91906140cf565b60405180910390f35b34801561044057600080fd5b5061044961106f565b60405161045691906140cf565b60405180910390f35b34801561046b57600080fd5b50610486600480360381019061048191906140ea565b61107c565b60405161049391906140cf565b60405180910390f35b3480156104a857600080fd5b506104b1611094565b6040516104be91906140cf565b60405180910390f35b3480156104d357600080fd5b506104ee60048036038101906104e99190614117565b61109a565b005b3480156104fc57600080fd5b506105176004803603810190610512919061416a565b6110fa565b6040516105259291906141aa565b60405180910390f35b34801561053a57600080fd5b5061055560048036038101906105509190614080565b61117a565b60405161056291906140cf565b60405180910390f35b34801561057757600080fd5b50610592600480360381019061058d91906140ea565b61121f565b60405161059f9190613de2565b60405180910390f35b3480156105b457600080fd5b506105cf60048036038101906105ca9190613e29565b61123f565b005b6105d96112d8565b005b3480156105e757600080fd5b5061060260048036038101906105fd9190614117565b6113d4565b005b34801561061057600080fd5b5061062b600480360381019061062691906140ea565b6113f4565b6040516106389190614291565b60405180910390f35b34801561064d57600080fd5b5061066860048036038101906106639190614029565b6114a2565b005b34801561067657600080fd5b50610691600480360381019061068c9190614029565b611528565b60405161069e91906140cf565b60405180910390f35b3480156106b357600080fd5b506106bc611599565b6040516106c99190613de2565b60405180910390f35b3480156106de57600080fd5b506106f960048036038101906106f491906143e8565b6115ac565b005b34801561070757600080fd5b50610722600480360381019061071d91906144f9565b611642565b005b34801561073057600080fd5b50610739611753565b6040516107469190613de2565b60405180910390f35b34801561075b57600080fd5b5061077660048036038101906107719190614029565b611766565b6040516107839190614065565b60405180910390f35b34801561079857600080fd5b506107a1611818565b6040516107ae9190613fd1565b60405180910390f35b3480156107c357600080fd5b506107cc6118a6565b6040516107d99190613fd1565b60405180910390f35b3480156107ee57600080fd5b50610809600480360381019061080491906140ea565b611934565b60405161081691906140cf565b60405180910390f35b34801561082b57600080fd5b506108346119ec565b005b34801561084257600080fd5b5061084b611a74565b6040516108589190613fd1565b60405180910390f35b34801561086d57600080fd5b5061088860048036038101906108839190614029565b611b02565b005b34801561089657600080fd5b506108b160048036038101906108ac91906140ea565b611b88565b005b3480156108bf57600080fd5b506108c8611c5f565b6040516108d59190614065565b60405180910390f35b3480156108ea57600080fd5b506109056004803603810190610900919061459d565b611c89565b005b34801561091357600080fd5b5061091c611d1b565b6040516109299190613fd1565b60405180910390f35b34801561093e57600080fd5b50610947611dad565b6040516109549190613de2565b60405180910390f35b61097760048036038101906109729190614029565b611dc0565b005b34801561098557600080fd5b506109a0600480360381019061099b91906145ea565b61214d565b005b3480156109ae57600080fd5b506109b7612163565b005b3480156109c557600080fd5b506109e060048036038101906109db91906146cb565b6121fc565b005b3480156109ee57600080fd5b506109f761225e565b604051610a0491906140cf565b60405180910390f35b348015610a1957600080fd5b50610a22612264565b604051610a2f9190613fd1565b60405180910390f35b348015610a4457600080fd5b50610a5f6004803603810190610a5a9190614029565b6122f2565b604051610a6c9190613fd1565b60405180910390f35b348015610a8157600080fd5b50610a9c6004803603810190610a979190614029565b612419565b005b348015610aaa57600080fd5b50610ab361249f565b604051610ac091906140cf565b60405180910390f35b348015610ad557600080fd5b50610af06004803603810190610aeb91906143e8565b6124a5565b005b348015610afe57600080fd5b50610b196004803603810190610b1491906140ea565b61253b565b005b348015610b2757600080fd5b50610b30612612565b604051610b3d9190613fd1565b60405180910390f35b348015610b5257600080fd5b50610b6d6004803603810190610b68919061474e565b61263a565b604051610b7a9190613de2565b60405180910390f35b348015610b8f57600080fd5b50610baa6004803603810190610ba591906143e8565b6126ce565b005b348015610bb857600080fd5b50610bd36004803603810190610bce91906140ea565b612764565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610c68575063e8a3d48560e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610c985750632a55205a60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610ca85750610ca78261285c565b5b9050919050565b610cb76128d6565b73ffffffffffffffffffffffffffffffffffffffff16610cd5611c5f565b73ffffffffffffffffffffffffffffffffffffffff1614610d2b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d22906147da565b60405180910390fd5b806014600c6101000a81548160ff02191690831515021790555050565b610d506128d6565b73ffffffffffffffffffffffffffffffffffffffff16610d6e611c5f565b73ffffffffffffffffffffffffffffffffffffffff1614610dc4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dbb906147da565b60405180910390fd5b81601560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080601460006101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055505050565b606060008054610e4990614829565b80601f0160208091040260200160405190810160405280929190818152602001828054610e7590614829565b8015610ec25780601f10610e9757610100808354040283529160200191610ec2565b820191906000526020600020905b815481529060010190602001808311610ea557829003601f168201915b5050505050905090565b6000610ed7826128de565b610f16576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f0d906148cd565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610f5c82611766565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610fcd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fc49061495f565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610fec6128d6565b73ffffffffffffffffffffffffffffffffffffffff16148061101b575061101a816110156128d6565b61263a565b5b61105a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611051906149f1565b60405180910390fd5b611064838361294a565b505050565b60105481565b6000600880549050905090565b60176020528060005260406000206000915090505481565b60125481565b6110ab6110a56128d6565b82612a03565b6110ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110e190614a83565b60405180910390fd5b6110f5838383612ae1565b505050565b600080601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1661116f612710611161601460009054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff1687612d4890919063ffffffff16565b612d5e90919063ffffffff16565b915091509250929050565b600061118583611934565b82106111c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111bd90614b15565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b60166020528060005260406000206000915054906101000a900460ff1681565b6112476128d6565b73ffffffffffffffffffffffffffffffffffffffff16611265611c5f565b73ffffffffffffffffffffffffffffffffffffffff16146112bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112b2906147da565b60405180910390fd5b806014600e6101000a81548160ff02191690831515021790555050565b6112e06128d6565b73ffffffffffffffffffffffffffffffffffffffff166112fe611c5f565b73ffffffffffffffffffffffffffffffffffffffff1614611354576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161134b906147da565b60405180910390fd5b600061135e611c5f565b73ffffffffffffffffffffffffffffffffffffffff164760405161138190614b66565b60006040518083038185875af1925050503d80600081146113be576040519150601f19603f3d011682016040523d82523d6000602084013e6113c3565b606091505b50509050806113d157600080fd5b50565b6113ef838383604051806020016040528060008152506121fc565b505050565b6060600061140183611934565b905060008167ffffffffffffffff81111561141f5761141e6142bd565b5b60405190808252806020026020018201604052801561144d5781602001602082028036833780820191505090505b50905060005b8281101561149757611465858261117a565b82828151811061147857611477614b7b565b5b602002602001018181525050808061148f90614bd9565b915050611453565b508092505050919050565b6114aa6128d6565b73ffffffffffffffffffffffffffffffffffffffff166114c8611c5f565b73ffffffffffffffffffffffffffffffffffffffff161461151e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611515906147da565b60405180910390fd5b8060108190555050565b600061153261106f565b8210611573576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161156a90614c94565b60405180910390fd5b6008828154811061158757611586614b7b565b5b90600052602060002001549050919050565b6014600d9054906101000a900460ff1681565b6115b46128d6565b73ffffffffffffffffffffffffffffffffffffffff166115d2611c5f565b73ffffffffffffffffffffffffffffffffffffffff1614611628576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161161f906147da565b60405180910390fd5b80600c908051906020019061163e929190613c05565b5050565b61164a6128d6565b73ffffffffffffffffffffffffffffffffffffffff16611668611c5f565b73ffffffffffffffffffffffffffffffffffffffff16146116be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116b5906147da565b60405180910390fd5b60005b815181101561174f576001601660008484815181106116e3576116e2614b7b565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550808061174790614bd9565b9150506116c1565b5050565b6014600c9054906101000a900460ff1681565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561180f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161180690614d26565b60405180910390fd5b80915050919050565b600f805461182590614829565b80601f016020809104026020016040519081016040528092919081815260200182805461185190614829565b801561189e5780601f106118735761010080835404028352916020019161189e565b820191906000526020600020905b81548152906001019060200180831161188157829003601f168201915b505050505081565b600c80546118b390614829565b80601f01602080910402602001604051908101604052809291908181526020018280546118df90614829565b801561192c5780601f106119015761010080835404028352916020019161192c565b820191906000526020600020905b81548152906001019060200180831161190f57829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156119a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161199c90614db8565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6119f46128d6565b73ffffffffffffffffffffffffffffffffffffffff16611a12611c5f565b73ffffffffffffffffffffffffffffffffffffffff1614611a68576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a5f906147da565b60405180910390fd5b611a726000612d74565b565b600e8054611a8190614829565b80601f0160208091040260200160405190810160405280929190818152602001828054611aad90614829565b8015611afa5780601f10611acf57610100808354040283529160200191611afa565b820191906000526020600020905b815481529060010190602001808311611add57829003601f168201915b505050505081565b611b0a6128d6565b73ffffffffffffffffffffffffffffffffffffffff16611b28611c5f565b73ffffffffffffffffffffffffffffffffffffffff1614611b7e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b75906147da565b60405180910390fd5b8060128190555050565b611b906128d6565b73ffffffffffffffffffffffffffffffffffffffff16611bae611c5f565b73ffffffffffffffffffffffffffffffffffffffff1614611c04576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bfb906147da565b60405180910390fd5b6000601660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611c916128d6565b73ffffffffffffffffffffffffffffffffffffffff16611caf611c5f565b73ffffffffffffffffffffffffffffffffffffffff1614611d05576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cfc906147da565b60405180910390fd5b8181600f9190611d16929190613c8b565b505050565b606060018054611d2a90614829565b80601f0160208091040260200160405190810160405280929190818152602001828054611d5690614829565b8015611da35780601f10611d7857610100808354040283529160200191611da3565b820191906000526020600020905b815481529060010190602001808311611d8657829003601f168201915b5050505050905090565b6014600e9054906101000a900460ff1681565b6014600c9054906101000a900460ff1615611e10576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e0790614e24565b60405180910390fd5b6000611e1a61106f565b905060008211611e5f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e5690614e90565b60405180910390fd5b601254821115611ea4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e9b90614f22565b60405180910390fd5b6011548282611eb39190614f42565b1115611ef4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eeb90614fe4565b60405180910390fd5b611efc611c5f565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146120bd57600115156014600e9054906101000a900460ff16151514156120bc57601660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16611fd6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fcd90615050565b60405180910390fd5b6000601760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905060135483826120299190614f42565b111561206a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612061906150bc565b60405180910390fd5b8260105461207891906150dc565b3410156120ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120b190615182565b60405180910390fd5b505b5b6000600190505b82811161214857601760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081548092919061211b90614bd9565b91905055506121353382846121309190614f42565b612e3a565b808061214090614bd9565b9150506120c4565b505050565b61215f6121586128d6565b8383612e58565b5050565b61216b6128d6565b73ffffffffffffffffffffffffffffffffffffffff16612189611c5f565b73ffffffffffffffffffffffffffffffffffffffff16146121df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121d6906147da565b60405180910390fd5b60016014600d6101000a81548160ff021916908315150217905550565b61220d6122076128d6565b83612a03565b61224c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161224390614a83565b60405180910390fd5b61225884848484612fc5565b50505050565b60135481565b600d805461227190614829565b80601f016020809104026020016040519081016040528092919081815260200182805461229d90614829565b80156122ea5780601f106122bf576101008083540402835291602001916122ea565b820191906000526020600020905b8154815290600101906020018083116122cd57829003601f168201915b505050505081565b60606122fd826128de565b61233c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161233390615214565b60405180910390fd5b600015156014600d9054906101000a900460ff16151514156123b8576000612362613021565b9050600081511161238257604051806020016040528060008152506123b0565b8061238c846130b3565b600d6040516020016123a093929190615304565b6040516020818303038152906040525b915050612414565b60006123c2613214565b905060008151116123e25760405180602001604052806000815250612410565b806123ec846130b3565b600d60405160200161240093929190615304565b6040516020818303038152906040525b9150505b919050565b6124216128d6565b73ffffffffffffffffffffffffffffffffffffffff1661243f611c5f565b73ffffffffffffffffffffffffffffffffffffffff1614612495576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161248c906147da565b60405180910390fd5b8060138190555050565b60115481565b6124ad6128d6565b73ffffffffffffffffffffffffffffffffffffffff166124cb611c5f565b73ffffffffffffffffffffffffffffffffffffffff1614612521576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612518906147da565b60405180910390fd5b80600d9080519060200190612537929190613c05565b5050565b6125436128d6565b73ffffffffffffffffffffffffffffffffffffffff16612561611c5f565b73ffffffffffffffffffffffffffffffffffffffff16146125b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125ae906147da565b60405180910390fd5b6001601660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b6060600f6040516020016126269190615335565b604051602081830303815290604052905090565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6126d66128d6565b73ffffffffffffffffffffffffffffffffffffffff166126f4611c5f565b73ffffffffffffffffffffffffffffffffffffffff161461274a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612741906147da565b60405180910390fd5b80600e9080519060200190612760929190613c05565b5050565b61276c6128d6565b73ffffffffffffffffffffffffffffffffffffffff1661278a611c5f565b73ffffffffffffffffffffffffffffffffffffffff16146127e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127d7906147da565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612850576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612847906153be565b60405180910390fd5b61285981612d74565b50565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806128cf57506128ce826132a6565b5b9050919050565b600033905090565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166129bd83611766565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000612a0e826128de565b612a4d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a4490615450565b60405180910390fd5b6000612a5883611766565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612ac757508373ffffffffffffffffffffffffffffffffffffffff16612aaf84610ecc565b73ffffffffffffffffffffffffffffffffffffffff16145b80612ad85750612ad7818561263a565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612b0182611766565b73ffffffffffffffffffffffffffffffffffffffff1614612b57576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b4e906154e2565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612bc7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bbe90615574565b60405180910390fd5b612bd2838383613388565b612bdd60008261294a565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612c2d9190615594565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612c849190614f42565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612d4383838361349c565b505050565b60008183612d5691906150dc565b905092915050565b60008183612d6c91906155f7565b905092915050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612e548282604051806020016040528060008152506134a1565b5050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612ec7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ebe90615674565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612fb89190613de2565b60405180910390a3505050565b612fd0848484612ae1565b612fdc848484846134fc565b61301b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161301290615706565b60405180910390fd5b50505050565b6060600e805461303090614829565b80601f016020809104026020016040519081016040528092919081815260200182805461305c90614829565b80156130a95780601f1061307e576101008083540402835291602001916130a9565b820191906000526020600020905b81548152906001019060200180831161308c57829003601f168201915b5050505050905090565b606060008214156130fb576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061320f565b600082905060005b6000821461312d57808061311690614bd9565b915050600a8261312691906155f7565b9150613103565b60008167ffffffffffffffff811115613149576131486142bd565b5b6040519080825280601f01601f19166020018201604052801561317b5781602001600182028036833780820191505090505b5090505b60008514613208576001826131949190615594565b9150600a856131a39190615726565b60306131af9190614f42565b60f81b8183815181106131c5576131c4614b7b565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561320191906155f7565b945061317f565b8093505050505b919050565b6060600c805461322390614829565b80601f016020809104026020016040519081016040528092919081815260200182805461324f90614829565b801561329c5780601f106132715761010080835404028352916020019161329c565b820191906000526020600020905b81548152906001019060200180831161327f57829003601f168201915b5050505050905090565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061337157507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80613381575061338082613693565b5b9050919050565b6133938383836136fd565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156133d6576133d181613702565b613415565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461341457613413838261374b565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561345857613453816138b8565b613497565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614613496576134958282613989565b5b5b505050565b505050565b6134ab8383613a08565b6134b860008484846134fc565b6134f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134ee90615706565b60405180910390fd5b505050565b600061351d8473ffffffffffffffffffffffffffffffffffffffff16613be2565b15613686578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026135466128d6565b8786866040518563ffffffff1660e01b815260040161356894939291906157ac565b602060405180830381600087803b15801561358257600080fd5b505af19250505080156135b357506040513d601f19601f820116820180604052508101906135b0919061580d565b60015b613636573d80600081146135e3576040519150601f19603f3d011682016040523d82523d6000602084013e6135e8565b606091505b5060008151141561362e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161362590615706565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061368b565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161375884611934565b6137629190615594565b9050600060076000848152602001908152602001600020549050818114613847576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506138cc9190615594565b90506000600960008481526020019081526020016000205490506000600883815481106138fc576138fb614b7b565b5b90600052602060002001549050806008838154811061391e5761391d614b7b565b5b90600052602060002001819055508160096000838152602001908152602001600020819055506009600085815260200190815260200160002060009055600880548061396d5761396c61583a565b5b6001900381819060005260206000200160009055905550505050565b600061399483611934565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613a78576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613a6f906158b5565b60405180910390fd5b613a81816128de565b15613ac1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613ab890615921565b60405180910390fd5b613acd60008383613388565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254613b1d9190614f42565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4613bde6000838361349c565b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b828054613c1190614829565b90600052602060002090601f016020900481019282613c335760008555613c7a565b82601f10613c4c57805160ff1916838001178555613c7a565b82800160010185558215613c7a579182015b82811115613c79578251825591602001919060010190613c5e565b5b509050613c879190613d11565b5090565b828054613c9790614829565b90600052602060002090601f016020900481019282613cb95760008555613d00565b82601f10613cd257803560ff1916838001178555613d00565b82800160010185558215613d00579182015b82811115613cff578235825591602001919060010190613ce4565b5b509050613d0d9190613d11565b5090565b5b80821115613d2a576000816000905550600101613d12565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613d7781613d42565b8114613d8257600080fd5b50565b600081359050613d9481613d6e565b92915050565b600060208284031215613db057613daf613d38565b5b6000613dbe84828501613d85565b91505092915050565b60008115159050919050565b613ddc81613dc7565b82525050565b6000602082019050613df76000830184613dd3565b92915050565b613e0681613dc7565b8114613e1157600080fd5b50565b600081359050613e2381613dfd565b92915050565b600060208284031215613e3f57613e3e613d38565b5b6000613e4d84828501613e14565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613e8182613e56565b9050919050565b613e9181613e76565b8114613e9c57600080fd5b50565b600081359050613eae81613e88565b92915050565b60006bffffffffffffffffffffffff82169050919050565b613ed581613eb4565b8114613ee057600080fd5b50565b600081359050613ef281613ecc565b92915050565b60008060408385031215613f0f57613f0e613d38565b5b6000613f1d85828601613e9f565b9250506020613f2e85828601613ee3565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613f72578082015181840152602081019050613f57565b83811115613f81576000848401525b50505050565b6000601f19601f8301169050919050565b6000613fa382613f38565b613fad8185613f43565b9350613fbd818560208601613f54565b613fc681613f87565b840191505092915050565b60006020820190508181036000830152613feb8184613f98565b905092915050565b6000819050919050565b61400681613ff3565b811461401157600080fd5b50565b60008135905061402381613ffd565b92915050565b60006020828403121561403f5761403e613d38565b5b600061404d84828501614014565b91505092915050565b61405f81613e76565b82525050565b600060208201905061407a6000830184614056565b92915050565b6000806040838503121561409757614096613d38565b5b60006140a585828601613e9f565b92505060206140b685828601614014565b9150509250929050565b6140c981613ff3565b82525050565b60006020820190506140e460008301846140c0565b92915050565b600060208284031215614100576140ff613d38565b5b600061410e84828501613e9f565b91505092915050565b6000806000606084860312156141305761412f613d38565b5b600061413e86828701613e9f565b935050602061414f86828701613e9f565b925050604061416086828701614014565b9150509250925092565b6000806040838503121561418157614180613d38565b5b600061418f85828601614014565b92505060206141a085828601614014565b9150509250929050565b60006040820190506141bf6000830185614056565b6141cc60208301846140c0565b9392505050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61420881613ff3565b82525050565b600061421a83836141ff565b60208301905092915050565b6000602082019050919050565b600061423e826141d3565b61424881856141de565b9350614253836141ef565b8060005b8381101561428457815161426b888261420e565b975061427683614226565b925050600181019050614257565b5085935050505092915050565b600060208201905081810360008301526142ab8184614233565b905092915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6142f582613f87565b810181811067ffffffffffffffff82111715614314576143136142bd565b5b80604052505050565b6000614327613d2e565b905061433382826142ec565b919050565b600067ffffffffffffffff821115614353576143526142bd565b5b61435c82613f87565b9050602081019050919050565b82818337600083830152505050565b600061438b61438684614338565b61431d565b9050828152602081018484840111156143a7576143a66142b8565b5b6143b2848285614369565b509392505050565b600082601f8301126143cf576143ce6142b3565b5b81356143df848260208601614378565b91505092915050565b6000602082840312156143fe576143fd613d38565b5b600082013567ffffffffffffffff81111561441c5761441b613d3d565b5b614428848285016143ba565b91505092915050565b600067ffffffffffffffff82111561444c5761444b6142bd565b5b602082029050602081019050919050565b600080fd5b600061447561447084614431565b61431d565b905080838252602082019050602084028301858111156144985761449761445d565b5b835b818110156144c157806144ad8882613e9f565b84526020840193505060208101905061449a565b5050509392505050565b600082601f8301126144e0576144df6142b3565b5b81356144f0848260208601614462565b91505092915050565b60006020828403121561450f5761450e613d38565b5b600082013567ffffffffffffffff81111561452d5761452c613d3d565b5b614539848285016144cb565b91505092915050565b600080fd5b60008083601f84011261455d5761455c6142b3565b5b8235905067ffffffffffffffff81111561457a57614579614542565b5b6020830191508360018202830111156145965761459561445d565b5b9250929050565b600080602083850312156145b4576145b3613d38565b5b600083013567ffffffffffffffff8111156145d2576145d1613d3d565b5b6145de85828601614547565b92509250509250929050565b6000806040838503121561460157614600613d38565b5b600061460f85828601613e9f565b925050602061462085828601613e14565b9150509250929050565b600067ffffffffffffffff821115614645576146446142bd565b5b61464e82613f87565b9050602081019050919050565b600061466e6146698461462a565b61431d565b90508281526020810184848401111561468a576146896142b8565b5b614695848285614369565b509392505050565b600082601f8301126146b2576146b16142b3565b5b81356146c284826020860161465b565b91505092915050565b600080600080608085870312156146e5576146e4613d38565b5b60006146f387828801613e9f565b945050602061470487828801613e9f565b935050604061471587828801614014565b925050606085013567ffffffffffffffff81111561473657614735613d3d565b5b6147428782880161469d565b91505092959194509250565b6000806040838503121561476557614764613d38565b5b600061477385828601613e9f565b925050602061478485828601613e9f565b9150509250929050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006147c4602083613f43565b91506147cf8261478e565b602082019050919050565b600060208201905081810360008301526147f3816147b7565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061484157607f821691505b60208210811415614855576148546147fa565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b60006148b7602c83613f43565b91506148c28261485b565b604082019050919050565b600060208201905081810360008301526148e6816148aa565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000614949602183613f43565b9150614954826148ed565b604082019050919050565b600060208201905081810360008301526149788161493c565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b60006149db603883613f43565b91506149e68261497f565b604082019050919050565b60006020820190508181036000830152614a0a816149ce565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b6000614a6d603183613f43565b9150614a7882614a11565b604082019050919050565b60006020820190508181036000830152614a9c81614a60565b9050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b6000614aff602b83613f43565b9150614b0a82614aa3565b604082019050919050565b60006020820190508181036000830152614b2e81614af2565b9050919050565b600081905092915050565b50565b6000614b50600083614b35565b9150614b5b82614b40565b600082019050919050565b6000614b7182614b43565b9150819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000614be482613ff3565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614c1757614c16614baa565b5b600182019050919050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b6000614c7e602c83613f43565b9150614c8982614c22565b604082019050919050565b60006020820190508181036000830152614cad81614c71565b9050919050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b6000614d10602983613f43565b9150614d1b82614cb4565b604082019050919050565b60006020820190508181036000830152614d3f81614d03565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b6000614da2602a83613f43565b9150614dad82614d46565b604082019050919050565b60006020820190508181036000830152614dd181614d95565b9050919050565b7f74686520636f6e74726163742069732070617573656400000000000000000000600082015250565b6000614e0e601683613f43565b9150614e1982614dd8565b602082019050919050565b60006020820190508181036000830152614e3d81614e01565b9050919050565b7f6e65656420746f206d696e74206174206c656173742031204e46540000000000600082015250565b6000614e7a601b83613f43565b9150614e8582614e44565b602082019050919050565b60006020820190508181036000830152614ea981614e6d565b9050919050565b7f6d6178206d696e7420616d6f756e74207065722073657373696f6e206578636560008201527f6564656400000000000000000000000000000000000000000000000000000000602082015250565b6000614f0c602483613f43565b9150614f1782614eb0565b604082019050919050565b60006020820190508181036000830152614f3b81614eff565b9050919050565b6000614f4d82613ff3565b9150614f5883613ff3565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614f8d57614f8c614baa565b5b828201905092915050565b7f6d6178204e4654206c696d697420657863656564656400000000000000000000600082015250565b6000614fce601683613f43565b9150614fd982614f98565b602082019050919050565b60006020820190508181036000830152614ffd81614fc1565b9050919050565b7f75736572206973206e6f742077686974656c6973746564000000000000000000600082015250565b600061503a601783613f43565b915061504582615004565b602082019050919050565b600060208201905081810360008301526150698161502d565b9050919050565b7f6d6178204e465420706572206164647265737320657863656564656400000000600082015250565b60006150a6601c83613f43565b91506150b182615070565b602082019050919050565b600060208201905081810360008301526150d581615099565b9050919050565b60006150e782613ff3565b91506150f283613ff3565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561512b5761512a614baa565b5b828202905092915050565b7f696e73756666696369656e742066756e64730000000000000000000000000000600082015250565b600061516c601283613f43565b915061517782615136565b602082019050919050565b6000602082019050818103600083015261519b8161515f565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b60006151fe602f83613f43565b9150615209826151a2565b604082019050919050565b6000602082019050818103600083015261522d816151f1565b9050919050565b600081905092915050565b600061524a82613f38565b6152548185615234565b9350615264818560208601613f54565b80840191505092915050565b60008190508160005260206000209050919050565b6000815461529281614829565b61529c8186615234565b945060018216600081146152b757600181146152c8576152fb565b60ff198316865281860193506152fb565b6152d185615270565b60005b838110156152f3578154818901526001820191506020810190506152d4565b838801955050505b50505092915050565b6000615310828661523f565b915061531c828561523f565b91506153288284615285565b9150819050949350505050565b60006153418284615285565b915081905092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006153a8602683613f43565b91506153b38261534c565b604082019050919050565b600060208201905081810360008301526153d78161539b565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b600061543a602c83613f43565b9150615445826153de565b604082019050919050565b600060208201905081810360008301526154698161542d565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b60006154cc602583613f43565b91506154d782615470565b604082019050919050565b600060208201905081810360008301526154fb816154bf565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b600061555e602483613f43565b915061556982615502565b604082019050919050565b6000602082019050818103600083015261558d81615551565b9050919050565b600061559f82613ff3565b91506155aa83613ff3565b9250828210156155bd576155bc614baa565b5b828203905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061560282613ff3565b915061560d83613ff3565b92508261561d5761561c6155c8565b5b828204905092915050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b600061565e601983613f43565b915061566982615628565b602082019050919050565b6000602082019050818103600083015261568d81615651565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b60006156f0603283613f43565b91506156fb82615694565b604082019050919050565b6000602082019050818103600083015261571f816156e3565b9050919050565b600061573182613ff3565b915061573c83613ff3565b92508261574c5761574b6155c8565b5b828206905092915050565b600081519050919050565b600082825260208201905092915050565b600061577e82615757565b6157888185615762565b9350615798818560208601613f54565b6157a181613f87565b840191505092915050565b60006080820190506157c16000830187614056565b6157ce6020830186614056565b6157db60408301856140c0565b81810360608301526157ed8184615773565b905095945050505050565b60008151905061580781613d6e565b92915050565b60006020828403121561582357615822613d38565b5b6000615831848285016157f8565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b600061589f602083613f43565b91506158aa82615869565b602082019050919050565b600060208201905081810360008301526158ce81615892565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b600061590b601c83613f43565b9150615916826158d5565b602082019050919050565b6000602082019050818103600083015261593a816158fe565b905091905056fea264697066735822122074b26ddb0650c87f1aec52be65f8fedb3056320d5616de7a21c61aff91c14f8a64736f6c63430008090033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000001f40000000000000000000000000000000000000000000000000000000000000240000000000000000000000000000000000000000000000000000000000000000d47454e4553495320546f6f6e730000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000024754000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004e68747470733a2f2f74732e6d7970696e6174612e636c6f75642f697066732f516d5069774652396854713579316d474a436b45736a555563625374437a373753325677427a435335556446776b2f000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004e68747470733a2f2f74732e6d7970696e6174612e636c6f75642f697066732f516d6378734b35383841446470365a64597070466f6936733941467a35356878724476326638327576525773656f2f000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004d68747470733a2f2f74732e6d7970696e6174612e636c6f75642f697066732f516d6265384d793979556f78763442335733394675537244626b334268745a735345587973437158384548486d5100000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _name (string): GENESIS Toons
Arg [1] : _symbol (string): GT
Arg [2] : _initBaseURI (string): https://ts.mypinata.cloud/ipfs/QmPiwFR9hTq5y1mGJCkEsjUUcbStCz77S2VwBzCS5UdFwk/
Arg [3] : _initNotRevealedUri (string): https://ts.mypinata.cloud/ipfs/QmcxsK588ADdp6ZdYppFoi6s9AFz55hxrDv2f82uvRWseo/
Arg [4] : _royaltyBasis (uint96): 500
Arg [5] : _contractURI (string): https://ts.mypinata.cloud/ipfs/Qmbe8My9yUoxv4B3W39FuSrDbk3BhtZsSEXysCqX8EHHmQ
-----Encoded View---------------
22 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000140
Arg [3] : 00000000000000000000000000000000000000000000000000000000000001c0
Arg [4] : 00000000000000000000000000000000000000000000000000000000000001f4
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000240
Arg [6] : 000000000000000000000000000000000000000000000000000000000000000d
Arg [7] : 47454e4553495320546f6f6e7300000000000000000000000000000000000000
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [9] : 4754000000000000000000000000000000000000000000000000000000000000
Arg [10] : 000000000000000000000000000000000000000000000000000000000000004e
Arg [11] : 68747470733a2f2f74732e6d7970696e6174612e636c6f75642f697066732f51
Arg [12] : 6d5069774652396854713579316d474a436b45736a555563625374437a373753
Arg [13] : 325677427a435335556446776b2f000000000000000000000000000000000000
Arg [14] : 000000000000000000000000000000000000000000000000000000000000004e
Arg [15] : 68747470733a2f2f74732e6d7970696e6174612e636c6f75642f697066732f51
Arg [16] : 6d6378734b35383841446470365a64597070466f6936733941467a3535687872
Arg [17] : 4476326638327576525773656f2f000000000000000000000000000000000000
Arg [18] : 000000000000000000000000000000000000000000000000000000000000004d
Arg [19] : 68747470733a2f2f74732e6d7970696e6174612e636c6f75642f697066732f51
Arg [20] : 6d6265384d793979556f78763442335733394675537244626b334268745a7353
Arg [21] : 45587973437158384548486d5100000000000000000000000000000000000000
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.