ERC-721
Overview
Max Total Supply
104 NOGS
Holders
87
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 NOGSLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Nogs
Compiler Version
v0.8.15+commit.e14f2714
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.15; import "erc721a/contracts/ERC721A.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import '@openzeppelin/contracts/utils/Counters.sol'; import "./interfaces/INogDescriptor.sol"; import "./library/Structs.sol"; contract Nogs is ERC721A, Ownable { /* ⌐◨—————————————————————————————————————————————————————————————◨ set state ⌐◨—————————————————————————————————————————————————————————————◨ */ using Counters for Counters.Counter; uint256 public price = 0.01 ether; uint256 public maxTokenSupply; bool public hasMaxTokenSupply = false; bool public mintActive = true; bool public mintMultipleActive = false; INogDescriptor public descriptor; Structs.NogStyle[] private nogStyles; mapping(uint256 => Structs.Nog) public nogSeeds; error MissingTokenId(uint256 tokenId, uint256 nextToken); /* ⌐◨—————————————————————————————————————————————————————————————◨ set up contract ⌐◨—————————————————————————————————————————————————————————————◨ */ constructor(string memory tokenName, string memory tokenSymbol) ERC721A(tokenName, tokenSymbol) {} event DescriptorUpdated(INogDescriptor descriptor); function setDescriptor(INogDescriptor _descriptor) public onlyOwner { descriptor = _descriptor; emit DescriptorUpdated(_descriptor); } /* ⌐◨—————————————————————————————————————————————————————————————◨ mint ⌐◨—————————————————————————————————————————————————————————————◨ */ function internalMint(address receiver, uint256 quantity) internal { for (uint256 i = 0; i < quantity; i++) { if (hasMaxTokenSupply) { require(_nextTokenId() <= maxTokenSupply - 1, 'Max token supply reached'); } nogSeeds[_nextTokenId()] = constructTokenId(_nextTokenId(), receiver); _safeMint(receiver, 1); } } function mint() external payable { require(mintActive, 'Mint not active.'); require(msg.value >= 1 * price, 'Wrong ETH value sent.'); internalMint(msg.sender, 1); } function mintMultiple(uint256 quantity) external payable { require(mintActive, 'Mint not active.'); require(mintMultipleActive, 'Multiple mints not active.'); require(msg.value >= quantity * price, 'Wrong ETH value sent.'); internalMint(msg.sender, quantity); } /* ⌐◨—————————————————————————————————————————————————————————————◨ construct nft ⌐◨—————————————————————————————————————————————————————————————◨ */ function tokenURI(uint256 tokenId) public view override returns (string memory) { if (!_exists(tokenId)) revert MissingTokenId({ tokenId: tokenId, nextToken: _nextTokenId() }); Structs.Nog memory nog = nogSeeds[tokenId]; return descriptor.constructTokenURI(nog, tokenId); } function constructTokenId(uint256 tokenId, address minterAddress) internal view returns (Structs.Nog memory) { uint16 shadowOdds = uint16(uint256(descriptor.getPseudorandomness(tokenId, 103))) % 100; uint16 animationOdds = uint16(uint256(descriptor.getPseudorandomness(tokenId, 109))) % 100; uint16 backgroundOdds = uint16(uint256(descriptor.getPseudorandomness(tokenId, 139))) % 100; bool hasShadow = false; bool hasAnimation = false; uint16 background = descriptor.getBackgroundIndex(backgroundOdds); if (shadowOdds > 7 && shadowOdds < 19) { hasShadow = true; } if (animationOdds > 69 && animationOdds < 96) { hasAnimation = true; } return Structs.Nog({ minterAddress: minterAddress, nogStyle: uint16(uint256(descriptor.getPseudorandomness(tokenId, 13))) % descriptor.getStylesCount(), backgroundStyle: background, hasShadow: hasShadow, hasAnimation: hasAnimation, colorPalette: [ uint16(uint256(descriptor.getPseudorandomness(tokenId, 17))) % 7, uint16(uint256(descriptor.getPseudorandomness(tokenId, 23))) % 7, uint16(uint256(descriptor.getPseudorandomness(tokenId, 41))) % 7, uint16(uint256(descriptor.getPseudorandomness(tokenId, 67))) % 7, uint16(uint256(descriptor.getPseudorandomness(tokenId, 73))) % 7, uint16(uint256(descriptor.getPseudorandomness(tokenId, 79))) % 7, uint16(uint256(descriptor.getPseudorandomness(tokenId, 97))) % 5 ] }); } /* ⌐◨—————————————————————————————————————————————————————————————◨ utility functions ⌐◨—————————————————————————————————————————————————————————————◨ */ function getBalance() public view returns (uint256) { return address(this).balance; } function numberMinted(address owner) public view returns (uint256) { return _numberMinted(owner); } function isStringEmpty(string memory val) internal pure returns(bool) { bytes memory checkString = bytes(val); if (checkString.length > 0) { return false; } else { return true; } } /* ⌐◨—————————————————————————————————————————————————————————————◨ owner functions ⌐◨—————————————————————————————————————————————————————————————◨ */ function toggleMint() external onlyOwner { mintActive = !mintActive; } function toggleMintMultiple() external onlyOwner { mintMultipleActive = !mintMultipleActive; } function setPrice(uint256 newPrice) external onlyOwner { price = newPrice; } function setMaxTokenSupply(uint256 quantity) external onlyOwner { maxTokenSupply = quantity; } function toggleMaxTokenSupply() external onlyOwner { hasMaxTokenSupply = !hasMaxTokenSupply; } function ownerMintForOthers(address receiver, uint256 quantity) external onlyOwner { internalMint(receiver, quantity); } function withdraw() external onlyOwner { payable(owner()).transfer(address(this).balance); } }
// SPDX-License-Identifier: MIT // ERC721A Contracts v4.2.2 // Creator: Chiru Labs pragma solidity ^0.8.4; import './IERC721A.sol'; /** * @dev Interface of ERC721 token receiver. */ interface ERC721A__IERC721Receiver { function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } /** * @title ERC721A * * @dev Implementation of the [ERC721](https://eips.ethereum.org/EIPS/eip-721) * Non-Fungible Token Standard, including the Metadata extension. * Optimized for lower gas during batch mints. * * Token IDs are minted in sequential order (e.g. 0, 1, 2, 3, ...) * starting from `_startTokenId()`. * * Assumptions: * * - An owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * - The maximum token ID cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is IERC721A { // Reference type for token approval. struct TokenApprovalRef { address value; } // ============================================================= // CONSTANTS // ============================================================= // 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 bit position of `extraData` in packed ownership. uint256 private constant _BITPOS_EXTRA_DATA = 232; // Mask of all 256 bits in a packed ownership except the 24 bits for `extraData`. uint256 private constant _BITMASK_EXTRA_DATA_COMPLEMENT = (1 << 232) - 1; // The mask of the lower 160 bits for addresses. uint256 private constant _BITMASK_ADDRESS = (1 << 160) - 1; // The maximum `quantity` that can be minted with {_mintERC2309}. // This limit is to prevent overflows on the address data entries. // For a limit of 5000, a total of 3.689e15 calls to {_mintERC2309} // is required to cause an overflow, which is unrealistic. uint256 private constant _MAX_MINT_ERC2309_QUANTITY_LIMIT = 5000; // The `Transfer` event signature is given by: // `keccak256(bytes("Transfer(address,address,uint256)"))`. bytes32 private constant _TRANSFER_EVENT_SIGNATURE = 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef; // ============================================================= // STORAGE // ============================================================= // The next token ID 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` // - [232..255] `extraData` 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 => TokenApprovalRef) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; // ============================================================= // CONSTRUCTOR // ============================================================= constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } // ============================================================= // TOKEN COUNTING OPERATIONS // ============================================================= /** * @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 virtual 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 virtual 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 virtual 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 virtual returns (uint256) { return _burnCounter; } // ============================================================= // ADDRESS DATA OPERATIONS // ============================================================= /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) public view virtual 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 auxiliary 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 auxiliary 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 virtual { uint256 packed = _packedAddressData[owner]; uint256 auxCasted; // Cast `aux` with assembly to avoid redundant masking. assembly { auxCasted := aux } packed = (packed & _BITMASK_AUX_COMPLEMENT) | (auxCasted << _BITPOS_AUX); _packedAddressData[owner] = packed; } // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ 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: [ERC165](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. } // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the token collection symbol. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ 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, it can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } // ============================================================= // OWNERSHIPS OPERATIONS // ============================================================= /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { return address(uint160(_packedOwnershipOf(tokenId))); } /** * @dev Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around over time. */ function _ownershipOf(uint256 tokenId) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnershipOf(tokenId)); } /** * @dev Returns the unpacked `TokenOwnership` struct at `index`. */ function _ownershipAt(uint256 index) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnerships[index]); } /** * @dev Initializes the ownership slot minted at `index` for efficiency purposes. */ function _initializeOwnershipAt(uint256 index) internal virtual { if (_packedOwnerships[index] == 0) { _packedOwnerships[index] = _packedOwnershipOf(index); } } /** * 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 initialized ownership slot // (i.e. `ownership.addr != address(0) && ownership.burned == false`) // before an unintialized ownership slot // (i.e. `ownership.addr == address(0) && ownership.burned == false`) // Hence, `curr` will not underflow. // // We can directly compare the packed value. // If the address is zero, packed will be zero. while (packed == 0) { packed = _packedOwnerships[--curr]; } return packed; } } } revert OwnerQueryForNonexistentToken(); } /** * @dev 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; ownership.extraData = uint24(packed >> _BITPOS_EXTRA_DATA); } /** * @dev Packs ownership data into a single uint256. */ function _packOwnershipData(address owner, uint256 flags) private view returns (uint256 result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // `owner | (block.timestamp << _BITPOS_START_TIMESTAMP) | flags`. result := or(owner, or(shl(_BITPOS_START_TIMESTAMP, timestamp()), flags)) } } /** * @dev Returns the `nextInitialized` flag set if `quantity` equals 1. */ function _nextInitializedFlag(uint256 quantity) private pure returns (uint256 result) { // For branchless setting of the `nextInitialized` flag. assembly { // `(quantity == 1) << _BITPOS_NEXT_INITIALIZED`. result := shl(_BITPOS_NEXT_INITIALIZED, eq(quantity, 1)) } } // ============================================================= // APPROVAL OPERATIONS // ============================================================= /** * @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) public virtual override { address owner = ownerOf(tokenId); if (_msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { revert ApprovalCallerNotOwnerNorApproved(); } _tokenApprovals[tokenId].value = to; emit Approval(owner, to, tokenId); } /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId].value; } /** * @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) public virtual override { if (operator == _msgSenderERC721A()) revert ApproveToCaller(); _operatorApprovals[_msgSenderERC721A()][operator] = approved; emit ApprovalForAll(_msgSenderERC721A(), operator, approved); } /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @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. See {_mint}. */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && // If within bounds, _packedOwnerships[tokenId] & _BITMASK_BURNED == 0; // and not burned. } /** * @dev Returns whether `msgSender` is equal to `approvedAddress` or `owner`. */ function _isSenderApprovedOrOwner( address approvedAddress, address owner, address msgSender ) private pure returns (bool result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean. msgSender := and(msgSender, _BITMASK_ADDRESS) // `msgSender == owner || msgSender == approvedAddress`. result := or(eq(msgSender, owner), eq(msgSender, approvedAddress)) } } /** * @dev Returns the storage slot and value for the approved address of `tokenId`. */ function _getApprovedSlotAndAddress(uint256 tokenId) private view returns (uint256 approvedAddressSlot, address approvedAddress) { TokenApprovalRef storage tokenApproval = _tokenApprovals[tokenId]; // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId]`. assembly { approvedAddressSlot := tokenApproval.slot approvedAddress := sload(approvedAddressSlot) } } // ============================================================= // TRANSFER OPERATIONS // ============================================================= /** * @dev Transfers `tokenId` from `from` to `to`. * * 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 ) public virtual override { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner(); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // 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] = _packOwnershipData( to, _BITMASK_NEXT_INITIALIZED | _nextExtraData(from, to, prevOwnershipPacked) ); // 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 `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @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 memory _data ) public virtual override { transferFrom(from, to, tokenId); if (to.code.length != 0) if (!_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @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 Private function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * `from` - Previous owner of the given token ID. * `to` - Target address that will receive the token. * `tokenId` - Token ID to be transferred. * `_data` - Optional data to send along with the call. * * Returns 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)) } } } } // ============================================================= // MINT OPERATIONS // ============================================================= /** * @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 for each mint. */ function _mint(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // `balance` and `numberMinted` have a maximum limit of 2**64. // `tokenId` has a maximum limit of 2**256. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _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] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); uint256 toMasked; uint256 end = startTokenId + quantity; // Use assembly to loop and emit the `Transfer` event for gas savings. assembly { // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean. toMasked := and(to, _BITMASK_ADDRESS) // Emit the `Transfer` event. log4( 0, // Start of data (0, since no data). 0, // End of data (0, since no data). _TRANSFER_EVENT_SIGNATURE, // Signature. 0, // `address(0)`. toMasked, // `to`. startTokenId // `tokenId`. ) for { let tokenId := add(startTokenId, 1) } iszero(eq(tokenId, end)) { tokenId := add(tokenId, 1) } { // Emit the `Transfer` event. Similar to above. log4(0, 0, _TRANSFER_EVENT_SIGNATURE, 0, toMasked, tokenId) } } if (toMasked == 0) revert MintToZeroAddress(); _currentIndex = end; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * This function is intended for efficient minting only during contract creation. * * It emits only one {ConsecutiveTransfer} as defined in * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309), * instead of a sequence of {Transfer} event(s). * * Calling this function outside of contract creation WILL make your contract * non-compliant with the ERC721 standard. * For full ERC721 compliance, substituting ERC721 {Transfer} event(s) with the ERC2309 * {ConsecutiveTransfer} event is only permissible during contract creation. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {ConsecutiveTransfer} event. */ function _mintERC2309(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); if (quantity > _MAX_MINT_ERC2309_QUANTITY_LIMIT) revert MintERC2309QuantityExceedsLimit(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are unrealistic due to the above check for `quantity` to be below the limit. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _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] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); emit ConsecutiveTransfer(startTokenId, startTokenId + quantity - 1, address(0), to); _currentIndex = startTokenId + quantity; } _afterTokenTransfers(address(0), to, startTokenId, 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. * * See {_mint}. * * Emits a {Transfer} event for each mint. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal virtual { _mint(to, quantity); unchecked { if (to.code.length != 0) { uint256 end = _currentIndex; uint256 index = end - quantity; do { if (!_checkContractOnERC721Received(address(0), to, index++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (index < end); // Reentrancy protection. if (_currentIndex != end) revert(); } } } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal virtual { _safeMint(to, quantity, ''); } // ============================================================= // BURN OPERATIONS // ============================================================= /** * @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)); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); if (approvalCheck) { // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // 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] = _packOwnershipData( from, (_BITMASK_BURNED | _BITMASK_NEXT_INITIALIZED) | _nextExtraData(from, address(0), prevOwnershipPacked) ); // 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++; } } // ============================================================= // EXTRA DATA OPERATIONS // ============================================================= /** * @dev Directly sets the extra data for the ownership data `index`. */ function _setExtraDataAt(uint256 index, uint24 extraData) internal virtual { uint256 packed = _packedOwnerships[index]; if (packed == 0) revert OwnershipNotInitializedForExtraData(); uint256 extraDataCasted; // Cast `extraData` with assembly to avoid redundant masking. assembly { extraDataCasted := extraData } packed = (packed & _BITMASK_EXTRA_DATA_COMPLEMENT) | (extraDataCasted << _BITPOS_EXTRA_DATA); _packedOwnerships[index] = packed; } /** * @dev Called during each token transfer to set the 24bit `extraData` field. * Intended to be overridden by the cosumer contract. * * `previousExtraData` - the value of `extraData` before transfer. * * 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 _extraData( address from, address to, uint24 previousExtraData ) internal view virtual returns (uint24) {} /** * @dev Returns the next extra data for the packed ownership data. * The returned result is shifted into position. */ function _nextExtraData( address from, address to, uint256 prevOwnershipPacked ) private view returns (uint256) { uint24 extraData = uint24(prevOwnershipPacked >> _BITPOS_EXTRA_DATA); return uint256(_extraData(from, to, extraData)) << _BITPOS_EXTRA_DATA; } // ============================================================= // OTHER OPERATIONS // ============================================================= /** * @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 virtual returns (string memory str) { assembly { // The maximum value of a uint256 contains 78 digits (1 byte per digit), // but we allocate 0x80 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: 0x20 + 3 * 0x20 = 0x80. str := add(mload(0x40), 0x80) // Update the free memory pointer to allocate. mstore(0x40, str) // Cache the end of the memory to calculate the length later. let end := str // We write the string from rightmost digit to leftmost digit. // The following is essentially a do-while loop that also handles the zero case. // prettier-ignore for { let temp := value } 1 {} { str := sub(str, 1) // Write the character to the pointer. // The ASCII index of the '0' character is 48. mstore8(str, add(48, mod(temp, 10))) // Keep dividing `temp` until zero. temp := div(temp, 10) // prettier-ignore if iszero(temp) { break } } let length := sub(end, str) // Move the pointer 32 bytes leftwards to make room for the length. str := sub(str, 0x20) // Store the length. mstore(str, length) } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Counters.sol) pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` */ library Counters { struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { unchecked { counter._value += 1; } } function decrement(Counter storage counter) internal { uint256 value = counter._value; require(value > 0, "Counter: decrement overflow"); unchecked { counter._value = value - 1; } } function reset(Counter storage counter) internal { counter._value = 0; } }
// SPDX-License-Identifier: GPL-3.0 pragma solidity ^0.8.15; import "../library/Structs.sol"; interface INogDescriptor { function constructTokenURI(Structs.Nog memory nog, uint256 tokenId) external view returns (string memory); function getColorPalette(address minterAddress, uint256 tokenId) external view returns (string[7] memory); function getPseudorandomness(uint tokenId, uint num) external view returns (uint256 pseudorandomness); function setDescription(string memory description) external returns (string memory); function getStylesCount() external view returns (uint16 stylesCount); function getBackgroundIndex(uint16 backgroundOdds) external pure returns (uint16 backgroundIndex); }
// SPDX-License-Identifier: GPL-3.0 pragma solidity ^0.8.15; library Structs { struct Nog { address minterAddress; uint16[7] colorPalette; uint16 nogStyle; uint16 backgroundStyle; bool hasShadow; bool hasAnimation; } struct NogStyle { string name; string shape; uint8 frameColorLength; } struct Seed { uint256 tokenId; address minterAddress; uint16[7] colorPalette; string[7] colors; uint16 nogStyle; string nogStyleName; string nogShape; uint8 frameColorLength; uint16 backgroundStyle; string backgroundStyleName; string shade; string shadow; string shadowAnimation; bool hasAnimation; } struct NogParts { string image; string colorMetadata; string colorPalette; } }
// SPDX-License-Identifier: MIT // ERC721A Contracts v4.2.2 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of ERC721A. */ 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(); /** * 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(); /** * The `quantity` minted with ERC2309 exceeds the safety limit. */ error MintERC2309QuantityExceedsLimit(); /** * The `extraData` cannot be set on an unintialized ownership slot. */ error OwnershipNotInitializedForExtraData(); // ============================================================= // STRUCTS // ============================================================= struct TokenOwnership { // The address of the owner. address addr; // Stores the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; // Arbitrary data similar to `startTimestamp` that can be set via {_extraData}. uint24 extraData; } // ============================================================= // TOKEN COUNTERS // ============================================================= /** * @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() external view returns (uint256); // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 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`, * 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, bytes calldata data ) external; /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` 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); // ============================================================= // IERC2309 // ============================================================= /** * @dev Emitted when tokens in `fromTokenId` to `toTokenId` * (inclusive) is transferred from `from` to `to`, as defined in the * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309) standard. * * See {_mintERC2309} for more details. */ event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"tokenName","type":"string"},{"internalType":"string","name":"tokenSymbol","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"nextToken","type":"uint256"}],"name":"MissingTokenId","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","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":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"contract INogDescriptor","name":"descriptor","type":"address"}],"name":"DescriptorUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"descriptor","outputs":[{"internalType":"contract INogDescriptor","name":"","type":"address"}],"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":[],"name":"hasMaxTokenSupply","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"maxTokenSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mintMultiple","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintMultipleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"nogSeeds","outputs":[{"internalType":"address","name":"minterAddress","type":"address"},{"internalType":"uint16","name":"nogStyle","type":"uint16"},{"internalType":"uint16","name":"backgroundStyle","type":"uint16"},{"internalType":"bool","name":"hasShadow","type":"bool"},{"internalType":"bool","name":"hasAnimation","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"numberMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"ownerMintForOthers","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract INogDescriptor","name":"_descriptor","type":"address"}],"name":"setDescriptor","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"setMaxTokenSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"toggleMaxTokenSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"toggleMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"toggleMintMultiple","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6080604052662386f26fc100006009556000600b60006101000a81548160ff0219169083151502179055506001600b60016101000a81548160ff0219169083151502179055506000600b60026101000a81548160ff0219169083151502179055503480156200006d57600080fd5b506040516200492138038062004921833981810160405281019062000093919062000369565b81818160029081620000a6919062000639565b508060039081620000b8919062000639565b50620000c9620000f960201b60201c565b6000819055505050620000f1620000e5620000fe60201b60201c565b6200010660201b60201c565b505062000720565b600090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6200023582620001ea565b810181811067ffffffffffffffff82111715620002575762000256620001fb565b5b80604052505050565b60006200026c620001cc565b90506200027a82826200022a565b919050565b600067ffffffffffffffff8211156200029d576200029c620001fb565b5b620002a882620001ea565b9050602081019050919050565b60005b83811015620002d5578082015181840152602081019050620002b8565b83811115620002e5576000848401525b50505050565b600062000302620002fc846200027f565b62000260565b905082815260208101848484011115620003215762000320620001e5565b5b6200032e848285620002b5565b509392505050565b600082601f8301126200034e576200034d620001e0565b5b815162000360848260208601620002eb565b91505092915050565b60008060408385031215620003835762000382620001d6565b5b600083015167ffffffffffffffff811115620003a457620003a3620001db565b5b620003b28582860162000336565b925050602083015167ffffffffffffffff811115620003d657620003d5620001db565b5b620003e48582860162000336565b9150509250929050565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200044157607f821691505b602082108103620004575762000456620003f9565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620004c17fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8262000482565b620004cd868362000482565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b60006200051a620005146200050e84620004e5565b620004ef565b620004e5565b9050919050565b6000819050919050565b6200053683620004f9565b6200054e620005458262000521565b8484546200048f565b825550505050565b600090565b6200056562000556565b620005728184846200052b565b505050565b5b818110156200059a576200058e6000826200055b565b60018101905062000578565b5050565b601f821115620005e957620005b3816200045d565b620005be8462000472565b81016020851015620005ce578190505b620005e6620005dd8562000472565b83018262000577565b50505b505050565b600082821c905092915050565b60006200060e60001984600802620005ee565b1980831691505092915050565b6000620006298383620005fb565b9150826002028217905092915050565b6200064482620003ee565b67ffffffffffffffff81111562000660576200065f620001fb565b5b6200066c825462000428565b620006798282856200059e565b600060209050601f831160018114620006b157600084156200069c578287015190505b620006a885826200061b565b86555062000718565b601f198416620006c1866200045d565b60005b82811015620006eb57848901518255600182019150602085019450602081019050620006c4565b868310156200070b578489015162000707601f891682620005fb565b8355505b6001600288020188555050505b505050505050565b6141f180620007306000396000f3fe60806040526004361061020f5760003560e01c806370a0823111610118578063abbb5a55116100a0578063c87b56dd1161006f578063c87b56dd14610715578063d3dd5fe014610752578063dc33e68114610769578063e985e9c5146107a6578063f2fde38b146107e35761020f565b8063abbb5a551461067e578063b07ed9821461069a578063b88d4fde146106c3578063bd3a17f5146106ec5761020f565b806391b7f5ed116100e757806391b7f5ed1461059557806395d89b41146105be5780639a9172c6146105e9578063a035b1fe1461062a578063a22cb465146106555761020f565b806370a08231146104eb578063715018a61461052857806377148dbe1461053f5780638da5cb5b1461056a5761020f565b806323b872dd1161019b5780633ef88c561161016a5780633ef88c561461041857806342842e0e1461042f5780634d85b9601461045857806350f7c204146104835780636352211e146104ae5761020f565b806323b872dd1461038257806325fd90f3146103ab578063303e74df146103d65780633ccfd60b146104015761020f565b8063095ea7b3116101e2578063095ea7b3146102e257806312065fe01461030b5780631249c58b1461033657806318160ddd146103405780631a72b44d1461036b5761020f565b806301b9a3971461021457806301ffc9a71461023d57806306fdde031461027a578063081812fc146102a5575b600080fd5b34801561022057600080fd5b5061023b60048036038101906102369190612e48565b61080c565b005b34801561024957600080fd5b50610264600480360381019061025f9190612ecd565b61088f565b6040516102719190612f15565b60405180910390f35b34801561028657600080fd5b5061028f610921565b60405161029c9190612fc9565b60405180910390f35b3480156102b157600080fd5b506102cc60048036038101906102c79190613021565b6109b3565b6040516102d9919061305d565b60405180910390f35b3480156102ee57600080fd5b50610309600480360381019061030491906130a4565b610a32565b005b34801561031757600080fd5b50610320610b76565b60405161032d91906130f3565b60405180910390f35b61033e610b7e565b005b34801561034c57600080fd5b50610355610c2b565b60405161036291906130f3565b60405180910390f35b34801561037757600080fd5b50610380610c42565b005b34801561038e57600080fd5b506103a960048036038101906103a4919061310e565b610c76565b005b3480156103b757600080fd5b506103c0610f98565b6040516103cd9190612f15565b60405180910390f35b3480156103e257600080fd5b506103eb610fab565b6040516103f891906131c0565b60405180910390f35b34801561040d57600080fd5b50610416610fd1565b005b34801561042457600080fd5b5061042d611029565b005b34801561043b57600080fd5b506104566004803603810190610451919061310e565b61105d565b005b34801561046457600080fd5b5061046d61107d565b60405161047a9190612f15565b60405180910390f35b34801561048f57600080fd5b50610498611090565b6040516104a591906130f3565b60405180910390f35b3480156104ba57600080fd5b506104d560048036038101906104d09190613021565b611096565b6040516104e2919061305d565b60405180910390f35b3480156104f757600080fd5b50610512600480360381019061050d91906131db565b6110a8565b60405161051f91906130f3565b60405180910390f35b34801561053457600080fd5b5061053d611160565b005b34801561054b57600080fd5b50610554611174565b6040516105619190612f15565b60405180910390f35b34801561057657600080fd5b5061057f611187565b60405161058c919061305d565b60405180910390f35b3480156105a157600080fd5b506105bc60048036038101906105b79190613021565b6111b1565b005b3480156105ca57600080fd5b506105d36111c3565b6040516105e09190612fc9565b60405180910390f35b3480156105f557600080fd5b50610610600480360381019061060b9190613021565b611255565b604051610621959493929190613225565b60405180910390f35b34801561063657600080fd5b5061063f6112e1565b60405161064c91906130f3565b60405180910390f35b34801561066157600080fd5b5061067c600480360381019061067791906132a4565b6112e7565b005b61069860048036038101906106939190613021565b61145e565b005b3480156106a657600080fd5b506106c160048036038101906106bc9190613021565b611559565b005b3480156106cf57600080fd5b506106ea60048036038101906106e59190613419565b61156b565b005b3480156106f857600080fd5b50610713600480360381019061070e91906130a4565b6115de565b005b34801561072157600080fd5b5061073c60048036038101906107379190613021565b6115f4565b6040516107499190612fc9565b60405180910390f35b34801561075e57600080fd5b5061076761184f565b005b34801561077557600080fd5b50610790600480360381019061078b91906131db565b611883565b60405161079d91906130f3565b60405180910390f35b3480156107b257600080fd5b506107cd60048036038101906107c8919061349c565b611895565b6040516107da9190612f15565b60405180910390f35b3480156107ef57600080fd5b5061080a600480360381019061080591906131db565b611929565b005b6108146119ac565b80600b60036101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f6e66ab22238a5471005895947c8f57db923c2a9c9c73180eff80864c21295c1b8160405161088491906131c0565b60405180910390a150565b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806108ea57506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061091a5750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b6060600280546109309061350b565b80601f016020809104026020016040519081016040528092919081815260200182805461095c9061350b565b80156109a95780601f1061097e576101008083540402835291602001916109a9565b820191906000526020600020905b81548152906001019060200180831161098c57829003601f168201915b5050505050905090565b60006109be82611a2a565b6109f4576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610a3d82611096565b90508073ffffffffffffffffffffffffffffffffffffffff16610a5e611a89565b73ffffffffffffffffffffffffffffffffffffffff1614610ac157610a8a81610a85611a89565b611895565b610ac0576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600047905090565b600b60019054906101000a900460ff16610bcd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bc490613588565b60405180910390fd5b6009546001610bdc91906135d7565b341015610c1e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c159061367d565b60405180910390fd5b610c29336001611a91565b565b6000610c35611c40565b6001546000540303905090565b610c4a6119ac565b600b60029054906101000a900460ff1615600b60026101000a81548160ff021916908315150217905550565b6000610c8182611c45565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610ce8576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080610cf484611d11565b91509150610d0a8187610d05611a89565b611d38565b610d5657610d1f86610d1a611a89565b611895565b610d55576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603610dbc576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610dc98686866001611d7c565b8015610dd457600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815460010191905081905550610ea285610e7e888887611d82565b7c020000000000000000000000000000000000000000000000000000000017611daa565b600460008681526020019081526020016000208190555060007c0200000000000000000000000000000000000000000000000000000000841603610f285760006001850190506000600460008381526020019081526020016000205403610f26576000548114610f25578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4610f908686866001611dd5565b505050505050565b600b60019054906101000a900460ff1681565b600b60039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610fd96119ac565b610fe1611187565b73ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015611026573d6000803e3d6000fd5b50565b6110316119ac565b600b60009054906101000a900460ff1615600b60006101000a81548160ff021916908315150217905550565b6110788383836040518060200160405280600081525061156b565b505050565b600b60009054906101000a900460ff1681565b600a5481565b60006110a182611c45565b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361110f576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b6111686119ac565b6111726000611ddb565b565b600b60029054906101000a900460ff1681565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6111b96119ac565b8060098190555050565b6060600380546111d29061350b565b80601f01602080910402602001604051908101604052809291908181526020018280546111fe9061350b565b801561124b5780601f106112205761010080835404028352916020019161124b565b820191906000526020600020905b81548152906001019060200180831161122e57829003601f168201915b5050505050905090565b600d6020528060005260406000206000915090508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060020160009054906101000a900461ffff16908060020160029054906101000a900461ffff16908060020160049054906101000a900460ff16908060020160059054906101000a900460ff16905085565b60095481565b6112ef611a89565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611353576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000611360611a89565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661140d611a89565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516114529190612f15565b60405180910390a35050565b600b60019054906101000a900460ff166114ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114a490613588565b60405180910390fd5b600b60029054906101000a900460ff166114fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114f3906136e9565b60405180910390fd5b6009548161150a91906135d7565b34101561154c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115439061367d565b60405180910390fd5b6115563382611a91565b50565b6115616119ac565b80600a8190555050565b611576848484610c76565b60008373ffffffffffffffffffffffffffffffffffffffff163b146115d8576115a184848484611ea1565b6115d7576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b6115e66119ac565b6115f08282611a91565b5050565b60606115ff82611a2a565b611649578161160c611ff1565b6040517fd07ca590000000000000000000000000000000000000000000000000000000008152600401611640929190613709565b60405180910390fd5b6000600d60008481526020019081526020016000206040518060c00160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200160018201600780602002604051908101604052809291908260078015611723576020028201916000905b82829054906101000a900461ffff1661ffff16815260200190600201906020826001010492830192600103820291508084116116ea5790505b505050505081526020016002820160009054906101000a900461ffff1661ffff1661ffff1681526020016002820160029054906101000a900461ffff1661ffff1661ffff1681526020016002820160049054906101000a900460ff161515151581526020016002820160059054906101000a900460ff1615151515815250509050600b60039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f2efcd5282856040518363ffffffff1660e01b815260040161180192919061387b565b600060405180830381865afa15801561181e573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906118479190613947565b915050919050565b6118576119ac565b600b60019054906101000a900460ff1615600b60016101000a81548160ff021916908315150217905550565b600061188e82611ffa565b9050919050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6119316119ac565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036119a0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161199790613a02565b60405180910390fd5b6119a981611ddb565b50565b6119b4612051565b73ffffffffffffffffffffffffffffffffffffffff166119d2611187565b73ffffffffffffffffffffffffffffffffffffffff1614611a28576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a1f90613a6e565b60405180910390fd5b565b600081611a35611c40565b11158015611a44575060005482105b8015611a82575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b60005b81811015611c3b57600b60009054906101000a900460ff1615611b0a576001600a54611ac09190613a8e565b611ac8611ff1565b1115611b09576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b0090613b0e565b60405180910390fd5b5b611b1b611b15611ff1565b84612059565b600d6000611b27611ff1565b815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550602082015181600101906007611b93929190612c8a565b5060408201518160020160006101000a81548161ffff021916908361ffff16021790555060608201518160020160026101000a81548161ffff021916908361ffff16021790555060808201518160020160046101000a81548160ff02191690831515021790555060a08201518160020160056101000a81548160ff021916908315150217905550905050611c288360016129fb565b8080611c3390613b2e565b915050611a94565b505050565b600090565b60008082905080611c54611c40565b11611cda57600054811015611cd95760006004600083815260200190815260200160002054905060007c0100000000000000000000000000000000000000000000000000000000821603611cd7575b60008103611ccd576004600083600190039350838152602001908152602001600020549050611ca3565b8092505050611d0c565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b60008060006006600085815260200190815260200160002090508092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e8611d99868684612a19565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02611ec7611a89565b8786866040518563ffffffff1660e01b8152600401611ee99493929190613bcb565b6020604051808303816000875af1925050508015611f2557506040513d601f19601f82011682018060405250810190611f229190613c2c565b60015b611f9e573d8060008114611f55576040519150601f19603f3d011682016040523d82523d6000602084013e611f5a565b606091505b506000815103611f96576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60008054905090565b600067ffffffffffffffff6040600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054901c169050919050565b600033905090565b612061612d27565b60006064600b60039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166328bbc6188660676040518363ffffffff1660e01b81526004016120c3929190613c94565b602060405180830381865afa1580156120e0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121049190613cd2565b61210e9190613d2e565b905060006064600b60039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166328bbc61887606d6040518363ffffffff1660e01b8152600401612172929190613d9a565b602060405180830381865afa15801561218f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121b39190613cd2565b6121bd9190613d2e565b905060006064600b60039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166328bbc61888608b6040518363ffffffff1660e01b8152600401612221929190613dfe565b602060405180830381865afa15801561223e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122629190613cd2565b61226c9190613d2e565b90506000806000600b60039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663dddc3236856040518263ffffffff1660e01b81526004016122ce9190613e27565b602060405180830381865afa1580156122eb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061230f9190613e6e565b905060078661ffff16118015612329575060138661ffff16105b1561233357600192505b60458561ffff1611801561234b575060608561ffff16105b1561235557600191505b6040518060c001604052808973ffffffffffffffffffffffffffffffffffffffff1681526020016040518060e001604052806007600b60039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166328bbc6188f60116040518363ffffffff1660e01b81526004016123e7929190613ed6565b602060405180830381865afa158015612404573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124289190613cd2565b6124329190613d2e565b61ffff1661ffff1681526020016007600b60039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166328bbc6188f60176040518363ffffffff1660e01b815260040161249f929190613f3a565b602060405180830381865afa1580156124bc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124e09190613cd2565b6124ea9190613d2e565b61ffff1661ffff1681526020016007600b60039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166328bbc6188f60296040518363ffffffff1660e01b8152600401612557929190613f9e565b602060405180830381865afa158015612574573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125989190613cd2565b6125a29190613d2e565b61ffff1661ffff1681526020016007600b60039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166328bbc6188f60436040518363ffffffff1660e01b815260040161260f929190614002565b602060405180830381865afa15801561262c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126509190613cd2565b61265a9190613d2e565b61ffff1661ffff1681526020016007600b60039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166328bbc6188f60496040518363ffffffff1660e01b81526004016126c7929190614066565b602060405180830381865afa1580156126e4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127089190613cd2565b6127129190613d2e565b61ffff1661ffff1681526020016007600b60039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166328bbc6188f604f6040518363ffffffff1660e01b815260040161277f9291906140ca565b602060405180830381865afa15801561279c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127c09190613cd2565b6127ca9190613d2e565b61ffff1661ffff1681526020016005600b60039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166328bbc6188f60616040518363ffffffff1660e01b815260040161283792919061412e565b602060405180830381865afa158015612854573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128789190613cd2565b6128829190613d2e565b61ffff1661ffff168152508152602001600b60039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663cadccb626040518163ffffffff1660e01b8152600401602060405180830381865afa1580156128ff573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129239190613e6e565b600b60039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166328bbc6188d600d6040518363ffffffff1660e01b8152600401612981929190614192565b602060405180830381865afa15801561299e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129c29190613cd2565b6129cc9190613d2e565b61ffff1681526020018261ffff1681526020018415158152602001831515815250965050505050505092915050565b612a15828260405180602001604052806000815250612a22565b5050565b60009392505050565b612a2c8383612abf565b60008373ffffffffffffffffffffffffffffffffffffffff163b14612aba57600080549050600083820390505b612a6c6000868380600101945086611ea1565b612aa2576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b818110612a59578160005414612ab757600080fd5b50505b505050565b60008054905060008203612aff576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612b0c6000848385611d7c565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550612b8383612b746000866000611d82565b612b7d85612c7a565b17611daa565b6004600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b818114612c2457808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600181019050612be9565b5060008203612c5f576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806000819055505050612c756000848385611dd5565b505050565b60006001821460e11b9050919050565b826007600f01601090048101928215612d165791602002820160005b83821115612ce657835183826101000a81548161ffff021916908361ffff1602179055509260200192600201602081600101049283019260010302612ca6565b8015612d145782816101000a81549061ffff0219169055600201602081600101049283019260010302612ce6565b505b509050612d239190612d85565b5090565b6040518060c00160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001612d57612da2565b8152602001600061ffff168152602001600061ffff1681526020016000151581526020016000151581525090565b5b80821115612d9e576000816000905550600101612d86565b5090565b6040518060e00160405280600790602082028036833780820191505090505090565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612e0382612dd8565b9050919050565b6000612e1582612df8565b9050919050565b612e2581612e0a565b8114612e3057600080fd5b50565b600081359050612e4281612e1c565b92915050565b600060208284031215612e5e57612e5d612dce565b5b6000612e6c84828501612e33565b91505092915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612eaa81612e75565b8114612eb557600080fd5b50565b600081359050612ec781612ea1565b92915050565b600060208284031215612ee357612ee2612dce565b5b6000612ef184828501612eb8565b91505092915050565b60008115159050919050565b612f0f81612efa565b82525050565b6000602082019050612f2a6000830184612f06565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612f6a578082015181840152602081019050612f4f565b83811115612f79576000848401525b50505050565b6000601f19601f8301169050919050565b6000612f9b82612f30565b612fa58185612f3b565b9350612fb5818560208601612f4c565b612fbe81612f7f565b840191505092915050565b60006020820190508181036000830152612fe38184612f90565b905092915050565b6000819050919050565b612ffe81612feb565b811461300957600080fd5b50565b60008135905061301b81612ff5565b92915050565b60006020828403121561303757613036612dce565b5b60006130458482850161300c565b91505092915050565b61305781612df8565b82525050565b6000602082019050613072600083018461304e565b92915050565b61308181612df8565b811461308c57600080fd5b50565b60008135905061309e81613078565b92915050565b600080604083850312156130bb576130ba612dce565b5b60006130c98582860161308f565b92505060206130da8582860161300c565b9150509250929050565b6130ed81612feb565b82525050565b600060208201905061310860008301846130e4565b92915050565b60008060006060848603121561312757613126612dce565b5b60006131358682870161308f565b93505060206131468682870161308f565b92505060406131578682870161300c565b9150509250925092565b6000819050919050565b600061318661318161317c84612dd8565b613161565b612dd8565b9050919050565b60006131988261316b565b9050919050565b60006131aa8261318d565b9050919050565b6131ba8161319f565b82525050565b60006020820190506131d560008301846131b1565b92915050565b6000602082840312156131f1576131f0612dce565b5b60006131ff8482850161308f565b91505092915050565b600061ffff82169050919050565b61321f81613208565b82525050565b600060a08201905061323a600083018861304e565b6132476020830187613216565b6132546040830186613216565b6132616060830185612f06565b61326e6080830184612f06565b9695505050505050565b61328181612efa565b811461328c57600080fd5b50565b60008135905061329e81613278565b92915050565b600080604083850312156132bb576132ba612dce565b5b60006132c98582860161308f565b92505060206132da8582860161328f565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61332682612f7f565b810181811067ffffffffffffffff82111715613345576133446132ee565b5b80604052505050565b6000613358612dc4565b9050613364828261331d565b919050565b600067ffffffffffffffff821115613384576133836132ee565b5b61338d82612f7f565b9050602081019050919050565b82818337600083830152505050565b60006133bc6133b784613369565b61334e565b9050828152602081018484840111156133d8576133d76132e9565b5b6133e384828561339a565b509392505050565b600082601f830112613400576133ff6132e4565b5b81356134108482602086016133a9565b91505092915050565b6000806000806080858703121561343357613432612dce565b5b60006134418782880161308f565b94505060206134528782880161308f565b93505060406134638782880161300c565b925050606085013567ffffffffffffffff81111561348457613483612dd3565b5b613490878288016133eb565b91505092959194509250565b600080604083850312156134b3576134b2612dce565b5b60006134c18582860161308f565b92505060206134d28582860161308f565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061352357607f821691505b602082108103613536576135356134dc565b5b50919050565b7f4d696e74206e6f74206163746976652e00000000000000000000000000000000600082015250565b6000613572601083612f3b565b915061357d8261353c565b602082019050919050565b600060208201905081810360008301526135a181613565565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006135e282612feb565b91506135ed83612feb565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613626576136256135a8565b5b828202905092915050565b7f57726f6e67204554482076616c75652073656e742e0000000000000000000000600082015250565b6000613667601583612f3b565b915061367282613631565b602082019050919050565b600060208201905081810360008301526136968161365a565b9050919050565b7f4d756c7469706c65206d696e7473206e6f74206163746976652e000000000000600082015250565b60006136d3601a83612f3b565b91506136de8261369d565b602082019050919050565b60006020820190508181036000830152613702816136c6565b9050919050565b600060408201905061371e60008301856130e4565b61372b60208301846130e4565b9392505050565b61373b81612df8565b82525050565b600060079050919050565b600081905092915050565b6000819050919050565b61376a81613208565b82525050565b600061377c8383613761565b60208301905092915050565b6000602082019050919050565b61379e81613741565b6137a8818461374c565b92506137b382613757565b8060005b838110156137e45781516137cb8782613770565b96506137d683613788565b9250506001810190506137b7565b505050505050565b6137f581612efa565b82525050565b610180820160008201516138126000850182613732565b5060208201516138256020850182613795565b506040820151613839610100850182613761565b50606082015161384d610120850182613761565b5060808201516138616101408501826137ec565b5060a08201516138756101608501826137ec565b50505050565b60006101a08201905061389160008301856137fb565b61389f6101808301846130e4565b9392505050565b600067ffffffffffffffff8211156138c1576138c06132ee565b5b6138ca82612f7f565b9050602081019050919050565b60006138ea6138e5846138a6565b61334e565b905082815260208101848484011115613906576139056132e9565b5b613911848285612f4c565b509392505050565b600082601f83011261392e5761392d6132e4565b5b815161393e8482602086016138d7565b91505092915050565b60006020828403121561395d5761395c612dce565b5b600082015167ffffffffffffffff81111561397b5761397a612dd3565b5b61398784828501613919565b91505092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006139ec602683612f3b565b91506139f782613990565b604082019050919050565b60006020820190508181036000830152613a1b816139df565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613a58602083612f3b565b9150613a6382613a22565b602082019050919050565b60006020820190508181036000830152613a8781613a4b565b9050919050565b6000613a9982612feb565b9150613aa483612feb565b925082821015613ab757613ab66135a8565b5b828203905092915050565b7f4d617820746f6b656e20737570706c7920726561636865640000000000000000600082015250565b6000613af8601883612f3b565b9150613b0382613ac2565b602082019050919050565b60006020820190508181036000830152613b2781613aeb565b9050919050565b6000613b3982612feb565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203613b6b57613b6a6135a8565b5b600182019050919050565b600081519050919050565b600082825260208201905092915050565b6000613b9d82613b76565b613ba78185613b81565b9350613bb7818560208601612f4c565b613bc081612f7f565b840191505092915050565b6000608082019050613be0600083018761304e565b613bed602083018661304e565b613bfa60408301856130e4565b8181036060830152613c0c8184613b92565b905095945050505050565b600081519050613c2681612ea1565b92915050565b600060208284031215613c4257613c41612dce565b5b6000613c5084828501613c17565b91505092915050565b6000819050919050565b6000613c7e613c79613c7484613c59565b613161565b612feb565b9050919050565b613c8e81613c63565b82525050565b6000604082019050613ca960008301856130e4565b613cb66020830184613c85565b9392505050565b600081519050613ccc81612ff5565b92915050565b600060208284031215613ce857613ce7612dce565b5b6000613cf684828501613cbd565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613d3982613208565b9150613d4483613208565b925082613d5457613d53613cff565b5b828206905092915050565b6000819050919050565b6000613d84613d7f613d7a84613d5f565b613161565b612feb565b9050919050565b613d9481613d69565b82525050565b6000604082019050613daf60008301856130e4565b613dbc6020830184613d8b565b9392505050565b6000819050919050565b6000613de8613de3613dde84613dc3565b613161565b612feb565b9050919050565b613df881613dcd565b82525050565b6000604082019050613e1360008301856130e4565b613e206020830184613def565b9392505050565b6000602082019050613e3c6000830184613216565b92915050565b613e4b81613208565b8114613e5657600080fd5b50565b600081519050613e6881613e42565b92915050565b600060208284031215613e8457613e83612dce565b5b6000613e9284828501613e59565b91505092915050565b6000819050919050565b6000613ec0613ebb613eb684613e9b565b613161565b612feb565b9050919050565b613ed081613ea5565b82525050565b6000604082019050613eeb60008301856130e4565b613ef86020830184613ec7565b9392505050565b6000819050919050565b6000613f24613f1f613f1a84613eff565b613161565b612feb565b9050919050565b613f3481613f09565b82525050565b6000604082019050613f4f60008301856130e4565b613f5c6020830184613f2b565b9392505050565b6000819050919050565b6000613f88613f83613f7e84613f63565b613161565b612feb565b9050919050565b613f9881613f6d565b82525050565b6000604082019050613fb360008301856130e4565b613fc06020830184613f8f565b9392505050565b6000819050919050565b6000613fec613fe7613fe284613fc7565b613161565b612feb565b9050919050565b613ffc81613fd1565b82525050565b600060408201905061401760008301856130e4565b6140246020830184613ff3565b9392505050565b6000819050919050565b600061405061404b6140468461402b565b613161565b612feb565b9050919050565b61406081614035565b82525050565b600060408201905061407b60008301856130e4565b6140886020830184614057565b9392505050565b6000819050919050565b60006140b46140af6140aa8461408f565b613161565b612feb565b9050919050565b6140c481614099565b82525050565b60006040820190506140df60008301856130e4565b6140ec60208301846140bb565b9392505050565b6000819050919050565b600061411861411361410e846140f3565b613161565b612feb565b9050919050565b614128816140fd565b82525050565b600060408201905061414360008301856130e4565b614150602083018461411f565b9392505050565b6000819050919050565b600061417c61417761417284614157565b613161565b612feb565b9050919050565b61418c81614161565b82525050565b60006040820190506141a760008301856130e4565b6141b46020830184614183565b939250505056fea2646970667358221220981b33d65968d5b050024f107e4d4306db48630b7e42a565a80f4582ef9997c364736f6c634300080f00330000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000044e6f67730000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044e4f475300000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x60806040526004361061020f5760003560e01c806370a0823111610118578063abbb5a55116100a0578063c87b56dd1161006f578063c87b56dd14610715578063d3dd5fe014610752578063dc33e68114610769578063e985e9c5146107a6578063f2fde38b146107e35761020f565b8063abbb5a551461067e578063b07ed9821461069a578063b88d4fde146106c3578063bd3a17f5146106ec5761020f565b806391b7f5ed116100e757806391b7f5ed1461059557806395d89b41146105be5780639a9172c6146105e9578063a035b1fe1461062a578063a22cb465146106555761020f565b806370a08231146104eb578063715018a61461052857806377148dbe1461053f5780638da5cb5b1461056a5761020f565b806323b872dd1161019b5780633ef88c561161016a5780633ef88c561461041857806342842e0e1461042f5780634d85b9601461045857806350f7c204146104835780636352211e146104ae5761020f565b806323b872dd1461038257806325fd90f3146103ab578063303e74df146103d65780633ccfd60b146104015761020f565b8063095ea7b3116101e2578063095ea7b3146102e257806312065fe01461030b5780631249c58b1461033657806318160ddd146103405780631a72b44d1461036b5761020f565b806301b9a3971461021457806301ffc9a71461023d57806306fdde031461027a578063081812fc146102a5575b600080fd5b34801561022057600080fd5b5061023b60048036038101906102369190612e48565b61080c565b005b34801561024957600080fd5b50610264600480360381019061025f9190612ecd565b61088f565b6040516102719190612f15565b60405180910390f35b34801561028657600080fd5b5061028f610921565b60405161029c9190612fc9565b60405180910390f35b3480156102b157600080fd5b506102cc60048036038101906102c79190613021565b6109b3565b6040516102d9919061305d565b60405180910390f35b3480156102ee57600080fd5b50610309600480360381019061030491906130a4565b610a32565b005b34801561031757600080fd5b50610320610b76565b60405161032d91906130f3565b60405180910390f35b61033e610b7e565b005b34801561034c57600080fd5b50610355610c2b565b60405161036291906130f3565b60405180910390f35b34801561037757600080fd5b50610380610c42565b005b34801561038e57600080fd5b506103a960048036038101906103a4919061310e565b610c76565b005b3480156103b757600080fd5b506103c0610f98565b6040516103cd9190612f15565b60405180910390f35b3480156103e257600080fd5b506103eb610fab565b6040516103f891906131c0565b60405180910390f35b34801561040d57600080fd5b50610416610fd1565b005b34801561042457600080fd5b5061042d611029565b005b34801561043b57600080fd5b506104566004803603810190610451919061310e565b61105d565b005b34801561046457600080fd5b5061046d61107d565b60405161047a9190612f15565b60405180910390f35b34801561048f57600080fd5b50610498611090565b6040516104a591906130f3565b60405180910390f35b3480156104ba57600080fd5b506104d560048036038101906104d09190613021565b611096565b6040516104e2919061305d565b60405180910390f35b3480156104f757600080fd5b50610512600480360381019061050d91906131db565b6110a8565b60405161051f91906130f3565b60405180910390f35b34801561053457600080fd5b5061053d611160565b005b34801561054b57600080fd5b50610554611174565b6040516105619190612f15565b60405180910390f35b34801561057657600080fd5b5061057f611187565b60405161058c919061305d565b60405180910390f35b3480156105a157600080fd5b506105bc60048036038101906105b79190613021565b6111b1565b005b3480156105ca57600080fd5b506105d36111c3565b6040516105e09190612fc9565b60405180910390f35b3480156105f557600080fd5b50610610600480360381019061060b9190613021565b611255565b604051610621959493929190613225565b60405180910390f35b34801561063657600080fd5b5061063f6112e1565b60405161064c91906130f3565b60405180910390f35b34801561066157600080fd5b5061067c600480360381019061067791906132a4565b6112e7565b005b61069860048036038101906106939190613021565b61145e565b005b3480156106a657600080fd5b506106c160048036038101906106bc9190613021565b611559565b005b3480156106cf57600080fd5b506106ea60048036038101906106e59190613419565b61156b565b005b3480156106f857600080fd5b50610713600480360381019061070e91906130a4565b6115de565b005b34801561072157600080fd5b5061073c60048036038101906107379190613021565b6115f4565b6040516107499190612fc9565b60405180910390f35b34801561075e57600080fd5b5061076761184f565b005b34801561077557600080fd5b50610790600480360381019061078b91906131db565b611883565b60405161079d91906130f3565b60405180910390f35b3480156107b257600080fd5b506107cd60048036038101906107c8919061349c565b611895565b6040516107da9190612f15565b60405180910390f35b3480156107ef57600080fd5b5061080a600480360381019061080591906131db565b611929565b005b6108146119ac565b80600b60036101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f6e66ab22238a5471005895947c8f57db923c2a9c9c73180eff80864c21295c1b8160405161088491906131c0565b60405180910390a150565b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806108ea57506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061091a5750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b6060600280546109309061350b565b80601f016020809104026020016040519081016040528092919081815260200182805461095c9061350b565b80156109a95780601f1061097e576101008083540402835291602001916109a9565b820191906000526020600020905b81548152906001019060200180831161098c57829003601f168201915b5050505050905090565b60006109be82611a2a565b6109f4576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610a3d82611096565b90508073ffffffffffffffffffffffffffffffffffffffff16610a5e611a89565b73ffffffffffffffffffffffffffffffffffffffff1614610ac157610a8a81610a85611a89565b611895565b610ac0576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600047905090565b600b60019054906101000a900460ff16610bcd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bc490613588565b60405180910390fd5b6009546001610bdc91906135d7565b341015610c1e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c159061367d565b60405180910390fd5b610c29336001611a91565b565b6000610c35611c40565b6001546000540303905090565b610c4a6119ac565b600b60029054906101000a900460ff1615600b60026101000a81548160ff021916908315150217905550565b6000610c8182611c45565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610ce8576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080610cf484611d11565b91509150610d0a8187610d05611a89565b611d38565b610d5657610d1f86610d1a611a89565b611895565b610d55576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603610dbc576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610dc98686866001611d7c565b8015610dd457600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815460010191905081905550610ea285610e7e888887611d82565b7c020000000000000000000000000000000000000000000000000000000017611daa565b600460008681526020019081526020016000208190555060007c0200000000000000000000000000000000000000000000000000000000841603610f285760006001850190506000600460008381526020019081526020016000205403610f26576000548114610f25578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4610f908686866001611dd5565b505050505050565b600b60019054906101000a900460ff1681565b600b60039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610fd96119ac565b610fe1611187565b73ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015611026573d6000803e3d6000fd5b50565b6110316119ac565b600b60009054906101000a900460ff1615600b60006101000a81548160ff021916908315150217905550565b6110788383836040518060200160405280600081525061156b565b505050565b600b60009054906101000a900460ff1681565b600a5481565b60006110a182611c45565b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361110f576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b6111686119ac565b6111726000611ddb565b565b600b60029054906101000a900460ff1681565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6111b96119ac565b8060098190555050565b6060600380546111d29061350b565b80601f01602080910402602001604051908101604052809291908181526020018280546111fe9061350b565b801561124b5780601f106112205761010080835404028352916020019161124b565b820191906000526020600020905b81548152906001019060200180831161122e57829003601f168201915b5050505050905090565b600d6020528060005260406000206000915090508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060020160009054906101000a900461ffff16908060020160029054906101000a900461ffff16908060020160049054906101000a900460ff16908060020160059054906101000a900460ff16905085565b60095481565b6112ef611a89565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611353576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000611360611a89565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661140d611a89565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516114529190612f15565b60405180910390a35050565b600b60019054906101000a900460ff166114ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114a490613588565b60405180910390fd5b600b60029054906101000a900460ff166114fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114f3906136e9565b60405180910390fd5b6009548161150a91906135d7565b34101561154c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115439061367d565b60405180910390fd5b6115563382611a91565b50565b6115616119ac565b80600a8190555050565b611576848484610c76565b60008373ffffffffffffffffffffffffffffffffffffffff163b146115d8576115a184848484611ea1565b6115d7576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b6115e66119ac565b6115f08282611a91565b5050565b60606115ff82611a2a565b611649578161160c611ff1565b6040517fd07ca590000000000000000000000000000000000000000000000000000000008152600401611640929190613709565b60405180910390fd5b6000600d60008481526020019081526020016000206040518060c00160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200160018201600780602002604051908101604052809291908260078015611723576020028201916000905b82829054906101000a900461ffff1661ffff16815260200190600201906020826001010492830192600103820291508084116116ea5790505b505050505081526020016002820160009054906101000a900461ffff1661ffff1661ffff1681526020016002820160029054906101000a900461ffff1661ffff1661ffff1681526020016002820160049054906101000a900460ff161515151581526020016002820160059054906101000a900460ff1615151515815250509050600b60039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f2efcd5282856040518363ffffffff1660e01b815260040161180192919061387b565b600060405180830381865afa15801561181e573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906118479190613947565b915050919050565b6118576119ac565b600b60019054906101000a900460ff1615600b60016101000a81548160ff021916908315150217905550565b600061188e82611ffa565b9050919050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6119316119ac565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036119a0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161199790613a02565b60405180910390fd5b6119a981611ddb565b50565b6119b4612051565b73ffffffffffffffffffffffffffffffffffffffff166119d2611187565b73ffffffffffffffffffffffffffffffffffffffff1614611a28576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a1f90613a6e565b60405180910390fd5b565b600081611a35611c40565b11158015611a44575060005482105b8015611a82575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b60005b81811015611c3b57600b60009054906101000a900460ff1615611b0a576001600a54611ac09190613a8e565b611ac8611ff1565b1115611b09576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b0090613b0e565b60405180910390fd5b5b611b1b611b15611ff1565b84612059565b600d6000611b27611ff1565b815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550602082015181600101906007611b93929190612c8a565b5060408201518160020160006101000a81548161ffff021916908361ffff16021790555060608201518160020160026101000a81548161ffff021916908361ffff16021790555060808201518160020160046101000a81548160ff02191690831515021790555060a08201518160020160056101000a81548160ff021916908315150217905550905050611c288360016129fb565b8080611c3390613b2e565b915050611a94565b505050565b600090565b60008082905080611c54611c40565b11611cda57600054811015611cd95760006004600083815260200190815260200160002054905060007c0100000000000000000000000000000000000000000000000000000000821603611cd7575b60008103611ccd576004600083600190039350838152602001908152602001600020549050611ca3565b8092505050611d0c565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b60008060006006600085815260200190815260200160002090508092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e8611d99868684612a19565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02611ec7611a89565b8786866040518563ffffffff1660e01b8152600401611ee99493929190613bcb565b6020604051808303816000875af1925050508015611f2557506040513d601f19601f82011682018060405250810190611f229190613c2c565b60015b611f9e573d8060008114611f55576040519150601f19603f3d011682016040523d82523d6000602084013e611f5a565b606091505b506000815103611f96576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60008054905090565b600067ffffffffffffffff6040600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054901c169050919050565b600033905090565b612061612d27565b60006064600b60039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166328bbc6188660676040518363ffffffff1660e01b81526004016120c3929190613c94565b602060405180830381865afa1580156120e0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121049190613cd2565b61210e9190613d2e565b905060006064600b60039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166328bbc61887606d6040518363ffffffff1660e01b8152600401612172929190613d9a565b602060405180830381865afa15801561218f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121b39190613cd2565b6121bd9190613d2e565b905060006064600b60039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166328bbc61888608b6040518363ffffffff1660e01b8152600401612221929190613dfe565b602060405180830381865afa15801561223e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122629190613cd2565b61226c9190613d2e565b90506000806000600b60039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663dddc3236856040518263ffffffff1660e01b81526004016122ce9190613e27565b602060405180830381865afa1580156122eb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061230f9190613e6e565b905060078661ffff16118015612329575060138661ffff16105b1561233357600192505b60458561ffff1611801561234b575060608561ffff16105b1561235557600191505b6040518060c001604052808973ffffffffffffffffffffffffffffffffffffffff1681526020016040518060e001604052806007600b60039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166328bbc6188f60116040518363ffffffff1660e01b81526004016123e7929190613ed6565b602060405180830381865afa158015612404573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124289190613cd2565b6124329190613d2e565b61ffff1661ffff1681526020016007600b60039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166328bbc6188f60176040518363ffffffff1660e01b815260040161249f929190613f3a565b602060405180830381865afa1580156124bc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124e09190613cd2565b6124ea9190613d2e565b61ffff1661ffff1681526020016007600b60039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166328bbc6188f60296040518363ffffffff1660e01b8152600401612557929190613f9e565b602060405180830381865afa158015612574573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125989190613cd2565b6125a29190613d2e565b61ffff1661ffff1681526020016007600b60039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166328bbc6188f60436040518363ffffffff1660e01b815260040161260f929190614002565b602060405180830381865afa15801561262c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126509190613cd2565b61265a9190613d2e565b61ffff1661ffff1681526020016007600b60039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166328bbc6188f60496040518363ffffffff1660e01b81526004016126c7929190614066565b602060405180830381865afa1580156126e4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127089190613cd2565b6127129190613d2e565b61ffff1661ffff1681526020016007600b60039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166328bbc6188f604f6040518363ffffffff1660e01b815260040161277f9291906140ca565b602060405180830381865afa15801561279c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127c09190613cd2565b6127ca9190613d2e565b61ffff1661ffff1681526020016005600b60039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166328bbc6188f60616040518363ffffffff1660e01b815260040161283792919061412e565b602060405180830381865afa158015612854573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128789190613cd2565b6128829190613d2e565b61ffff1661ffff168152508152602001600b60039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663cadccb626040518163ffffffff1660e01b8152600401602060405180830381865afa1580156128ff573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129239190613e6e565b600b60039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166328bbc6188d600d6040518363ffffffff1660e01b8152600401612981929190614192565b602060405180830381865afa15801561299e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129c29190613cd2565b6129cc9190613d2e565b61ffff1681526020018261ffff1681526020018415158152602001831515815250965050505050505092915050565b612a15828260405180602001604052806000815250612a22565b5050565b60009392505050565b612a2c8383612abf565b60008373ffffffffffffffffffffffffffffffffffffffff163b14612aba57600080549050600083820390505b612a6c6000868380600101945086611ea1565b612aa2576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b818110612a59578160005414612ab757600080fd5b50505b505050565b60008054905060008203612aff576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612b0c6000848385611d7c565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550612b8383612b746000866000611d82565b612b7d85612c7a565b17611daa565b6004600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b818114612c2457808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600181019050612be9565b5060008203612c5f576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806000819055505050612c756000848385611dd5565b505050565b60006001821460e11b9050919050565b826007600f01601090048101928215612d165791602002820160005b83821115612ce657835183826101000a81548161ffff021916908361ffff1602179055509260200192600201602081600101049283019260010302612ca6565b8015612d145782816101000a81549061ffff0219169055600201602081600101049283019260010302612ce6565b505b509050612d239190612d85565b5090565b6040518060c00160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001612d57612da2565b8152602001600061ffff168152602001600061ffff1681526020016000151581526020016000151581525090565b5b80821115612d9e576000816000905550600101612d86565b5090565b6040518060e00160405280600790602082028036833780820191505090505090565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612e0382612dd8565b9050919050565b6000612e1582612df8565b9050919050565b612e2581612e0a565b8114612e3057600080fd5b50565b600081359050612e4281612e1c565b92915050565b600060208284031215612e5e57612e5d612dce565b5b6000612e6c84828501612e33565b91505092915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612eaa81612e75565b8114612eb557600080fd5b50565b600081359050612ec781612ea1565b92915050565b600060208284031215612ee357612ee2612dce565b5b6000612ef184828501612eb8565b91505092915050565b60008115159050919050565b612f0f81612efa565b82525050565b6000602082019050612f2a6000830184612f06565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612f6a578082015181840152602081019050612f4f565b83811115612f79576000848401525b50505050565b6000601f19601f8301169050919050565b6000612f9b82612f30565b612fa58185612f3b565b9350612fb5818560208601612f4c565b612fbe81612f7f565b840191505092915050565b60006020820190508181036000830152612fe38184612f90565b905092915050565b6000819050919050565b612ffe81612feb565b811461300957600080fd5b50565b60008135905061301b81612ff5565b92915050565b60006020828403121561303757613036612dce565b5b60006130458482850161300c565b91505092915050565b61305781612df8565b82525050565b6000602082019050613072600083018461304e565b92915050565b61308181612df8565b811461308c57600080fd5b50565b60008135905061309e81613078565b92915050565b600080604083850312156130bb576130ba612dce565b5b60006130c98582860161308f565b92505060206130da8582860161300c565b9150509250929050565b6130ed81612feb565b82525050565b600060208201905061310860008301846130e4565b92915050565b60008060006060848603121561312757613126612dce565b5b60006131358682870161308f565b93505060206131468682870161308f565b92505060406131578682870161300c565b9150509250925092565b6000819050919050565b600061318661318161317c84612dd8565b613161565b612dd8565b9050919050565b60006131988261316b565b9050919050565b60006131aa8261318d565b9050919050565b6131ba8161319f565b82525050565b60006020820190506131d560008301846131b1565b92915050565b6000602082840312156131f1576131f0612dce565b5b60006131ff8482850161308f565b91505092915050565b600061ffff82169050919050565b61321f81613208565b82525050565b600060a08201905061323a600083018861304e565b6132476020830187613216565b6132546040830186613216565b6132616060830185612f06565b61326e6080830184612f06565b9695505050505050565b61328181612efa565b811461328c57600080fd5b50565b60008135905061329e81613278565b92915050565b600080604083850312156132bb576132ba612dce565b5b60006132c98582860161308f565b92505060206132da8582860161328f565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61332682612f7f565b810181811067ffffffffffffffff82111715613345576133446132ee565b5b80604052505050565b6000613358612dc4565b9050613364828261331d565b919050565b600067ffffffffffffffff821115613384576133836132ee565b5b61338d82612f7f565b9050602081019050919050565b82818337600083830152505050565b60006133bc6133b784613369565b61334e565b9050828152602081018484840111156133d8576133d76132e9565b5b6133e384828561339a565b509392505050565b600082601f830112613400576133ff6132e4565b5b81356134108482602086016133a9565b91505092915050565b6000806000806080858703121561343357613432612dce565b5b60006134418782880161308f565b94505060206134528782880161308f565b93505060406134638782880161300c565b925050606085013567ffffffffffffffff81111561348457613483612dd3565b5b613490878288016133eb565b91505092959194509250565b600080604083850312156134b3576134b2612dce565b5b60006134c18582860161308f565b92505060206134d28582860161308f565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061352357607f821691505b602082108103613536576135356134dc565b5b50919050565b7f4d696e74206e6f74206163746976652e00000000000000000000000000000000600082015250565b6000613572601083612f3b565b915061357d8261353c565b602082019050919050565b600060208201905081810360008301526135a181613565565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006135e282612feb565b91506135ed83612feb565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613626576136256135a8565b5b828202905092915050565b7f57726f6e67204554482076616c75652073656e742e0000000000000000000000600082015250565b6000613667601583612f3b565b915061367282613631565b602082019050919050565b600060208201905081810360008301526136968161365a565b9050919050565b7f4d756c7469706c65206d696e7473206e6f74206163746976652e000000000000600082015250565b60006136d3601a83612f3b565b91506136de8261369d565b602082019050919050565b60006020820190508181036000830152613702816136c6565b9050919050565b600060408201905061371e60008301856130e4565b61372b60208301846130e4565b9392505050565b61373b81612df8565b82525050565b600060079050919050565b600081905092915050565b6000819050919050565b61376a81613208565b82525050565b600061377c8383613761565b60208301905092915050565b6000602082019050919050565b61379e81613741565b6137a8818461374c565b92506137b382613757565b8060005b838110156137e45781516137cb8782613770565b96506137d683613788565b9250506001810190506137b7565b505050505050565b6137f581612efa565b82525050565b610180820160008201516138126000850182613732565b5060208201516138256020850182613795565b506040820151613839610100850182613761565b50606082015161384d610120850182613761565b5060808201516138616101408501826137ec565b5060a08201516138756101608501826137ec565b50505050565b60006101a08201905061389160008301856137fb565b61389f6101808301846130e4565b9392505050565b600067ffffffffffffffff8211156138c1576138c06132ee565b5b6138ca82612f7f565b9050602081019050919050565b60006138ea6138e5846138a6565b61334e565b905082815260208101848484011115613906576139056132e9565b5b613911848285612f4c565b509392505050565b600082601f83011261392e5761392d6132e4565b5b815161393e8482602086016138d7565b91505092915050565b60006020828403121561395d5761395c612dce565b5b600082015167ffffffffffffffff81111561397b5761397a612dd3565b5b61398784828501613919565b91505092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006139ec602683612f3b565b91506139f782613990565b604082019050919050565b60006020820190508181036000830152613a1b816139df565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613a58602083612f3b565b9150613a6382613a22565b602082019050919050565b60006020820190508181036000830152613a8781613a4b565b9050919050565b6000613a9982612feb565b9150613aa483612feb565b925082821015613ab757613ab66135a8565b5b828203905092915050565b7f4d617820746f6b656e20737570706c7920726561636865640000000000000000600082015250565b6000613af8601883612f3b565b9150613b0382613ac2565b602082019050919050565b60006020820190508181036000830152613b2781613aeb565b9050919050565b6000613b3982612feb565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203613b6b57613b6a6135a8565b5b600182019050919050565b600081519050919050565b600082825260208201905092915050565b6000613b9d82613b76565b613ba78185613b81565b9350613bb7818560208601612f4c565b613bc081612f7f565b840191505092915050565b6000608082019050613be0600083018761304e565b613bed602083018661304e565b613bfa60408301856130e4565b8181036060830152613c0c8184613b92565b905095945050505050565b600081519050613c2681612ea1565b92915050565b600060208284031215613c4257613c41612dce565b5b6000613c5084828501613c17565b91505092915050565b6000819050919050565b6000613c7e613c79613c7484613c59565b613161565b612feb565b9050919050565b613c8e81613c63565b82525050565b6000604082019050613ca960008301856130e4565b613cb66020830184613c85565b9392505050565b600081519050613ccc81612ff5565b92915050565b600060208284031215613ce857613ce7612dce565b5b6000613cf684828501613cbd565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613d3982613208565b9150613d4483613208565b925082613d5457613d53613cff565b5b828206905092915050565b6000819050919050565b6000613d84613d7f613d7a84613d5f565b613161565b612feb565b9050919050565b613d9481613d69565b82525050565b6000604082019050613daf60008301856130e4565b613dbc6020830184613d8b565b9392505050565b6000819050919050565b6000613de8613de3613dde84613dc3565b613161565b612feb565b9050919050565b613df881613dcd565b82525050565b6000604082019050613e1360008301856130e4565b613e206020830184613def565b9392505050565b6000602082019050613e3c6000830184613216565b92915050565b613e4b81613208565b8114613e5657600080fd5b50565b600081519050613e6881613e42565b92915050565b600060208284031215613e8457613e83612dce565b5b6000613e9284828501613e59565b91505092915050565b6000819050919050565b6000613ec0613ebb613eb684613e9b565b613161565b612feb565b9050919050565b613ed081613ea5565b82525050565b6000604082019050613eeb60008301856130e4565b613ef86020830184613ec7565b9392505050565b6000819050919050565b6000613f24613f1f613f1a84613eff565b613161565b612feb565b9050919050565b613f3481613f09565b82525050565b6000604082019050613f4f60008301856130e4565b613f5c6020830184613f2b565b9392505050565b6000819050919050565b6000613f88613f83613f7e84613f63565b613161565b612feb565b9050919050565b613f9881613f6d565b82525050565b6000604082019050613fb360008301856130e4565b613fc06020830184613f8f565b9392505050565b6000819050919050565b6000613fec613fe7613fe284613fc7565b613161565b612feb565b9050919050565b613ffc81613fd1565b82525050565b600060408201905061401760008301856130e4565b6140246020830184613ff3565b9392505050565b6000819050919050565b600061405061404b6140468461402b565b613161565b612feb565b9050919050565b61406081614035565b82525050565b600060408201905061407b60008301856130e4565b6140886020830184614057565b9392505050565b6000819050919050565b60006140b46140af6140aa8461408f565b613161565b612feb565b9050919050565b6140c481614099565b82525050565b60006040820190506140df60008301856130e4565b6140ec60208301846140bb565b9392505050565b6000819050919050565b600061411861411361410e846140f3565b613161565b612feb565b9050919050565b614128816140fd565b82525050565b600060408201905061414360008301856130e4565b614150602083018461411f565b9392505050565b6000819050919050565b600061417c61417761417284614157565b613161565b612feb565b9050919050565b61418c81614161565b82525050565b60006040820190506141a760008301856130e4565b6141b46020830184614183565b939250505056fea2646970667358221220981b33d65968d5b050024f107e4d4306db48630b7e42a565a80f4582ef9997c364736f6c634300080f0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000044e6f67730000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044e4f475300000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : tokenName (string): Nogs
Arg [1] : tokenSymbol (string): NOGS
-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [3] : 4e6f677300000000000000000000000000000000000000000000000000000000
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [5] : 4e4f475300000000000000000000000000000000000000000000000000000000
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.