ERC-721
Overview
Max Total Supply
4,892 OO
Holders
780
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
15 OOLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Ostriches
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: GPL-3.0 pragma solidity ^0.8.4; import "./ERC721Enum.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; contract Ostriches is ERC721Enum, Ownable, ReentrancyGuard { using Strings for uint256; string public baseURI; string public baseExtension = ".json"; //sale settings uint256 public cost = 0 ether; //FREE!!!!!! uint256 public maxSupply = 4892; uint256 public maxMint = 5; bool public status = true; constructor( string memory _name, string memory _symbol, string memory _initBaseURI ) ERC721P(_name, _symbol) { setBaseURI(_initBaseURI); } // internal function _baseURI() internal view virtual returns (string memory) { return baseURI; } // public minting function mint(uint256 _mintAmount) external payable nonReentrant { uint256 s = totalSupply(); require(status, "Off"); require(_mintAmount > 0, "Duh"); require(_mintAmount <= maxMint, "Too many"); require(s + _mintAmount <= maxSupply, "Sorry"); // require(msg.value >= cost * _mintAmount); //FREE!!!!!! for (uint256 i = 0; i < _mintAmount; ++i) { _safeMint(msg.sender, s + i, ""); } delete s; } // admin minting function gift(uint256[] calldata quantity, address[] calldata recipient) external onlyOwner { require( quantity.length == recipient.length, "Provide quantities and recipients" ); uint256 totalQuantity = 0; uint256 s = totalSupply(); for (uint256 i = 0; i < quantity.length; ++i) { totalQuantity += quantity[i]; } require(s + totalQuantity <= maxSupply, "Too many"); delete totalQuantity; for (uint256 i = 0; i < recipient.length; ++i) { for (uint256 j = 0; j < quantity[i]; ++j) { _safeMint(recipient[i], s++, ""); } } delete s; } // admin functionality function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: Nonexistent token"); string memory currentBaseURI = _baseURI(); return bytes(currentBaseURI).length > 0 ? string(abi.encodePacked(currentBaseURI, tokenId.toString(),baseExtension)) : ""; } function setBaseExtension(string memory _newBaseExtension) public onlyOwner { baseExtension = _newBaseExtension; } function setCost(uint256 _newCost) public onlyOwner { cost = _newCost; } function setMaxMintAmount(uint256 _newMaxMintAmount) public onlyOwner { maxMint = _newMaxMintAmount; } function setmaxSupply(uint256 _newMaxSupply) public onlyOwner { maxSupply = _newMaxSupply; } function setBaseURI(string memory _newBaseURI) public onlyOwner { baseURI = _newBaseURI; } function setSaleStatus(bool _status) public onlyOwner { status = _status; } function burn(uint256 tokenId) public virtual { //solhint-disable-next-line max-line-length require( _isApprovedOrOwner(_msgSender(), tokenId), "ERC721Burnable: caller is not owner nor approved" ); _burn(tokenId); } function withdraw() public payable onlyOwner { (bool success, ) = payable(msg.sender).call{ value: address(this).balance }(""); require(success); } }
// SPDX-License-Identifier: GPL-3.0 pragma solidity ^0.8.4; import "./ERC721P.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol"; abstract contract ERC721Enum is ERC721P, IERC721Enumerable { function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721P) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } function tokenOfOwnerByIndex(address owner, uint256 index) public view override returns (uint256 tokenId) { require(index < ERC721P.balanceOf(owner), "ERC721Enum: owner ioob"); uint256 count; for (uint256 i; i < _owners.length; ++i) { if (owner == _owners[i]) { if (count == index) return i; else ++count; } } require(false, "ERC721Enum: owner ioob"); } function tokensOfOwner(address owner) public view returns (uint256[] memory) { require(0 < ERC721P.balanceOf(owner), "ERC721Enum: owner ioob"); uint256 tokenCount = balanceOf(owner); uint256[] memory tokenIds = new uint256[](tokenCount); for (uint256 i = 0; i < tokenCount; i++) { tokenIds[i] = tokenOfOwnerByIndex(owner, i); } return tokenIds; } function totalSupply() public view virtual override returns (uint256) { return _owners.length; } function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721Enum.totalSupply(), "ERC721Enum: global ioob"); return index; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } }
// SPDX-License-Identifier: GPL-3.0 // Modified from: Pagzi Tech Inc. 2021 pragma solidity ^0.8.4; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts/utils/Context.sol"; import "@openzeppelin/contracts/utils/introspection/ERC165.sol"; abstract contract ERC721P is Context, ERC165, IERC721, IERC721Metadata { using Address for address; string private _name; string private _symbol; address[] internal _owners; mapping(uint256 => address) private _tokenApprovals; mapping(address => mapping(address => bool)) private _operatorApprovals; constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); uint count = 0; uint length = _owners.length; for( uint i = 0; i < length; ++i ){ if( owner == _owners[i] ){ ++count; } } delete length; return count; } 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; } function name() public view virtual override returns (string memory) { return _name; } function symbol() public view virtual override returns (string memory) { return _symbol; } function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721P.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); } function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } 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); } function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } 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); } function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } 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); } 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"); } function _exists(uint256 tokenId) internal view virtual returns (bool) { return tokenId < _owners.length && _owners[tokenId] != address(0); } function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721P.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } 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" ); } 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); _owners.push(to); emit Transfer(address(0), to, tokenId); } function _burn(uint256 tokenId) internal virtual { address owner = ERC721P.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _owners[tokenId] = address(0); emit Transfer(owner, address(0), tokenId); } function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721P.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); _owners[tokenId] = to; emit Transfer(from, to, tokenId); } function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721P.ownerOf(tokenId), to, tokenId); } 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; } } function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (token/ERC721/extensions/IERC721Enumerable.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 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); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (utils/Address.sol) pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"string","name":"_initBaseURI","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseExtension","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"cost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"quantity","type":"uint256[]"},{"internalType":"address[]","name":"recipient","type":"address[]"}],"name":"gift","outputs":[],"stateMutability":"nonpayable","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":"maxMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseExtension","type":"string"}],"name":"setBaseExtension","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newCost","type":"uint256"}],"name":"setCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newMaxMintAmount","type":"uint256"}],"name":"setMaxMintAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_status","type":"bool"}],"name":"setSaleStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newMaxSupply","type":"uint256"}],"name":"setmaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"status","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"tokenId","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
60806040526040518060400160405280600581526020017f2e6a736f6e0000000000000000000000000000000000000000000000000000008152506008908051906020019062000051929190620002cb565b50600060095561131c600a556005600b556001600c60006101000a81548160ff0219169083151502179055503480156200008a57600080fd5b5060405162004e7a38038062004e7a8339818101604052810190620000b09190620003ed565b82828160009080519060200190620000ca929190620002cb565b508060019080519060200190620000e3929190620002cb565b50505062000106620000fa6200012860201b60201c565b6200013060201b60201c565b60016006819055506200011f81620001f660201b60201c565b50505062000681565b600033905090565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b620002066200012860201b60201c565b73ffffffffffffffffffffffffffffffffffffffff166200022c620002a160201b60201c565b73ffffffffffffffffffffffffffffffffffffffff161462000285576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200027c90620004b5565b60405180910390fd5b80600790805190602001906200029d929190620002cb565b5050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b828054620002d9906200057d565b90600052602060002090601f016020900481019282620002fd576000855562000349565b82601f106200031857805160ff191683800117855562000349565b8280016001018555821562000349579182015b82811115620003485782518255916020019190600101906200032b565b5b5090506200035891906200035c565b5090565b5b80821115620003775760008160009055506001016200035d565b5090565b6000620003926200038c8462000500565b620004d7565b905082815260208101848484011115620003ab57600080fd5b620003b884828562000547565b509392505050565b600082601f830112620003d257600080fd5b8151620003e48482602086016200037b565b91505092915050565b6000806000606084860312156200040357600080fd5b600084015167ffffffffffffffff8111156200041e57600080fd5b6200042c86828701620003c0565b935050602084015167ffffffffffffffff8111156200044a57600080fd5b6200045886828701620003c0565b925050604084015167ffffffffffffffff8111156200047657600080fd5b6200048486828701620003c0565b9150509250925092565b60006200049d60208362000536565b9150620004aa8262000658565b602082019050919050565b60006020820190508181036000830152620004d0816200048e565b9050919050565b6000620004e3620004f6565b9050620004f18282620005b3565b919050565b6000604051905090565b600067ffffffffffffffff8211156200051e576200051d62000618565b5b620005298262000647565b9050602081019050919050565b600082825260208201905092915050565b60005b83811015620005675780820151818401526020810190506200054a565b8381111562000577576000848401525b50505050565b600060028204905060018216806200059657607f821691505b60208210811415620005ad57620005ac620005e9565b5b50919050565b620005be8262000647565b810181811067ffffffffffffffff82111715620005e057620005df62000618565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6147e980620006916000396000f3fe60806040526004361061020f5760003560e01c80636c0360eb11610118578063a22cb465116100a0578063d5abeb011161006f578063d5abeb011461077f578063d897833e146107aa578063da3ef23f146107d3578063e985e9c5146107fc578063f2fde38b146108395761020f565b8063a22cb465146106c5578063b88d4fde146106ee578063c668286214610717578063c87b56dd146107425761020f565b80638462151c116100e75780638462151c146105ed5780638da5cb5b1461062a57806395d89b411461065557806396ea3a4714610680578063a0712d68146106a95761020f565b80636c0360eb1461054357806370a082311461056e578063715018a6146105ab5780637501f741146105c25761020f565b806323b872dd1161019b57806342966c681161016a57806342966c681461044e57806344a0d68a146104775780634f6ccce7146104a057806355f804b3146104dd5780636352211e146105065761020f565b806323b872dd146103b55780632f745c59146103de5780633ccfd60b1461041b57806342842e0e146104255761020f565b8063095ea7b3116101e2578063095ea7b3146102e257806313faede61461030b57806318160ddd14610336578063200d2ed214610361578063228025e81461038c5761020f565b806301ffc9a71461021457806306fdde0314610251578063081812fc1461027c578063088a4ed0146102b9575b600080fd5b34801561022057600080fd5b5061023b6004803603810190610236919061329c565b610862565b6040516102489190613989565b60405180910390f35b34801561025d57600080fd5b506102666108dc565b60405161027391906139a4565b60405180910390f35b34801561028857600080fd5b506102a3600480360381019061029e919061332f565b61096e565b6040516102b09190613900565b60405180910390f35b3480156102c557600080fd5b506102e060048036038101906102db919061332f565b6109f3565b005b3480156102ee57600080fd5b50610309600480360381019061030491906131c2565b610a79565b005b34801561031757600080fd5b50610320610b91565b60405161032d9190613ce6565b60405180910390f35b34801561034257600080fd5b5061034b610b97565b6040516103589190613ce6565b60405180910390f35b34801561036d57600080fd5b50610376610ba4565b6040516103839190613989565b60405180910390f35b34801561039857600080fd5b506103b360048036038101906103ae919061332f565b610bb7565b005b3480156103c157600080fd5b506103dc60048036038101906103d791906130bc565b610c3d565b005b3480156103ea57600080fd5b50610405600480360381019061040091906131c2565b610c9d565b6040516104129190613ce6565b60405180910390f35b610423610e0c565b005b34801561043157600080fd5b5061044c600480360381019061044791906130bc565b610f01565b005b34801561045a57600080fd5b506104756004803603810190610470919061332f565b610f21565b005b34801561048357600080fd5b5061049e6004803603810190610499919061332f565b610f7d565b005b3480156104ac57600080fd5b506104c760048036038101906104c2919061332f565b611003565b6040516104d49190613ce6565b60405180910390f35b3480156104e957600080fd5b5061050460048036038101906104ff91906132ee565b611056565b005b34801561051257600080fd5b5061052d6004803603810190610528919061332f565b6110ec565b60405161053a9190613900565b60405180910390f35b34801561054f57600080fd5b506105586111cf565b60405161056591906139a4565b60405180910390f35b34801561057a57600080fd5b5061059560048036038101906105909190613057565b61125d565b6040516105a29190613ce6565b60405180910390f35b3480156105b757600080fd5b506105c06113a9565b005b3480156105ce57600080fd5b506105d7611431565b6040516105e49190613ce6565b60405180910390f35b3480156105f957600080fd5b50610614600480360381019061060f9190613057565b611437565b6040516106219190613967565b60405180910390f35b34801561063657600080fd5b5061063f61157c565b60405161064c9190613900565b60405180910390f35b34801561066157600080fd5b5061066a6115a6565b60405161067791906139a4565b60405180910390f35b34801561068c57600080fd5b506106a760048036038101906106a291906131fe565b611638565b005b6106c360048036038101906106be919061332f565b6118c5565b005b3480156106d157600080fd5b506106ec60048036038101906106e79190613186565b611a98565b005b3480156106fa57600080fd5b506107156004803603810190610710919061310b565b611c19565b005b34801561072357600080fd5b5061072c611c7b565b60405161073991906139a4565b60405180910390f35b34801561074e57600080fd5b506107696004803603810190610764919061332f565b611d09565b60405161077691906139a4565b60405180910390f35b34801561078b57600080fd5b50610794611db3565b6040516107a19190613ce6565b60405180910390f35b3480156107b657600080fd5b506107d160048036038101906107cc9190613273565b611db9565b005b3480156107df57600080fd5b506107fa60048036038101906107f591906132ee565b611e52565b005b34801561080857600080fd5b50610823600480360381019061081e9190613080565b611ee8565b6040516108309190613989565b60405180910390f35b34801561084557600080fd5b50610860600480360381019061085b9190613057565b611f7c565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806108d557506108d482612074565b5b9050919050565b6060600080546108eb90613f95565b80601f016020809104026020016040519081016040528092919081815260200182805461091790613f95565b80156109645780601f1061093957610100808354040283529160200191610964565b820191906000526020600020905b81548152906001019060200180831161094757829003601f168201915b5050505050905090565b600061097982612156565b6109b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109af90613b66565b60405180910390fd5b6003600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6109fb612204565b73ffffffffffffffffffffffffffffffffffffffff16610a1961157c565b73ffffffffffffffffffffffffffffffffffffffff1614610a6f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a6690613ba6565b60405180910390fd5b80600b8190555050565b6000610a84826110ec565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610af5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aec90613c26565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610b14612204565b73ffffffffffffffffffffffffffffffffffffffff161480610b435750610b4281610b3d612204565b611ee8565b5b610b82576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b7990613ae6565b60405180910390fd5b610b8c838361220c565b505050565b60095481565b6000600280549050905090565b600c60009054906101000a900460ff1681565b610bbf612204565b73ffffffffffffffffffffffffffffffffffffffff16610bdd61157c565b73ffffffffffffffffffffffffffffffffffffffff1614610c33576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c2a90613ba6565b60405180910390fd5b80600a8190555050565b610c4e610c48612204565b826122c5565b610c8d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c8490613c46565b60405180910390fd5b610c988383836123a3565b505050565b6000610ca88361125d565b8210610ce9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ce090613be6565b60405180910390fd5b6000805b600280549050811015610dc25760028181548110610d34577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415610db15783821415610da4578092505050610e06565b81610dae90613ff8565b91505b80610dbb90613ff8565b9050610ced565b506000610e04576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dfb90613be6565b60405180910390fd5b505b92915050565b610e14612204565b73ffffffffffffffffffffffffffffffffffffffff16610e3261157c565b73ffffffffffffffffffffffffffffffffffffffff1614610e88576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e7f90613ba6565b60405180910390fd5b60003373ffffffffffffffffffffffffffffffffffffffff1647604051610eae906138eb565b60006040518083038185875af1925050503d8060008114610eeb576040519150601f19603f3d011682016040523d82523d6000602084013e610ef0565b606091505b5050905080610efe57600080fd5b50565b610f1c83838360405180602001604052806000815250611c19565b505050565b610f32610f2c612204565b826122c5565b610f71576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f6890613ca6565b60405180910390fd5b610f7a81612582565b50565b610f85612204565b73ffffffffffffffffffffffffffffffffffffffff16610fa361157c565b73ffffffffffffffffffffffffffffffffffffffff1614610ff9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ff090613ba6565b60405180910390fd5b8060098190555050565b600061100d610b97565b821061104e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161104590613c06565b60405180910390fd5b819050919050565b61105e612204565b73ffffffffffffffffffffffffffffffffffffffff1661107c61157c565b73ffffffffffffffffffffffffffffffffffffffff16146110d2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110c990613ba6565b60405180910390fd5b80600790805190602001906110e8929190612de7565b5050565b60008060028381548110611129577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156111c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111bd90613b26565b60405180910390fd5b80915050919050565b600780546111dc90613f95565b80601f016020809104026020016040519081016040528092919081815260200182805461120890613f95565b80156112555780601f1061122a57610100808354040283529160200191611255565b820191906000526020600020905b81548152906001019060200180831161123857829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156112ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112c590613b06565b60405180910390fd5b600080600280549050905060005b8181101561139a576002818154811061131e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415611389578261138690613ff8565b92505b8061139390613ff8565b90506112dc565b50600090508192505050919050565b6113b1612204565b73ffffffffffffffffffffffffffffffffffffffff166113cf61157c565b73ffffffffffffffffffffffffffffffffffffffff1614611425576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161141c90613ba6565b60405180910390fd5b61142f600061268a565b565b600b5481565b60606114428261125d565b600010611484576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161147b90613be6565b60405180910390fd5b600061148f8361125d565b905060008167ffffffffffffffff8111156114d3577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280602002602001820160405280156115015781602001602082028036833780820191505090505b50905060005b82811015611571576115198582610c9d565b828281518110611552577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001018181525050808061156990613ff8565b915050611507565b508092505050919050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600180546115b590613f95565b80601f01602080910402602001604051908101604052809291908181526020018280546115e190613f95565b801561162e5780601f106116035761010080835404028352916020019161162e565b820191906000526020600020905b81548152906001019060200180831161161157829003601f168201915b5050505050905090565b611640612204565b73ffffffffffffffffffffffffffffffffffffffff1661165e61157c565b73ffffffffffffffffffffffffffffffffffffffff16146116b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116ab90613ba6565b60405180910390fd5b8181905084849050146116fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116f390613ac6565b60405180910390fd5b600080611707610b97565b905060005b8686905081101561177557868682818110611750577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020135836117629190613e24565b92508061176e90613ff8565b905061170c565b50600a5482826117859190613e24565b11156117c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117bd90613b86565b60405180910390fd5b6000915060005b848490508110156118b85760005b878783818110611814577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b905060200201358110156118a65761189586868481811061185e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020160208101906118739190613057565b848061187e90613ff8565b955060405180602001604052806000815250612750565b8061189f90613ff8565b90506117db565b50806118b190613ff8565b90506117cd565b5060009050505050505050565b6002600654141561190b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161190290613c86565b60405180910390fd5b6002600681905550600061191d610b97565b9050600c60009054906101000a900460ff1661196e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161196590613c66565b60405180910390fd5b600082116119b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119a890613cc6565b60405180910390fd5b600b548211156119f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119ed90613b86565b60405180910390fd5b600a548282611a059190613e24565b1115611a46576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a3d90613a06565b60405180910390fd5b60005b82811015611a8757611a76338284611a619190613e24565b60405180602001604052806000815250612750565b80611a8090613ff8565b9050611a49565b506000905050600160068190555050565b611aa0612204565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611b0e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b0590613a86565b60405180910390fd5b8060046000611b1b612204565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611bc8612204565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611c0d9190613989565b60405180910390a35050565b611c2a611c24612204565b836122c5565b611c69576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c6090613c46565b60405180910390fd5b611c75848484846127ab565b50505050565b60088054611c8890613f95565b80601f0160208091040260200160405190810160405280929190818152602001828054611cb490613f95565b8015611d015780601f10611cd657610100808354040283529160200191611d01565b820191906000526020600020905b815481529060010190602001808311611ce457829003601f168201915b505050505081565b6060611d1482612156565b611d53576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d4a906139c6565b60405180910390fd5b6000611d5d612807565b90506000815111611d7d5760405180602001604052806000815250611dab565b80611d8784612899565b6008604051602001611d9b939291906138ba565b6040516020818303038152906040525b915050919050565b600a5481565b611dc1612204565b73ffffffffffffffffffffffffffffffffffffffff16611ddf61157c565b73ffffffffffffffffffffffffffffffffffffffff1614611e35576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e2c90613ba6565b60405180910390fd5b80600c60006101000a81548160ff02191690831515021790555050565b611e5a612204565b73ffffffffffffffffffffffffffffffffffffffff16611e7861157c565b73ffffffffffffffffffffffffffffffffffffffff1614611ece576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ec590613ba6565b60405180910390fd5b8060089080519060200190611ee4929190612de7565b5050565b6000600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611f84612204565b73ffffffffffffffffffffffffffffffffffffffff16611fa261157c565b73ffffffffffffffffffffffffffffffffffffffff1614611ff8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fef90613ba6565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612068576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161205f90613a26565b60405180910390fd5b6120718161268a565b50565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061213f57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061214f575061214e82612a46565b5b9050919050565b6000600280549050821080156121fd5750600073ffffffffffffffffffffffffffffffffffffffff16600283815481106121b9577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614155b9050919050565b600033905090565b816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661227f836110ec565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006122d082612156565b61230f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161230690613aa6565b60405180910390fd5b600061231a836110ec565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061238957508373ffffffffffffffffffffffffffffffffffffffff166123718461096e565b73ffffffffffffffffffffffffffffffffffffffff16145b8061239a57506123998185611ee8565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166123c3826110ec565b73ffffffffffffffffffffffffffffffffffffffff1614612419576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161241090613bc6565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612489576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161248090613a66565b60405180910390fd5b612494838383612ab0565b61249f60008261220c565b81600282815481106124da577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600061258d826110ec565b905061259b81600084612ab0565b6125a660008361220c565b6000600283815481106125e2577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b61275a8383612ab5565b6127676000848484612c3d565b6127a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161279d906139e6565b60405180910390fd5b505050565b6127b68484846123a3565b6127c284848484612c3d565b612801576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127f8906139e6565b60405180910390fd5b50505050565b60606007805461281690613f95565b80601f016020809104026020016040519081016040528092919081815260200182805461284290613f95565b801561288f5780601f106128645761010080835404028352916020019161288f565b820191906000526020600020905b81548152906001019060200180831161287257829003601f168201915b5050505050905090565b606060008214156128e1576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612a41565b600082905060005b600082146129135780806128fc90613ff8565b915050600a8261290c9190613e7a565b91506128e9565b60008167ffffffffffffffff811115612955577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156129875781602001600182028036833780820191505090505b5090505b60008514612a3a576001826129a09190613eab565b9150600a856129af9190614041565b60306129bb9190613e24565b60f81b8183815181106129f7577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612a339190613e7a565b945061298b565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612b25576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b1c90613b46565b60405180910390fd5b612b2e81612156565b15612b6e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b6590613a46565b60405180910390fd5b612b7a60008383612ab0565b6002829080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6000612c5e8473ffffffffffffffffffffffffffffffffffffffff16612dd4565b15612dc7578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612c87612204565b8786866040518563ffffffff1660e01b8152600401612ca9949392919061391b565b602060405180830381600087803b158015612cc357600080fd5b505af1925050508015612cf457506040513d601f19601f82011682018060405250810190612cf191906132c5565b60015b612d77573d8060008114612d24576040519150601f19603f3d011682016040523d82523d6000602084013e612d29565b606091505b50600081511415612d6f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d66906139e6565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612dcc565b600190505b949350505050565b600080823b905060008111915050919050565b828054612df390613f95565b90600052602060002090601f016020900481019282612e155760008555612e5c565b82601f10612e2e57805160ff1916838001178555612e5c565b82800160010185558215612e5c579182015b82811115612e5b578251825591602001919060010190612e40565b5b509050612e699190612e6d565b5090565b5b80821115612e86576000816000905550600101612e6e565b5090565b6000612e9d612e9884613d26565b613d01565b905082815260208101848484011115612eb557600080fd5b612ec0848285613f53565b509392505050565b6000612edb612ed684613d57565b613d01565b905082815260208101848484011115612ef357600080fd5b612efe848285613f53565b509392505050565b600081359050612f1581614757565b92915050565b60008083601f840112612f2d57600080fd5b8235905067ffffffffffffffff811115612f4657600080fd5b602083019150836020820283011115612f5e57600080fd5b9250929050565b60008083601f840112612f7757600080fd5b8235905067ffffffffffffffff811115612f9057600080fd5b602083019150836020820283011115612fa857600080fd5b9250929050565b600081359050612fbe8161476e565b92915050565b600081359050612fd381614785565b92915050565b600081519050612fe881614785565b92915050565b600082601f830112612fff57600080fd5b813561300f848260208601612e8a565b91505092915050565b600082601f83011261302957600080fd5b8135613039848260208601612ec8565b91505092915050565b6000813590506130518161479c565b92915050565b60006020828403121561306957600080fd5b600061307784828501612f06565b91505092915050565b6000806040838503121561309357600080fd5b60006130a185828601612f06565b92505060206130b285828601612f06565b9150509250929050565b6000806000606084860312156130d157600080fd5b60006130df86828701612f06565b93505060206130f086828701612f06565b925050604061310186828701613042565b9150509250925092565b6000806000806080858703121561312157600080fd5b600061312f87828801612f06565b945050602061314087828801612f06565b935050604061315187828801613042565b925050606085013567ffffffffffffffff81111561316e57600080fd5b61317a87828801612fee565b91505092959194509250565b6000806040838503121561319957600080fd5b60006131a785828601612f06565b92505060206131b885828601612faf565b9150509250929050565b600080604083850312156131d557600080fd5b60006131e385828601612f06565b92505060206131f485828601613042565b9150509250929050565b6000806000806040858703121561321457600080fd5b600085013567ffffffffffffffff81111561322e57600080fd5b61323a87828801612f65565b9450945050602085013567ffffffffffffffff81111561325957600080fd5b61326587828801612f1b565b925092505092959194509250565b60006020828403121561328557600080fd5b600061329384828501612faf565b91505092915050565b6000602082840312156132ae57600080fd5b60006132bc84828501612fc4565b91505092915050565b6000602082840312156132d757600080fd5b60006132e584828501612fd9565b91505092915050565b60006020828403121561330057600080fd5b600082013567ffffffffffffffff81111561331a57600080fd5b61332684828501613018565b91505092915050565b60006020828403121561334157600080fd5b600061334f84828501613042565b91505092915050565b6000613364838361389c565b60208301905092915050565b61337981613edf565b82525050565b600061338a82613dad565b6133948185613ddb565b935061339f83613d88565b8060005b838110156133d05781516133b78882613358565b97506133c283613dce565b9250506001810190506133a3565b5085935050505092915050565b6133e681613ef1565b82525050565b60006133f782613db8565b6134018185613dec565b9350613411818560208601613f62565b61341a8161412e565b840191505092915050565b600061343082613dc3565b61343a8185613e08565b935061344a818560208601613f62565b6134538161412e565b840191505092915050565b600061346982613dc3565b6134738185613e19565b9350613483818560208601613f62565b80840191505092915050565b6000815461349c81613f95565b6134a68186613e19565b945060018216600081146134c157600181146134d257613505565b60ff19831686528186019350613505565b6134db85613d98565b60005b838110156134fd578154818901526001820191506020810190506134de565b838801955050505b50505092915050565b600061351b602183613e08565b91506135268261413f565b604082019050919050565b600061353e603283613e08565b91506135498261418e565b604082019050919050565b6000613561600583613e08565b915061356c826141dd565b602082019050919050565b6000613584602683613e08565b915061358f82614206565b604082019050919050565b60006135a7601c83613e08565b91506135b282614255565b602082019050919050565b60006135ca602483613e08565b91506135d58261427e565b604082019050919050565b60006135ed601983613e08565b91506135f8826142cd565b602082019050919050565b6000613610602c83613e08565b915061361b826142f6565b604082019050919050565b6000613633602183613e08565b915061363e82614345565b604082019050919050565b6000613656603883613e08565b915061366182614394565b604082019050919050565b6000613679602a83613e08565b9150613684826143e3565b604082019050919050565b600061369c602983613e08565b91506136a782614432565b604082019050919050565b60006136bf602083613e08565b91506136ca82614481565b602082019050919050565b60006136e2602c83613e08565b91506136ed826144aa565b604082019050919050565b6000613705600883613e08565b9150613710826144f9565b602082019050919050565b6000613728602083613e08565b915061373382614522565b602082019050919050565b600061374b602983613e08565b91506137568261454b565b604082019050919050565b600061376e601683613e08565b91506137798261459a565b602082019050919050565b6000613791601783613e08565b915061379c826145c3565b602082019050919050565b60006137b4602183613e08565b91506137bf826145ec565b604082019050919050565b60006137d7600083613dfd565b91506137e28261463b565b600082019050919050565b60006137fa603183613e08565b91506138058261463e565b604082019050919050565b600061381d600383613e08565b91506138288261468d565b602082019050919050565b6000613840601f83613e08565b915061384b826146b6565b602082019050919050565b6000613863603083613e08565b915061386e826146df565b604082019050919050565b6000613886600383613e08565b91506138918261472e565b602082019050919050565b6138a581613f49565b82525050565b6138b481613f49565b82525050565b60006138c6828661345e565b91506138d2828561345e565b91506138de828461348f565b9150819050949350505050565b60006138f6826137ca565b9150819050919050565b60006020820190506139156000830184613370565b92915050565b60006080820190506139306000830187613370565b61393d6020830186613370565b61394a60408301856138ab565b818103606083015261395c81846133ec565b905095945050505050565b60006020820190508181036000830152613981818461337f565b905092915050565b600060208201905061399e60008301846133dd565b92915050565b600060208201905081810360008301526139be8184613425565b905092915050565b600060208201905081810360008301526139df8161350e565b9050919050565b600060208201905081810360008301526139ff81613531565b9050919050565b60006020820190508181036000830152613a1f81613554565b9050919050565b60006020820190508181036000830152613a3f81613577565b9050919050565b60006020820190508181036000830152613a5f8161359a565b9050919050565b60006020820190508181036000830152613a7f816135bd565b9050919050565b60006020820190508181036000830152613a9f816135e0565b9050919050565b60006020820190508181036000830152613abf81613603565b9050919050565b60006020820190508181036000830152613adf81613626565b9050919050565b60006020820190508181036000830152613aff81613649565b9050919050565b60006020820190508181036000830152613b1f8161366c565b9050919050565b60006020820190508181036000830152613b3f8161368f565b9050919050565b60006020820190508181036000830152613b5f816136b2565b9050919050565b60006020820190508181036000830152613b7f816136d5565b9050919050565b60006020820190508181036000830152613b9f816136f8565b9050919050565b60006020820190508181036000830152613bbf8161371b565b9050919050565b60006020820190508181036000830152613bdf8161373e565b9050919050565b60006020820190508181036000830152613bff81613761565b9050919050565b60006020820190508181036000830152613c1f81613784565b9050919050565b60006020820190508181036000830152613c3f816137a7565b9050919050565b60006020820190508181036000830152613c5f816137ed565b9050919050565b60006020820190508181036000830152613c7f81613810565b9050919050565b60006020820190508181036000830152613c9f81613833565b9050919050565b60006020820190508181036000830152613cbf81613856565b9050919050565b60006020820190508181036000830152613cdf81613879565b9050919050565b6000602082019050613cfb60008301846138ab565b92915050565b6000613d0b613d1c565b9050613d178282613fc7565b919050565b6000604051905090565b600067ffffffffffffffff821115613d4157613d406140ff565b5b613d4a8261412e565b9050602081019050919050565b600067ffffffffffffffff821115613d7257613d716140ff565b5b613d7b8261412e565b9050602081019050919050565b6000819050602082019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000613e2f82613f49565b9150613e3a83613f49565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613e6f57613e6e614072565b5b828201905092915050565b6000613e8582613f49565b9150613e9083613f49565b925082613ea057613e9f6140a1565b5b828204905092915050565b6000613eb682613f49565b9150613ec183613f49565b925082821015613ed457613ed3614072565b5b828203905092915050565b6000613eea82613f29565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015613f80578082015181840152602081019050613f65565b83811115613f8f576000848401525b50505050565b60006002820490506001821680613fad57607f821691505b60208210811415613fc157613fc06140d0565b5b50919050565b613fd08261412e565b810181811067ffffffffffffffff82111715613fef57613fee6140ff565b5b80604052505050565b600061400382613f49565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561403657614035614072565b5b600182019050919050565b600061404c82613f49565b915061405783613f49565b925082614067576140666140a1565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f4552433732314d657461646174613a204e6f6e6578697374656e7420746f6b6560008201527f6e00000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f536f727279000000000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f50726f76696465207175616e74697469657320616e6420726563697069656e7460008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f546f6f206d616e79000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f455243373231456e756d3a206f776e657220696f6f6200000000000000000000600082015250565b7f455243373231456e756d3a20676c6f62616c20696f6f62000000000000000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b50565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f4f66660000000000000000000000000000000000000000000000000000000000600082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b7f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656400000000000000000000000000000000602082015250565b7f4475680000000000000000000000000000000000000000000000000000000000600082015250565b61476081613edf565b811461476b57600080fd5b50565b61477781613ef1565b811461478257600080fd5b50565b61478e81613efd565b811461479957600080fd5b50565b6147a581613f49565b81146147b057600080fd5b5056fea2646970667358221220cbb3586b5385922de6da6705925a018c34df89b25d3bde0558d5568c4104cedc64736f6c63430008040033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000000134f626c6976696f7573204f73747269636865730000000000000000000000000000000000000000000000000000000000000000000000000000000000000000024f4f000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005768747470733a2f2f6f6479737365796c6162732e6d7970696e6174612e636c6f75642f697066732f516d636b78366d7a34725857566966746662435262714b316e6a527668564c5864774a3446385256394c733257782f000000000000000000
Deployed Bytecode
0x60806040526004361061020f5760003560e01c80636c0360eb11610118578063a22cb465116100a0578063d5abeb011161006f578063d5abeb011461077f578063d897833e146107aa578063da3ef23f146107d3578063e985e9c5146107fc578063f2fde38b146108395761020f565b8063a22cb465146106c5578063b88d4fde146106ee578063c668286214610717578063c87b56dd146107425761020f565b80638462151c116100e75780638462151c146105ed5780638da5cb5b1461062a57806395d89b411461065557806396ea3a4714610680578063a0712d68146106a95761020f565b80636c0360eb1461054357806370a082311461056e578063715018a6146105ab5780637501f741146105c25761020f565b806323b872dd1161019b57806342966c681161016a57806342966c681461044e57806344a0d68a146104775780634f6ccce7146104a057806355f804b3146104dd5780636352211e146105065761020f565b806323b872dd146103b55780632f745c59146103de5780633ccfd60b1461041b57806342842e0e146104255761020f565b8063095ea7b3116101e2578063095ea7b3146102e257806313faede61461030b57806318160ddd14610336578063200d2ed214610361578063228025e81461038c5761020f565b806301ffc9a71461021457806306fdde0314610251578063081812fc1461027c578063088a4ed0146102b9575b600080fd5b34801561022057600080fd5b5061023b6004803603810190610236919061329c565b610862565b6040516102489190613989565b60405180910390f35b34801561025d57600080fd5b506102666108dc565b60405161027391906139a4565b60405180910390f35b34801561028857600080fd5b506102a3600480360381019061029e919061332f565b61096e565b6040516102b09190613900565b60405180910390f35b3480156102c557600080fd5b506102e060048036038101906102db919061332f565b6109f3565b005b3480156102ee57600080fd5b50610309600480360381019061030491906131c2565b610a79565b005b34801561031757600080fd5b50610320610b91565b60405161032d9190613ce6565b60405180910390f35b34801561034257600080fd5b5061034b610b97565b6040516103589190613ce6565b60405180910390f35b34801561036d57600080fd5b50610376610ba4565b6040516103839190613989565b60405180910390f35b34801561039857600080fd5b506103b360048036038101906103ae919061332f565b610bb7565b005b3480156103c157600080fd5b506103dc60048036038101906103d791906130bc565b610c3d565b005b3480156103ea57600080fd5b50610405600480360381019061040091906131c2565b610c9d565b6040516104129190613ce6565b60405180910390f35b610423610e0c565b005b34801561043157600080fd5b5061044c600480360381019061044791906130bc565b610f01565b005b34801561045a57600080fd5b506104756004803603810190610470919061332f565b610f21565b005b34801561048357600080fd5b5061049e6004803603810190610499919061332f565b610f7d565b005b3480156104ac57600080fd5b506104c760048036038101906104c2919061332f565b611003565b6040516104d49190613ce6565b60405180910390f35b3480156104e957600080fd5b5061050460048036038101906104ff91906132ee565b611056565b005b34801561051257600080fd5b5061052d6004803603810190610528919061332f565b6110ec565b60405161053a9190613900565b60405180910390f35b34801561054f57600080fd5b506105586111cf565b60405161056591906139a4565b60405180910390f35b34801561057a57600080fd5b5061059560048036038101906105909190613057565b61125d565b6040516105a29190613ce6565b60405180910390f35b3480156105b757600080fd5b506105c06113a9565b005b3480156105ce57600080fd5b506105d7611431565b6040516105e49190613ce6565b60405180910390f35b3480156105f957600080fd5b50610614600480360381019061060f9190613057565b611437565b6040516106219190613967565b60405180910390f35b34801561063657600080fd5b5061063f61157c565b60405161064c9190613900565b60405180910390f35b34801561066157600080fd5b5061066a6115a6565b60405161067791906139a4565b60405180910390f35b34801561068c57600080fd5b506106a760048036038101906106a291906131fe565b611638565b005b6106c360048036038101906106be919061332f565b6118c5565b005b3480156106d157600080fd5b506106ec60048036038101906106e79190613186565b611a98565b005b3480156106fa57600080fd5b506107156004803603810190610710919061310b565b611c19565b005b34801561072357600080fd5b5061072c611c7b565b60405161073991906139a4565b60405180910390f35b34801561074e57600080fd5b506107696004803603810190610764919061332f565b611d09565b60405161077691906139a4565b60405180910390f35b34801561078b57600080fd5b50610794611db3565b6040516107a19190613ce6565b60405180910390f35b3480156107b657600080fd5b506107d160048036038101906107cc9190613273565b611db9565b005b3480156107df57600080fd5b506107fa60048036038101906107f591906132ee565b611e52565b005b34801561080857600080fd5b50610823600480360381019061081e9190613080565b611ee8565b6040516108309190613989565b60405180910390f35b34801561084557600080fd5b50610860600480360381019061085b9190613057565b611f7c565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806108d557506108d482612074565b5b9050919050565b6060600080546108eb90613f95565b80601f016020809104026020016040519081016040528092919081815260200182805461091790613f95565b80156109645780601f1061093957610100808354040283529160200191610964565b820191906000526020600020905b81548152906001019060200180831161094757829003601f168201915b5050505050905090565b600061097982612156565b6109b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109af90613b66565b60405180910390fd5b6003600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6109fb612204565b73ffffffffffffffffffffffffffffffffffffffff16610a1961157c565b73ffffffffffffffffffffffffffffffffffffffff1614610a6f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a6690613ba6565b60405180910390fd5b80600b8190555050565b6000610a84826110ec565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610af5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aec90613c26565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610b14612204565b73ffffffffffffffffffffffffffffffffffffffff161480610b435750610b4281610b3d612204565b611ee8565b5b610b82576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b7990613ae6565b60405180910390fd5b610b8c838361220c565b505050565b60095481565b6000600280549050905090565b600c60009054906101000a900460ff1681565b610bbf612204565b73ffffffffffffffffffffffffffffffffffffffff16610bdd61157c565b73ffffffffffffffffffffffffffffffffffffffff1614610c33576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c2a90613ba6565b60405180910390fd5b80600a8190555050565b610c4e610c48612204565b826122c5565b610c8d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c8490613c46565b60405180910390fd5b610c988383836123a3565b505050565b6000610ca88361125d565b8210610ce9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ce090613be6565b60405180910390fd5b6000805b600280549050811015610dc25760028181548110610d34577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415610db15783821415610da4578092505050610e06565b81610dae90613ff8565b91505b80610dbb90613ff8565b9050610ced565b506000610e04576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dfb90613be6565b60405180910390fd5b505b92915050565b610e14612204565b73ffffffffffffffffffffffffffffffffffffffff16610e3261157c565b73ffffffffffffffffffffffffffffffffffffffff1614610e88576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e7f90613ba6565b60405180910390fd5b60003373ffffffffffffffffffffffffffffffffffffffff1647604051610eae906138eb565b60006040518083038185875af1925050503d8060008114610eeb576040519150601f19603f3d011682016040523d82523d6000602084013e610ef0565b606091505b5050905080610efe57600080fd5b50565b610f1c83838360405180602001604052806000815250611c19565b505050565b610f32610f2c612204565b826122c5565b610f71576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f6890613ca6565b60405180910390fd5b610f7a81612582565b50565b610f85612204565b73ffffffffffffffffffffffffffffffffffffffff16610fa361157c565b73ffffffffffffffffffffffffffffffffffffffff1614610ff9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ff090613ba6565b60405180910390fd5b8060098190555050565b600061100d610b97565b821061104e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161104590613c06565b60405180910390fd5b819050919050565b61105e612204565b73ffffffffffffffffffffffffffffffffffffffff1661107c61157c565b73ffffffffffffffffffffffffffffffffffffffff16146110d2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110c990613ba6565b60405180910390fd5b80600790805190602001906110e8929190612de7565b5050565b60008060028381548110611129577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156111c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111bd90613b26565b60405180910390fd5b80915050919050565b600780546111dc90613f95565b80601f016020809104026020016040519081016040528092919081815260200182805461120890613f95565b80156112555780601f1061122a57610100808354040283529160200191611255565b820191906000526020600020905b81548152906001019060200180831161123857829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156112ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112c590613b06565b60405180910390fd5b600080600280549050905060005b8181101561139a576002818154811061131e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415611389578261138690613ff8565b92505b8061139390613ff8565b90506112dc565b50600090508192505050919050565b6113b1612204565b73ffffffffffffffffffffffffffffffffffffffff166113cf61157c565b73ffffffffffffffffffffffffffffffffffffffff1614611425576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161141c90613ba6565b60405180910390fd5b61142f600061268a565b565b600b5481565b60606114428261125d565b600010611484576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161147b90613be6565b60405180910390fd5b600061148f8361125d565b905060008167ffffffffffffffff8111156114d3577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280602002602001820160405280156115015781602001602082028036833780820191505090505b50905060005b82811015611571576115198582610c9d565b828281518110611552577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001018181525050808061156990613ff8565b915050611507565b508092505050919050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600180546115b590613f95565b80601f01602080910402602001604051908101604052809291908181526020018280546115e190613f95565b801561162e5780601f106116035761010080835404028352916020019161162e565b820191906000526020600020905b81548152906001019060200180831161161157829003601f168201915b5050505050905090565b611640612204565b73ffffffffffffffffffffffffffffffffffffffff1661165e61157c565b73ffffffffffffffffffffffffffffffffffffffff16146116b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116ab90613ba6565b60405180910390fd5b8181905084849050146116fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116f390613ac6565b60405180910390fd5b600080611707610b97565b905060005b8686905081101561177557868682818110611750577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020135836117629190613e24565b92508061176e90613ff8565b905061170c565b50600a5482826117859190613e24565b11156117c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117bd90613b86565b60405180910390fd5b6000915060005b848490508110156118b85760005b878783818110611814577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b905060200201358110156118a65761189586868481811061185e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020160208101906118739190613057565b848061187e90613ff8565b955060405180602001604052806000815250612750565b8061189f90613ff8565b90506117db565b50806118b190613ff8565b90506117cd565b5060009050505050505050565b6002600654141561190b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161190290613c86565b60405180910390fd5b6002600681905550600061191d610b97565b9050600c60009054906101000a900460ff1661196e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161196590613c66565b60405180910390fd5b600082116119b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119a890613cc6565b60405180910390fd5b600b548211156119f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119ed90613b86565b60405180910390fd5b600a548282611a059190613e24565b1115611a46576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a3d90613a06565b60405180910390fd5b60005b82811015611a8757611a76338284611a619190613e24565b60405180602001604052806000815250612750565b80611a8090613ff8565b9050611a49565b506000905050600160068190555050565b611aa0612204565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611b0e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b0590613a86565b60405180910390fd5b8060046000611b1b612204565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611bc8612204565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611c0d9190613989565b60405180910390a35050565b611c2a611c24612204565b836122c5565b611c69576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c6090613c46565b60405180910390fd5b611c75848484846127ab565b50505050565b60088054611c8890613f95565b80601f0160208091040260200160405190810160405280929190818152602001828054611cb490613f95565b8015611d015780601f10611cd657610100808354040283529160200191611d01565b820191906000526020600020905b815481529060010190602001808311611ce457829003601f168201915b505050505081565b6060611d1482612156565b611d53576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d4a906139c6565b60405180910390fd5b6000611d5d612807565b90506000815111611d7d5760405180602001604052806000815250611dab565b80611d8784612899565b6008604051602001611d9b939291906138ba565b6040516020818303038152906040525b915050919050565b600a5481565b611dc1612204565b73ffffffffffffffffffffffffffffffffffffffff16611ddf61157c565b73ffffffffffffffffffffffffffffffffffffffff1614611e35576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e2c90613ba6565b60405180910390fd5b80600c60006101000a81548160ff02191690831515021790555050565b611e5a612204565b73ffffffffffffffffffffffffffffffffffffffff16611e7861157c565b73ffffffffffffffffffffffffffffffffffffffff1614611ece576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ec590613ba6565b60405180910390fd5b8060089080519060200190611ee4929190612de7565b5050565b6000600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611f84612204565b73ffffffffffffffffffffffffffffffffffffffff16611fa261157c565b73ffffffffffffffffffffffffffffffffffffffff1614611ff8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fef90613ba6565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612068576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161205f90613a26565b60405180910390fd5b6120718161268a565b50565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061213f57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061214f575061214e82612a46565b5b9050919050565b6000600280549050821080156121fd5750600073ffffffffffffffffffffffffffffffffffffffff16600283815481106121b9577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614155b9050919050565b600033905090565b816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661227f836110ec565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006122d082612156565b61230f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161230690613aa6565b60405180910390fd5b600061231a836110ec565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061238957508373ffffffffffffffffffffffffffffffffffffffff166123718461096e565b73ffffffffffffffffffffffffffffffffffffffff16145b8061239a57506123998185611ee8565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166123c3826110ec565b73ffffffffffffffffffffffffffffffffffffffff1614612419576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161241090613bc6565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612489576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161248090613a66565b60405180910390fd5b612494838383612ab0565b61249f60008261220c565b81600282815481106124da577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600061258d826110ec565b905061259b81600084612ab0565b6125a660008361220c565b6000600283815481106125e2577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b61275a8383612ab5565b6127676000848484612c3d565b6127a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161279d906139e6565b60405180910390fd5b505050565b6127b68484846123a3565b6127c284848484612c3d565b612801576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127f8906139e6565b60405180910390fd5b50505050565b60606007805461281690613f95565b80601f016020809104026020016040519081016040528092919081815260200182805461284290613f95565b801561288f5780601f106128645761010080835404028352916020019161288f565b820191906000526020600020905b81548152906001019060200180831161287257829003601f168201915b5050505050905090565b606060008214156128e1576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612a41565b600082905060005b600082146129135780806128fc90613ff8565b915050600a8261290c9190613e7a565b91506128e9565b60008167ffffffffffffffff811115612955577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156129875781602001600182028036833780820191505090505b5090505b60008514612a3a576001826129a09190613eab565b9150600a856129af9190614041565b60306129bb9190613e24565b60f81b8183815181106129f7577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612a339190613e7a565b945061298b565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612b25576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b1c90613b46565b60405180910390fd5b612b2e81612156565b15612b6e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b6590613a46565b60405180910390fd5b612b7a60008383612ab0565b6002829080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6000612c5e8473ffffffffffffffffffffffffffffffffffffffff16612dd4565b15612dc7578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612c87612204565b8786866040518563ffffffff1660e01b8152600401612ca9949392919061391b565b602060405180830381600087803b158015612cc357600080fd5b505af1925050508015612cf457506040513d601f19601f82011682018060405250810190612cf191906132c5565b60015b612d77573d8060008114612d24576040519150601f19603f3d011682016040523d82523d6000602084013e612d29565b606091505b50600081511415612d6f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d66906139e6565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612dcc565b600190505b949350505050565b600080823b905060008111915050919050565b828054612df390613f95565b90600052602060002090601f016020900481019282612e155760008555612e5c565b82601f10612e2e57805160ff1916838001178555612e5c565b82800160010185558215612e5c579182015b82811115612e5b578251825591602001919060010190612e40565b5b509050612e699190612e6d565b5090565b5b80821115612e86576000816000905550600101612e6e565b5090565b6000612e9d612e9884613d26565b613d01565b905082815260208101848484011115612eb557600080fd5b612ec0848285613f53565b509392505050565b6000612edb612ed684613d57565b613d01565b905082815260208101848484011115612ef357600080fd5b612efe848285613f53565b509392505050565b600081359050612f1581614757565b92915050565b60008083601f840112612f2d57600080fd5b8235905067ffffffffffffffff811115612f4657600080fd5b602083019150836020820283011115612f5e57600080fd5b9250929050565b60008083601f840112612f7757600080fd5b8235905067ffffffffffffffff811115612f9057600080fd5b602083019150836020820283011115612fa857600080fd5b9250929050565b600081359050612fbe8161476e565b92915050565b600081359050612fd381614785565b92915050565b600081519050612fe881614785565b92915050565b600082601f830112612fff57600080fd5b813561300f848260208601612e8a565b91505092915050565b600082601f83011261302957600080fd5b8135613039848260208601612ec8565b91505092915050565b6000813590506130518161479c565b92915050565b60006020828403121561306957600080fd5b600061307784828501612f06565b91505092915050565b6000806040838503121561309357600080fd5b60006130a185828601612f06565b92505060206130b285828601612f06565b9150509250929050565b6000806000606084860312156130d157600080fd5b60006130df86828701612f06565b93505060206130f086828701612f06565b925050604061310186828701613042565b9150509250925092565b6000806000806080858703121561312157600080fd5b600061312f87828801612f06565b945050602061314087828801612f06565b935050604061315187828801613042565b925050606085013567ffffffffffffffff81111561316e57600080fd5b61317a87828801612fee565b91505092959194509250565b6000806040838503121561319957600080fd5b60006131a785828601612f06565b92505060206131b885828601612faf565b9150509250929050565b600080604083850312156131d557600080fd5b60006131e385828601612f06565b92505060206131f485828601613042565b9150509250929050565b6000806000806040858703121561321457600080fd5b600085013567ffffffffffffffff81111561322e57600080fd5b61323a87828801612f65565b9450945050602085013567ffffffffffffffff81111561325957600080fd5b61326587828801612f1b565b925092505092959194509250565b60006020828403121561328557600080fd5b600061329384828501612faf565b91505092915050565b6000602082840312156132ae57600080fd5b60006132bc84828501612fc4565b91505092915050565b6000602082840312156132d757600080fd5b60006132e584828501612fd9565b91505092915050565b60006020828403121561330057600080fd5b600082013567ffffffffffffffff81111561331a57600080fd5b61332684828501613018565b91505092915050565b60006020828403121561334157600080fd5b600061334f84828501613042565b91505092915050565b6000613364838361389c565b60208301905092915050565b61337981613edf565b82525050565b600061338a82613dad565b6133948185613ddb565b935061339f83613d88565b8060005b838110156133d05781516133b78882613358565b97506133c283613dce565b9250506001810190506133a3565b5085935050505092915050565b6133e681613ef1565b82525050565b60006133f782613db8565b6134018185613dec565b9350613411818560208601613f62565b61341a8161412e565b840191505092915050565b600061343082613dc3565b61343a8185613e08565b935061344a818560208601613f62565b6134538161412e565b840191505092915050565b600061346982613dc3565b6134738185613e19565b9350613483818560208601613f62565b80840191505092915050565b6000815461349c81613f95565b6134a68186613e19565b945060018216600081146134c157600181146134d257613505565b60ff19831686528186019350613505565b6134db85613d98565b60005b838110156134fd578154818901526001820191506020810190506134de565b838801955050505b50505092915050565b600061351b602183613e08565b91506135268261413f565b604082019050919050565b600061353e603283613e08565b91506135498261418e565b604082019050919050565b6000613561600583613e08565b915061356c826141dd565b602082019050919050565b6000613584602683613e08565b915061358f82614206565b604082019050919050565b60006135a7601c83613e08565b91506135b282614255565b602082019050919050565b60006135ca602483613e08565b91506135d58261427e565b604082019050919050565b60006135ed601983613e08565b91506135f8826142cd565b602082019050919050565b6000613610602c83613e08565b915061361b826142f6565b604082019050919050565b6000613633602183613e08565b915061363e82614345565b604082019050919050565b6000613656603883613e08565b915061366182614394565b604082019050919050565b6000613679602a83613e08565b9150613684826143e3565b604082019050919050565b600061369c602983613e08565b91506136a782614432565b604082019050919050565b60006136bf602083613e08565b91506136ca82614481565b602082019050919050565b60006136e2602c83613e08565b91506136ed826144aa565b604082019050919050565b6000613705600883613e08565b9150613710826144f9565b602082019050919050565b6000613728602083613e08565b915061373382614522565b602082019050919050565b600061374b602983613e08565b91506137568261454b565b604082019050919050565b600061376e601683613e08565b91506137798261459a565b602082019050919050565b6000613791601783613e08565b915061379c826145c3565b602082019050919050565b60006137b4602183613e08565b91506137bf826145ec565b604082019050919050565b60006137d7600083613dfd565b91506137e28261463b565b600082019050919050565b60006137fa603183613e08565b91506138058261463e565b604082019050919050565b600061381d600383613e08565b91506138288261468d565b602082019050919050565b6000613840601f83613e08565b915061384b826146b6565b602082019050919050565b6000613863603083613e08565b915061386e826146df565b604082019050919050565b6000613886600383613e08565b91506138918261472e565b602082019050919050565b6138a581613f49565b82525050565b6138b481613f49565b82525050565b60006138c6828661345e565b91506138d2828561345e565b91506138de828461348f565b9150819050949350505050565b60006138f6826137ca565b9150819050919050565b60006020820190506139156000830184613370565b92915050565b60006080820190506139306000830187613370565b61393d6020830186613370565b61394a60408301856138ab565b818103606083015261395c81846133ec565b905095945050505050565b60006020820190508181036000830152613981818461337f565b905092915050565b600060208201905061399e60008301846133dd565b92915050565b600060208201905081810360008301526139be8184613425565b905092915050565b600060208201905081810360008301526139df8161350e565b9050919050565b600060208201905081810360008301526139ff81613531565b9050919050565b60006020820190508181036000830152613a1f81613554565b9050919050565b60006020820190508181036000830152613a3f81613577565b9050919050565b60006020820190508181036000830152613a5f8161359a565b9050919050565b60006020820190508181036000830152613a7f816135bd565b9050919050565b60006020820190508181036000830152613a9f816135e0565b9050919050565b60006020820190508181036000830152613abf81613603565b9050919050565b60006020820190508181036000830152613adf81613626565b9050919050565b60006020820190508181036000830152613aff81613649565b9050919050565b60006020820190508181036000830152613b1f8161366c565b9050919050565b60006020820190508181036000830152613b3f8161368f565b9050919050565b60006020820190508181036000830152613b5f816136b2565b9050919050565b60006020820190508181036000830152613b7f816136d5565b9050919050565b60006020820190508181036000830152613b9f816136f8565b9050919050565b60006020820190508181036000830152613bbf8161371b565b9050919050565b60006020820190508181036000830152613bdf8161373e565b9050919050565b60006020820190508181036000830152613bff81613761565b9050919050565b60006020820190508181036000830152613c1f81613784565b9050919050565b60006020820190508181036000830152613c3f816137a7565b9050919050565b60006020820190508181036000830152613c5f816137ed565b9050919050565b60006020820190508181036000830152613c7f81613810565b9050919050565b60006020820190508181036000830152613c9f81613833565b9050919050565b60006020820190508181036000830152613cbf81613856565b9050919050565b60006020820190508181036000830152613cdf81613879565b9050919050565b6000602082019050613cfb60008301846138ab565b92915050565b6000613d0b613d1c565b9050613d178282613fc7565b919050565b6000604051905090565b600067ffffffffffffffff821115613d4157613d406140ff565b5b613d4a8261412e565b9050602081019050919050565b600067ffffffffffffffff821115613d7257613d716140ff565b5b613d7b8261412e565b9050602081019050919050565b6000819050602082019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000613e2f82613f49565b9150613e3a83613f49565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613e6f57613e6e614072565b5b828201905092915050565b6000613e8582613f49565b9150613e9083613f49565b925082613ea057613e9f6140a1565b5b828204905092915050565b6000613eb682613f49565b9150613ec183613f49565b925082821015613ed457613ed3614072565b5b828203905092915050565b6000613eea82613f29565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015613f80578082015181840152602081019050613f65565b83811115613f8f576000848401525b50505050565b60006002820490506001821680613fad57607f821691505b60208210811415613fc157613fc06140d0565b5b50919050565b613fd08261412e565b810181811067ffffffffffffffff82111715613fef57613fee6140ff565b5b80604052505050565b600061400382613f49565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561403657614035614072565b5b600182019050919050565b600061404c82613f49565b915061405783613f49565b925082614067576140666140a1565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f4552433732314d657461646174613a204e6f6e6578697374656e7420746f6b6560008201527f6e00000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f536f727279000000000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f50726f76696465207175616e74697469657320616e6420726563697069656e7460008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f546f6f206d616e79000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f455243373231456e756d3a206f776e657220696f6f6200000000000000000000600082015250565b7f455243373231456e756d3a20676c6f62616c20696f6f62000000000000000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b50565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f4f66660000000000000000000000000000000000000000000000000000000000600082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b7f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656400000000000000000000000000000000602082015250565b7f4475680000000000000000000000000000000000000000000000000000000000600082015250565b61476081613edf565b811461476b57600080fd5b50565b61477781613ef1565b811461478257600080fd5b50565b61478e81613efd565b811461479957600080fd5b50565b6147a581613f49565b81146147b057600080fd5b5056fea2646970667358221220cbb3586b5385922de6da6705925a018c34df89b25d3bde0558d5568c4104cedc64736f6c63430008040033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000000134f626c6976696f7573204f73747269636865730000000000000000000000000000000000000000000000000000000000000000000000000000000000000000024f4f000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005768747470733a2f2f6f6479737365796c6162732e6d7970696e6174612e636c6f75642f697066732f516d636b78366d7a34725857566966746662435262714b316e6a527668564c5864774a3446385256394c733257782f000000000000000000
-----Decoded View---------------
Arg [0] : _name (string): Oblivious Ostriches
Arg [1] : _symbol (string): OO
Arg [2] : _initBaseURI (string): https://odysseylabs.mypinata.cloud/ipfs/Qmckx6mz4rXWViftfbCRbqK1njRvhVLXdwJ4F8RV9Ls2Wx/
-----Encoded View---------------
11 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000013
Arg [4] : 4f626c6976696f7573204f737472696368657300000000000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [6] : 4f4f000000000000000000000000000000000000000000000000000000000000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000057
Arg [8] : 68747470733a2f2f6f6479737365796c6162732e6d7970696e6174612e636c6f
Arg [9] : 75642f697066732f516d636b78366d7a34725857566966746662435262714b31
Arg [10] : 6e6a527668564c5864774a3446385256394c733257782f000000000000000000
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.