Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
80 APC
Holders
41
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 APCLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
PastelAristocrats
Compiler Version
v0.8.4+commit.c7e474f2
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; pragma solidity ^0.8.4; pragma abicoder v2; contract PastelAristocrats is ERC721, Ownable, ERC721Enumerable { using SafeMath for uint256; using Strings for uint256; uint256 public constant tokenPrice = 70000000000000000; // 0.07 ETH uint256 public constant maxTokenPurchase = 10; uint256 public constant MAX_TOKENS = 3333; string public baseURI = ""; // IPFS URI WILL BE SET AFTER ALL TOKENS SOLD OUT bool public saleIsActive = true; bool public presaleIsActive = false; bool public isRevealed = false; mapping(address => bool) private _presaleList; mapping(address => uint256) private _presaleListClaimed; uint256 public presaleMaxMint = 2; uint256 public devReserve = 25; event PastelMinted(uint256 tokenId, address owner); constructor() ERC721("Aristocrats Pastel Club", "APC") {} function _baseURI() internal view virtual override returns (string memory) { return baseURI; } function setBaseURI(string memory _newBaseURI) public onlyOwner { baseURI = _newBaseURI; } function withdraw() public payable onlyOwner { (bool os, ) = payable(owner()).call{ value: address(this).balance }(""); require(os); } function reveal() public onlyOwner { isRevealed = true; } function reserveTokens(address _to, uint256 _reserveAmount) external onlyOwner { require( _reserveAmount > 0 && _reserveAmount <= devReserve, "Not enough reserve left for team" ); for (uint256 i = 0; i < _reserveAmount; i++) { uint256 id = totalSupply(); _safeMint(_to, id); } devReserve = devReserve.sub(_reserveAmount); } function toggleSaleState() external onlyOwner { saleIsActive = !saleIsActive; } function togglePresaleState() external onlyOwner { presaleIsActive = !presaleIsActive; } function tokensOfOwner(address _owner) external view returns (uint256[] memory) { uint256 tokenCount = balanceOf(_owner); if (tokenCount == 0) { // Return an empty array return new uint256[](0); } else { uint256[] memory result = new uint256[](tokenCount); uint256 index; for (index = 0; index < tokenCount; index++) { result[index] = tokenOfOwnerByIndex(_owner, index); } return result; } } function mintPastel(uint256 numberOfTokens) external payable { require(saleIsActive, "Sale must be active to mint Token"); require( numberOfTokens > 0 && numberOfTokens <= maxTokenPurchase, "Can only mint one or more tokens at a time" ); require( totalSupply().add(numberOfTokens) <= MAX_TOKENS, "Purchase would exceed max supply of tokens" ); require( msg.value >= tokenPrice.mul(numberOfTokens), "Ether value sent is not correct" ); for (uint256 i = 0; i < numberOfTokens; i++) { uint256 id = totalSupply().add(1); if (totalSupply() < MAX_TOKENS) { _safeMint(msg.sender, id); emit PastelMinted(id, msg.sender); } } } function presalePastel(uint256 numberOfTokens) external payable { require(presaleIsActive, "Presale is not active"); require(_presaleList[msg.sender], "You are not on the Presale List"); require( totalSupply().add(numberOfTokens) <= MAX_TOKENS, "Purchase would exceed max supply of token" ); require( numberOfTokens > 0 && numberOfTokens <= presaleMaxMint, "Cannot purchase this many tokens" ); require( _presaleListClaimed[msg.sender].add(numberOfTokens) <= presaleMaxMint, "Purchase exceeds max allowed" ); require( msg.value >= tokenPrice.mul(numberOfTokens), "Ether value sent is not correct" ); for (uint256 i = 0; i < numberOfTokens; i++) { uint256 id = totalSupply().add(1); if (totalSupply() < MAX_TOKENS) { _presaleListClaimed[msg.sender] += 1; _safeMint(msg.sender, id); emit PastelMinted(id, msg.sender); } } } function addToPresaleList(address[] calldata addresses) external onlyOwner { for (uint256 i = 0; i < addresses.length; i++) { require(addresses[i] != address(0), "Can't add the null address"); _presaleList[addresses[i]] = true; } } function removeFromPresaleList(address[] calldata addresses) external onlyOwner { for (uint256 i = 0; i < addresses.length; i++) { require(addresses[i] != address(0), "Can't add the null address"); _presaleList[addresses[i]] = false; } } function setPresaleMaxMint(uint256 maxMint) external onlyOwner { presaleMaxMint = maxMint; } function onPreSaleList(address addr) external view returns (bool) { return _presaleList[addr]; } function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require( _exists(tokenId), "ERC721Metadata: URI query for nonexistent token" ); string memory currentBaseURI = _baseURI(); if (isRevealed == false) { return "ipfs://QmWQpRRRe53L3prG6uQCe7nB1737BwEKeUmeJ9aiDefTeg/hidden.json"; } return bytes(currentBaseURI).length > 0 ? string(abi.encodePacked(currentBaseURI, tokenId.toString(), ".json")) : ""; } function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal override(ERC721, ERC721Enumerable) { super._beforeTokenTransfer(from, to, tokenId); } function supportsInterface(bytes4 interfaceId) public view override(ERC721, ERC721Enumerable) returns (bool) { return super.supportsInterface(interfaceId); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { require(operator != _msgSender(), "ERC721: approve to caller"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _setOwner(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _setOwner(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; // 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 no longer needed starting with Solidity 0.8. 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 pragma solidity ^0.8.0; import "../ERC721.sol"; import "./IERC721Enumerable.sol"; /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from owner to list of owned token IDs mapping(address => mapping(uint256 => uint256)) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); return _ownedTokens[owner][index]; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _allTokens.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds"); return _allTokens[index]; } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` cannot be the zero address. * - `to` cannot be the zero address. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual override { super._beforeTokenTransfer(from, to, tokenId); if (from == address(0)) { _addTokenToAllTokensEnumeration(tokenId); } else if (from != to) { _removeTokenFromOwnerEnumeration(from, tokenId); } if (to == address(0)) { _removeTokenFromAllTokensEnumeration(tokenId); } else if (to != from) { _addTokenToOwnerEnumeration(to, tokenId); } } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { uint256 length = ERC721.balanceOf(to); _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; } /** * @dev Private function to add a token to this extension's token tracking data structures. * @param tokenId uint256 ID of the token to be added to the tokens list */ function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for * gas optimizations e.g. when performing a transfer operation (avoiding double writes). * This has O(1) time complexity, but alters the order of the _ownedTokens array. * @param from address representing the previous owner of the given token ID * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = ERC721.balanceOf(from) - 1; uint256 tokenIndex = _ownedTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } // This also deletes the contents at the last position of the array delete _ownedTokensIndex[tokenId]; delete _ownedTokens[from][lastTokenIndex]; } /** * @dev Private function to remove a token from this extension's token tracking data structures. * This has O(1) time complexity, but alters the order of the _allTokens array. * @param tokenId uint256 ID of the token to be removed from the tokens list */ function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _allTokens.length - 1; uint256 tokenIndex = _allTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding // an 'if' statement (like in _removeTokenFromOwnerEnumeration) uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index // This also deletes the contents at the last position of the array delete _allTokensIndex[tokenId]; _allTokens.pop(); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"address","name":"owner","type":"address"}],"name":"PastelMinted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_TOKENS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"addresses","type":"address[]"}],"name":"addToPresaleList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"devReserve","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":[],"name":"isRevealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTokenPurchase","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"mintPastel","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"onPreSaleList","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":[],"name":"presaleIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presaleMaxMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"presalePastel","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address[]","name":"addresses","type":"address[]"}],"name":"removeFromPresaleList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_reserveAmount","type":"uint256"}],"name":"reserveTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"saleIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"maxMint","type":"uint256"}],"name":"setPresaleMaxMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"togglePresaleState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"toggleSaleState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenPrice","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":[{"internalType":"address","name":"_owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"}]
Contract Creation Code
608060405260405180602001604052806000815250600b90805190602001906200002b92919062000229565b506001600c60006101000a81548160ff0219169083151502179055506000600c60016101000a81548160ff0219169083151502179055506000600c60026101000a81548160ff0219169083151502179055506002600f5560196010553480156200009457600080fd5b506040518060400160405280601781526020017f41726973746f63726174732050617374656c20436c75620000000000000000008152506040518060400160405280600381526020017f415043000000000000000000000000000000000000000000000000000000000081525081600090805190602001906200011992919062000229565b5080600190805190602001906200013292919062000229565b50505062000155620001496200015b60201b60201c565b6200016360201b60201c565b6200033e565b600033905090565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280546200023790620002d9565b90600052602060002090601f0160209004810192826200025b5760008555620002a7565b82601f106200027657805160ff1916838001178555620002a7565b82800160010185558215620002a7579182015b82811115620002a657825182559160200191906001019062000289565b5b509050620002b69190620002ba565b5090565b5b80821115620002d5576000816000905550600101620002bb565b5090565b60006002820490506001821680620002f257607f821691505b602082108114156200030957620003086200030f565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b61540c806200034e6000396000f3fe6080604052600436106102465760003560e01c80637204a3c911610139578063b88d4fde116100b6578063e985e9c51161007a578063e985e9c51461083f578063eb8d24441461087c578063f285e69e146108a7578063f2fde38b146108be578063f47c84c5146108e7578063fcd2a4271461091257610246565b8063b88d4fde1461077d578063c87b56dd146107a6578063cbddfcad146107e3578063daaeec86146107ff578063df4305d21461081657610246565b8063946ef42a116100fd578063946ef42a146106be57806395d89b41146106e9578063a22cb46514610714578063a475b5dd1461073d578063b179e0601461075457610246565b80637204a3c9146105d957806378cf19e9146106025780637ff9b5961461062b5780638462151c146106565780638da5cb5b1461069357610246565b80633ccfd60b116101c757806355f804b31161018b57806355f804b3146104f45780636352211e1461051d5780636c0360eb1461055a57806370a0823114610585578063715018a6146105c257610246565b80633ccfd60b1461043d57806342842e0e14610447578063449d0e0e146104705780634f6ccce71461048c57806354214f69146104c957610246565b806311576b791161020e57806311576b791461034457806318160ddd1461038157806323b872dd146103ac5780632f745c59146103d557806330f72cd41461041257610246565b806301ffc9a71461024b57806306fdde0314610288578063081812fc146102b3578063095ea7b3146102f057806309aa3dcf14610319575b600080fd5b34801561025757600080fd5b50610272600480360381019061026d9190613bfd565b61093d565b60405161027f9190614318565b60405180910390f35b34801561029457600080fd5b5061029d61094f565b6040516102aa9190614333565b60405180910390f35b3480156102bf57600080fd5b506102da60048036038101906102d59190613c90565b6109e1565b6040516102e7919061428f565b60405180910390f35b3480156102fc57600080fd5b5061031760048036038101906103129190613b7c565b610a66565b005b34801561032557600080fd5b5061032e610b7e565b60405161033b91906146f5565b60405180910390f35b34801561035057600080fd5b5061036b60048036038101906103669190613a11565b610b83565b6040516103789190614318565b60405180910390f35b34801561038d57600080fd5b50610396610bd9565b6040516103a391906146f5565b60405180910390f35b3480156103b857600080fd5b506103d360048036038101906103ce9190613a76565b610be6565b005b3480156103e157600080fd5b506103fc60048036038101906103f79190613b7c565b610c46565b60405161040991906146f5565b60405180910390f35b34801561041e57600080fd5b50610427610ceb565b6040516104349190614318565b60405180910390f35b610445610cfe565b005b34801561045357600080fd5b5061046e60048036038101906104699190613a76565b610dfa565b005b61048a60048036038101906104859190613c90565b610e1a565b005b34801561049857600080fd5b506104b360048036038101906104ae9190613c90565b611184565b6040516104c091906146f5565b60405180910390f35b3480156104d557600080fd5b506104de61121b565b6040516104eb9190614318565b60405180910390f35b34801561050057600080fd5b5061051b60048036038101906105169190613c4f565b61122e565b005b34801561052957600080fd5b50610544600480360381019061053f9190613c90565b6112c4565b604051610551919061428f565b60405180910390f35b34801561056657600080fd5b5061056f611376565b60405161057c9190614333565b60405180910390f35b34801561059157600080fd5b506105ac60048036038101906105a79190613a11565b611404565b6040516105b991906146f5565b60405180910390f35b3480156105ce57600080fd5b506105d76114bc565b005b3480156105e557600080fd5b5061060060048036038101906105fb9190613bb8565b611544565b005b34801561060e57600080fd5b5061062960048036038101906106249190613b7c565b611748565b005b34801561063757600080fd5b5061064061186a565b60405161064d91906146f5565b60405180910390f35b34801561066257600080fd5b5061067d60048036038101906106789190613a11565b611875565b60405161068a91906142f6565b60405180910390f35b34801561069f57600080fd5b506106a86119f1565b6040516106b5919061428f565b60405180910390f35b3480156106ca57600080fd5b506106d3611a1b565b6040516106e091906146f5565b60405180910390f35b3480156106f557600080fd5b506106fe611a21565b60405161070b9190614333565b60405180910390f35b34801561072057600080fd5b5061073b60048036038101906107369190613b40565b611ab3565b005b34801561074957600080fd5b50610752611c34565b005b34801561076057600080fd5b5061077b60048036038101906107769190613bb8565b611ccd565b005b34801561078957600080fd5b506107a4600480360381019061079f9190613ac5565b611ed1565b005b3480156107b257600080fd5b506107cd60048036038101906107c89190613c90565b611f33565b6040516107da9190614333565b60405180910390f35b6107fd60048036038101906107f89190613c90565b612018565b005b34801561080b57600080fd5b50610814612208565b005b34801561082257600080fd5b5061083d60048036038101906108389190613c90565b6122b0565b005b34801561084b57600080fd5b5061086660048036038101906108619190613a3a565b612336565b6040516108739190614318565b60405180910390f35b34801561088857600080fd5b506108916123ca565b60405161089e9190614318565b60405180910390f35b3480156108b357600080fd5b506108bc6123dd565b005b3480156108ca57600080fd5b506108e560048036038101906108e09190613a11565b612485565b005b3480156108f357600080fd5b506108fc61257d565b60405161090991906146f5565b60405180910390f35b34801561091e57600080fd5b50610927612583565b60405161093491906146f5565b60405180910390f35b600061094882612589565b9050919050565b60606000805461095e90614a12565b80601f016020809104026020016040519081016040528092919081815260200182805461098a90614a12565b80156109d75780601f106109ac576101008083540402835291602001916109d7565b820191906000526020600020905b8154815290600101906020018083116109ba57829003601f168201915b5050505050905090565b60006109ec82612603565b610a2b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a2290614575565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610a71826112c4565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610ae2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ad990614635565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610b0161266f565b73ffffffffffffffffffffffffffffffffffffffff161480610b305750610b2f81610b2a61266f565b612336565b5b610b6f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b66906144d5565b60405180910390fd5b610b798383612677565b505050565b600a81565b6000600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b6000600980549050905090565b610bf7610bf161266f565b82612730565b610c36576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c2d90614655565b60405180910390fd5b610c4183838361280e565b505050565b6000610c5183611404565b8210610c92576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c8990614375565b60405180910390fd5b600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b600c60019054906101000a900460ff1681565b610d0661266f565b73ffffffffffffffffffffffffffffffffffffffff16610d246119f1565b73ffffffffffffffffffffffffffffffffffffffff1614610d7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d7190614595565b60405180910390fd5b6000610d846119f1565b73ffffffffffffffffffffffffffffffffffffffff1647604051610da79061427a565b60006040518083038185875af1925050503d8060008114610de4576040519150601f19603f3d011682016040523d82523d6000602084013e610de9565b606091505b5050905080610df757600080fd5b50565b610e1583838360405180602001604052806000815250611ed1565b505050565b600c60019054906101000a900460ff16610e69576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e6090614695565b60405180910390fd5b600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16610ef5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eec906143f5565b60405180910390fd5b610d05610f1282610f04610bd9565b612a6a90919063ffffffff16565b1115610f53576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f4a906145d5565b60405180910390fd5b600081118015610f655750600f548111155b610fa4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f9b906146d5565b60405180910390fd5b600f54610ff982600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612a6a90919063ffffffff16565b111561103a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611031906146b5565b60405180910390fd5b6110548166f8b0a10e470000612a8090919063ffffffff16565b341015611096576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161108d90614495565b60405180910390fd5b60005b818110156111805760006110be60016110b0610bd9565b612a6a90919063ffffffff16565b9050610d056110cb610bd9565b101561116c576001600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546111219190614847565b925050819055506111323382612a96565b7f14014bc2b28f0f6368413c4f6f1ec8fed74911e0d973c2edbab05e3c2784d3688133604051611163929190614710565b60405180910390a15b50808061117890614a75565b915050611099565b5050565b600061118e610bd9565b82106111cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111c690614675565b60405180910390fd5b60098281548110611209577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b600c60029054906101000a900460ff1681565b61123661266f565b73ffffffffffffffffffffffffffffffffffffffff166112546119f1565b73ffffffffffffffffffffffffffffffffffffffff16146112aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112a190614595565b60405180910390fd5b80600b90805190602001906112c09291906137eb565b5050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561136d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161136490614515565b60405180910390fd5b80915050919050565b600b805461138390614a12565b80601f01602080910402602001604051908101604052809291908181526020018280546113af90614a12565b80156113fc5780601f106113d1576101008083540402835291602001916113fc565b820191906000526020600020905b8154815290600101906020018083116113df57829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611475576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161146c906144f5565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6114c461266f565b73ffffffffffffffffffffffffffffffffffffffff166114e26119f1565b73ffffffffffffffffffffffffffffffffffffffff1614611538576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161152f90614595565b60405180910390fd5b6115426000612ab4565b565b61154c61266f565b73ffffffffffffffffffffffffffffffffffffffff1661156a6119f1565b73ffffffffffffffffffffffffffffffffffffffff16146115c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115b790614595565b60405180910390fd5b60005b8282905081101561174357600073ffffffffffffffffffffffffffffffffffffffff1683838381811061161f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020160208101906116349190613a11565b73ffffffffffffffffffffffffffffffffffffffff16141561168b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611682906145b5565b60405180910390fd5b6001600d60008585858181106116ca577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020160208101906116df9190613a11565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550808061173b90614a75565b9150506115c3565b505050565b61175061266f565b73ffffffffffffffffffffffffffffffffffffffff1661176e6119f1565b73ffffffffffffffffffffffffffffffffffffffff16146117c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117bb90614595565b60405180910390fd5b6000811180156117d657506010548111155b611815576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161180c90614435565b60405180910390fd5b60005b8181101561184a57600061182a610bd9565b90506118368482612a96565b50808061184290614a75565b915050611818565b5061186081601054612b7a90919063ffffffff16565b6010819055505050565b66f8b0a10e47000081565b6060600061188283611404565b9050600081141561190557600067ffffffffffffffff8111156118ce577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280602002602001820160405280156118fc5781602001602082028036833780820191505090505b509150506119ec565b60008167ffffffffffffffff811115611947577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280602002602001820160405280156119755781602001602082028036833780820191505090505b50905060005b828110156119e55761198d8582610c46565b8282815181106119c6577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101818152505080806119dd90614a75565b91505061197b565b8193505050505b919050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600f5481565b606060018054611a3090614a12565b80601f0160208091040260200160405190810160405280929190818152602001828054611a5c90614a12565b8015611aa95780601f10611a7e57610100808354040283529160200191611aa9565b820191906000526020600020905b815481529060010190602001808311611a8c57829003601f168201915b5050505050905090565b611abb61266f565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611b29576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b2090614475565b60405180910390fd5b8060056000611b3661266f565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611be361266f565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611c289190614318565b60405180910390a35050565b611c3c61266f565b73ffffffffffffffffffffffffffffffffffffffff16611c5a6119f1565b73ffffffffffffffffffffffffffffffffffffffff1614611cb0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ca790614595565b60405180910390fd5b6001600c60026101000a81548160ff021916908315150217905550565b611cd561266f565b73ffffffffffffffffffffffffffffffffffffffff16611cf36119f1565b73ffffffffffffffffffffffffffffffffffffffff1614611d49576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d4090614595565b60405180910390fd5b60005b82829050811015611ecc57600073ffffffffffffffffffffffffffffffffffffffff16838383818110611da8577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002016020810190611dbd9190613a11565b73ffffffffffffffffffffffffffffffffffffffff161415611e14576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e0b906145b5565b60405180910390fd5b6000600d6000858585818110611e53577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002016020810190611e689190613a11565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508080611ec490614a75565b915050611d4c565b505050565b611ee2611edc61266f565b83612730565b611f21576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f1890614655565b60405180910390fd5b611f2d84848484612b90565b50505050565b6060611f3e82612603565b611f7d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f7490614615565b60405180910390fd5b6000611f87612bec565b905060001515600c60029054906101000a900460ff1615151415611fc65760405180608001604052806041815260200161539660419139915050612013565b6000815111611fe4576040518060200160405280600081525061200f565b80611fee84612c7e565b604051602001611fff92919061424b565b6040516020818303038152906040525b9150505b919050565b600c60009054906101000a900460ff16612067576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161205e90614415565b60405180910390fd5b6000811180156120785750600a8111155b6120b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120ae90614355565b60405180910390fd5b610d056120d4826120c6610bd9565b612a6a90919063ffffffff16565b1115612115576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161210c90614535565b60405180910390fd5b61212f8166f8b0a10e470000612a8090919063ffffffff16565b341015612171576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161216890614495565b60405180910390fd5b60005b81811015612204576000612199600161218b610bd9565b612a6a90919063ffffffff16565b9050610d056121a6610bd9565b10156121f0576121b63382612a96565b7f14014bc2b28f0f6368413c4f6f1ec8fed74911e0d973c2edbab05e3c2784d36881336040516121e7929190614710565b60405180910390a15b5080806121fc90614a75565b915050612174565b5050565b61221061266f565b73ffffffffffffffffffffffffffffffffffffffff1661222e6119f1565b73ffffffffffffffffffffffffffffffffffffffff1614612284576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161227b90614595565b60405180910390fd5b600c60009054906101000a900460ff1615600c60006101000a81548160ff021916908315150217905550565b6122b861266f565b73ffffffffffffffffffffffffffffffffffffffff166122d66119f1565b73ffffffffffffffffffffffffffffffffffffffff161461232c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161232390614595565b60405180910390fd5b80600f8190555050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600c60009054906101000a900460ff1681565b6123e561266f565b73ffffffffffffffffffffffffffffffffffffffff166124036119f1565b73ffffffffffffffffffffffffffffffffffffffff1614612459576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161245090614595565b60405180910390fd5b600c60019054906101000a900460ff1615600c60016101000a81548160ff021916908315150217905550565b61248d61266f565b73ffffffffffffffffffffffffffffffffffffffff166124ab6119f1565b73ffffffffffffffffffffffffffffffffffffffff1614612501576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124f890614595565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612571576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612568906143b5565b60405180910390fd5b61257a81612ab4565b50565b610d0581565b60105481565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806125fc57506125fb82612e2b565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166126ea836112c4565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061273b82612603565b61277a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612771906144b5565b60405180910390fd5b6000612785836112c4565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806127f457508373ffffffffffffffffffffffffffffffffffffffff166127dc846109e1565b73ffffffffffffffffffffffffffffffffffffffff16145b8061280557506128048185612336565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661282e826112c4565b73ffffffffffffffffffffffffffffffffffffffff1614612884576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161287b906145f5565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156128f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128eb90614455565b60405180910390fd5b6128ff838383612f0d565b61290a600082612677565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461295a9190614928565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546129b19190614847565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b60008183612a789190614847565b905092915050565b60008183612a8e91906148ce565b905092915050565b612ab0828260405180602001604052806000815250612f1d565b5050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008183612b889190614928565b905092915050565b612b9b84848461280e565b612ba784848484612f78565b612be6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bdd90614395565b60405180910390fd5b50505050565b6060600b8054612bfb90614a12565b80601f0160208091040260200160405190810160405280929190818152602001828054612c2790614a12565b8015612c745780601f10612c4957610100808354040283529160200191612c74565b820191906000526020600020905b815481529060010190602001808311612c5757829003601f168201915b5050505050905090565b60606000821415612cc6576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612e26565b600082905060005b60008214612cf8578080612ce190614a75565b915050600a82612cf1919061489d565b9150612cce565b60008167ffffffffffffffff811115612d3a577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612d6c5781602001600182028036833780820191505090505b5090505b60008514612e1f57600182612d859190614928565b9150600a85612d949190614abe565b6030612da09190614847565b60f81b818381518110612ddc577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612e18919061489d565b9450612d70565b8093505050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612ef657507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612f065750612f058261310f565b5b9050919050565b612f18838383613179565b505050565b612f27838361328d565b612f346000848484612f78565b612f73576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f6a90614395565b60405180910390fd5b505050565b6000612f998473ffffffffffffffffffffffffffffffffffffffff1661345b565b15613102578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612fc261266f565b8786866040518563ffffffff1660e01b8152600401612fe494939291906142aa565b602060405180830381600087803b158015612ffe57600080fd5b505af192505050801561302f57506040513d601f19601f8201168201806040525081019061302c9190613c26565b60015b6130b2573d806000811461305f576040519150601f19603f3d011682016040523d82523d6000602084013e613064565b606091505b506000815114156130aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130a190614395565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613107565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b61318483838361346e565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156131c7576131c281613473565b613206565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146132055761320483826134bc565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156132495761324481613629565b613288565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161461328757613286828261376c565b5b5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156132fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132f490614555565b60405180910390fd5b61330681612603565b15613346576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161333d906143d5565b60405180910390fd5b61335260008383612f0d565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546133a29190614847565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b505050565b600980549050600a600083815260200190815260200160002081905550600981908060018154018082558091505060019003906000526020600020016000909190919091505550565b600060016134c984611404565b6134d39190614928565b90506000600860008481526020019081526020016000205490508181146135b8576000600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600760008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816008600083815260200190815260200160002081905550505b6008600084815260200190815260200160002060009055600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b6000600160098054905061363d9190614928565b90506000600a6000848152602001908152602001600020549050600060098381548110613693577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200154905080600983815481106136db577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600a600083815260200190815260200160002081905550600a6000858152602001908152602001600020600090556009805480613750577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b600061377783611404565b905081600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806008600084815260200190815260200160002081905550505050565b8280546137f790614a12565b90600052602060002090601f0160209004810192826138195760008555613860565b82601f1061383257805160ff1916838001178555613860565b82800160010185558215613860579182015b8281111561385f578251825591602001919060010190613844565b5b50905061386d9190613871565b5090565b5b8082111561388a576000816000905550600101613872565b5090565b60006138a161389c8461475e565b614739565b9050828152602081018484840111156138b957600080fd5b6138c48482856149d0565b509392505050565b60006138df6138da8461478f565b614739565b9050828152602081018484840111156138f757600080fd5b6139028482856149d0565b509392505050565b60008135905061391981615339565b92915050565b60008083601f84011261393157600080fd5b8235905067ffffffffffffffff81111561394a57600080fd5b60208301915083602082028301111561396257600080fd5b9250929050565b60008135905061397881615350565b92915050565b60008135905061398d81615367565b92915050565b6000815190506139a281615367565b92915050565b600082601f8301126139b957600080fd5b81356139c984826020860161388e565b91505092915050565b600082601f8301126139e357600080fd5b81356139f38482602086016138cc565b91505092915050565b600081359050613a0b8161537e565b92915050565b600060208284031215613a2357600080fd5b6000613a318482850161390a565b91505092915050565b60008060408385031215613a4d57600080fd5b6000613a5b8582860161390a565b9250506020613a6c8582860161390a565b9150509250929050565b600080600060608486031215613a8b57600080fd5b6000613a998682870161390a565b9350506020613aaa8682870161390a565b9250506040613abb868287016139fc565b9150509250925092565b60008060008060808587031215613adb57600080fd5b6000613ae98782880161390a565b9450506020613afa8782880161390a565b9350506040613b0b878288016139fc565b925050606085013567ffffffffffffffff811115613b2857600080fd5b613b34878288016139a8565b91505092959194509250565b60008060408385031215613b5357600080fd5b6000613b618582860161390a565b9250506020613b7285828601613969565b9150509250929050565b60008060408385031215613b8f57600080fd5b6000613b9d8582860161390a565b9250506020613bae858286016139fc565b9150509250929050565b60008060208385031215613bcb57600080fd5b600083013567ffffffffffffffff811115613be557600080fd5b613bf18582860161391f565b92509250509250929050565b600060208284031215613c0f57600080fd5b6000613c1d8482850161397e565b91505092915050565b600060208284031215613c3857600080fd5b6000613c4684828501613993565b91505092915050565b600060208284031215613c6157600080fd5b600082013567ffffffffffffffff811115613c7b57600080fd5b613c87848285016139d2565b91505092915050565b600060208284031215613ca257600080fd5b6000613cb0848285016139fc565b91505092915050565b6000613cc5838361422d565b60208301905092915050565b613cda8161495c565b82525050565b6000613ceb826147d0565b613cf581856147fe565b9350613d00836147c0565b8060005b83811015613d31578151613d188882613cb9565b9750613d23836147f1565b925050600181019050613d04565b5085935050505092915050565b613d478161496e565b82525050565b6000613d58826147db565b613d62818561480f565b9350613d728185602086016149df565b613d7b81614bab565b840191505092915050565b6000613d91826147e6565b613d9b818561482b565b9350613dab8185602086016149df565b613db481614bab565b840191505092915050565b6000613dca826147e6565b613dd4818561483c565b9350613de48185602086016149df565b80840191505092915050565b6000613dfd602a8361482b565b9150613e0882614bbc565b604082019050919050565b6000613e20602b8361482b565b9150613e2b82614c0b565b604082019050919050565b6000613e4360328361482b565b9150613e4e82614c5a565b604082019050919050565b6000613e6660268361482b565b9150613e7182614ca9565b604082019050919050565b6000613e89601c8361482b565b9150613e9482614cf8565b602082019050919050565b6000613eac601f8361482b565b9150613eb782614d21565b602082019050919050565b6000613ecf60218361482b565b9150613eda82614d4a565b604082019050919050565b6000613ef260208361482b565b9150613efd82614d99565b602082019050919050565b6000613f1560248361482b565b9150613f2082614dc2565b604082019050919050565b6000613f3860198361482b565b9150613f4382614e11565b602082019050919050565b6000613f5b601f8361482b565b9150613f6682614e3a565b602082019050919050565b6000613f7e602c8361482b565b9150613f8982614e63565b604082019050919050565b6000613fa160388361482b565b9150613fac82614eb2565b604082019050919050565b6000613fc4602a8361482b565b9150613fcf82614f01565b604082019050919050565b6000613fe760298361482b565b9150613ff282614f50565b604082019050919050565b600061400a602a8361482b565b915061401582614f9f565b604082019050919050565b600061402d60208361482b565b915061403882614fee565b602082019050919050565b6000614050602c8361482b565b915061405b82615017565b604082019050919050565b600061407360058361483c565b915061407e82615066565b600582019050919050565b600061409660208361482b565b91506140a18261508f565b602082019050919050565b60006140b9601a8361482b565b91506140c4826150b8565b602082019050919050565b60006140dc60298361482b565b91506140e7826150e1565b604082019050919050565b60006140ff60298361482b565b915061410a82615130565b604082019050919050565b6000614122602f8361482b565b915061412d8261517f565b604082019050919050565b600061414560218361482b565b9150614150826151ce565b604082019050919050565b6000614168600083614820565b91506141738261521d565b600082019050919050565b600061418b60318361482b565b915061419682615220565b604082019050919050565b60006141ae602c8361482b565b91506141b98261526f565b604082019050919050565b60006141d160158361482b565b91506141dc826152be565b602082019050919050565b60006141f4601c8361482b565b91506141ff826152e7565b602082019050919050565b600061421760208361482b565b915061422282615310565b602082019050919050565b614236816149c6565b82525050565b614245816149c6565b82525050565b60006142578285613dbf565b91506142638284613dbf565b915061426e82614066565b91508190509392505050565b60006142858261415b565b9150819050919050565b60006020820190506142a46000830184613cd1565b92915050565b60006080820190506142bf6000830187613cd1565b6142cc6020830186613cd1565b6142d9604083018561423c565b81810360608301526142eb8184613d4d565b905095945050505050565b600060208201905081810360008301526143108184613ce0565b905092915050565b600060208201905061432d6000830184613d3e565b92915050565b6000602082019050818103600083015261434d8184613d86565b905092915050565b6000602082019050818103600083015261436e81613df0565b9050919050565b6000602082019050818103600083015261438e81613e13565b9050919050565b600060208201905081810360008301526143ae81613e36565b9050919050565b600060208201905081810360008301526143ce81613e59565b9050919050565b600060208201905081810360008301526143ee81613e7c565b9050919050565b6000602082019050818103600083015261440e81613e9f565b9050919050565b6000602082019050818103600083015261442e81613ec2565b9050919050565b6000602082019050818103600083015261444e81613ee5565b9050919050565b6000602082019050818103600083015261446e81613f08565b9050919050565b6000602082019050818103600083015261448e81613f2b565b9050919050565b600060208201905081810360008301526144ae81613f4e565b9050919050565b600060208201905081810360008301526144ce81613f71565b9050919050565b600060208201905081810360008301526144ee81613f94565b9050919050565b6000602082019050818103600083015261450e81613fb7565b9050919050565b6000602082019050818103600083015261452e81613fda565b9050919050565b6000602082019050818103600083015261454e81613ffd565b9050919050565b6000602082019050818103600083015261456e81614020565b9050919050565b6000602082019050818103600083015261458e81614043565b9050919050565b600060208201905081810360008301526145ae81614089565b9050919050565b600060208201905081810360008301526145ce816140ac565b9050919050565b600060208201905081810360008301526145ee816140cf565b9050919050565b6000602082019050818103600083015261460e816140f2565b9050919050565b6000602082019050818103600083015261462e81614115565b9050919050565b6000602082019050818103600083015261464e81614138565b9050919050565b6000602082019050818103600083015261466e8161417e565b9050919050565b6000602082019050818103600083015261468e816141a1565b9050919050565b600060208201905081810360008301526146ae816141c4565b9050919050565b600060208201905081810360008301526146ce816141e7565b9050919050565b600060208201905081810360008301526146ee8161420a565b9050919050565b600060208201905061470a600083018461423c565b92915050565b6000604082019050614725600083018561423c565b6147326020830184613cd1565b9392505050565b6000614743614754565b905061474f8282614a44565b919050565b6000604051905090565b600067ffffffffffffffff82111561477957614778614b7c565b5b61478282614bab565b9050602081019050919050565b600067ffffffffffffffff8211156147aa576147a9614b7c565b5b6147b382614bab565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000614852826149c6565b915061485d836149c6565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561489257614891614aef565b5b828201905092915050565b60006148a8826149c6565b91506148b3836149c6565b9250826148c3576148c2614b1e565b5b828204905092915050565b60006148d9826149c6565b91506148e4836149c6565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561491d5761491c614aef565b5b828202905092915050565b6000614933826149c6565b915061493e836149c6565b92508282101561495157614950614aef565b5b828203905092915050565b6000614967826149a6565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b838110156149fd5780820151818401526020810190506149e2565b83811115614a0c576000848401525b50505050565b60006002820490506001821680614a2a57607f821691505b60208210811415614a3e57614a3d614b4d565b5b50919050565b614a4d82614bab565b810181811067ffffffffffffffff82111715614a6c57614a6b614b7c565b5b80604052505050565b6000614a80826149c6565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614ab357614ab2614aef565b5b600182019050919050565b6000614ac9826149c6565b9150614ad4836149c6565b925082614ae457614ae3614b1e565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f43616e206f6e6c79206d696e74206f6e65206f72206d6f726520746f6b656e7360008201527f20617420612074696d6500000000000000000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f596f7520617265206e6f74206f6e207468652050726573616c65204c69737400600082015250565b7f53616c65206d7573742062652061637469766520746f206d696e7420546f6b6560008201527f6e00000000000000000000000000000000000000000000000000000000000000602082015250565b7f4e6f7420656e6f7567682072657365727665206c65667420666f72207465616d600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f45746865722076616c75652073656e74206973206e6f7420636f727265637400600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f507572636861736520776f756c6420657863656564206d617820737570706c7960008201527f206f6620746f6b656e7300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f43616e27742061646420746865206e756c6c2061646472657373000000000000600082015250565b7f507572636861736520776f756c6420657863656564206d617820737570706c7960008201527f206f6620746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b50565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f50726573616c65206973206e6f74206163746976650000000000000000000000600082015250565b7f50757263686173652065786365656473206d617820616c6c6f77656400000000600082015250565b7f43616e6e6f742070757263686173652074686973206d616e7920746f6b656e73600082015250565b6153428161495c565b811461534d57600080fd5b50565b6153598161496e565b811461536457600080fd5b50565b6153708161497a565b811461537b57600080fd5b50565b615387816149c6565b811461539257600080fd5b5056fe697066733a2f2f516d5751705252526535334c337072473675514365376e42313733374277454b65556d654a3961694465665465672f68696464656e2e6a736f6ea2646970667358221220cd6a61c1c7e6ebed49a03fe4340e19fba9d043ea07a1654aa171943d0776a26f64736f6c63430008040033
Deployed Bytecode
0x6080604052600436106102465760003560e01c80637204a3c911610139578063b88d4fde116100b6578063e985e9c51161007a578063e985e9c51461083f578063eb8d24441461087c578063f285e69e146108a7578063f2fde38b146108be578063f47c84c5146108e7578063fcd2a4271461091257610246565b8063b88d4fde1461077d578063c87b56dd146107a6578063cbddfcad146107e3578063daaeec86146107ff578063df4305d21461081657610246565b8063946ef42a116100fd578063946ef42a146106be57806395d89b41146106e9578063a22cb46514610714578063a475b5dd1461073d578063b179e0601461075457610246565b80637204a3c9146105d957806378cf19e9146106025780637ff9b5961461062b5780638462151c146106565780638da5cb5b1461069357610246565b80633ccfd60b116101c757806355f804b31161018b57806355f804b3146104f45780636352211e1461051d5780636c0360eb1461055a57806370a0823114610585578063715018a6146105c257610246565b80633ccfd60b1461043d57806342842e0e14610447578063449d0e0e146104705780634f6ccce71461048c57806354214f69146104c957610246565b806311576b791161020e57806311576b791461034457806318160ddd1461038157806323b872dd146103ac5780632f745c59146103d557806330f72cd41461041257610246565b806301ffc9a71461024b57806306fdde0314610288578063081812fc146102b3578063095ea7b3146102f057806309aa3dcf14610319575b600080fd5b34801561025757600080fd5b50610272600480360381019061026d9190613bfd565b61093d565b60405161027f9190614318565b60405180910390f35b34801561029457600080fd5b5061029d61094f565b6040516102aa9190614333565b60405180910390f35b3480156102bf57600080fd5b506102da60048036038101906102d59190613c90565b6109e1565b6040516102e7919061428f565b60405180910390f35b3480156102fc57600080fd5b5061031760048036038101906103129190613b7c565b610a66565b005b34801561032557600080fd5b5061032e610b7e565b60405161033b91906146f5565b60405180910390f35b34801561035057600080fd5b5061036b60048036038101906103669190613a11565b610b83565b6040516103789190614318565b60405180910390f35b34801561038d57600080fd5b50610396610bd9565b6040516103a391906146f5565b60405180910390f35b3480156103b857600080fd5b506103d360048036038101906103ce9190613a76565b610be6565b005b3480156103e157600080fd5b506103fc60048036038101906103f79190613b7c565b610c46565b60405161040991906146f5565b60405180910390f35b34801561041e57600080fd5b50610427610ceb565b6040516104349190614318565b60405180910390f35b610445610cfe565b005b34801561045357600080fd5b5061046e60048036038101906104699190613a76565b610dfa565b005b61048a60048036038101906104859190613c90565b610e1a565b005b34801561049857600080fd5b506104b360048036038101906104ae9190613c90565b611184565b6040516104c091906146f5565b60405180910390f35b3480156104d557600080fd5b506104de61121b565b6040516104eb9190614318565b60405180910390f35b34801561050057600080fd5b5061051b60048036038101906105169190613c4f565b61122e565b005b34801561052957600080fd5b50610544600480360381019061053f9190613c90565b6112c4565b604051610551919061428f565b60405180910390f35b34801561056657600080fd5b5061056f611376565b60405161057c9190614333565b60405180910390f35b34801561059157600080fd5b506105ac60048036038101906105a79190613a11565b611404565b6040516105b991906146f5565b60405180910390f35b3480156105ce57600080fd5b506105d76114bc565b005b3480156105e557600080fd5b5061060060048036038101906105fb9190613bb8565b611544565b005b34801561060e57600080fd5b5061062960048036038101906106249190613b7c565b611748565b005b34801561063757600080fd5b5061064061186a565b60405161064d91906146f5565b60405180910390f35b34801561066257600080fd5b5061067d60048036038101906106789190613a11565b611875565b60405161068a91906142f6565b60405180910390f35b34801561069f57600080fd5b506106a86119f1565b6040516106b5919061428f565b60405180910390f35b3480156106ca57600080fd5b506106d3611a1b565b6040516106e091906146f5565b60405180910390f35b3480156106f557600080fd5b506106fe611a21565b60405161070b9190614333565b60405180910390f35b34801561072057600080fd5b5061073b60048036038101906107369190613b40565b611ab3565b005b34801561074957600080fd5b50610752611c34565b005b34801561076057600080fd5b5061077b60048036038101906107769190613bb8565b611ccd565b005b34801561078957600080fd5b506107a4600480360381019061079f9190613ac5565b611ed1565b005b3480156107b257600080fd5b506107cd60048036038101906107c89190613c90565b611f33565b6040516107da9190614333565b60405180910390f35b6107fd60048036038101906107f89190613c90565b612018565b005b34801561080b57600080fd5b50610814612208565b005b34801561082257600080fd5b5061083d60048036038101906108389190613c90565b6122b0565b005b34801561084b57600080fd5b5061086660048036038101906108619190613a3a565b612336565b6040516108739190614318565b60405180910390f35b34801561088857600080fd5b506108916123ca565b60405161089e9190614318565b60405180910390f35b3480156108b357600080fd5b506108bc6123dd565b005b3480156108ca57600080fd5b506108e560048036038101906108e09190613a11565b612485565b005b3480156108f357600080fd5b506108fc61257d565b60405161090991906146f5565b60405180910390f35b34801561091e57600080fd5b50610927612583565b60405161093491906146f5565b60405180910390f35b600061094882612589565b9050919050565b60606000805461095e90614a12565b80601f016020809104026020016040519081016040528092919081815260200182805461098a90614a12565b80156109d75780601f106109ac576101008083540402835291602001916109d7565b820191906000526020600020905b8154815290600101906020018083116109ba57829003601f168201915b5050505050905090565b60006109ec82612603565b610a2b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a2290614575565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610a71826112c4565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610ae2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ad990614635565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610b0161266f565b73ffffffffffffffffffffffffffffffffffffffff161480610b305750610b2f81610b2a61266f565b612336565b5b610b6f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b66906144d5565b60405180910390fd5b610b798383612677565b505050565b600a81565b6000600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b6000600980549050905090565b610bf7610bf161266f565b82612730565b610c36576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c2d90614655565b60405180910390fd5b610c4183838361280e565b505050565b6000610c5183611404565b8210610c92576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c8990614375565b60405180910390fd5b600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b600c60019054906101000a900460ff1681565b610d0661266f565b73ffffffffffffffffffffffffffffffffffffffff16610d246119f1565b73ffffffffffffffffffffffffffffffffffffffff1614610d7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d7190614595565b60405180910390fd5b6000610d846119f1565b73ffffffffffffffffffffffffffffffffffffffff1647604051610da79061427a565b60006040518083038185875af1925050503d8060008114610de4576040519150601f19603f3d011682016040523d82523d6000602084013e610de9565b606091505b5050905080610df757600080fd5b50565b610e1583838360405180602001604052806000815250611ed1565b505050565b600c60019054906101000a900460ff16610e69576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e6090614695565b60405180910390fd5b600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16610ef5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eec906143f5565b60405180910390fd5b610d05610f1282610f04610bd9565b612a6a90919063ffffffff16565b1115610f53576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f4a906145d5565b60405180910390fd5b600081118015610f655750600f548111155b610fa4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f9b906146d5565b60405180910390fd5b600f54610ff982600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612a6a90919063ffffffff16565b111561103a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611031906146b5565b60405180910390fd5b6110548166f8b0a10e470000612a8090919063ffffffff16565b341015611096576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161108d90614495565b60405180910390fd5b60005b818110156111805760006110be60016110b0610bd9565b612a6a90919063ffffffff16565b9050610d056110cb610bd9565b101561116c576001600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546111219190614847565b925050819055506111323382612a96565b7f14014bc2b28f0f6368413c4f6f1ec8fed74911e0d973c2edbab05e3c2784d3688133604051611163929190614710565b60405180910390a15b50808061117890614a75565b915050611099565b5050565b600061118e610bd9565b82106111cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111c690614675565b60405180910390fd5b60098281548110611209577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b600c60029054906101000a900460ff1681565b61123661266f565b73ffffffffffffffffffffffffffffffffffffffff166112546119f1565b73ffffffffffffffffffffffffffffffffffffffff16146112aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112a190614595565b60405180910390fd5b80600b90805190602001906112c09291906137eb565b5050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561136d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161136490614515565b60405180910390fd5b80915050919050565b600b805461138390614a12565b80601f01602080910402602001604051908101604052809291908181526020018280546113af90614a12565b80156113fc5780601f106113d1576101008083540402835291602001916113fc565b820191906000526020600020905b8154815290600101906020018083116113df57829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611475576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161146c906144f5565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6114c461266f565b73ffffffffffffffffffffffffffffffffffffffff166114e26119f1565b73ffffffffffffffffffffffffffffffffffffffff1614611538576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161152f90614595565b60405180910390fd5b6115426000612ab4565b565b61154c61266f565b73ffffffffffffffffffffffffffffffffffffffff1661156a6119f1565b73ffffffffffffffffffffffffffffffffffffffff16146115c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115b790614595565b60405180910390fd5b60005b8282905081101561174357600073ffffffffffffffffffffffffffffffffffffffff1683838381811061161f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020160208101906116349190613a11565b73ffffffffffffffffffffffffffffffffffffffff16141561168b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611682906145b5565b60405180910390fd5b6001600d60008585858181106116ca577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020160208101906116df9190613a11565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550808061173b90614a75565b9150506115c3565b505050565b61175061266f565b73ffffffffffffffffffffffffffffffffffffffff1661176e6119f1565b73ffffffffffffffffffffffffffffffffffffffff16146117c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117bb90614595565b60405180910390fd5b6000811180156117d657506010548111155b611815576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161180c90614435565b60405180910390fd5b60005b8181101561184a57600061182a610bd9565b90506118368482612a96565b50808061184290614a75565b915050611818565b5061186081601054612b7a90919063ffffffff16565b6010819055505050565b66f8b0a10e47000081565b6060600061188283611404565b9050600081141561190557600067ffffffffffffffff8111156118ce577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280602002602001820160405280156118fc5781602001602082028036833780820191505090505b509150506119ec565b60008167ffffffffffffffff811115611947577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280602002602001820160405280156119755781602001602082028036833780820191505090505b50905060005b828110156119e55761198d8582610c46565b8282815181106119c6577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101818152505080806119dd90614a75565b91505061197b565b8193505050505b919050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600f5481565b606060018054611a3090614a12565b80601f0160208091040260200160405190810160405280929190818152602001828054611a5c90614a12565b8015611aa95780601f10611a7e57610100808354040283529160200191611aa9565b820191906000526020600020905b815481529060010190602001808311611a8c57829003601f168201915b5050505050905090565b611abb61266f565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611b29576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b2090614475565b60405180910390fd5b8060056000611b3661266f565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611be361266f565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611c289190614318565b60405180910390a35050565b611c3c61266f565b73ffffffffffffffffffffffffffffffffffffffff16611c5a6119f1565b73ffffffffffffffffffffffffffffffffffffffff1614611cb0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ca790614595565b60405180910390fd5b6001600c60026101000a81548160ff021916908315150217905550565b611cd561266f565b73ffffffffffffffffffffffffffffffffffffffff16611cf36119f1565b73ffffffffffffffffffffffffffffffffffffffff1614611d49576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d4090614595565b60405180910390fd5b60005b82829050811015611ecc57600073ffffffffffffffffffffffffffffffffffffffff16838383818110611da8577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002016020810190611dbd9190613a11565b73ffffffffffffffffffffffffffffffffffffffff161415611e14576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e0b906145b5565b60405180910390fd5b6000600d6000858585818110611e53577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002016020810190611e689190613a11565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508080611ec490614a75565b915050611d4c565b505050565b611ee2611edc61266f565b83612730565b611f21576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f1890614655565b60405180910390fd5b611f2d84848484612b90565b50505050565b6060611f3e82612603565b611f7d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f7490614615565b60405180910390fd5b6000611f87612bec565b905060001515600c60029054906101000a900460ff1615151415611fc65760405180608001604052806041815260200161539660419139915050612013565b6000815111611fe4576040518060200160405280600081525061200f565b80611fee84612c7e565b604051602001611fff92919061424b565b6040516020818303038152906040525b9150505b919050565b600c60009054906101000a900460ff16612067576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161205e90614415565b60405180910390fd5b6000811180156120785750600a8111155b6120b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120ae90614355565b60405180910390fd5b610d056120d4826120c6610bd9565b612a6a90919063ffffffff16565b1115612115576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161210c90614535565b60405180910390fd5b61212f8166f8b0a10e470000612a8090919063ffffffff16565b341015612171576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161216890614495565b60405180910390fd5b60005b81811015612204576000612199600161218b610bd9565b612a6a90919063ffffffff16565b9050610d056121a6610bd9565b10156121f0576121b63382612a96565b7f14014bc2b28f0f6368413c4f6f1ec8fed74911e0d973c2edbab05e3c2784d36881336040516121e7929190614710565b60405180910390a15b5080806121fc90614a75565b915050612174565b5050565b61221061266f565b73ffffffffffffffffffffffffffffffffffffffff1661222e6119f1565b73ffffffffffffffffffffffffffffffffffffffff1614612284576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161227b90614595565b60405180910390fd5b600c60009054906101000a900460ff1615600c60006101000a81548160ff021916908315150217905550565b6122b861266f565b73ffffffffffffffffffffffffffffffffffffffff166122d66119f1565b73ffffffffffffffffffffffffffffffffffffffff161461232c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161232390614595565b60405180910390fd5b80600f8190555050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600c60009054906101000a900460ff1681565b6123e561266f565b73ffffffffffffffffffffffffffffffffffffffff166124036119f1565b73ffffffffffffffffffffffffffffffffffffffff1614612459576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161245090614595565b60405180910390fd5b600c60019054906101000a900460ff1615600c60016101000a81548160ff021916908315150217905550565b61248d61266f565b73ffffffffffffffffffffffffffffffffffffffff166124ab6119f1565b73ffffffffffffffffffffffffffffffffffffffff1614612501576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124f890614595565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612571576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612568906143b5565b60405180910390fd5b61257a81612ab4565b50565b610d0581565b60105481565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806125fc57506125fb82612e2b565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166126ea836112c4565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061273b82612603565b61277a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612771906144b5565b60405180910390fd5b6000612785836112c4565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806127f457508373ffffffffffffffffffffffffffffffffffffffff166127dc846109e1565b73ffffffffffffffffffffffffffffffffffffffff16145b8061280557506128048185612336565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661282e826112c4565b73ffffffffffffffffffffffffffffffffffffffff1614612884576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161287b906145f5565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156128f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128eb90614455565b60405180910390fd5b6128ff838383612f0d565b61290a600082612677565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461295a9190614928565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546129b19190614847565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b60008183612a789190614847565b905092915050565b60008183612a8e91906148ce565b905092915050565b612ab0828260405180602001604052806000815250612f1d565b5050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008183612b889190614928565b905092915050565b612b9b84848461280e565b612ba784848484612f78565b612be6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bdd90614395565b60405180910390fd5b50505050565b6060600b8054612bfb90614a12565b80601f0160208091040260200160405190810160405280929190818152602001828054612c2790614a12565b8015612c745780601f10612c4957610100808354040283529160200191612c74565b820191906000526020600020905b815481529060010190602001808311612c5757829003601f168201915b5050505050905090565b60606000821415612cc6576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612e26565b600082905060005b60008214612cf8578080612ce190614a75565b915050600a82612cf1919061489d565b9150612cce565b60008167ffffffffffffffff811115612d3a577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612d6c5781602001600182028036833780820191505090505b5090505b60008514612e1f57600182612d859190614928565b9150600a85612d949190614abe565b6030612da09190614847565b60f81b818381518110612ddc577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612e18919061489d565b9450612d70565b8093505050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612ef657507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612f065750612f058261310f565b5b9050919050565b612f18838383613179565b505050565b612f27838361328d565b612f346000848484612f78565b612f73576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f6a90614395565b60405180910390fd5b505050565b6000612f998473ffffffffffffffffffffffffffffffffffffffff1661345b565b15613102578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612fc261266f565b8786866040518563ffffffff1660e01b8152600401612fe494939291906142aa565b602060405180830381600087803b158015612ffe57600080fd5b505af192505050801561302f57506040513d601f19601f8201168201806040525081019061302c9190613c26565b60015b6130b2573d806000811461305f576040519150601f19603f3d011682016040523d82523d6000602084013e613064565b606091505b506000815114156130aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130a190614395565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613107565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b61318483838361346e565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156131c7576131c281613473565b613206565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146132055761320483826134bc565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156132495761324481613629565b613288565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161461328757613286828261376c565b5b5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156132fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132f490614555565b60405180910390fd5b61330681612603565b15613346576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161333d906143d5565b60405180910390fd5b61335260008383612f0d565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546133a29190614847565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b505050565b600980549050600a600083815260200190815260200160002081905550600981908060018154018082558091505060019003906000526020600020016000909190919091505550565b600060016134c984611404565b6134d39190614928565b90506000600860008481526020019081526020016000205490508181146135b8576000600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600760008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816008600083815260200190815260200160002081905550505b6008600084815260200190815260200160002060009055600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b6000600160098054905061363d9190614928565b90506000600a6000848152602001908152602001600020549050600060098381548110613693577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200154905080600983815481106136db577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600a600083815260200190815260200160002081905550600a6000858152602001908152602001600020600090556009805480613750577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b600061377783611404565b905081600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806008600084815260200190815260200160002081905550505050565b8280546137f790614a12565b90600052602060002090601f0160209004810192826138195760008555613860565b82601f1061383257805160ff1916838001178555613860565b82800160010185558215613860579182015b8281111561385f578251825591602001919060010190613844565b5b50905061386d9190613871565b5090565b5b8082111561388a576000816000905550600101613872565b5090565b60006138a161389c8461475e565b614739565b9050828152602081018484840111156138b957600080fd5b6138c48482856149d0565b509392505050565b60006138df6138da8461478f565b614739565b9050828152602081018484840111156138f757600080fd5b6139028482856149d0565b509392505050565b60008135905061391981615339565b92915050565b60008083601f84011261393157600080fd5b8235905067ffffffffffffffff81111561394a57600080fd5b60208301915083602082028301111561396257600080fd5b9250929050565b60008135905061397881615350565b92915050565b60008135905061398d81615367565b92915050565b6000815190506139a281615367565b92915050565b600082601f8301126139b957600080fd5b81356139c984826020860161388e565b91505092915050565b600082601f8301126139e357600080fd5b81356139f38482602086016138cc565b91505092915050565b600081359050613a0b8161537e565b92915050565b600060208284031215613a2357600080fd5b6000613a318482850161390a565b91505092915050565b60008060408385031215613a4d57600080fd5b6000613a5b8582860161390a565b9250506020613a6c8582860161390a565b9150509250929050565b600080600060608486031215613a8b57600080fd5b6000613a998682870161390a565b9350506020613aaa8682870161390a565b9250506040613abb868287016139fc565b9150509250925092565b60008060008060808587031215613adb57600080fd5b6000613ae98782880161390a565b9450506020613afa8782880161390a565b9350506040613b0b878288016139fc565b925050606085013567ffffffffffffffff811115613b2857600080fd5b613b34878288016139a8565b91505092959194509250565b60008060408385031215613b5357600080fd5b6000613b618582860161390a565b9250506020613b7285828601613969565b9150509250929050565b60008060408385031215613b8f57600080fd5b6000613b9d8582860161390a565b9250506020613bae858286016139fc565b9150509250929050565b60008060208385031215613bcb57600080fd5b600083013567ffffffffffffffff811115613be557600080fd5b613bf18582860161391f565b92509250509250929050565b600060208284031215613c0f57600080fd5b6000613c1d8482850161397e565b91505092915050565b600060208284031215613c3857600080fd5b6000613c4684828501613993565b91505092915050565b600060208284031215613c6157600080fd5b600082013567ffffffffffffffff811115613c7b57600080fd5b613c87848285016139d2565b91505092915050565b600060208284031215613ca257600080fd5b6000613cb0848285016139fc565b91505092915050565b6000613cc5838361422d565b60208301905092915050565b613cda8161495c565b82525050565b6000613ceb826147d0565b613cf581856147fe565b9350613d00836147c0565b8060005b83811015613d31578151613d188882613cb9565b9750613d23836147f1565b925050600181019050613d04565b5085935050505092915050565b613d478161496e565b82525050565b6000613d58826147db565b613d62818561480f565b9350613d728185602086016149df565b613d7b81614bab565b840191505092915050565b6000613d91826147e6565b613d9b818561482b565b9350613dab8185602086016149df565b613db481614bab565b840191505092915050565b6000613dca826147e6565b613dd4818561483c565b9350613de48185602086016149df565b80840191505092915050565b6000613dfd602a8361482b565b9150613e0882614bbc565b604082019050919050565b6000613e20602b8361482b565b9150613e2b82614c0b565b604082019050919050565b6000613e4360328361482b565b9150613e4e82614c5a565b604082019050919050565b6000613e6660268361482b565b9150613e7182614ca9565b604082019050919050565b6000613e89601c8361482b565b9150613e9482614cf8565b602082019050919050565b6000613eac601f8361482b565b9150613eb782614d21565b602082019050919050565b6000613ecf60218361482b565b9150613eda82614d4a565b604082019050919050565b6000613ef260208361482b565b9150613efd82614d99565b602082019050919050565b6000613f1560248361482b565b9150613f2082614dc2565b604082019050919050565b6000613f3860198361482b565b9150613f4382614e11565b602082019050919050565b6000613f5b601f8361482b565b9150613f6682614e3a565b602082019050919050565b6000613f7e602c8361482b565b9150613f8982614e63565b604082019050919050565b6000613fa160388361482b565b9150613fac82614eb2565b604082019050919050565b6000613fc4602a8361482b565b9150613fcf82614f01565b604082019050919050565b6000613fe760298361482b565b9150613ff282614f50565b604082019050919050565b600061400a602a8361482b565b915061401582614f9f565b604082019050919050565b600061402d60208361482b565b915061403882614fee565b602082019050919050565b6000614050602c8361482b565b915061405b82615017565b604082019050919050565b600061407360058361483c565b915061407e82615066565b600582019050919050565b600061409660208361482b565b91506140a18261508f565b602082019050919050565b60006140b9601a8361482b565b91506140c4826150b8565b602082019050919050565b60006140dc60298361482b565b91506140e7826150e1565b604082019050919050565b60006140ff60298361482b565b915061410a82615130565b604082019050919050565b6000614122602f8361482b565b915061412d8261517f565b604082019050919050565b600061414560218361482b565b9150614150826151ce565b604082019050919050565b6000614168600083614820565b91506141738261521d565b600082019050919050565b600061418b60318361482b565b915061419682615220565b604082019050919050565b60006141ae602c8361482b565b91506141b98261526f565b604082019050919050565b60006141d160158361482b565b91506141dc826152be565b602082019050919050565b60006141f4601c8361482b565b91506141ff826152e7565b602082019050919050565b600061421760208361482b565b915061422282615310565b602082019050919050565b614236816149c6565b82525050565b614245816149c6565b82525050565b60006142578285613dbf565b91506142638284613dbf565b915061426e82614066565b91508190509392505050565b60006142858261415b565b9150819050919050565b60006020820190506142a46000830184613cd1565b92915050565b60006080820190506142bf6000830187613cd1565b6142cc6020830186613cd1565b6142d9604083018561423c565b81810360608301526142eb8184613d4d565b905095945050505050565b600060208201905081810360008301526143108184613ce0565b905092915050565b600060208201905061432d6000830184613d3e565b92915050565b6000602082019050818103600083015261434d8184613d86565b905092915050565b6000602082019050818103600083015261436e81613df0565b9050919050565b6000602082019050818103600083015261438e81613e13565b9050919050565b600060208201905081810360008301526143ae81613e36565b9050919050565b600060208201905081810360008301526143ce81613e59565b9050919050565b600060208201905081810360008301526143ee81613e7c565b9050919050565b6000602082019050818103600083015261440e81613e9f565b9050919050565b6000602082019050818103600083015261442e81613ec2565b9050919050565b6000602082019050818103600083015261444e81613ee5565b9050919050565b6000602082019050818103600083015261446e81613f08565b9050919050565b6000602082019050818103600083015261448e81613f2b565b9050919050565b600060208201905081810360008301526144ae81613f4e565b9050919050565b600060208201905081810360008301526144ce81613f71565b9050919050565b600060208201905081810360008301526144ee81613f94565b9050919050565b6000602082019050818103600083015261450e81613fb7565b9050919050565b6000602082019050818103600083015261452e81613fda565b9050919050565b6000602082019050818103600083015261454e81613ffd565b9050919050565b6000602082019050818103600083015261456e81614020565b9050919050565b6000602082019050818103600083015261458e81614043565b9050919050565b600060208201905081810360008301526145ae81614089565b9050919050565b600060208201905081810360008301526145ce816140ac565b9050919050565b600060208201905081810360008301526145ee816140cf565b9050919050565b6000602082019050818103600083015261460e816140f2565b9050919050565b6000602082019050818103600083015261462e81614115565b9050919050565b6000602082019050818103600083015261464e81614138565b9050919050565b6000602082019050818103600083015261466e8161417e565b9050919050565b6000602082019050818103600083015261468e816141a1565b9050919050565b600060208201905081810360008301526146ae816141c4565b9050919050565b600060208201905081810360008301526146ce816141e7565b9050919050565b600060208201905081810360008301526146ee8161420a565b9050919050565b600060208201905061470a600083018461423c565b92915050565b6000604082019050614725600083018561423c565b6147326020830184613cd1565b9392505050565b6000614743614754565b905061474f8282614a44565b919050565b6000604051905090565b600067ffffffffffffffff82111561477957614778614b7c565b5b61478282614bab565b9050602081019050919050565b600067ffffffffffffffff8211156147aa576147a9614b7c565b5b6147b382614bab565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000614852826149c6565b915061485d836149c6565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561489257614891614aef565b5b828201905092915050565b60006148a8826149c6565b91506148b3836149c6565b9250826148c3576148c2614b1e565b5b828204905092915050565b60006148d9826149c6565b91506148e4836149c6565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561491d5761491c614aef565b5b828202905092915050565b6000614933826149c6565b915061493e836149c6565b92508282101561495157614950614aef565b5b828203905092915050565b6000614967826149a6565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b838110156149fd5780820151818401526020810190506149e2565b83811115614a0c576000848401525b50505050565b60006002820490506001821680614a2a57607f821691505b60208210811415614a3e57614a3d614b4d565b5b50919050565b614a4d82614bab565b810181811067ffffffffffffffff82111715614a6c57614a6b614b7c565b5b80604052505050565b6000614a80826149c6565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614ab357614ab2614aef565b5b600182019050919050565b6000614ac9826149c6565b9150614ad4836149c6565b925082614ae457614ae3614b1e565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f43616e206f6e6c79206d696e74206f6e65206f72206d6f726520746f6b656e7360008201527f20617420612074696d6500000000000000000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f596f7520617265206e6f74206f6e207468652050726573616c65204c69737400600082015250565b7f53616c65206d7573742062652061637469766520746f206d696e7420546f6b6560008201527f6e00000000000000000000000000000000000000000000000000000000000000602082015250565b7f4e6f7420656e6f7567682072657365727665206c65667420666f72207465616d600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f45746865722076616c75652073656e74206973206e6f7420636f727265637400600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f507572636861736520776f756c6420657863656564206d617820737570706c7960008201527f206f6620746f6b656e7300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f43616e27742061646420746865206e756c6c2061646472657373000000000000600082015250565b7f507572636861736520776f756c6420657863656564206d617820737570706c7960008201527f206f6620746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b50565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f50726573616c65206973206e6f74206163746976650000000000000000000000600082015250565b7f50757263686173652065786365656473206d617820616c6c6f77656400000000600082015250565b7f43616e6e6f742070757263686173652074686973206d616e7920746f6b656e73600082015250565b6153428161495c565b811461534d57600080fd5b50565b6153598161496e565b811461536457600080fd5b50565b6153708161497a565b811461537b57600080fd5b50565b615387816149c6565b811461539257600080fd5b5056fe697066733a2f2f516d5751705252526535334c337072473675514365376e42313733374277454b65556d654a3961694465665465672f68696464656e2e6a736f6ea2646970667358221220cd6a61c1c7e6ebed49a03fe4340e19fba9d043ea07a1654aa171943d0776a26f64736f6c63430008040033
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.