ERC-721
Overview
Max Total Supply
842 NZ
Holders
91
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
4 NZLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Natazuki
Compiler Version
v0.8.14+commit.80d49f37
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT // File: @openzeppelin/contracts/utils/Strings.sol // 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); } } // File: @openzeppelin/contracts/security/ReentrancyGuard.sol // 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; } } // File: @openzeppelin/contracts/utils/Context.sol // 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; } } // File: @openzeppelin/contracts/access/Ownable.sol // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; /** * @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); } } // File: erc721a/contracts/IERC721A.sol // ERC721A Contracts v4.0.0 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of an ERC721A compliant contract. */ interface IERC721A { /** * The caller must own the token or be an approved operator. */ error ApprovalCallerNotOwnerNorApproved(); /** * The token does not exist. */ error ApprovalQueryForNonexistentToken(); /** * The caller cannot approve to their own address. */ error ApproveToCaller(); /** * The caller cannot approve to the current owner. */ error ApprovalToCurrentOwner(); /** * Cannot query the balance for the zero address. */ error BalanceQueryForZeroAddress(); /** * Cannot mint to the zero address. */ error MintToZeroAddress(); /** * The quantity of tokens minted must be more than zero. */ error MintZeroQuantity(); /** * The token does not exist. */ error OwnerQueryForNonexistentToken(); /** * The caller must own the token or be an approved operator. */ error TransferCallerNotOwnerNorApproved(); /** * The token must be owned by `from`. */ error TransferFromIncorrectOwner(); /** * Cannot safely transfer to a contract that does not implement the ERC721Receiver interface. */ error TransferToNonERC721ReceiverImplementer(); /** * Cannot transfer to the zero address. */ error TransferToZeroAddress(); /** * The token does not exist. */ error URIQueryForNonexistentToken(); struct TokenOwnership { // The address of the owner. address addr; // Keeps track of the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; } /** * @dev Returns the total amount of tokens stored by the contract. * * Burned tokens are calculated here, use `_totalMinted()` if you want to count just minted tokens. */ function totalSupply() external view returns (uint256); // ============================== // 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); // ============================== // IERC721 // ============================== /** * @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); // ============================== // IERC721Metadata // ============================== /** * @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); } // File: erc721a/contracts/ERC721A.sol // ERC721A Contracts v4.0.0 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev ERC721 token receiver interface. */ interface ERC721A__IERC721Receiver { function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension. Built to optimize for lower gas during batch mints. * * Assumes serials are sequentially minted starting at _startTokenId() (defaults to 0, e.g. 0, 1, 2, 3..). * * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is IERC721A { // Mask of an entry in packed address data. uint256 private constant BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1; // The bit position of `numberMinted` in packed address data. uint256 private constant BITPOS_NUMBER_MINTED = 64; // The bit position of `numberBurned` in packed address data. uint256 private constant BITPOS_NUMBER_BURNED = 128; // The bit position of `aux` in packed address data. uint256 private constant BITPOS_AUX = 192; // Mask of all 256 bits in packed address data except the 64 bits for `aux`. uint256 private constant BITMASK_AUX_COMPLEMENT = (1 << 192) - 1; // The bit position of `startTimestamp` in packed ownership. uint256 private constant BITPOS_START_TIMESTAMP = 160; // The bit mask of the `burned` bit in packed ownership. uint256 private constant BITMASK_BURNED = 1 << 224; // The bit position of the `nextInitialized` bit in packed ownership. uint256 private constant BITPOS_NEXT_INITIALIZED = 225; // The bit mask of the `nextInitialized` bit in packed ownership. uint256 private constant BITMASK_NEXT_INITIALIZED = 1 << 225; // The tokenId of the next token to be minted. uint256 private _currentIndex; // The number of tokens burned. uint256 private _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. // See `_packedOwnershipOf` implementation for details. // // Bits Layout: // - [0..159] `addr` // - [160..223] `startTimestamp` // - [224] `burned` // - [225] `nextInitialized` mapping(uint256 => uint256) private _packedOwnerships; // Mapping owner address to address data. // // Bits Layout: // - [0..63] `balance` // - [64..127] `numberMinted` // - [128..191] `numberBurned` // - [192..255] `aux` mapping(address => uint256) private _packedAddressData; // Mapping from token ID to approved address. mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } /** * @dev Returns the starting token ID. * To change the starting token ID, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Returns the next token ID to be minted. */ function _nextTokenId() internal view returns (uint256) { return _currentIndex; } /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see `_totalMinted`. */ function totalSupply() public view override returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than `_currentIndex - _startTokenId()` times. unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * @dev Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view returns (uint256) { // Counter underflow is impossible as _currentIndex does not decrement, // and it is initialized to `_startTokenId()` unchecked { return _currentIndex - _startTokenId(); } } /** * @dev Returns the total number of tokens burned. */ function _totalBurned() internal view returns (uint256) { return _burnCounter; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { // The interface IDs are constants representing the first 4 bytes of the XOR of // all function selectors in the interface. See: https://eips.ethereum.org/EIPS/eip-165 // e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)` return interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165. interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721. interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata. } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return _packedAddressData[owner] & BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> BITPOS_NUMBER_MINTED) & BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> BITPOS_NUMBER_BURNED) & BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the auxillary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return uint64(_packedAddressData[owner] >> BITPOS_AUX); } /** * Sets the auxillary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal { uint256 packed = _packedAddressData[owner]; uint256 auxCasted; assembly { // Cast aux without masking. auxCasted := aux } packed = (packed & BITMASK_AUX_COMPLEMENT) | (auxCasted << BITPOS_AUX); _packedAddressData[owner] = packed; } /** * Returns the packed ownership data of `tokenId`. */ function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr) if (curr < _currentIndex) { uint256 packed = _packedOwnerships[curr]; // If not burned. if (packed & BITMASK_BURNED == 0) { // Invariant: // There will always be an ownership that has an address and is not burned // before an ownership that does not have an address and is not burned. // Hence, curr will not underflow. // // We can directly compare the packed value. // If the address is zero, packed is zero. while (packed == 0) { packed = _packedOwnerships[--curr]; } return packed; } } } revert OwnerQueryForNonexistentToken(); } /** * Returns the unpacked `TokenOwnership` struct from `packed`. */ function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) { ownership.addr = address(uint160(packed)); ownership.startTimestamp = uint64(packed >> BITPOS_START_TIMESTAMP); ownership.burned = packed & BITMASK_BURNED != 0; } /** * Returns the unpacked `TokenOwnership` struct at `index`. */ function _ownershipAt(uint256 index) internal view returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnerships[index]); } /** * @dev Initializes the ownership slot minted at `index` for efficiency purposes. */ function _initializeOwnershipAt(uint256 index) internal { if (_packedOwnerships[index] == 0) { _packedOwnerships[index] = _packedOwnershipOf(index); } } /** * Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around in the collection over time. */ function _ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnershipOf(tokenId)); } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view override returns (address) { return address(uint160(_packedOwnershipOf(tokenId))); } /** * @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) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(tokenId))) : ''; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } /** * @dev Casts the address to uint256 without masking. */ function _addressToUint256(address value) private pure returns (uint256 result) { assembly { result := value } } /** * @dev Casts the boolean to uint256 without branching. */ function _boolToUint256(bool value) private pure returns (uint256 result) { assembly { result := value } } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public override { address owner = address(uint160(_packedOwnershipOf(tokenId))); if (to == owner) revert ApprovalToCurrentOwner(); if (_msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { revert ApprovalCallerNotOwnerNorApproved(); } _tokenApprovals[tokenId] = to; emit Approval(owner, to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { if (operator == _msgSenderERC721A()) revert ApproveToCaller(); _operatorApprovals[_msgSenderERC721A()][operator] = approved; emit ApprovalForAll(_msgSenderERC721A(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { _transfer(from, to, tokenId); if (to.code.length != 0) if (!_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), */ function _exists(uint256 tokenId) internal view returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && // If within bounds, _packedOwnerships[tokenId] & BITMASK_BURNED == 0; // and not burned. } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal { _safeMint(to, quantity, ''); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * Emits a {Transfer} event. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1 // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1 unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the balance and number minted. _packedAddressData[to] += quantity * ((1 << BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _addressToUint256(to) | (block.timestamp << BITPOS_START_TIMESTAMP) | (_boolToUint256(quantity == 1) << BITPOS_NEXT_INITIALIZED); uint256 updatedIndex = startTokenId; uint256 end = updatedIndex + quantity; if (to.code.length != 0) { do { emit Transfer(address(0), to, updatedIndex); if (!_checkContractOnERC721Received(address(0), to, updatedIndex++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (updatedIndex < end); // Reentrancy protection if (_currentIndex != startTokenId) revert(); } else { do { emit Transfer(address(0), to, updatedIndex++); } while (updatedIndex < end); } _currentIndex = updatedIndex; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event. */ function _mint(address to, uint256 quantity) internal { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1 // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1 unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the balance and number minted. _packedAddressData[to] += quantity * ((1 << BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _addressToUint256(to) | (block.timestamp << BITPOS_START_TIMESTAMP) | (_boolToUint256(quantity == 1) << BITPOS_NEXT_INITIALIZED); uint256 updatedIndex = startTokenId; uint256 end = updatedIndex + quantity; do { emit Transfer(address(0), to, updatedIndex++); } while (updatedIndex < end); _currentIndex = updatedIndex; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) private { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner(); bool isApprovedOrOwner = (_msgSenderERC721A() == from || isApprovedForAll(from, _msgSenderERC721A()) || getApproved(tokenId) == _msgSenderERC721A()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner. delete _tokenApprovals[tokenId]; // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256. unchecked { // We can directly increment and decrement the balances. --_packedAddressData[from]; // Updates: `balance -= 1`. ++_packedAddressData[to]; // Updates: `balance += 1`. // Updates: // - `address` to the next owner. // - `startTimestamp` to the timestamp of transfering. // - `burned` to `false`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _addressToUint256(to) | (block.timestamp << BITPOS_START_TIMESTAMP) | BITMASK_NEXT_INITIALIZED; // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Equivalent to `_burn(tokenId, false)`. */ function _burn(uint256 tokenId) internal virtual { _burn(tokenId, false); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId, bool approvalCheck) internal virtual { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); address from = address(uint160(prevOwnershipPacked)); if (approvalCheck) { bool isApprovedOrOwner = (_msgSenderERC721A() == from || isApprovedForAll(from, _msgSenderERC721A()) || getApproved(tokenId) == _msgSenderERC721A()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner. delete _tokenApprovals[tokenId]; // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256. unchecked { // Updates: // - `balance -= 1`. // - `numberBurned += 1`. // // We can directly decrement the balance, and increment the number burned. // This is equivalent to `packed -= 1; packed += 1 << BITPOS_NUMBER_BURNED;`. _packedAddressData[from] += (1 << BITPOS_NUMBER_BURNED) - 1; // Updates: // - `address` to the last owner. // - `startTimestamp` to the timestamp of burning. // - `burned` to `true`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _addressToUint256(from) | (block.timestamp << BITPOS_START_TIMESTAMP) | BITMASK_BURNED | BITMASK_NEXT_INITIALIZED; // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, address(0), tokenId); _afterTokenTransfers(from, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target 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 _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns ( bytes4 retval ) { return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } /** * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting. * And also called before burning one token. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token ids have been transferred. This includes * minting. * And also called after one token has been burned. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Returns the message sender (defaults to `msg.sender`). * * If you are writing GSN compatible contracts, you need to override this function. */ function _msgSenderERC721A() internal view virtual returns (address) { return msg.sender; } /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function _toString(uint256 value) internal pure returns (string memory ptr) { assembly { // The maximum value of a uint256 contains 78 digits (1 byte per digit), // but we allocate 128 bytes to keep the free memory pointer 32-byte word aliged. // We will need 1 32-byte word to store the length, // and 3 32-byte words to store a maximum of 78 digits. Total: 32 + 3 * 32 = 128. ptr := add(mload(0x40), 128) // Update the free memory pointer to allocate. mstore(0x40, ptr) // Cache the end of the memory to calculate the length later. let end := ptr // We write the string from the rightmost digit to the leftmost digit. // The following is essentially a do-while loop that also handles the zero case. // Costs a bit more than early returning for the zero case, // but cheaper in terms of deployment and overall runtime costs. for { // Initialize and perform the first pass without check. let temp := value // Move the pointer 1 byte leftwards to point to an empty character slot. ptr := sub(ptr, 1) // Write the character to the pointer. 48 is the ASCII index of '0'. mstore8(ptr, add(48, mod(temp, 10))) temp := div(temp, 10) } temp { // Keep dividing `temp` until zero. temp := div(temp, 10) } { // Body of the for loop. ptr := sub(ptr, 1) mstore8(ptr, add(48, mod(temp, 10))) } let length := sub(end, ptr) // Move the pointer 32 bytes leftwards to make room for the length. ptr := sub(ptr, 32) // Store the length. mstore(ptr, length) } } } // File: contracts/Natazuki.sol pragma solidity ^0.8.14; contract Natazuki is Ownable, ERC721A, ReentrancyGuard { string public notRevealedUri; string public baseExtension = ".json"; uint256 public MAX_SUPPLY = 7777; uint256 public FREE_SUPPLY = 777; uint256 public PRICE = 0.01 ether; uint256 public _reserveCounter; bool public _isActive = false; bool public _revealed = false; constructor( string memory name, string memory symbol, string memory _notRevealedUri ) ERC721A(name, symbol) { setNotRevealedURI(_notRevealedUri); } function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require( _exists(tokenId), "ERC721AMetadata: URI query for nonexistent token" ); if(_revealed == false) { return notRevealedUri; } string memory currentBaseURI = _baseURI(); return bytes(currentBaseURI).length > 0 ? string(abi.encodePacked(currentBaseURI, Strings.toString(tokenId), baseExtension)) : ""; } function setMaxSupply(uint256 _maxSupply) public onlyOwner { MAX_SUPPLY = _maxSupply; } function setFreeMintSupply(uint256 newSupply) public onlyOwner { FREE_SUPPLY = newSupply; } function setCost(uint256 _newCost) public onlyOwner { PRICE = _newCost; } function setActive(bool isActive) public onlyOwner { _isActive = isActive; } function reserveMint(uint256 quantity) public onlyOwner { require( totalSupply() + quantity <= MAX_SUPPLY, "would exceed max supply" ); _safeMint(msg.sender, quantity); _reserveCounter = _reserveCounter + quantity; } // metadata URI string private _baseTokenURI; function setBaseURI(string calldata baseURI) public onlyOwner { _baseTokenURI = baseURI; } function _baseURI() internal view virtual override returns (string memory) { return _baseTokenURI; } function setNotRevealedURI(string memory _notRevealedURI) public onlyOwner { notRevealedUri = _notRevealedURI; } function reveal(bool _state) public onlyOwner { _revealed = _state; } function publicSaleMint(uint256 quantity) public payable nonReentrant { require(quantity > 0, "Must mint more than 0 tokens"); require(_isActive, "Sale has not begun yet"); require(totalSupply() + quantity <= MAX_SUPPLY, "reached max supply"); if(totalSupply() + quantity > FREE_SUPPLY) { require(PRICE * quantity == msg.value, "Incorrect funds"); } _safeMint(msg.sender, quantity); } function getBalance() public view returns (uint256) { return address(this).balance; } function withdraw() public payable onlyOwner nonReentrant { uint256 balance = address(this).balance; require(balance > 0, "No ether left to withdraw"); payable(msg.sender).transfer(balance); } }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"string","name":"_notRevealedUri","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"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":"FREE_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_isActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_reserveCounter","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseExtension","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getBalance","outputs":[{"internalType":"uint256","name":"","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":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"notRevealedUri","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":"quantity","type":"uint256"}],"name":"publicSaleMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"reserveMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"reveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"isActive","type":"bool"}],"name":"setActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newCost","type":"uint256"}],"name":"setCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newSupply","type":"uint256"}],"name":"setFreeMintSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxSupply","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_notRevealedURI","type":"string"}],"name":"setNotRevealedURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"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":"payable","type":"function"}]
Contract Creation Code
60806040526040518060400160405280600581526020017f2e6a736f6e000000000000000000000000000000000000000000000000000000815250600b90805190602001906200005192919062000305565b50611e61600c55610309600d55662386f26fc10000600e556000601060006101000a81548160ff0219169083151502179055506000601060016101000a81548160ff021916908315150217905550348015620000ac57600080fd5b5060405162004099380380620040998339818101604052810190620000d2919062000552565b8282620000f4620000e86200016060201b60201c565b6200016860201b60201c565b81600390805190602001906200010c92919062000305565b5080600490805190602001906200012592919062000305565b50620001366200022c60201b60201c565b6001819055505050600160098190555062000157816200023160201b60201c565b505050620006f2565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600090565b620002416200016060201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1662000267620002dc60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1614620002c0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620002b7906200066c565b60405180910390fd5b80600a9080519060200190620002d892919062000305565b5050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b8280546200031390620006bd565b90600052602060002090601f01602090048101928262000337576000855562000383565b82601f106200035257805160ff191683800117855562000383565b8280016001018555821562000383579182015b828111156200038257825182559160200191906001019062000365565b5b50905062000392919062000396565b5090565b5b80821115620003b157600081600090555060010162000397565b5090565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6200041e82620003d3565b810181811067ffffffffffffffff8211171562000440576200043f620003e4565b5b80604052505050565b600062000455620003b5565b905062000463828262000413565b919050565b600067ffffffffffffffff821115620004865762000485620003e4565b5b6200049182620003d3565b9050602081019050919050565b60005b83811015620004be578082015181840152602081019050620004a1565b83811115620004ce576000848401525b50505050565b6000620004eb620004e58462000468565b62000449565b9050828152602081018484840111156200050a5762000509620003ce565b5b620005178482856200049e565b509392505050565b600082601f830112620005375762000536620003c9565b5b815162000549848260208601620004d4565b91505092915050565b6000806000606084860312156200056e576200056d620003bf565b5b600084015167ffffffffffffffff8111156200058f576200058e620003c4565b5b6200059d868287016200051f565b935050602084015167ffffffffffffffff811115620005c157620005c0620003c4565b5b620005cf868287016200051f565b925050604084015167ffffffffffffffff811115620005f357620005f2620003c4565b5b62000601868287016200051f565b9150509250925092565b600082825260208201905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000620006546020836200060b565b915062000661826200061c565b602082019050919050565b60006020820190508181036000830152620006878162000645565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620006d657607f821691505b602082108103620006ec57620006eb6200068e565b5b50919050565b61399780620007026000396000f3fe60806040526004361061020f5760003560e01c806370a0823111610118578063acec338a116100a0578063c66828621161006f578063c668286214610735578063c87b56dd14610760578063e985e9c51461079d578063f2c4ce1e146107da578063f2fde38b146108035761020f565b8063acec338a1461069e578063b3ab66b0146106c7578063b88d4fde146106e3578063c4c39ed51461070c5761020f565b80638ec89e4f116100e75780638ec89e4f146105cb578063940cd05b146105f657806395d89b411461061f5780639858cf191461064a578063a22cb465146106755761020f565b806370a0823114610521578063715018a61461055e5780638d859f3e146105755780638da5cb5b146105a05761020f565b806323b872dd1161019b57806344a0d68a1161016a57806344a0d68a1461043e57806355f804b3146104675780636352211e146104905780636ebeac85146104cd5780636f8b44b0146104f85761020f565b806323b872dd146103b757806332cb6b0c146103e05780633ccfd60b1461040b57806342842e0e146104155761020f565b8063095ea7b3116101e2578063095ea7b3146102e457806312065fe01461030d5780631342ff4c1461033857806317c84ce61461036157806318160ddd1461038c5761020f565b806301ffc9a71461021457806306fdde0314610251578063081812fc1461027c578063081c8c44146102b9575b600080fd5b34801561022057600080fd5b5061023b60048036038101906102369190612963565b61082c565b60405161024891906129ab565b60405180910390f35b34801561025d57600080fd5b506102666108be565b6040516102739190612a5f565b60405180910390f35b34801561028857600080fd5b506102a3600480360381019061029e9190612ab7565b610950565b6040516102b09190612b25565b60405180910390f35b3480156102c557600080fd5b506102ce6109cc565b6040516102db9190612a5f565b60405180910390f35b3480156102f057600080fd5b5061030b60048036038101906103069190612b6c565b610a5a565b005b34801561031957600080fd5b50610322610c00565b60405161032f9190612bbb565b60405180910390f35b34801561034457600080fd5b5061035f600480360381019061035a9190612ab7565b610c08565b005b34801561036d57600080fd5b50610376610cfc565b6040516103839190612bbb565b60405180910390f35b34801561039857600080fd5b506103a1610d02565b6040516103ae9190612bbb565b60405180910390f35b3480156103c357600080fd5b506103de60048036038101906103d99190612bd6565b610d19565b005b3480156103ec57600080fd5b506103f5610d29565b6040516104029190612bbb565b60405180910390f35b610413610d2f565b005b34801561042157600080fd5b5061043c60048036038101906104379190612bd6565b610e92565b005b34801561044a57600080fd5b5061046560048036038101906104609190612ab7565b610eb2565b005b34801561047357600080fd5b5061048e60048036038101906104899190612c8e565b610f38565b005b34801561049c57600080fd5b506104b760048036038101906104b29190612ab7565b610fca565b6040516104c49190612b25565b60405180910390f35b3480156104d957600080fd5b506104e2610fdc565b6040516104ef91906129ab565b60405180910390f35b34801561050457600080fd5b5061051f600480360381019061051a9190612ab7565b610fef565b005b34801561052d57600080fd5b5061054860048036038101906105439190612cdb565b611075565b6040516105559190612bbb565b60405180910390f35b34801561056a57600080fd5b5061057361112d565b005b34801561058157600080fd5b5061058a6111b5565b6040516105979190612bbb565b60405180910390f35b3480156105ac57600080fd5b506105b56111bb565b6040516105c29190612b25565b60405180910390f35b3480156105d757600080fd5b506105e06111e4565b6040516105ed91906129ab565b60405180910390f35b34801561060257600080fd5b5061061d60048036038101906106189190612d34565b6111f7565b005b34801561062b57600080fd5b50610634611290565b6040516106419190612a5f565b60405180910390f35b34801561065657600080fd5b5061065f611322565b60405161066c9190612bbb565b60405180910390f35b34801561068157600080fd5b5061069c60048036038101906106979190612d61565b611328565b005b3480156106aa57600080fd5b506106c560048036038101906106c09190612d34565b61149f565b005b6106e160048036038101906106dc9190612ab7565b611538565b005b3480156106ef57600080fd5b5061070a60048036038101906107059190612ed1565b6116ef565b005b34801561071857600080fd5b50610733600480360381019061072e9190612ab7565b611762565b005b34801561074157600080fd5b5061074a6117e8565b6040516107579190612a5f565b60405180910390f35b34801561076c57600080fd5b5061078760048036038101906107829190612ab7565b611876565b6040516107949190612a5f565b60405180910390f35b3480156107a957600080fd5b506107c460048036038101906107bf9190612f54565b6119ce565b6040516107d191906129ab565b60405180910390f35b3480156107e657600080fd5b5061080160048036038101906107fc9190613035565b611a62565b005b34801561080f57600080fd5b5061082a60048036038101906108259190612cdb565b611af8565b005b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061088757506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806108b75750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b6060600380546108cd906130ad565b80601f01602080910402602001604051908101604052809291908181526020018280546108f9906130ad565b80156109465780601f1061091b57610100808354040283529160200191610946565b820191906000526020600020905b81548152906001019060200180831161092957829003601f168201915b5050505050905090565b600061095b82611bef565b610991576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6007600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600a80546109d9906130ad565b80601f0160208091040260200160405190810160405280929190818152602001828054610a05906130ad565b8015610a525780601f10610a2757610100808354040283529160200191610a52565b820191906000526020600020905b815481529060010190602001808311610a3557829003601f168201915b505050505081565b6000610a6582611c4e565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610acc576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610aeb611d1a565b73ffffffffffffffffffffffffffffffffffffffff1614610b4e57610b1781610b12611d1a565b6119ce565b610b4d576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826007600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600047905090565b610c10611d22565b73ffffffffffffffffffffffffffffffffffffffff16610c2e6111bb565b73ffffffffffffffffffffffffffffffffffffffff1614610c84576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c7b9061312a565b60405180910390fd5b600c5481610c90610d02565b610c9a9190613179565b1115610cdb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cd29061321b565b60405180910390fd5b610ce53382611d2a565b80600f54610cf39190613179565b600f8190555050565b600f5481565b6000610d0c611d48565b6002546001540303905090565b610d24838383611d4d565b505050565b600c5481565b610d37611d22565b73ffffffffffffffffffffffffffffffffffffffff16610d556111bb565b73ffffffffffffffffffffffffffffffffffffffff1614610dab576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610da29061312a565b60405180910390fd5b600260095403610df0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610de790613287565b60405180910390fd5b6002600981905550600047905060008111610e40576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e37906132f3565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610e86573d6000803e3d6000fd5b50506001600981905550565b610ead838383604051806020016040528060008152506116ef565b505050565b610eba611d22565b73ffffffffffffffffffffffffffffffffffffffff16610ed86111bb565b73ffffffffffffffffffffffffffffffffffffffff1614610f2e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f259061312a565b60405180910390fd5b80600e8190555050565b610f40611d22565b73ffffffffffffffffffffffffffffffffffffffff16610f5e6111bb565b73ffffffffffffffffffffffffffffffffffffffff1614610fb4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fab9061312a565b60405180910390fd5b818160119190610fc59291906127ce565b505050565b6000610fd582611c4e565b9050919050565b601060019054906101000a900460ff1681565b610ff7611d22565b73ffffffffffffffffffffffffffffffffffffffff166110156111bb565b73ffffffffffffffffffffffffffffffffffffffff161461106b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110629061312a565b60405180910390fd5b80600c8190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036110dc576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b611135611d22565b73ffffffffffffffffffffffffffffffffffffffff166111536111bb565b73ffffffffffffffffffffffffffffffffffffffff16146111a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111a09061312a565b60405180910390fd5b6111b360006120f4565b565b600e5481565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b601060009054906101000a900460ff1681565b6111ff611d22565b73ffffffffffffffffffffffffffffffffffffffff1661121d6111bb565b73ffffffffffffffffffffffffffffffffffffffff1614611273576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161126a9061312a565b60405180910390fd5b80601060016101000a81548160ff02191690831515021790555050565b60606004805461129f906130ad565b80601f01602080910402602001604051908101604052809291908181526020018280546112cb906130ad565b80156113185780601f106112ed57610100808354040283529160200191611318565b820191906000526020600020905b8154815290600101906020018083116112fb57829003601f168201915b5050505050905090565b600d5481565b611330611d1a565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611394576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600860006113a1611d1a565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661144e611d1a565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161149391906129ab565b60405180910390a35050565b6114a7611d22565b73ffffffffffffffffffffffffffffffffffffffff166114c56111bb565b73ffffffffffffffffffffffffffffffffffffffff161461151b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115129061312a565b60405180910390fd5b80601060006101000a81548160ff02191690831515021790555050565b60026009540361157d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161157490613287565b60405180910390fd5b6002600981905550600081116115c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115bf9061335f565b60405180910390fd5b601060009054906101000a900460ff16611617576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161160e906133cb565b60405180910390fd5b600c5481611623610d02565b61162d9190613179565b111561166e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161166590613437565b60405180910390fd5b600d548161167a610d02565b6116849190613179565b11156116da573481600e546116999190613457565b146116d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116d0906134fd565b60405180910390fd5b5b6116e43382611d2a565b600160098190555050565b6116fa848484611d4d565b60008373ffffffffffffffffffffffffffffffffffffffff163b1461175c57611725848484846121b8565b61175b576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b61176a611d22565b73ffffffffffffffffffffffffffffffffffffffff166117886111bb565b73ffffffffffffffffffffffffffffffffffffffff16146117de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117d59061312a565b60405180910390fd5b80600d8190555050565b600b80546117f5906130ad565b80601f0160208091040260200160405190810160405280929190818152602001828054611821906130ad565b801561186e5780601f106118435761010080835404028352916020019161186e565b820191906000526020600020905b81548152906001019060200180831161185157829003601f168201915b505050505081565b606061188182611bef565b6118c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118b79061358f565b60405180910390fd5b60001515601060019054906101000a900460ff1615150361196d57600a80546118e8906130ad565b80601f0160208091040260200160405190810160405280929190818152602001828054611914906130ad565b80156119615780601f1061193657610100808354040283529160200191611961565b820191906000526020600020905b81548152906001019060200180831161194457829003601f168201915b505050505090506119c9565b6000611977612308565b9050600081511161199757604051806020016040528060008152506119c5565b806119a18461239a565b600b6040516020016119b59392919061367f565b6040516020818303038152906040525b9150505b919050565b6000600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611a6a611d22565b73ffffffffffffffffffffffffffffffffffffffff16611a886111bb565b73ffffffffffffffffffffffffffffffffffffffff1614611ade576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ad59061312a565b60405180910390fd5b80600a9080519060200190611af4929190612854565b5050565b611b00611d22565b73ffffffffffffffffffffffffffffffffffffffff16611b1e6111bb565b73ffffffffffffffffffffffffffffffffffffffff1614611b74576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b6b9061312a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611be3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bda90613722565b60405180910390fd5b611bec816120f4565b50565b600081611bfa611d48565b11158015611c09575060015482105b8015611c47575060007c0100000000000000000000000000000000000000000000000000000000600560008581526020019081526020016000205416145b9050919050565b60008082905080611c5d611d48565b11611ce357600154811015611ce25760006005600083815260200190815260200160002054905060007c0100000000000000000000000000000000000000000000000000000000821603611ce0575b60008103611cd6576005600083600190039350838152602001908152602001600020549050611cac565b8092505050611d15565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b600033905090565b600033905090565b611d448282604051806020016040528060008152506124fa565b5050565b600090565b6000611d5882611c4e565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611dbf576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff16611de0611d1a565b73ffffffffffffffffffffffffffffffffffffffff161480611e0f5750611e0e85611e09611d1a565b6119ce565b5b80611e545750611e1d611d1a565b73ffffffffffffffffffffffffffffffffffffffff16611e3c84610950565b73ffffffffffffffffffffffffffffffffffffffff16145b905080611e8d576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603611ef3576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611f0085858560016127ae565b6007600084815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff0219169055600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154600101919050819055507c020000000000000000000000000000000000000000000000000000000060a042901b611ffd866127b4565b1717600560008581526020019081526020016000208190555060007c02000000000000000000000000000000000000000000000000000000008316036120855760006001840190506000600560008381526020019081526020016000205403612083576001548114612082578260056000838152602001908152602001600020819055505b5b505b828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46120ed85858560016127be565b5050505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a026121de611d1a565b8786866040518563ffffffff1660e01b81526004016122009493929190613797565b6020604051808303816000875af192505050801561223c57506040513d601f19601f8201168201806040525081019061223991906137f8565b60015b6122b5573d806000811461226c576040519150601f19603f3d011682016040523d82523d6000602084013e612271565b606091505b5060008151036122ad576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b606060118054612317906130ad565b80601f0160208091040260200160405190810160405280929190818152602001828054612343906130ad565b80156123905780601f1061236557610100808354040283529160200191612390565b820191906000526020600020905b81548152906001019060200180831161237357829003601f168201915b5050505050905090565b6060600082036123e1576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506124f5565b600082905060005b600082146124135780806123fc90613825565b915050600a8261240c919061389c565b91506123e9565b60008167ffffffffffffffff81111561242f5761242e612da6565b5b6040519080825280601f01601f1916602001820160405280156124615781602001600182028036833780820191505090505b5090505b600085146124ee5760018261247a91906138cd565b9150600a856124899190613901565b60306124959190613179565b60f81b8183815181106124ab576124aa613932565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856124e7919061389c565b9450612465565b8093505050505b919050565b60006001549050600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603612567576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600083036125a1576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6125ae60008583866127ae565b600160406001901b178302600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555060e1612613600185146127c4565b901b60a042901b612623866127b4565b1717600560008381526020019081526020016000208190555060008190506000848201905060008673ffffffffffffffffffffffffffffffffffffffff163b14612727575b818673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46126d760008784806001019550876121b8565b61270d576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80821061266857826001541461272257600080fd5b612792565b5b818060010192508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4808210612728575b8160018190555050506127a860008583866127be565b50505050565b50505050565b6000819050919050565b50505050565b6000819050919050565b8280546127da906130ad565b90600052602060002090601f0160209004810192826127fc5760008555612843565b82601f1061281557803560ff1916838001178555612843565b82800160010185558215612843579182015b82811115612842578235825591602001919060010190612827565b5b50905061285091906128da565b5090565b828054612860906130ad565b90600052602060002090601f01602090048101928261288257600085556128c9565b82601f1061289b57805160ff19168380011785556128c9565b828001600101855582156128c9579182015b828111156128c85782518255916020019190600101906128ad565b5b5090506128d691906128da565b5090565b5b808211156128f35760008160009055506001016128db565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6129408161290b565b811461294b57600080fd5b50565b60008135905061295d81612937565b92915050565b60006020828403121561297957612978612901565b5b60006129878482850161294e565b91505092915050565b60008115159050919050565b6129a581612990565b82525050565b60006020820190506129c0600083018461299c565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612a005780820151818401526020810190506129e5565b83811115612a0f576000848401525b50505050565b6000601f19601f8301169050919050565b6000612a31826129c6565b612a3b81856129d1565b9350612a4b8185602086016129e2565b612a5481612a15565b840191505092915050565b60006020820190508181036000830152612a798184612a26565b905092915050565b6000819050919050565b612a9481612a81565b8114612a9f57600080fd5b50565b600081359050612ab181612a8b565b92915050565b600060208284031215612acd57612acc612901565b5b6000612adb84828501612aa2565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612b0f82612ae4565b9050919050565b612b1f81612b04565b82525050565b6000602082019050612b3a6000830184612b16565b92915050565b612b4981612b04565b8114612b5457600080fd5b50565b600081359050612b6681612b40565b92915050565b60008060408385031215612b8357612b82612901565b5b6000612b9185828601612b57565b9250506020612ba285828601612aa2565b9150509250929050565b612bb581612a81565b82525050565b6000602082019050612bd06000830184612bac565b92915050565b600080600060608486031215612bef57612bee612901565b5b6000612bfd86828701612b57565b9350506020612c0e86828701612b57565b9250506040612c1f86828701612aa2565b9150509250925092565b600080fd5b600080fd5b600080fd5b60008083601f840112612c4e57612c4d612c29565b5b8235905067ffffffffffffffff811115612c6b57612c6a612c2e565b5b602083019150836001820283011115612c8757612c86612c33565b5b9250929050565b60008060208385031215612ca557612ca4612901565b5b600083013567ffffffffffffffff811115612cc357612cc2612906565b5b612ccf85828601612c38565b92509250509250929050565b600060208284031215612cf157612cf0612901565b5b6000612cff84828501612b57565b91505092915050565b612d1181612990565b8114612d1c57600080fd5b50565b600081359050612d2e81612d08565b92915050565b600060208284031215612d4a57612d49612901565b5b6000612d5884828501612d1f565b91505092915050565b60008060408385031215612d7857612d77612901565b5b6000612d8685828601612b57565b9250506020612d9785828601612d1f565b9150509250929050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612dde82612a15565b810181811067ffffffffffffffff82111715612dfd57612dfc612da6565b5b80604052505050565b6000612e106128f7565b9050612e1c8282612dd5565b919050565b600067ffffffffffffffff821115612e3c57612e3b612da6565b5b612e4582612a15565b9050602081019050919050565b82818337600083830152505050565b6000612e74612e6f84612e21565b612e06565b905082815260208101848484011115612e9057612e8f612da1565b5b612e9b848285612e52565b509392505050565b600082601f830112612eb857612eb7612c29565b5b8135612ec8848260208601612e61565b91505092915050565b60008060008060808587031215612eeb57612eea612901565b5b6000612ef987828801612b57565b9450506020612f0a87828801612b57565b9350506040612f1b87828801612aa2565b925050606085013567ffffffffffffffff811115612f3c57612f3b612906565b5b612f4887828801612ea3565b91505092959194509250565b60008060408385031215612f6b57612f6a612901565b5b6000612f7985828601612b57565b9250506020612f8a85828601612b57565b9150509250929050565b600067ffffffffffffffff821115612faf57612fae612da6565b5b612fb882612a15565b9050602081019050919050565b6000612fd8612fd384612f94565b612e06565b905082815260208101848484011115612ff457612ff3612da1565b5b612fff848285612e52565b509392505050565b600082601f83011261301c5761301b612c29565b5b813561302c848260208601612fc5565b91505092915050565b60006020828403121561304b5761304a612901565b5b600082013567ffffffffffffffff81111561306957613068612906565b5b61307584828501613007565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806130c557607f821691505b6020821081036130d8576130d761307e565b5b50919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006131146020836129d1565b915061311f826130de565b602082019050919050565b6000602082019050818103600083015261314381613107565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061318482612a81565b915061318f83612a81565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156131c4576131c361314a565b5b828201905092915050565b7f776f756c6420657863656564206d617820737570706c79000000000000000000600082015250565b60006132056017836129d1565b9150613210826131cf565b602082019050919050565b60006020820190508181036000830152613234816131f8565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000613271601f836129d1565b915061327c8261323b565b602082019050919050565b600060208201905081810360008301526132a081613264565b9050919050565b7f4e6f206574686572206c65667420746f20776974686472617700000000000000600082015250565b60006132dd6019836129d1565b91506132e8826132a7565b602082019050919050565b6000602082019050818103600083015261330c816132d0565b9050919050565b7f4d757374206d696e74206d6f7265207468616e203020746f6b656e7300000000600082015250565b6000613349601c836129d1565b915061335482613313565b602082019050919050565b600060208201905081810360008301526133788161333c565b9050919050565b7f53616c6520686173206e6f7420626567756e2079657400000000000000000000600082015250565b60006133b56016836129d1565b91506133c08261337f565b602082019050919050565b600060208201905081810360008301526133e4816133a8565b9050919050565b7f72656163686564206d617820737570706c790000000000000000000000000000600082015250565b60006134216012836129d1565b915061342c826133eb565b602082019050919050565b6000602082019050818103600083015261345081613414565b9050919050565b600061346282612a81565b915061346d83612a81565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156134a6576134a561314a565b5b828202905092915050565b7f496e636f72726563742066756e64730000000000000000000000000000000000600082015250565b60006134e7600f836129d1565b91506134f2826134b1565b602082019050919050565b60006020820190508181036000830152613516816134da565b9050919050565b7f455243373231414d657461646174613a2055524920717565727920666f72206e60008201527f6f6e6578697374656e7420746f6b656e00000000000000000000000000000000602082015250565b60006135796030836129d1565b91506135848261351d565b604082019050919050565b600060208201905081810360008301526135a88161356c565b9050919050565b600081905092915050565b60006135c5826129c6565b6135cf81856135af565b93506135df8185602086016129e2565b80840191505092915050565b60008190508160005260206000209050919050565b6000815461360d816130ad565b61361781866135af565b94506001821660008114613632576001811461364357613676565b60ff19831686528186019350613676565b61364c856135eb565b60005b8381101561366e5781548189015260018201915060208101905061364f565b838801955050505b50505092915050565b600061368b82866135ba565b915061369782856135ba565b91506136a38284613600565b9150819050949350505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061370c6026836129d1565b9150613717826136b0565b604082019050919050565b6000602082019050818103600083015261373b816136ff565b9050919050565b600081519050919050565b600082825260208201905092915050565b600061376982613742565b613773818561374d565b93506137838185602086016129e2565b61378c81612a15565b840191505092915050565b60006080820190506137ac6000830187612b16565b6137b96020830186612b16565b6137c66040830185612bac565b81810360608301526137d8818461375e565b905095945050505050565b6000815190506137f281612937565b92915050565b60006020828403121561380e5761380d612901565b5b600061381c848285016137e3565b91505092915050565b600061383082612a81565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036138625761386161314a565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006138a782612a81565b91506138b283612a81565b9250826138c2576138c161386d565b5b828204905092915050565b60006138d882612a81565b91506138e383612a81565b9250828210156138f6576138f561314a565b5b828203905092915050565b600061390c82612a81565b915061391783612a81565b9250826139275761392661386d565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fdfea2646970667358221220cfeb9267dbb74e1c95b51ce90886b964ffadf7e42839facbe457c436640a54e264736f6c634300080e0033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000000084e6174617a756b6900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000024e5a000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002b68747470733a2f2f6e6174617a756b692e78797a2f6e6f6e2d72657665616c2f72657665616c2e6a736f6e000000000000000000000000000000000000000000
Deployed Bytecode
0x60806040526004361061020f5760003560e01c806370a0823111610118578063acec338a116100a0578063c66828621161006f578063c668286214610735578063c87b56dd14610760578063e985e9c51461079d578063f2c4ce1e146107da578063f2fde38b146108035761020f565b8063acec338a1461069e578063b3ab66b0146106c7578063b88d4fde146106e3578063c4c39ed51461070c5761020f565b80638ec89e4f116100e75780638ec89e4f146105cb578063940cd05b146105f657806395d89b411461061f5780639858cf191461064a578063a22cb465146106755761020f565b806370a0823114610521578063715018a61461055e5780638d859f3e146105755780638da5cb5b146105a05761020f565b806323b872dd1161019b57806344a0d68a1161016a57806344a0d68a1461043e57806355f804b3146104675780636352211e146104905780636ebeac85146104cd5780636f8b44b0146104f85761020f565b806323b872dd146103b757806332cb6b0c146103e05780633ccfd60b1461040b57806342842e0e146104155761020f565b8063095ea7b3116101e2578063095ea7b3146102e457806312065fe01461030d5780631342ff4c1461033857806317c84ce61461036157806318160ddd1461038c5761020f565b806301ffc9a71461021457806306fdde0314610251578063081812fc1461027c578063081c8c44146102b9575b600080fd5b34801561022057600080fd5b5061023b60048036038101906102369190612963565b61082c565b60405161024891906129ab565b60405180910390f35b34801561025d57600080fd5b506102666108be565b6040516102739190612a5f565b60405180910390f35b34801561028857600080fd5b506102a3600480360381019061029e9190612ab7565b610950565b6040516102b09190612b25565b60405180910390f35b3480156102c557600080fd5b506102ce6109cc565b6040516102db9190612a5f565b60405180910390f35b3480156102f057600080fd5b5061030b60048036038101906103069190612b6c565b610a5a565b005b34801561031957600080fd5b50610322610c00565b60405161032f9190612bbb565b60405180910390f35b34801561034457600080fd5b5061035f600480360381019061035a9190612ab7565b610c08565b005b34801561036d57600080fd5b50610376610cfc565b6040516103839190612bbb565b60405180910390f35b34801561039857600080fd5b506103a1610d02565b6040516103ae9190612bbb565b60405180910390f35b3480156103c357600080fd5b506103de60048036038101906103d99190612bd6565b610d19565b005b3480156103ec57600080fd5b506103f5610d29565b6040516104029190612bbb565b60405180910390f35b610413610d2f565b005b34801561042157600080fd5b5061043c60048036038101906104379190612bd6565b610e92565b005b34801561044a57600080fd5b5061046560048036038101906104609190612ab7565b610eb2565b005b34801561047357600080fd5b5061048e60048036038101906104899190612c8e565b610f38565b005b34801561049c57600080fd5b506104b760048036038101906104b29190612ab7565b610fca565b6040516104c49190612b25565b60405180910390f35b3480156104d957600080fd5b506104e2610fdc565b6040516104ef91906129ab565b60405180910390f35b34801561050457600080fd5b5061051f600480360381019061051a9190612ab7565b610fef565b005b34801561052d57600080fd5b5061054860048036038101906105439190612cdb565b611075565b6040516105559190612bbb565b60405180910390f35b34801561056a57600080fd5b5061057361112d565b005b34801561058157600080fd5b5061058a6111b5565b6040516105979190612bbb565b60405180910390f35b3480156105ac57600080fd5b506105b56111bb565b6040516105c29190612b25565b60405180910390f35b3480156105d757600080fd5b506105e06111e4565b6040516105ed91906129ab565b60405180910390f35b34801561060257600080fd5b5061061d60048036038101906106189190612d34565b6111f7565b005b34801561062b57600080fd5b50610634611290565b6040516106419190612a5f565b60405180910390f35b34801561065657600080fd5b5061065f611322565b60405161066c9190612bbb565b60405180910390f35b34801561068157600080fd5b5061069c60048036038101906106979190612d61565b611328565b005b3480156106aa57600080fd5b506106c560048036038101906106c09190612d34565b61149f565b005b6106e160048036038101906106dc9190612ab7565b611538565b005b3480156106ef57600080fd5b5061070a60048036038101906107059190612ed1565b6116ef565b005b34801561071857600080fd5b50610733600480360381019061072e9190612ab7565b611762565b005b34801561074157600080fd5b5061074a6117e8565b6040516107579190612a5f565b60405180910390f35b34801561076c57600080fd5b5061078760048036038101906107829190612ab7565b611876565b6040516107949190612a5f565b60405180910390f35b3480156107a957600080fd5b506107c460048036038101906107bf9190612f54565b6119ce565b6040516107d191906129ab565b60405180910390f35b3480156107e657600080fd5b5061080160048036038101906107fc9190613035565b611a62565b005b34801561080f57600080fd5b5061082a60048036038101906108259190612cdb565b611af8565b005b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061088757506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806108b75750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b6060600380546108cd906130ad565b80601f01602080910402602001604051908101604052809291908181526020018280546108f9906130ad565b80156109465780601f1061091b57610100808354040283529160200191610946565b820191906000526020600020905b81548152906001019060200180831161092957829003601f168201915b5050505050905090565b600061095b82611bef565b610991576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6007600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600a80546109d9906130ad565b80601f0160208091040260200160405190810160405280929190818152602001828054610a05906130ad565b8015610a525780601f10610a2757610100808354040283529160200191610a52565b820191906000526020600020905b815481529060010190602001808311610a3557829003601f168201915b505050505081565b6000610a6582611c4e565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610acc576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610aeb611d1a565b73ffffffffffffffffffffffffffffffffffffffff1614610b4e57610b1781610b12611d1a565b6119ce565b610b4d576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826007600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600047905090565b610c10611d22565b73ffffffffffffffffffffffffffffffffffffffff16610c2e6111bb565b73ffffffffffffffffffffffffffffffffffffffff1614610c84576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c7b9061312a565b60405180910390fd5b600c5481610c90610d02565b610c9a9190613179565b1115610cdb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cd29061321b565b60405180910390fd5b610ce53382611d2a565b80600f54610cf39190613179565b600f8190555050565b600f5481565b6000610d0c611d48565b6002546001540303905090565b610d24838383611d4d565b505050565b600c5481565b610d37611d22565b73ffffffffffffffffffffffffffffffffffffffff16610d556111bb565b73ffffffffffffffffffffffffffffffffffffffff1614610dab576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610da29061312a565b60405180910390fd5b600260095403610df0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610de790613287565b60405180910390fd5b6002600981905550600047905060008111610e40576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e37906132f3565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610e86573d6000803e3d6000fd5b50506001600981905550565b610ead838383604051806020016040528060008152506116ef565b505050565b610eba611d22565b73ffffffffffffffffffffffffffffffffffffffff16610ed86111bb565b73ffffffffffffffffffffffffffffffffffffffff1614610f2e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f259061312a565b60405180910390fd5b80600e8190555050565b610f40611d22565b73ffffffffffffffffffffffffffffffffffffffff16610f5e6111bb565b73ffffffffffffffffffffffffffffffffffffffff1614610fb4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fab9061312a565b60405180910390fd5b818160119190610fc59291906127ce565b505050565b6000610fd582611c4e565b9050919050565b601060019054906101000a900460ff1681565b610ff7611d22565b73ffffffffffffffffffffffffffffffffffffffff166110156111bb565b73ffffffffffffffffffffffffffffffffffffffff161461106b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110629061312a565b60405180910390fd5b80600c8190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036110dc576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b611135611d22565b73ffffffffffffffffffffffffffffffffffffffff166111536111bb565b73ffffffffffffffffffffffffffffffffffffffff16146111a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111a09061312a565b60405180910390fd5b6111b360006120f4565b565b600e5481565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b601060009054906101000a900460ff1681565b6111ff611d22565b73ffffffffffffffffffffffffffffffffffffffff1661121d6111bb565b73ffffffffffffffffffffffffffffffffffffffff1614611273576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161126a9061312a565b60405180910390fd5b80601060016101000a81548160ff02191690831515021790555050565b60606004805461129f906130ad565b80601f01602080910402602001604051908101604052809291908181526020018280546112cb906130ad565b80156113185780601f106112ed57610100808354040283529160200191611318565b820191906000526020600020905b8154815290600101906020018083116112fb57829003601f168201915b5050505050905090565b600d5481565b611330611d1a565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611394576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600860006113a1611d1a565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661144e611d1a565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161149391906129ab565b60405180910390a35050565b6114a7611d22565b73ffffffffffffffffffffffffffffffffffffffff166114c56111bb565b73ffffffffffffffffffffffffffffffffffffffff161461151b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115129061312a565b60405180910390fd5b80601060006101000a81548160ff02191690831515021790555050565b60026009540361157d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161157490613287565b60405180910390fd5b6002600981905550600081116115c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115bf9061335f565b60405180910390fd5b601060009054906101000a900460ff16611617576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161160e906133cb565b60405180910390fd5b600c5481611623610d02565b61162d9190613179565b111561166e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161166590613437565b60405180910390fd5b600d548161167a610d02565b6116849190613179565b11156116da573481600e546116999190613457565b146116d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116d0906134fd565b60405180910390fd5b5b6116e43382611d2a565b600160098190555050565b6116fa848484611d4d565b60008373ffffffffffffffffffffffffffffffffffffffff163b1461175c57611725848484846121b8565b61175b576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b61176a611d22565b73ffffffffffffffffffffffffffffffffffffffff166117886111bb565b73ffffffffffffffffffffffffffffffffffffffff16146117de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117d59061312a565b60405180910390fd5b80600d8190555050565b600b80546117f5906130ad565b80601f0160208091040260200160405190810160405280929190818152602001828054611821906130ad565b801561186e5780601f106118435761010080835404028352916020019161186e565b820191906000526020600020905b81548152906001019060200180831161185157829003601f168201915b505050505081565b606061188182611bef565b6118c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118b79061358f565b60405180910390fd5b60001515601060019054906101000a900460ff1615150361196d57600a80546118e8906130ad565b80601f0160208091040260200160405190810160405280929190818152602001828054611914906130ad565b80156119615780601f1061193657610100808354040283529160200191611961565b820191906000526020600020905b81548152906001019060200180831161194457829003601f168201915b505050505090506119c9565b6000611977612308565b9050600081511161199757604051806020016040528060008152506119c5565b806119a18461239a565b600b6040516020016119b59392919061367f565b6040516020818303038152906040525b9150505b919050565b6000600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611a6a611d22565b73ffffffffffffffffffffffffffffffffffffffff16611a886111bb565b73ffffffffffffffffffffffffffffffffffffffff1614611ade576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ad59061312a565b60405180910390fd5b80600a9080519060200190611af4929190612854565b5050565b611b00611d22565b73ffffffffffffffffffffffffffffffffffffffff16611b1e6111bb565b73ffffffffffffffffffffffffffffffffffffffff1614611b74576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b6b9061312a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611be3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bda90613722565b60405180910390fd5b611bec816120f4565b50565b600081611bfa611d48565b11158015611c09575060015482105b8015611c47575060007c0100000000000000000000000000000000000000000000000000000000600560008581526020019081526020016000205416145b9050919050565b60008082905080611c5d611d48565b11611ce357600154811015611ce25760006005600083815260200190815260200160002054905060007c0100000000000000000000000000000000000000000000000000000000821603611ce0575b60008103611cd6576005600083600190039350838152602001908152602001600020549050611cac565b8092505050611d15565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b600033905090565b600033905090565b611d448282604051806020016040528060008152506124fa565b5050565b600090565b6000611d5882611c4e565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611dbf576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff16611de0611d1a565b73ffffffffffffffffffffffffffffffffffffffff161480611e0f5750611e0e85611e09611d1a565b6119ce565b5b80611e545750611e1d611d1a565b73ffffffffffffffffffffffffffffffffffffffff16611e3c84610950565b73ffffffffffffffffffffffffffffffffffffffff16145b905080611e8d576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603611ef3576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611f0085858560016127ae565b6007600084815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff0219169055600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154600101919050819055507c020000000000000000000000000000000000000000000000000000000060a042901b611ffd866127b4565b1717600560008581526020019081526020016000208190555060007c02000000000000000000000000000000000000000000000000000000008316036120855760006001840190506000600560008381526020019081526020016000205403612083576001548114612082578260056000838152602001908152602001600020819055505b5b505b828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46120ed85858560016127be565b5050505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a026121de611d1a565b8786866040518563ffffffff1660e01b81526004016122009493929190613797565b6020604051808303816000875af192505050801561223c57506040513d601f19601f8201168201806040525081019061223991906137f8565b60015b6122b5573d806000811461226c576040519150601f19603f3d011682016040523d82523d6000602084013e612271565b606091505b5060008151036122ad576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b606060118054612317906130ad565b80601f0160208091040260200160405190810160405280929190818152602001828054612343906130ad565b80156123905780601f1061236557610100808354040283529160200191612390565b820191906000526020600020905b81548152906001019060200180831161237357829003601f168201915b5050505050905090565b6060600082036123e1576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506124f5565b600082905060005b600082146124135780806123fc90613825565b915050600a8261240c919061389c565b91506123e9565b60008167ffffffffffffffff81111561242f5761242e612da6565b5b6040519080825280601f01601f1916602001820160405280156124615781602001600182028036833780820191505090505b5090505b600085146124ee5760018261247a91906138cd565b9150600a856124899190613901565b60306124959190613179565b60f81b8183815181106124ab576124aa613932565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856124e7919061389c565b9450612465565b8093505050505b919050565b60006001549050600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603612567576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600083036125a1576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6125ae60008583866127ae565b600160406001901b178302600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555060e1612613600185146127c4565b901b60a042901b612623866127b4565b1717600560008381526020019081526020016000208190555060008190506000848201905060008673ffffffffffffffffffffffffffffffffffffffff163b14612727575b818673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46126d760008784806001019550876121b8565b61270d576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80821061266857826001541461272257600080fd5b612792565b5b818060010192508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4808210612728575b8160018190555050506127a860008583866127be565b50505050565b50505050565b6000819050919050565b50505050565b6000819050919050565b8280546127da906130ad565b90600052602060002090601f0160209004810192826127fc5760008555612843565b82601f1061281557803560ff1916838001178555612843565b82800160010185558215612843579182015b82811115612842578235825591602001919060010190612827565b5b50905061285091906128da565b5090565b828054612860906130ad565b90600052602060002090601f01602090048101928261288257600085556128c9565b82601f1061289b57805160ff19168380011785556128c9565b828001600101855582156128c9579182015b828111156128c85782518255916020019190600101906128ad565b5b5090506128d691906128da565b5090565b5b808211156128f35760008160009055506001016128db565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6129408161290b565b811461294b57600080fd5b50565b60008135905061295d81612937565b92915050565b60006020828403121561297957612978612901565b5b60006129878482850161294e565b91505092915050565b60008115159050919050565b6129a581612990565b82525050565b60006020820190506129c0600083018461299c565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612a005780820151818401526020810190506129e5565b83811115612a0f576000848401525b50505050565b6000601f19601f8301169050919050565b6000612a31826129c6565b612a3b81856129d1565b9350612a4b8185602086016129e2565b612a5481612a15565b840191505092915050565b60006020820190508181036000830152612a798184612a26565b905092915050565b6000819050919050565b612a9481612a81565b8114612a9f57600080fd5b50565b600081359050612ab181612a8b565b92915050565b600060208284031215612acd57612acc612901565b5b6000612adb84828501612aa2565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612b0f82612ae4565b9050919050565b612b1f81612b04565b82525050565b6000602082019050612b3a6000830184612b16565b92915050565b612b4981612b04565b8114612b5457600080fd5b50565b600081359050612b6681612b40565b92915050565b60008060408385031215612b8357612b82612901565b5b6000612b9185828601612b57565b9250506020612ba285828601612aa2565b9150509250929050565b612bb581612a81565b82525050565b6000602082019050612bd06000830184612bac565b92915050565b600080600060608486031215612bef57612bee612901565b5b6000612bfd86828701612b57565b9350506020612c0e86828701612b57565b9250506040612c1f86828701612aa2565b9150509250925092565b600080fd5b600080fd5b600080fd5b60008083601f840112612c4e57612c4d612c29565b5b8235905067ffffffffffffffff811115612c6b57612c6a612c2e565b5b602083019150836001820283011115612c8757612c86612c33565b5b9250929050565b60008060208385031215612ca557612ca4612901565b5b600083013567ffffffffffffffff811115612cc357612cc2612906565b5b612ccf85828601612c38565b92509250509250929050565b600060208284031215612cf157612cf0612901565b5b6000612cff84828501612b57565b91505092915050565b612d1181612990565b8114612d1c57600080fd5b50565b600081359050612d2e81612d08565b92915050565b600060208284031215612d4a57612d49612901565b5b6000612d5884828501612d1f565b91505092915050565b60008060408385031215612d7857612d77612901565b5b6000612d8685828601612b57565b9250506020612d9785828601612d1f565b9150509250929050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612dde82612a15565b810181811067ffffffffffffffff82111715612dfd57612dfc612da6565b5b80604052505050565b6000612e106128f7565b9050612e1c8282612dd5565b919050565b600067ffffffffffffffff821115612e3c57612e3b612da6565b5b612e4582612a15565b9050602081019050919050565b82818337600083830152505050565b6000612e74612e6f84612e21565b612e06565b905082815260208101848484011115612e9057612e8f612da1565b5b612e9b848285612e52565b509392505050565b600082601f830112612eb857612eb7612c29565b5b8135612ec8848260208601612e61565b91505092915050565b60008060008060808587031215612eeb57612eea612901565b5b6000612ef987828801612b57565b9450506020612f0a87828801612b57565b9350506040612f1b87828801612aa2565b925050606085013567ffffffffffffffff811115612f3c57612f3b612906565b5b612f4887828801612ea3565b91505092959194509250565b60008060408385031215612f6b57612f6a612901565b5b6000612f7985828601612b57565b9250506020612f8a85828601612b57565b9150509250929050565b600067ffffffffffffffff821115612faf57612fae612da6565b5b612fb882612a15565b9050602081019050919050565b6000612fd8612fd384612f94565b612e06565b905082815260208101848484011115612ff457612ff3612da1565b5b612fff848285612e52565b509392505050565b600082601f83011261301c5761301b612c29565b5b813561302c848260208601612fc5565b91505092915050565b60006020828403121561304b5761304a612901565b5b600082013567ffffffffffffffff81111561306957613068612906565b5b61307584828501613007565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806130c557607f821691505b6020821081036130d8576130d761307e565b5b50919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006131146020836129d1565b915061311f826130de565b602082019050919050565b6000602082019050818103600083015261314381613107565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061318482612a81565b915061318f83612a81565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156131c4576131c361314a565b5b828201905092915050565b7f776f756c6420657863656564206d617820737570706c79000000000000000000600082015250565b60006132056017836129d1565b9150613210826131cf565b602082019050919050565b60006020820190508181036000830152613234816131f8565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000613271601f836129d1565b915061327c8261323b565b602082019050919050565b600060208201905081810360008301526132a081613264565b9050919050565b7f4e6f206574686572206c65667420746f20776974686472617700000000000000600082015250565b60006132dd6019836129d1565b91506132e8826132a7565b602082019050919050565b6000602082019050818103600083015261330c816132d0565b9050919050565b7f4d757374206d696e74206d6f7265207468616e203020746f6b656e7300000000600082015250565b6000613349601c836129d1565b915061335482613313565b602082019050919050565b600060208201905081810360008301526133788161333c565b9050919050565b7f53616c6520686173206e6f7420626567756e2079657400000000000000000000600082015250565b60006133b56016836129d1565b91506133c08261337f565b602082019050919050565b600060208201905081810360008301526133e4816133a8565b9050919050565b7f72656163686564206d617820737570706c790000000000000000000000000000600082015250565b60006134216012836129d1565b915061342c826133eb565b602082019050919050565b6000602082019050818103600083015261345081613414565b9050919050565b600061346282612a81565b915061346d83612a81565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156134a6576134a561314a565b5b828202905092915050565b7f496e636f72726563742066756e64730000000000000000000000000000000000600082015250565b60006134e7600f836129d1565b91506134f2826134b1565b602082019050919050565b60006020820190508181036000830152613516816134da565b9050919050565b7f455243373231414d657461646174613a2055524920717565727920666f72206e60008201527f6f6e6578697374656e7420746f6b656e00000000000000000000000000000000602082015250565b60006135796030836129d1565b91506135848261351d565b604082019050919050565b600060208201905081810360008301526135a88161356c565b9050919050565b600081905092915050565b60006135c5826129c6565b6135cf81856135af565b93506135df8185602086016129e2565b80840191505092915050565b60008190508160005260206000209050919050565b6000815461360d816130ad565b61361781866135af565b94506001821660008114613632576001811461364357613676565b60ff19831686528186019350613676565b61364c856135eb565b60005b8381101561366e5781548189015260018201915060208101905061364f565b838801955050505b50505092915050565b600061368b82866135ba565b915061369782856135ba565b91506136a38284613600565b9150819050949350505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061370c6026836129d1565b9150613717826136b0565b604082019050919050565b6000602082019050818103600083015261373b816136ff565b9050919050565b600081519050919050565b600082825260208201905092915050565b600061376982613742565b613773818561374d565b93506137838185602086016129e2565b61378c81612a15565b840191505092915050565b60006080820190506137ac6000830187612b16565b6137b96020830186612b16565b6137c66040830185612bac565b81810360608301526137d8818461375e565b905095945050505050565b6000815190506137f281612937565b92915050565b60006020828403121561380e5761380d612901565b5b600061381c848285016137e3565b91505092915050565b600061383082612a81565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036138625761386161314a565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006138a782612a81565b91506138b283612a81565b9250826138c2576138c161386d565b5b828204905092915050565b60006138d882612a81565b91506138e383612a81565b9250828210156138f6576138f561314a565b5b828203905092915050565b600061390c82612a81565b915061391783612a81565b9250826139275761392661386d565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fdfea2646970667358221220cfeb9267dbb74e1c95b51ce90886b964ffadf7e42839facbe457c436640a54e264736f6c634300080e0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000000084e6174617a756b6900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000024e5a000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002b68747470733a2f2f6e6174617a756b692e78797a2f6e6f6e2d72657665616c2f72657665616c2e6a736f6e000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : name (string): Natazuki
Arg [1] : symbol (string): NZ
Arg [2] : _notRevealedUri (string): https://natazuki.xyz/non-reveal/reveal.json
-----Encoded View---------------
10 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000008
Arg [4] : 4e6174617a756b69000000000000000000000000000000000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [6] : 4e5a000000000000000000000000000000000000000000000000000000000000
Arg [7] : 000000000000000000000000000000000000000000000000000000000000002b
Arg [8] : 68747470733a2f2f6e6174617a756b692e78797a2f6e6f6e2d72657665616c2f
Arg [9] : 72657665616c2e6a736f6e000000000000000000000000000000000000000000
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.