Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
5,000 RAVERSGG
Holders
1,511
Total Transfers
-
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
RAVERSGG
Compiler Version
v0.8.4+commit.c7e474f2
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/Context.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; contract RAVERSGG is Context, ERC721Enumerable, Ownable, ReentrancyGuard { using SafeMath for uint256; uint256 public MAX_PURCHASE = 10; uint256 public constant MAX_TOKENS = 5000; mapping(address => uint256) public minted; address public WHITELIST_SIGNER; bool public saleIsActive = false; string private _baseTokenURI; uint256 private _nftPrice; uint256 private _pendingWithdrawals; constructor() ERC721("RandomRaversGG", "RAVERSGG") { _nftPrice = 20000 * 10 ** 12; } /* function to change the max quantity to mint in one transaction */ function changeMaxPurchase(uint256 max) public onlyOwner { MAX_PURCHASE = max; } function setWhiteListSigner(address signer) public onlyOwner { WHITELIST_SIGNER = signer; } function toggleSale() public onlyOwner { saleIsActive = !saleIsActive; } function reserve(uint256 numberOfTokens) public onlyOwner { uint256 mintable = MAX_TOKENS.sub(totalSupply()); require( saleIsActive == false, "Impossible reserve when sale is active" ); if (numberOfTokens > mintable) { numberOfTokens = mintable; } uint256 supply = totalSupply(); for (uint256 i = 0; i < numberOfTokens; i++) { _safeMint(_msgSender(), supply + i); } } function preMint( uint256 numberOfTokens, uint256 max, bytes memory signature ) public payable nonReentrant { require( saleIsActive == false, "Impossible Pre-Mint when sale is active" ); require(msg.value >= _nftPrice * numberOfTokens , "The value is incorrect"); uint256 mintable = MAX_TOKENS.sub(totalSupply()); require(mintable != 0, "Sold out"); if (numberOfTokens > mintable) { numberOfTokens = mintable; } bytes32 hash; require( WHITELIST_SIGNER != address(0), "Pre-Mint is not available yet" ); require( numberOfTokens <= MAX_PURCHASE, "Exceed the number of tokens able to mint" ); hash = keccak256(abi.encodePacked(_msgSender(), max)); require( recover(hash, signature) == WHITELIST_SIGNER, "Invalid Signature" ); require( minted[_msgSender()].add(numberOfTokens) <= max, "Max mint reached" ); minted[_msgSender()] = minted[_msgSender()].add(numberOfTokens); uint256 supply = totalSupply(); _pendingWithdrawals += msg.value; for (uint256 i = 0; i < numberOfTokens; i++) { _safeMint(_msgSender(), supply + i); } } // PLEASE SEND THIS IN SZABOS function setPrice(uint256 price) public onlyOwner { _nftPrice = price * 10**12; } function getPrice() public view returns (uint256 price) { return _nftPrice; } function mint(uint256 numberOfTokens) public payable nonReentrant { require(numberOfTokens > 0, "Number of tokens must be greater than 0"); require(saleIsActive, "Sale must be active to mint"); uint256 mintable = MAX_TOKENS.sub(totalSupply()); require(mintable != 0, "Sold out"); if (numberOfTokens > mintable) { numberOfTokens = mintable; } if (minted[_msgSender()].add(numberOfTokens) > MAX_PURCHASE) { numberOfTokens = MAX_PURCHASE.sub(minted[_msgSender()]); } require(numberOfTokens != 0, "Max Purchase Reached"); require(msg.value >= _nftPrice * numberOfTokens , "The value is incorrect"); for (uint256 i = 0; i < numberOfTokens; i++) { _safeMint(_msgSender(), totalSupply()); } minted[_msgSender()] = minted[_msgSender()].add(numberOfTokens); _pendingWithdrawals += msg.value; } function setBaseURI(string memory baseUri) public onlyOwner returns (string memory) { _baseTokenURI = baseUri; return baseUri; } function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require( _exists(tokenId), "ERC721Metadata: URI query for nonexistent token" ); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string( abi.encodePacked( baseURI, Strings.toString(tokenId) ) ) : ""; } function _baseURI() internal view virtual override returns (string memory) { return _baseTokenURI; } function recover(bytes32 _hash, bytes memory _signed) internal pure returns (address) { bytes32 r; bytes32 s; uint8 v; assembly { r := mload(add(_signed, 32)) s := mload(add(_signed, 64)) v := and(mload(add(_signed, 65)), 255) } return ecrecover(_hash, v, r, s); } function availableToWithdraw() public view returns (uint256) { return _pendingWithdrawals; } function withdraw() public onlyOwner nonReentrant { // IMPORTANT: casting msg.sender to a payable address is only safe if ALL members of the minter role are payable addresses. address payable receiver = payable(msg.sender); uint256 amount = _pendingWithdrawals; // zero account before transfer to prevent re-entrancy attack _pendingWithdrawals = 0; receiver.transfer(amount); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Enumerable.sol) pragma solidity ^0.8.0; import "../ERC721.sol"; import "./IERC721Enumerable.sol"; /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from owner to list of owned token IDs mapping(address => mapping(uint256 => uint256)) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); return _ownedTokens[owner][index]; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _allTokens.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds"); return _allTokens[index]; } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` cannot be the zero address. * - `to` cannot be the zero address. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual override { super._beforeTokenTransfer(from, to, tokenId); if (from == address(0)) { _addTokenToAllTokensEnumeration(tokenId); } else if (from != to) { _removeTokenFromOwnerEnumeration(from, tokenId); } if (to == address(0)) { _removeTokenFromAllTokensEnumeration(tokenId); } else if (to != from) { _addTokenToOwnerEnumeration(to, tokenId); } } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { uint256 length = ERC721.balanceOf(to); _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; } /** * @dev Private function to add a token to this extension's token tracking data structures. * @param tokenId uint256 ID of the token to be added to the tokens list */ function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for * gas optimizations e.g. when performing a transfer operation (avoiding double writes). * This has O(1) time complexity, but alters the order of the _ownedTokens array. * @param from address representing the previous owner of the given token ID * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = ERC721.balanceOf(from) - 1; uint256 tokenIndex = _ownedTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } // This also deletes the contents at the last position of the array delete _ownedTokensIndex[tokenId]; delete _ownedTokens[from][lastTokenIndex]; } /** * @dev Private function to remove a token from this extension's token tracking data structures. * This has O(1) time complexity, but alters the order of the _allTokens array. * @param tokenId uint256 ID of the token to be removed from the tokens list */ function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _allTokens.length - 1; uint256 tokenIndex = _allTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding // an 'if' statement (like in _removeTokenFromOwnerEnumeration) uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index // This also deletes the contents at the last position of the array delete _allTokensIndex[tokenId]; _allTokens.pop(); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (utils/math/SafeMath.sol) pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the subtraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (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: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); _afterTokenTransfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); _afterTokenTransfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); _afterTokenTransfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits a {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must 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 Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_PURCHASE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_TOKENS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WHITELIST_SIGNER","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"availableToWithdraw","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"max","type":"uint256"}],"name":"changeMaxPurchase","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPrice","outputs":[{"internalType":"uint256","name":"price","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"minted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"},{"internalType":"uint256","name":"max","type":"uint256"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"preMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"reserve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"saleIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseUri","type":"string"}],"name":"setBaseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"price","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"signer","type":"address"}],"name":"setWhiteListSigner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"toggleSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6080604052600a600c556000600e60146101000a81548160ff0219169083151502179055503480156200003157600080fd5b506040518060400160405280600e81526020017f52616e646f6d52617665727347470000000000000000000000000000000000008152506040518060400160405280600881526020017f52415645525347470000000000000000000000000000000000000000000000008152508160009080519060200190620000b6929190620001dc565b508060019080519060200190620000cf929190620001dc565b505050620000f2620000e66200010e60201b60201c565b6200011660201b60201c565b6001600b8190555066470de4df820000601081905550620002f1565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620001ea906200028c565b90600052602060002090601f0160209004810192826200020e57600085556200025a565b82601f106200022957805160ff19168380011785556200025a565b828001600101855582156200025a579182015b82811115620002595782518255916020019190600101906200023c565b5b5090506200026991906200026d565b5090565b5b80821115620002885760008160009055506001016200026e565b5090565b60006002820490506001821680620002a557607f821691505b60208210811415620002bc57620002bb620002c2565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b614fc080620003016000396000f3fe6080604052600436106102045760003560e01c8063715018a611610118578063a0712d68116100a0578063e322ad2b1161006f578063e322ad2b14610749578063e985e9c514610774578063eb8d2444146107b1578063f2fde38b146107dc578063f47c84c51461080557610204565b8063a0712d681461069e578063a22cb465146106ba578063b88d4fde146106e3578063c87b56dd1461070c57610204565b806384bdb6e0116100e757806384bdb6e0146105cb5780638da5cb5b146105f457806391b7f5ed1461061f57806395d89b411461064857806398d5fdca1461067357610204565b8063715018a61461054b5780637d8966e4146105625780637f6567f714610579578063819b25ba146105a257610204565b80633ccfd60b1161019b57806355f804b31161016a57806355f804b31461044d578063622973ca1461048a5780636352211e146104a657806370a08231146104e35780637146bd081461052057610204565b80633ccfd60b146103a5578063417b9483146103bc57806342842e0e146103e75780634f6ccce71461041057610204565b806318160ddd116101d757806318160ddd146102d75780631e7269c51461030257806323b872dd1461033f5780632f745c591461036857610204565b806301ffc9a71461020957806306fdde0314610246578063081812fc14610271578063095ea7b3146102ae575b600080fd5b34801561021557600080fd5b50610230600480360381019061022b91906137b6565b610830565b60405161023d9190613ec6565b60405180910390f35b34801561025257600080fd5b5061025b6108aa565b6040516102689190613f26565b60405180910390f35b34801561027d57600080fd5b5061029860048036038101906102939190613849565b61093c565b6040516102a59190613e5f565b60405180910390f35b3480156102ba57600080fd5b506102d560048036038101906102d0919061377a565b6109c1565b005b3480156102e357600080fd5b506102ec610ad9565b6040516102f99190614308565b60405180910390f35b34801561030e57600080fd5b506103296004803603810190610324919061360f565b610ae6565b6040516103369190614308565b60405180910390f35b34801561034b57600080fd5b5061036660048036038101906103619190613674565b610afe565b005b34801561037457600080fd5b5061038f600480360381019061038a919061377a565b610b5e565b60405161039c9190614308565b60405180910390f35b3480156103b157600080fd5b506103ba610c03565b005b3480156103c857600080fd5b506103d1610d34565b6040516103de9190613e5f565b60405180910390f35b3480156103f357600080fd5b5061040e60048036038101906104099190613674565b610d5a565b005b34801561041c57600080fd5b5061043760048036038101906104329190613849565b610d7a565b6040516104449190614308565b60405180910390f35b34801561045957600080fd5b50610474600480360381019061046f9190613808565b610e11565b6040516104819190613f26565b60405180910390f35b6104a4600480360381019061049f9190613872565b610eae565b005b3480156104b257600080fd5b506104cd60048036038101906104c89190613849565b611363565b6040516104da9190613e5f565b60405180910390f35b3480156104ef57600080fd5b5061050a6004803603810190610505919061360f565b611415565b6040516105179190614308565b60405180910390f35b34801561052c57600080fd5b506105356114cd565b6040516105429190614308565b60405180910390f35b34801561055757600080fd5b506105606114d3565b005b34801561056e57600080fd5b5061057761155b565b005b34801561058557600080fd5b506105a0600480360381019061059b9190613849565b611603565b005b3480156105ae57600080fd5b506105c960048036038101906105c49190613849565b611689565b005b3480156105d757600080fd5b506105f260048036038101906105ed919061360f565b6117d3565b005b34801561060057600080fd5b50610609611893565b6040516106169190613e5f565b60405180910390f35b34801561062b57600080fd5b5061064660048036038101906106419190613849565b6118bd565b005b34801561065457600080fd5b5061065d611953565b60405161066a9190613f26565b60405180910390f35b34801561067f57600080fd5b506106886119e5565b6040516106959190614308565b60405180910390f35b6106b860048036038101906106b39190613849565b6119ef565b005b3480156106c657600080fd5b506106e160048036038101906106dc919061373e565b611d92565b005b3480156106ef57600080fd5b5061070a600480360381019061070591906136c3565b611da8565b005b34801561071857600080fd5b50610733600480360381019061072e9190613849565b611e0a565b6040516107409190613f26565b60405180910390f35b34801561075557600080fd5b5061075e611eb1565b60405161076b9190614308565b60405180910390f35b34801561078057600080fd5b5061079b60048036038101906107969190613638565b611ebb565b6040516107a89190613ec6565b60405180910390f35b3480156107bd57600080fd5b506107c6611f4f565b6040516107d39190613ec6565b60405180910390f35b3480156107e857600080fd5b5061080360048036038101906107fe919061360f565b611f62565b005b34801561081157600080fd5b5061081a61205a565b6040516108279190614308565b60405180910390f35b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806108a357506108a282612060565b5b9050919050565b6060600080546108b9906145cf565b80601f01602080910402602001604051908101604052809291908181526020018280546108e5906145cf565b80156109325780601f1061090757610100808354040283529160200191610932565b820191906000526020600020905b81548152906001019060200180831161091557829003601f168201915b5050505050905090565b600061094782612142565b610986576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161097d906140e8565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006109cc82611363565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610a3d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a34906141a8565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610a5c6121ae565b73ffffffffffffffffffffffffffffffffffffffff161480610a8b5750610a8a81610a856121ae565b611ebb565b5b610aca576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ac190614068565b60405180910390fd5b610ad483836121b6565b505050565b6000600880549050905090565b600d6020528060005260406000206000915090505481565b610b0f610b096121ae565b8261226f565b610b4e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b4590614228565b60405180910390fd5b610b5983838361234d565b505050565b6000610b6983611415565b8210610baa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ba190613f48565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610c0b6121ae565b73ffffffffffffffffffffffffffffffffffffffff16610c29611893565b73ffffffffffffffffffffffffffffffffffffffff1614610c7f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c7690614168565b60405180910390fd5b6002600b541415610cc5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cbc906142a8565b60405180910390fd5b6002600b8190555060003390506000601154905060006011819055508173ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610d27573d6000803e3d6000fd5b5050506001600b81905550565b600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610d7583838360405180602001604052806000815250611da8565b505050565b6000610d84610ad9565b8210610dc5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dbc90614268565b60405180910390fd5b60088281548110610dff577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b6060610e1b6121ae565b73ffffffffffffffffffffffffffffffffffffffff16610e39611893565b73ffffffffffffffffffffffffffffffffffffffff1614610e8f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e8690614168565b60405180910390fd5b81600f9080519060200190610ea5929190613433565b50819050919050565b6002600b541415610ef4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eeb906142a8565b60405180910390fd5b6002600b8190555060001515600e60149054906101000a900460ff16151514610f52576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f49906142c8565b60405180910390fd5b82601054610f609190614474565b341015610fa2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f99906142e8565b60405180910390fd5b6000610fc0610faf610ad9565b6113886125b490919063ffffffff16565b90506000811415611006576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ffd90614248565b60405180910390fd5b80841115611012578093505b60008073ffffffffffffffffffffffffffffffffffffffff16600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156110a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161109c906141e8565b60405180910390fd5b600c548511156110ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110e1906141c8565b60405180910390fd5b6110f26121ae565b84604051602001611104929190613e0f565b604051602081830303815290604052805190602001209050600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661115f82856125ca565b73ffffffffffffffffffffffffffffffffffffffff16146111b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111ac90614148565b60405180910390fd5b8361120f86600d60006111c66121ae565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461264290919063ffffffff16565b1115611250576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161124790614208565b60405180910390fd5b6112a985600d60006112606121ae565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461264290919063ffffffff16565b600d60006112b56121ae565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555060006112fd610ad9565b9050346011600082825461131191906143ed565b9250508190555060005b868110156113525761133f61132e6121ae565b828461133a91906143ed565b612658565b808061134a90614632565b91505061131b565b505050506001600b81905550505050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561140c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611403906140a8565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611486576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161147d90614088565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600c5481565b6114db6121ae565b73ffffffffffffffffffffffffffffffffffffffff166114f9611893565b73ffffffffffffffffffffffffffffffffffffffff161461154f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154690614168565b60405180910390fd5b6115596000612676565b565b6115636121ae565b73ffffffffffffffffffffffffffffffffffffffff16611581611893565b73ffffffffffffffffffffffffffffffffffffffff16146115d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115ce90614168565b60405180910390fd5b600e60149054906101000a900460ff1615600e60146101000a81548160ff021916908315150217905550565b61160b6121ae565b73ffffffffffffffffffffffffffffffffffffffff16611629611893565b73ffffffffffffffffffffffffffffffffffffffff161461167f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161167690614168565b60405180910390fd5b80600c8190555050565b6116916121ae565b73ffffffffffffffffffffffffffffffffffffffff166116af611893565b73ffffffffffffffffffffffffffffffffffffffff1614611705576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116fc90614168565b60405180910390fd5b6000611723611712610ad9565b6113886125b490919063ffffffff16565b905060001515600e60149054906101000a900460ff1615151461177b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161177290614288565b60405180910390fd5b80821115611787578091505b6000611791610ad9565b905060005b838110156117cd576117ba6117a96121ae565b82846117b591906143ed565b612658565b80806117c590614632565b915050611796565b50505050565b6117db6121ae565b73ffffffffffffffffffffffffffffffffffffffff166117f9611893565b73ffffffffffffffffffffffffffffffffffffffff161461184f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161184690614168565b60405180910390fd5b80600e60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6118c56121ae565b73ffffffffffffffffffffffffffffffffffffffff166118e3611893565b73ffffffffffffffffffffffffffffffffffffffff1614611939576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161193090614168565b60405180910390fd5b64e8d4a510008161194a9190614474565b60108190555050565b606060018054611962906145cf565b80601f016020809104026020016040519081016040528092919081815260200182805461198e906145cf565b80156119db5780601f106119b0576101008083540402835291602001916119db565b820191906000526020600020905b8154815290600101906020018083116119be57829003601f168201915b5050505050905090565b6000601054905090565b6002600b541415611a35576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a2c906142a8565b60405180910390fd5b6002600b8190555060008111611a80576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a7790614128565b60405180910390fd5b600e60149054906101000a900460ff16611acf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ac690614028565b60405180910390fd5b6000611aed611adc610ad9565b6113886125b490919063ffffffff16565b90506000811415611b33576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b2a90614248565b60405180910390fd5b80821115611b3f578091505b600c54611b9b83600d6000611b526121ae565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461264290919063ffffffff16565b1115611bff57611bfc600d6000611bb06121ae565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600c546125b490919063ffffffff16565b91505b6000821415611c43576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c3a90614108565b60405180910390fd5b81601054611c519190614474565b341015611c93576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c8a906142e8565b60405180910390fd5b60005b82811015611cc957611cb6611ca96121ae565b611cb1610ad9565b612658565b8080611cc190614632565b915050611c96565b50611d2382600d6000611cda6121ae565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461264290919063ffffffff16565b600d6000611d2f6121ae565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055503460116000828254611d7f91906143ed565b92505081905550506001600b8190555050565b611da4611d9d6121ae565b838361273c565b5050565b611db9611db36121ae565b8361226f565b611df8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611def90614228565b60405180910390fd5b611e04848484846128a9565b50505050565b6060611e1582612142565b611e54576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e4b90614188565b60405180910390fd5b6000611e5e612905565b90506000815111611e7e5760405180602001604052806000815250611ea9565b80611e8884612997565b604051602001611e99929190613e3b565b6040516020818303038152906040525b915050919050565b6000601154905090565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600e60149054906101000a900460ff1681565b611f6a6121ae565b73ffffffffffffffffffffffffffffffffffffffff16611f88611893565b73ffffffffffffffffffffffffffffffffffffffff1614611fde576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fd590614168565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561204e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161204590613f88565b60405180910390fd5b61205781612676565b50565b61138881565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061212b57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061213b575061213a82612b44565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661222983611363565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061227a82612142565b6122b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122b090614048565b60405180910390fd5b60006122c483611363565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061230657506123058185611ebb565b5b8061234457508373ffffffffffffffffffffffffffffffffffffffff1661232c8461093c565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661236d82611363565b73ffffffffffffffffffffffffffffffffffffffff16146123c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123ba90613fa8565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612433576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161242a90613fe8565b60405180910390fd5b61243e838383612bae565b6124496000826121b6565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461249991906144ce565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546124f091906143ed565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46125af838383612cc2565b505050565b600081836125c291906144ce565b905092915050565b600080600080602085015192506040850151915060ff60418601511690506001868285856040516000815260200160405260405161260b9493929190613ee1565b6020604051602081039080840390855afa15801561262d573d6000803e3d6000fd5b50505060206040510351935050505092915050565b6000818361265091906143ed565b905092915050565b612672828260405180602001604052806000815250612cc7565b5050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156127ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127a290614008565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161289c9190613ec6565b60405180910390a3505050565b6128b484848461234d565b6128c084848484612d22565b6128ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128f690613f68565b60405180910390fd5b50505050565b6060600f8054612914906145cf565b80601f0160208091040260200160405190810160405280929190818152602001828054612940906145cf565b801561298d5780601f106129625761010080835404028352916020019161298d565b820191906000526020600020905b81548152906001019060200180831161297057829003601f168201915b5050505050905090565b606060008214156129df576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612b3f565b600082905060005b60008214612a115780806129fa90614632565b915050600a82612a0a9190614443565b91506129e7565b60008167ffffffffffffffff811115612a53577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612a855781602001600182028036833780820191505090505b5090505b60008514612b3857600182612a9e91906144ce565b9150600a85612aad91906146a9565b6030612ab991906143ed565b60f81b818381518110612af5577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612b319190614443565b9450612a89565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612bb9838383612eb9565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612bfc57612bf781612ebe565b612c3b565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612c3a57612c398382612f07565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612c7e57612c7981613074565b612cbd565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612cbc57612cbb82826131b7565b5b5b505050565b505050565b612cd18383613236565b612cde6000848484612d22565b612d1d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d1490613f68565b60405180910390fd5b505050565b6000612d438473ffffffffffffffffffffffffffffffffffffffff16613410565b15612eac578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612d6c6121ae565b8786866040518563ffffffff1660e01b8152600401612d8e9493929190613e7a565b602060405180830381600087803b158015612da857600080fd5b505af1925050508015612dd957506040513d601f19601f82011682018060405250810190612dd691906137df565b60015b612e5c573d8060008114612e09576040519150601f19603f3d011682016040523d82523d6000602084013e612e0e565b606091505b50600081511415612e54576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e4b90613f68565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612eb1565b600190505b949350505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001612f1484611415565b612f1e91906144ce565b9050600060076000848152602001908152602001600020549050818114613003576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b6000600160088054905061308891906144ce565b90506000600960008481526020019081526020016000205490506000600883815481106130de577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060088381548110613126577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001819055508160096000838152602001908152602001600020819055506009600085815260200190815260200160002060009055600880548061319b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b60006131c283611415565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156132a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161329d906140c8565b60405180910390fd5b6132af81612142565b156132ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132e690613fc8565b60405180910390fd5b6132fb60008383612bae565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461334b91906143ed565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461340c60008383612cc2565b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b82805461343f906145cf565b90600052602060002090601f01602090048101928261346157600085556134a8565b82601f1061347a57805160ff19168380011785556134a8565b828001600101855582156134a8579182015b828111156134a757825182559160200191906001019061348c565b5b5090506134b591906134b9565b5090565b5b808211156134d25760008160009055506001016134ba565b5090565b60006134e96134e484614348565b614323565b90508281526020810184848401111561350157600080fd5b61350c84828561458d565b509392505050565b600061352761352284614379565b614323565b90508281526020810184848401111561353f57600080fd5b61354a84828561458d565b509392505050565b60008135905061356181614f2e565b92915050565b60008135905061357681614f45565b92915050565b60008135905061358b81614f5c565b92915050565b6000815190506135a081614f5c565b92915050565b600082601f8301126135b757600080fd5b81356135c78482602086016134d6565b91505092915050565b600082601f8301126135e157600080fd5b81356135f1848260208601613514565b91505092915050565b60008135905061360981614f73565b92915050565b60006020828403121561362157600080fd5b600061362f84828501613552565b91505092915050565b6000806040838503121561364b57600080fd5b600061365985828601613552565b925050602061366a85828601613552565b9150509250929050565b60008060006060848603121561368957600080fd5b600061369786828701613552565b93505060206136a886828701613552565b92505060406136b9868287016135fa565b9150509250925092565b600080600080608085870312156136d957600080fd5b60006136e787828801613552565b94505060206136f887828801613552565b9350506040613709878288016135fa565b925050606085013567ffffffffffffffff81111561372657600080fd5b613732878288016135a6565b91505092959194509250565b6000806040838503121561375157600080fd5b600061375f85828601613552565b925050602061377085828601613567565b9150509250929050565b6000806040838503121561378d57600080fd5b600061379b85828601613552565b92505060206137ac858286016135fa565b9150509250929050565b6000602082840312156137c857600080fd5b60006137d68482850161357c565b91505092915050565b6000602082840312156137f157600080fd5b60006137ff84828501613591565b91505092915050565b60006020828403121561381a57600080fd5b600082013567ffffffffffffffff81111561383457600080fd5b613840848285016135d0565b91505092915050565b60006020828403121561385b57600080fd5b6000613869848285016135fa565b91505092915050565b60008060006060848603121561388757600080fd5b6000613895868287016135fa565b93505060206138a6868287016135fa565b925050604084013567ffffffffffffffff8111156138c357600080fd5b6138cf868287016135a6565b9150509250925092565b6138e281614502565b82525050565b6138f96138f482614502565b61467b565b82525050565b61390881614514565b82525050565b61391781614520565b82525050565b6000613928826143aa565b61393281856143c0565b935061394281856020860161459c565b61394b81614796565b840191505092915050565b6000613961826143b5565b61396b81856143d1565b935061397b81856020860161459c565b61398481614796565b840191505092915050565b600061399a826143b5565b6139a481856143e2565b93506139b481856020860161459c565b80840191505092915050565b60006139cd602b836143d1565b91506139d8826147b4565b604082019050919050565b60006139f06032836143d1565b91506139fb82614803565b604082019050919050565b6000613a136026836143d1565b9150613a1e82614852565b604082019050919050565b6000613a366025836143d1565b9150613a41826148a1565b604082019050919050565b6000613a59601c836143d1565b9150613a64826148f0565b602082019050919050565b6000613a7c6024836143d1565b9150613a8782614919565b604082019050919050565b6000613a9f6019836143d1565b9150613aaa82614968565b602082019050919050565b6000613ac2601b836143d1565b9150613acd82614991565b602082019050919050565b6000613ae5602c836143d1565b9150613af0826149ba565b604082019050919050565b6000613b086038836143d1565b9150613b1382614a09565b604082019050919050565b6000613b2b602a836143d1565b9150613b3682614a58565b604082019050919050565b6000613b4e6029836143d1565b9150613b5982614aa7565b604082019050919050565b6000613b716020836143d1565b9150613b7c82614af6565b602082019050919050565b6000613b94602c836143d1565b9150613b9f82614b1f565b604082019050919050565b6000613bb76014836143d1565b9150613bc282614b6e565b602082019050919050565b6000613bda6027836143d1565b9150613be582614b97565b604082019050919050565b6000613bfd6011836143d1565b9150613c0882614be6565b602082019050919050565b6000613c206020836143d1565b9150613c2b82614c0f565b602082019050919050565b6000613c43602f836143d1565b9150613c4e82614c38565b604082019050919050565b6000613c666021836143d1565b9150613c7182614c87565b604082019050919050565b6000613c896028836143d1565b9150613c9482614cd6565b604082019050919050565b6000613cac601d836143d1565b9150613cb782614d25565b602082019050919050565b6000613ccf6010836143d1565b9150613cda82614d4e565b602082019050919050565b6000613cf26031836143d1565b9150613cfd82614d77565b604082019050919050565b6000613d156008836143d1565b9150613d2082614dc6565b602082019050919050565b6000613d38602c836143d1565b9150613d4382614def565b604082019050919050565b6000613d5b6026836143d1565b9150613d6682614e3e565b604082019050919050565b6000613d7e601f836143d1565b9150613d8982614e8d565b602082019050919050565b6000613da16027836143d1565b9150613dac82614eb6565b604082019050919050565b6000613dc46016836143d1565b9150613dcf82614f05565b602082019050919050565b613de381614576565b82525050565b613dfa613df582614576565b61469f565b82525050565b613e0981614580565b82525050565b6000613e1b82856138e8565b601482019150613e2b8284613de9565b6020820191508190509392505050565b6000613e47828561398f565b9150613e53828461398f565b91508190509392505050565b6000602082019050613e7460008301846138d9565b92915050565b6000608082019050613e8f60008301876138d9565b613e9c60208301866138d9565b613ea96040830185613dda565b8181036060830152613ebb818461391d565b905095945050505050565b6000602082019050613edb60008301846138ff565b92915050565b6000608082019050613ef6600083018761390e565b613f036020830186613e00565b613f10604083018561390e565b613f1d606083018461390e565b95945050505050565b60006020820190508181036000830152613f408184613956565b905092915050565b60006020820190508181036000830152613f61816139c0565b9050919050565b60006020820190508181036000830152613f81816139e3565b9050919050565b60006020820190508181036000830152613fa181613a06565b9050919050565b60006020820190508181036000830152613fc181613a29565b9050919050565b60006020820190508181036000830152613fe181613a4c565b9050919050565b6000602082019050818103600083015261400181613a6f565b9050919050565b6000602082019050818103600083015261402181613a92565b9050919050565b6000602082019050818103600083015261404181613ab5565b9050919050565b6000602082019050818103600083015261406181613ad8565b9050919050565b6000602082019050818103600083015261408181613afb565b9050919050565b600060208201905081810360008301526140a181613b1e565b9050919050565b600060208201905081810360008301526140c181613b41565b9050919050565b600060208201905081810360008301526140e181613b64565b9050919050565b6000602082019050818103600083015261410181613b87565b9050919050565b6000602082019050818103600083015261412181613baa565b9050919050565b6000602082019050818103600083015261414181613bcd565b9050919050565b6000602082019050818103600083015261416181613bf0565b9050919050565b6000602082019050818103600083015261418181613c13565b9050919050565b600060208201905081810360008301526141a181613c36565b9050919050565b600060208201905081810360008301526141c181613c59565b9050919050565b600060208201905081810360008301526141e181613c7c565b9050919050565b6000602082019050818103600083015261420181613c9f565b9050919050565b6000602082019050818103600083015261422181613cc2565b9050919050565b6000602082019050818103600083015261424181613ce5565b9050919050565b6000602082019050818103600083015261426181613d08565b9050919050565b6000602082019050818103600083015261428181613d2b565b9050919050565b600060208201905081810360008301526142a181613d4e565b9050919050565b600060208201905081810360008301526142c181613d71565b9050919050565b600060208201905081810360008301526142e181613d94565b9050919050565b6000602082019050818103600083015261430181613db7565b9050919050565b600060208201905061431d6000830184613dda565b92915050565b600061432d61433e565b90506143398282614601565b919050565b6000604051905090565b600067ffffffffffffffff82111561436357614362614767565b5b61436c82614796565b9050602081019050919050565b600067ffffffffffffffff82111561439457614393614767565b5b61439d82614796565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b60006143f882614576565b915061440383614576565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614438576144376146da565b5b828201905092915050565b600061444e82614576565b915061445983614576565b92508261446957614468614709565b5b828204905092915050565b600061447f82614576565b915061448a83614576565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156144c3576144c26146da565b5b828202905092915050565b60006144d982614576565b91506144e483614576565b9250828210156144f7576144f66146da565b5b828203905092915050565b600061450d82614556565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b838110156145ba57808201518184015260208101905061459f565b838111156145c9576000848401525b50505050565b600060028204905060018216806145e757607f821691505b602082108114156145fb576145fa614738565b5b50919050565b61460a82614796565b810181811067ffffffffffffffff8211171561462957614628614767565b5b80604052505050565b600061463d82614576565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156146705761466f6146da565b5b600182019050919050565b60006146868261468d565b9050919050565b6000614698826147a7565b9050919050565b6000819050919050565b60006146b482614576565b91506146bf83614576565b9250826146cf576146ce614709565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f53616c65206d7573742062652061637469766520746f206d696e740000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4d61782050757263686173652052656163686564000000000000000000000000600082015250565b7f4e756d626572206f6620746f6b656e73206d757374206265206772656174657260008201527f207468616e203000000000000000000000000000000000000000000000000000602082015250565b7f496e76616c6964205369676e6174757265000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f45786365656420746865206e756d626572206f6620746f6b656e732061626c6560008201527f20746f206d696e74000000000000000000000000000000000000000000000000602082015250565b7f5072652d4d696e74206973206e6f7420617661696c61626c6520796574000000600082015250565b7f4d6178206d696e74207265616368656400000000000000000000000000000000600082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f536f6c64206f7574000000000000000000000000000000000000000000000000600082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f496d706f737369626c652072657365727665207768656e2073616c652069732060008201527f6163746976650000000000000000000000000000000000000000000000000000602082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b7f496d706f737369626c65205072652d4d696e74207768656e2073616c6520697360008201527f2061637469766500000000000000000000000000000000000000000000000000602082015250565b7f5468652076616c756520697320696e636f727265637400000000000000000000600082015250565b614f3781614502565b8114614f4257600080fd5b50565b614f4e81614514565b8114614f5957600080fd5b50565b614f658161452a565b8114614f7057600080fd5b50565b614f7c81614576565b8114614f8757600080fd5b5056fea26469706673582212202a6bd9a5b59a41edadc92f20e086b71441b5d1a227305d22888c0048b9c66c4864736f6c63430008040033
Deployed Bytecode
0x6080604052600436106102045760003560e01c8063715018a611610118578063a0712d68116100a0578063e322ad2b1161006f578063e322ad2b14610749578063e985e9c514610774578063eb8d2444146107b1578063f2fde38b146107dc578063f47c84c51461080557610204565b8063a0712d681461069e578063a22cb465146106ba578063b88d4fde146106e3578063c87b56dd1461070c57610204565b806384bdb6e0116100e757806384bdb6e0146105cb5780638da5cb5b146105f457806391b7f5ed1461061f57806395d89b411461064857806398d5fdca1461067357610204565b8063715018a61461054b5780637d8966e4146105625780637f6567f714610579578063819b25ba146105a257610204565b80633ccfd60b1161019b57806355f804b31161016a57806355f804b31461044d578063622973ca1461048a5780636352211e146104a657806370a08231146104e35780637146bd081461052057610204565b80633ccfd60b146103a5578063417b9483146103bc57806342842e0e146103e75780634f6ccce71461041057610204565b806318160ddd116101d757806318160ddd146102d75780631e7269c51461030257806323b872dd1461033f5780632f745c591461036857610204565b806301ffc9a71461020957806306fdde0314610246578063081812fc14610271578063095ea7b3146102ae575b600080fd5b34801561021557600080fd5b50610230600480360381019061022b91906137b6565b610830565b60405161023d9190613ec6565b60405180910390f35b34801561025257600080fd5b5061025b6108aa565b6040516102689190613f26565b60405180910390f35b34801561027d57600080fd5b5061029860048036038101906102939190613849565b61093c565b6040516102a59190613e5f565b60405180910390f35b3480156102ba57600080fd5b506102d560048036038101906102d0919061377a565b6109c1565b005b3480156102e357600080fd5b506102ec610ad9565b6040516102f99190614308565b60405180910390f35b34801561030e57600080fd5b506103296004803603810190610324919061360f565b610ae6565b6040516103369190614308565b60405180910390f35b34801561034b57600080fd5b5061036660048036038101906103619190613674565b610afe565b005b34801561037457600080fd5b5061038f600480360381019061038a919061377a565b610b5e565b60405161039c9190614308565b60405180910390f35b3480156103b157600080fd5b506103ba610c03565b005b3480156103c857600080fd5b506103d1610d34565b6040516103de9190613e5f565b60405180910390f35b3480156103f357600080fd5b5061040e60048036038101906104099190613674565b610d5a565b005b34801561041c57600080fd5b5061043760048036038101906104329190613849565b610d7a565b6040516104449190614308565b60405180910390f35b34801561045957600080fd5b50610474600480360381019061046f9190613808565b610e11565b6040516104819190613f26565b60405180910390f35b6104a4600480360381019061049f9190613872565b610eae565b005b3480156104b257600080fd5b506104cd60048036038101906104c89190613849565b611363565b6040516104da9190613e5f565b60405180910390f35b3480156104ef57600080fd5b5061050a6004803603810190610505919061360f565b611415565b6040516105179190614308565b60405180910390f35b34801561052c57600080fd5b506105356114cd565b6040516105429190614308565b60405180910390f35b34801561055757600080fd5b506105606114d3565b005b34801561056e57600080fd5b5061057761155b565b005b34801561058557600080fd5b506105a0600480360381019061059b9190613849565b611603565b005b3480156105ae57600080fd5b506105c960048036038101906105c49190613849565b611689565b005b3480156105d757600080fd5b506105f260048036038101906105ed919061360f565b6117d3565b005b34801561060057600080fd5b50610609611893565b6040516106169190613e5f565b60405180910390f35b34801561062b57600080fd5b5061064660048036038101906106419190613849565b6118bd565b005b34801561065457600080fd5b5061065d611953565b60405161066a9190613f26565b60405180910390f35b34801561067f57600080fd5b506106886119e5565b6040516106959190614308565b60405180910390f35b6106b860048036038101906106b39190613849565b6119ef565b005b3480156106c657600080fd5b506106e160048036038101906106dc919061373e565b611d92565b005b3480156106ef57600080fd5b5061070a600480360381019061070591906136c3565b611da8565b005b34801561071857600080fd5b50610733600480360381019061072e9190613849565b611e0a565b6040516107409190613f26565b60405180910390f35b34801561075557600080fd5b5061075e611eb1565b60405161076b9190614308565b60405180910390f35b34801561078057600080fd5b5061079b60048036038101906107969190613638565b611ebb565b6040516107a89190613ec6565b60405180910390f35b3480156107bd57600080fd5b506107c6611f4f565b6040516107d39190613ec6565b60405180910390f35b3480156107e857600080fd5b5061080360048036038101906107fe919061360f565b611f62565b005b34801561081157600080fd5b5061081a61205a565b6040516108279190614308565b60405180910390f35b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806108a357506108a282612060565b5b9050919050565b6060600080546108b9906145cf565b80601f01602080910402602001604051908101604052809291908181526020018280546108e5906145cf565b80156109325780601f1061090757610100808354040283529160200191610932565b820191906000526020600020905b81548152906001019060200180831161091557829003601f168201915b5050505050905090565b600061094782612142565b610986576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161097d906140e8565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006109cc82611363565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610a3d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a34906141a8565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610a5c6121ae565b73ffffffffffffffffffffffffffffffffffffffff161480610a8b5750610a8a81610a856121ae565b611ebb565b5b610aca576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ac190614068565b60405180910390fd5b610ad483836121b6565b505050565b6000600880549050905090565b600d6020528060005260406000206000915090505481565b610b0f610b096121ae565b8261226f565b610b4e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b4590614228565b60405180910390fd5b610b5983838361234d565b505050565b6000610b6983611415565b8210610baa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ba190613f48565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610c0b6121ae565b73ffffffffffffffffffffffffffffffffffffffff16610c29611893565b73ffffffffffffffffffffffffffffffffffffffff1614610c7f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c7690614168565b60405180910390fd5b6002600b541415610cc5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cbc906142a8565b60405180910390fd5b6002600b8190555060003390506000601154905060006011819055508173ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610d27573d6000803e3d6000fd5b5050506001600b81905550565b600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610d7583838360405180602001604052806000815250611da8565b505050565b6000610d84610ad9565b8210610dc5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dbc90614268565b60405180910390fd5b60088281548110610dff577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b6060610e1b6121ae565b73ffffffffffffffffffffffffffffffffffffffff16610e39611893565b73ffffffffffffffffffffffffffffffffffffffff1614610e8f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e8690614168565b60405180910390fd5b81600f9080519060200190610ea5929190613433565b50819050919050565b6002600b541415610ef4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eeb906142a8565b60405180910390fd5b6002600b8190555060001515600e60149054906101000a900460ff16151514610f52576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f49906142c8565b60405180910390fd5b82601054610f609190614474565b341015610fa2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f99906142e8565b60405180910390fd5b6000610fc0610faf610ad9565b6113886125b490919063ffffffff16565b90506000811415611006576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ffd90614248565b60405180910390fd5b80841115611012578093505b60008073ffffffffffffffffffffffffffffffffffffffff16600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156110a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161109c906141e8565b60405180910390fd5b600c548511156110ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110e1906141c8565b60405180910390fd5b6110f26121ae565b84604051602001611104929190613e0f565b604051602081830303815290604052805190602001209050600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661115f82856125ca565b73ffffffffffffffffffffffffffffffffffffffff16146111b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111ac90614148565b60405180910390fd5b8361120f86600d60006111c66121ae565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461264290919063ffffffff16565b1115611250576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161124790614208565b60405180910390fd5b6112a985600d60006112606121ae565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461264290919063ffffffff16565b600d60006112b56121ae565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555060006112fd610ad9565b9050346011600082825461131191906143ed565b9250508190555060005b868110156113525761133f61132e6121ae565b828461133a91906143ed565b612658565b808061134a90614632565b91505061131b565b505050506001600b81905550505050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561140c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611403906140a8565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611486576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161147d90614088565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600c5481565b6114db6121ae565b73ffffffffffffffffffffffffffffffffffffffff166114f9611893565b73ffffffffffffffffffffffffffffffffffffffff161461154f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154690614168565b60405180910390fd5b6115596000612676565b565b6115636121ae565b73ffffffffffffffffffffffffffffffffffffffff16611581611893565b73ffffffffffffffffffffffffffffffffffffffff16146115d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115ce90614168565b60405180910390fd5b600e60149054906101000a900460ff1615600e60146101000a81548160ff021916908315150217905550565b61160b6121ae565b73ffffffffffffffffffffffffffffffffffffffff16611629611893565b73ffffffffffffffffffffffffffffffffffffffff161461167f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161167690614168565b60405180910390fd5b80600c8190555050565b6116916121ae565b73ffffffffffffffffffffffffffffffffffffffff166116af611893565b73ffffffffffffffffffffffffffffffffffffffff1614611705576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116fc90614168565b60405180910390fd5b6000611723611712610ad9565b6113886125b490919063ffffffff16565b905060001515600e60149054906101000a900460ff1615151461177b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161177290614288565b60405180910390fd5b80821115611787578091505b6000611791610ad9565b905060005b838110156117cd576117ba6117a96121ae565b82846117b591906143ed565b612658565b80806117c590614632565b915050611796565b50505050565b6117db6121ae565b73ffffffffffffffffffffffffffffffffffffffff166117f9611893565b73ffffffffffffffffffffffffffffffffffffffff161461184f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161184690614168565b60405180910390fd5b80600e60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6118c56121ae565b73ffffffffffffffffffffffffffffffffffffffff166118e3611893565b73ffffffffffffffffffffffffffffffffffffffff1614611939576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161193090614168565b60405180910390fd5b64e8d4a510008161194a9190614474565b60108190555050565b606060018054611962906145cf565b80601f016020809104026020016040519081016040528092919081815260200182805461198e906145cf565b80156119db5780601f106119b0576101008083540402835291602001916119db565b820191906000526020600020905b8154815290600101906020018083116119be57829003601f168201915b5050505050905090565b6000601054905090565b6002600b541415611a35576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a2c906142a8565b60405180910390fd5b6002600b8190555060008111611a80576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a7790614128565b60405180910390fd5b600e60149054906101000a900460ff16611acf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ac690614028565b60405180910390fd5b6000611aed611adc610ad9565b6113886125b490919063ffffffff16565b90506000811415611b33576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b2a90614248565b60405180910390fd5b80821115611b3f578091505b600c54611b9b83600d6000611b526121ae565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461264290919063ffffffff16565b1115611bff57611bfc600d6000611bb06121ae565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600c546125b490919063ffffffff16565b91505b6000821415611c43576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c3a90614108565b60405180910390fd5b81601054611c519190614474565b341015611c93576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c8a906142e8565b60405180910390fd5b60005b82811015611cc957611cb6611ca96121ae565b611cb1610ad9565b612658565b8080611cc190614632565b915050611c96565b50611d2382600d6000611cda6121ae565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461264290919063ffffffff16565b600d6000611d2f6121ae565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055503460116000828254611d7f91906143ed565b92505081905550506001600b8190555050565b611da4611d9d6121ae565b838361273c565b5050565b611db9611db36121ae565b8361226f565b611df8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611def90614228565b60405180910390fd5b611e04848484846128a9565b50505050565b6060611e1582612142565b611e54576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e4b90614188565b60405180910390fd5b6000611e5e612905565b90506000815111611e7e5760405180602001604052806000815250611ea9565b80611e8884612997565b604051602001611e99929190613e3b565b6040516020818303038152906040525b915050919050565b6000601154905090565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600e60149054906101000a900460ff1681565b611f6a6121ae565b73ffffffffffffffffffffffffffffffffffffffff16611f88611893565b73ffffffffffffffffffffffffffffffffffffffff1614611fde576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fd590614168565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561204e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161204590613f88565b60405180910390fd5b61205781612676565b50565b61138881565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061212b57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061213b575061213a82612b44565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661222983611363565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061227a82612142565b6122b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122b090614048565b60405180910390fd5b60006122c483611363565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061230657506123058185611ebb565b5b8061234457508373ffffffffffffffffffffffffffffffffffffffff1661232c8461093c565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661236d82611363565b73ffffffffffffffffffffffffffffffffffffffff16146123c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123ba90613fa8565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612433576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161242a90613fe8565b60405180910390fd5b61243e838383612bae565b6124496000826121b6565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461249991906144ce565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546124f091906143ed565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46125af838383612cc2565b505050565b600081836125c291906144ce565b905092915050565b600080600080602085015192506040850151915060ff60418601511690506001868285856040516000815260200160405260405161260b9493929190613ee1565b6020604051602081039080840390855afa15801561262d573d6000803e3d6000fd5b50505060206040510351935050505092915050565b6000818361265091906143ed565b905092915050565b612672828260405180602001604052806000815250612cc7565b5050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156127ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127a290614008565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161289c9190613ec6565b60405180910390a3505050565b6128b484848461234d565b6128c084848484612d22565b6128ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128f690613f68565b60405180910390fd5b50505050565b6060600f8054612914906145cf565b80601f0160208091040260200160405190810160405280929190818152602001828054612940906145cf565b801561298d5780601f106129625761010080835404028352916020019161298d565b820191906000526020600020905b81548152906001019060200180831161297057829003601f168201915b5050505050905090565b606060008214156129df576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612b3f565b600082905060005b60008214612a115780806129fa90614632565b915050600a82612a0a9190614443565b91506129e7565b60008167ffffffffffffffff811115612a53577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612a855781602001600182028036833780820191505090505b5090505b60008514612b3857600182612a9e91906144ce565b9150600a85612aad91906146a9565b6030612ab991906143ed565b60f81b818381518110612af5577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612b319190614443565b9450612a89565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612bb9838383612eb9565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612bfc57612bf781612ebe565b612c3b565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612c3a57612c398382612f07565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612c7e57612c7981613074565b612cbd565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612cbc57612cbb82826131b7565b5b5b505050565b505050565b612cd18383613236565b612cde6000848484612d22565b612d1d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d1490613f68565b60405180910390fd5b505050565b6000612d438473ffffffffffffffffffffffffffffffffffffffff16613410565b15612eac578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612d6c6121ae565b8786866040518563ffffffff1660e01b8152600401612d8e9493929190613e7a565b602060405180830381600087803b158015612da857600080fd5b505af1925050508015612dd957506040513d601f19601f82011682018060405250810190612dd691906137df565b60015b612e5c573d8060008114612e09576040519150601f19603f3d011682016040523d82523d6000602084013e612e0e565b606091505b50600081511415612e54576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e4b90613f68565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612eb1565b600190505b949350505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001612f1484611415565b612f1e91906144ce565b9050600060076000848152602001908152602001600020549050818114613003576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b6000600160088054905061308891906144ce565b90506000600960008481526020019081526020016000205490506000600883815481106130de577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060088381548110613126577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001819055508160096000838152602001908152602001600020819055506009600085815260200190815260200160002060009055600880548061319b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b60006131c283611415565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156132a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161329d906140c8565b60405180910390fd5b6132af81612142565b156132ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132e690613fc8565b60405180910390fd5b6132fb60008383612bae565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461334b91906143ed565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461340c60008383612cc2565b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b82805461343f906145cf565b90600052602060002090601f01602090048101928261346157600085556134a8565b82601f1061347a57805160ff19168380011785556134a8565b828001600101855582156134a8579182015b828111156134a757825182559160200191906001019061348c565b5b5090506134b591906134b9565b5090565b5b808211156134d25760008160009055506001016134ba565b5090565b60006134e96134e484614348565b614323565b90508281526020810184848401111561350157600080fd5b61350c84828561458d565b509392505050565b600061352761352284614379565b614323565b90508281526020810184848401111561353f57600080fd5b61354a84828561458d565b509392505050565b60008135905061356181614f2e565b92915050565b60008135905061357681614f45565b92915050565b60008135905061358b81614f5c565b92915050565b6000815190506135a081614f5c565b92915050565b600082601f8301126135b757600080fd5b81356135c78482602086016134d6565b91505092915050565b600082601f8301126135e157600080fd5b81356135f1848260208601613514565b91505092915050565b60008135905061360981614f73565b92915050565b60006020828403121561362157600080fd5b600061362f84828501613552565b91505092915050565b6000806040838503121561364b57600080fd5b600061365985828601613552565b925050602061366a85828601613552565b9150509250929050565b60008060006060848603121561368957600080fd5b600061369786828701613552565b93505060206136a886828701613552565b92505060406136b9868287016135fa565b9150509250925092565b600080600080608085870312156136d957600080fd5b60006136e787828801613552565b94505060206136f887828801613552565b9350506040613709878288016135fa565b925050606085013567ffffffffffffffff81111561372657600080fd5b613732878288016135a6565b91505092959194509250565b6000806040838503121561375157600080fd5b600061375f85828601613552565b925050602061377085828601613567565b9150509250929050565b6000806040838503121561378d57600080fd5b600061379b85828601613552565b92505060206137ac858286016135fa565b9150509250929050565b6000602082840312156137c857600080fd5b60006137d68482850161357c565b91505092915050565b6000602082840312156137f157600080fd5b60006137ff84828501613591565b91505092915050565b60006020828403121561381a57600080fd5b600082013567ffffffffffffffff81111561383457600080fd5b613840848285016135d0565b91505092915050565b60006020828403121561385b57600080fd5b6000613869848285016135fa565b91505092915050565b60008060006060848603121561388757600080fd5b6000613895868287016135fa565b93505060206138a6868287016135fa565b925050604084013567ffffffffffffffff8111156138c357600080fd5b6138cf868287016135a6565b9150509250925092565b6138e281614502565b82525050565b6138f96138f482614502565b61467b565b82525050565b61390881614514565b82525050565b61391781614520565b82525050565b6000613928826143aa565b61393281856143c0565b935061394281856020860161459c565b61394b81614796565b840191505092915050565b6000613961826143b5565b61396b81856143d1565b935061397b81856020860161459c565b61398481614796565b840191505092915050565b600061399a826143b5565b6139a481856143e2565b93506139b481856020860161459c565b80840191505092915050565b60006139cd602b836143d1565b91506139d8826147b4565b604082019050919050565b60006139f06032836143d1565b91506139fb82614803565b604082019050919050565b6000613a136026836143d1565b9150613a1e82614852565b604082019050919050565b6000613a366025836143d1565b9150613a41826148a1565b604082019050919050565b6000613a59601c836143d1565b9150613a64826148f0565b602082019050919050565b6000613a7c6024836143d1565b9150613a8782614919565b604082019050919050565b6000613a9f6019836143d1565b9150613aaa82614968565b602082019050919050565b6000613ac2601b836143d1565b9150613acd82614991565b602082019050919050565b6000613ae5602c836143d1565b9150613af0826149ba565b604082019050919050565b6000613b086038836143d1565b9150613b1382614a09565b604082019050919050565b6000613b2b602a836143d1565b9150613b3682614a58565b604082019050919050565b6000613b4e6029836143d1565b9150613b5982614aa7565b604082019050919050565b6000613b716020836143d1565b9150613b7c82614af6565b602082019050919050565b6000613b94602c836143d1565b9150613b9f82614b1f565b604082019050919050565b6000613bb76014836143d1565b9150613bc282614b6e565b602082019050919050565b6000613bda6027836143d1565b9150613be582614b97565b604082019050919050565b6000613bfd6011836143d1565b9150613c0882614be6565b602082019050919050565b6000613c206020836143d1565b9150613c2b82614c0f565b602082019050919050565b6000613c43602f836143d1565b9150613c4e82614c38565b604082019050919050565b6000613c666021836143d1565b9150613c7182614c87565b604082019050919050565b6000613c896028836143d1565b9150613c9482614cd6565b604082019050919050565b6000613cac601d836143d1565b9150613cb782614d25565b602082019050919050565b6000613ccf6010836143d1565b9150613cda82614d4e565b602082019050919050565b6000613cf26031836143d1565b9150613cfd82614d77565b604082019050919050565b6000613d156008836143d1565b9150613d2082614dc6565b602082019050919050565b6000613d38602c836143d1565b9150613d4382614def565b604082019050919050565b6000613d5b6026836143d1565b9150613d6682614e3e565b604082019050919050565b6000613d7e601f836143d1565b9150613d8982614e8d565b602082019050919050565b6000613da16027836143d1565b9150613dac82614eb6565b604082019050919050565b6000613dc46016836143d1565b9150613dcf82614f05565b602082019050919050565b613de381614576565b82525050565b613dfa613df582614576565b61469f565b82525050565b613e0981614580565b82525050565b6000613e1b82856138e8565b601482019150613e2b8284613de9565b6020820191508190509392505050565b6000613e47828561398f565b9150613e53828461398f565b91508190509392505050565b6000602082019050613e7460008301846138d9565b92915050565b6000608082019050613e8f60008301876138d9565b613e9c60208301866138d9565b613ea96040830185613dda565b8181036060830152613ebb818461391d565b905095945050505050565b6000602082019050613edb60008301846138ff565b92915050565b6000608082019050613ef6600083018761390e565b613f036020830186613e00565b613f10604083018561390e565b613f1d606083018461390e565b95945050505050565b60006020820190508181036000830152613f408184613956565b905092915050565b60006020820190508181036000830152613f61816139c0565b9050919050565b60006020820190508181036000830152613f81816139e3565b9050919050565b60006020820190508181036000830152613fa181613a06565b9050919050565b60006020820190508181036000830152613fc181613a29565b9050919050565b60006020820190508181036000830152613fe181613a4c565b9050919050565b6000602082019050818103600083015261400181613a6f565b9050919050565b6000602082019050818103600083015261402181613a92565b9050919050565b6000602082019050818103600083015261404181613ab5565b9050919050565b6000602082019050818103600083015261406181613ad8565b9050919050565b6000602082019050818103600083015261408181613afb565b9050919050565b600060208201905081810360008301526140a181613b1e565b9050919050565b600060208201905081810360008301526140c181613b41565b9050919050565b600060208201905081810360008301526140e181613b64565b9050919050565b6000602082019050818103600083015261410181613b87565b9050919050565b6000602082019050818103600083015261412181613baa565b9050919050565b6000602082019050818103600083015261414181613bcd565b9050919050565b6000602082019050818103600083015261416181613bf0565b9050919050565b6000602082019050818103600083015261418181613c13565b9050919050565b600060208201905081810360008301526141a181613c36565b9050919050565b600060208201905081810360008301526141c181613c59565b9050919050565b600060208201905081810360008301526141e181613c7c565b9050919050565b6000602082019050818103600083015261420181613c9f565b9050919050565b6000602082019050818103600083015261422181613cc2565b9050919050565b6000602082019050818103600083015261424181613ce5565b9050919050565b6000602082019050818103600083015261426181613d08565b9050919050565b6000602082019050818103600083015261428181613d2b565b9050919050565b600060208201905081810360008301526142a181613d4e565b9050919050565b600060208201905081810360008301526142c181613d71565b9050919050565b600060208201905081810360008301526142e181613d94565b9050919050565b6000602082019050818103600083015261430181613db7565b9050919050565b600060208201905061431d6000830184613dda565b92915050565b600061432d61433e565b90506143398282614601565b919050565b6000604051905090565b600067ffffffffffffffff82111561436357614362614767565b5b61436c82614796565b9050602081019050919050565b600067ffffffffffffffff82111561439457614393614767565b5b61439d82614796565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b60006143f882614576565b915061440383614576565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614438576144376146da565b5b828201905092915050565b600061444e82614576565b915061445983614576565b92508261446957614468614709565b5b828204905092915050565b600061447f82614576565b915061448a83614576565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156144c3576144c26146da565b5b828202905092915050565b60006144d982614576565b91506144e483614576565b9250828210156144f7576144f66146da565b5b828203905092915050565b600061450d82614556565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b838110156145ba57808201518184015260208101905061459f565b838111156145c9576000848401525b50505050565b600060028204905060018216806145e757607f821691505b602082108114156145fb576145fa614738565b5b50919050565b61460a82614796565b810181811067ffffffffffffffff8211171561462957614628614767565b5b80604052505050565b600061463d82614576565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156146705761466f6146da565b5b600182019050919050565b60006146868261468d565b9050919050565b6000614698826147a7565b9050919050565b6000819050919050565b60006146b482614576565b91506146bf83614576565b9250826146cf576146ce614709565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f53616c65206d7573742062652061637469766520746f206d696e740000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4d61782050757263686173652052656163686564000000000000000000000000600082015250565b7f4e756d626572206f6620746f6b656e73206d757374206265206772656174657260008201527f207468616e203000000000000000000000000000000000000000000000000000602082015250565b7f496e76616c6964205369676e6174757265000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f45786365656420746865206e756d626572206f6620746f6b656e732061626c6560008201527f20746f206d696e74000000000000000000000000000000000000000000000000602082015250565b7f5072652d4d696e74206973206e6f7420617661696c61626c6520796574000000600082015250565b7f4d6178206d696e74207265616368656400000000000000000000000000000000600082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f536f6c64206f7574000000000000000000000000000000000000000000000000600082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f496d706f737369626c652072657365727665207768656e2073616c652069732060008201527f6163746976650000000000000000000000000000000000000000000000000000602082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b7f496d706f737369626c65205072652d4d696e74207768656e2073616c6520697360008201527f2061637469766500000000000000000000000000000000000000000000000000602082015250565b7f5468652076616c756520697320696e636f727265637400000000000000000000600082015250565b614f3781614502565b8114614f4257600080fd5b50565b614f4e81614514565b8114614f5957600080fd5b50565b614f658161452a565b8114614f7057600080fd5b50565b614f7c81614576565b8114614f8757600080fd5b5056fea26469706673582212202a6bd9a5b59a41edadc92f20e086b71441b5d1a227305d22888c0048b9c66c4864736f6c63430008040033
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.