Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
NFT
Overview
Max Total Supply
3,550 NEN
Holders
1,481
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
2 NENLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
NenToken
Compiler Version
v0.8.4+commit.c7e474f2
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
//SPDX-License-Identifier: Unlicense pragma solidity ^0.8.4; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; contract NenToken is ERC721Enumerable, Ownable { // NenSeller Contract Address address public minter; address public validator; // ERC721 token baseURI string public baseURI; // TokenID tracker uint256 public tokenIdCounter; uint256 public answerMaxLength; uint256 public creditMaxLength; // The token's metadata mapping(uint256 => Metadata) public metadatas; // Whether answer can be updated mapping(uint256 => bool) public isAnswerLocked; struct Metadata { string answer; string credit; Attribute attribute; } struct Request { uint256 tokenId; Attribute attribute; } struct Attribute { bytes32 questionCategory; string question; bytes32 attributeSkinTone; bytes32 attributeHairFront; bytes32 attributeHairBack; bytes32 attributeEar; bytes32 attributeEyes; bytes32 attributeClothing; bytes32 attributeDna; bytes32 attributeFace; bytes32 attributeNeck; bytes32 attributeMouth; bytes32 attributeSpecial; } event Minted(uint256 indexed tokenId, address owner, uint256 mintedCount); event AttributeSet(uint256 indexed tokenId, Attribute attribute); event AnswerUpdated(uint256 indexed tokenId, address owner, string answer, string credit); event MinterUpdated(address minter); event BaseUriUpdated(string baseUri); event AnswerLockedStatusUpdated(uint256 indexed tokenId, bool locked); modifier onlyMinter { require(msg.sender == minter, "NenToken: sender != minter"); _; } constructor( string memory _firstBaseURI, address _validator ) ERC721("Nen", "NEN") { baseURI = _firstBaseURI; validator = _validator; answerMaxLength = 20; creditMaxLength = 100; } // mint with Metadata by minter function mint(address ownerAddress, uint256 mintedCount) external onlyMinter { _safeMint(ownerAddress, ++tokenIdCounter); emit Minted(tokenIdCounter, ownerAddress, mintedCount); } function _updateAnswer(uint256 tokenId, string calldata answer, string calldata credit) internal { // only token owner can update answer require(msg.sender == ownerOf(tokenId), "NenToken: sender != token owner"); // only not locked answer can be updated require(!isAnswerLocked[tokenId], "NenToken: answer is locked"); // validate answer length uint256 answerLength = bytes(answer).length; require(0 < answerLength && answerLength <= answerMaxLength, "NenToken: answer is out of range"); // validate credit length uint256 creditLength = bytes(credit).length; require(0 < creditLength && creditLength <= creditMaxLength, "NenToken: credit is out of range"); metadatas[tokenId].answer = answer; metadatas[tokenId].credit = credit; isAnswerLocked[tokenId] = true; emit AnswerUpdated(tokenId, msg.sender, answer, credit); emit AnswerLockedStatusUpdated(tokenId, isAnswerLocked[tokenId]); } function updateAnswerWithAttribute(string calldata answer, string calldata credit, Request calldata request, uint8 v, bytes32 r, bytes32 s) external { // check correct validator require(ecrecover(toEthSignedMessageHash(prepareMessage(request)), v, r, s) == validator, "NenToken: invalid signature"); require(!isAttributeSet(request.tokenId), "NenToken: attribute already set"); metadatas[request.tokenId].attribute = request.attribute; emit AttributeSet(request.tokenId, request.attribute); _updateAnswer(request.tokenId, answer, credit); } // update answer and lock it function updateAnswer(uint256 tokenId, string calldata answer, string calldata credit) external { require(isAttributeSet(tokenId), "NenToken: attribute not set"); _updateAnswer(tokenId, answer, credit); } // when transfer, answer is unlocked function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal override { super._beforeTokenTransfer(from, to, tokenId); if (isAnswerLocked[tokenId]) { isAnswerLocked[tokenId] = false; emit AnswerLockedStatusUpdated(tokenId, isAnswerLocked[tokenId]); } } function isAttributeSet(uint256 tokenId) internal view returns(bool) { return bytes(metadatas[tokenId].attribute.question).length != 0; } // override _baseURI() for tokenURI function _baseURI() internal override view returns (string memory) { return baseURI; } function prepareMessage(Request calldata request) internal pure returns (bytes32) { return keccak256(abi.encode(request)); } function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash)); } function setMinter(address _minter) external onlyOwner { minter = _minter; emit MinterUpdated(_minter); } function updateBaseUri(string calldata _baseUri) external onlyOwner { baseURI = _baseUri; emit BaseUriUpdated(_baseUri); } function setValidator(address _validator) external onlyOwner { validator = _validator; } function setAnswerMaxLength(uint256 _answerMaxLength) external onlyOwner { answerMaxLength = _answerMaxLength; } function setCreditMaxLength(uint256 _creditMaxlength) external onlyOwner { creditMaxLength = _creditMaxlength; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Enumerable.sol) pragma solidity ^0.8.0; import "../ERC721.sol"; import "./IERC721Enumerable.sol"; /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from owner to list of owned token IDs mapping(address => mapping(uint256 => uint256)) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); return _ownedTokens[owner][index]; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _allTokens.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds"); return _allTokens[index]; } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` cannot be the zero address. * - `to` cannot be the zero address. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual override { super._beforeTokenTransfer(from, to, tokenId); if (from == address(0)) { _addTokenToAllTokensEnumeration(tokenId); } else if (from != to) { _removeTokenFromOwnerEnumeration(from, tokenId); } if (to == address(0)) { _removeTokenFromAllTokensEnumeration(tokenId); } else if (to != from) { _addTokenToOwnerEnumeration(to, tokenId); } } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { uint256 length = ERC721.balanceOf(to); _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; } /** * @dev Private function to add a token to this extension's token tracking data structures. * @param tokenId uint256 ID of the token to be added to the tokens list */ function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for * gas optimizations e.g. when performing a transfer operation (avoiding double writes). * This has O(1) time complexity, but alters the order of the _ownedTokens array. * @param from address representing the previous owner of the given token ID * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = ERC721.balanceOf(from) - 1; uint256 tokenIndex = _ownedTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } // This also deletes the contents at the last position of the array delete _ownedTokensIndex[tokenId]; delete _ownedTokens[from][lastTokenIndex]; } /** * @dev Private function to remove a token from this extension's token tracking data structures. * This has O(1) time complexity, but alters the order of the _allTokens array. * @param tokenId uint256 ID of the token to be removed from the tokens list */ function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _allTokens.length - 1; uint256 tokenIndex = _allTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding // an 'if' statement (like in _removeTokenFromOwnerEnumeration) uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index // This also deletes the contents at the last position of the array delete _allTokensIndex[tokenId]; _allTokens.pop(); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); _afterTokenTransfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); _afterTokenTransfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); _afterTokenTransfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits a {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"_firstBaseURI","type":"string"},{"internalType":"address","name":"_validator","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"bool","name":"locked","type":"bool"}],"name":"AnswerLockedStatusUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"address","name":"owner","type":"address"},{"indexed":false,"internalType":"string","name":"answer","type":"string"},{"indexed":false,"internalType":"string","name":"credit","type":"string"}],"name":"AnswerUpdated","type":"event"},{"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":"tokenId","type":"uint256"},{"components":[{"internalType":"bytes32","name":"questionCategory","type":"bytes32"},{"internalType":"string","name":"question","type":"string"},{"internalType":"bytes32","name":"attributeSkinTone","type":"bytes32"},{"internalType":"bytes32","name":"attributeHairFront","type":"bytes32"},{"internalType":"bytes32","name":"attributeHairBack","type":"bytes32"},{"internalType":"bytes32","name":"attributeEar","type":"bytes32"},{"internalType":"bytes32","name":"attributeEyes","type":"bytes32"},{"internalType":"bytes32","name":"attributeClothing","type":"bytes32"},{"internalType":"bytes32","name":"attributeDna","type":"bytes32"},{"internalType":"bytes32","name":"attributeFace","type":"bytes32"},{"internalType":"bytes32","name":"attributeNeck","type":"bytes32"},{"internalType":"bytes32","name":"attributeMouth","type":"bytes32"},{"internalType":"bytes32","name":"attributeSpecial","type":"bytes32"}],"indexed":false,"internalType":"struct NenToken.Attribute","name":"attribute","type":"tuple"}],"name":"AttributeSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"baseUri","type":"string"}],"name":"BaseUriUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"address","name":"owner","type":"address"},{"indexed":false,"internalType":"uint256","name":"mintedCount","type":"uint256"}],"name":"Minted","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"minter","type":"address"}],"name":"MinterUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"answerMaxLength","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"creditMaxLength","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"isAnswerLocked","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":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"metadatas","outputs":[{"internalType":"string","name":"answer","type":"string"},{"internalType":"string","name":"credit","type":"string"},{"components":[{"internalType":"bytes32","name":"questionCategory","type":"bytes32"},{"internalType":"string","name":"question","type":"string"},{"internalType":"bytes32","name":"attributeSkinTone","type":"bytes32"},{"internalType":"bytes32","name":"attributeHairFront","type":"bytes32"},{"internalType":"bytes32","name":"attributeHairBack","type":"bytes32"},{"internalType":"bytes32","name":"attributeEar","type":"bytes32"},{"internalType":"bytes32","name":"attributeEyes","type":"bytes32"},{"internalType":"bytes32","name":"attributeClothing","type":"bytes32"},{"internalType":"bytes32","name":"attributeDna","type":"bytes32"},{"internalType":"bytes32","name":"attributeFace","type":"bytes32"},{"internalType":"bytes32","name":"attributeNeck","type":"bytes32"},{"internalType":"bytes32","name":"attributeMouth","type":"bytes32"},{"internalType":"bytes32","name":"attributeSpecial","type":"bytes32"}],"internalType":"struct NenToken.Attribute","name":"attribute","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"ownerAddress","type":"address"},{"internalType":"uint256","name":"mintedCount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"minter","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"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":"uint256","name":"_answerMaxLength","type":"uint256"}],"name":"setAnswerMaxLength","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":"uint256","name":"_creditMaxlength","type":"uint256"}],"name":"setCreditMaxLength","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_minter","type":"address"}],"name":"setMinter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_validator","type":"address"}],"name":"setValidator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenIdCounter","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"string","name":"answer","type":"string"},{"internalType":"string","name":"credit","type":"string"}],"name":"updateAnswer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"answer","type":"string"},{"internalType":"string","name":"credit","type":"string"},{"components":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"components":[{"internalType":"bytes32","name":"questionCategory","type":"bytes32"},{"internalType":"string","name":"question","type":"string"},{"internalType":"bytes32","name":"attributeSkinTone","type":"bytes32"},{"internalType":"bytes32","name":"attributeHairFront","type":"bytes32"},{"internalType":"bytes32","name":"attributeHairBack","type":"bytes32"},{"internalType":"bytes32","name":"attributeEar","type":"bytes32"},{"internalType":"bytes32","name":"attributeEyes","type":"bytes32"},{"internalType":"bytes32","name":"attributeClothing","type":"bytes32"},{"internalType":"bytes32","name":"attributeDna","type":"bytes32"},{"internalType":"bytes32","name":"attributeFace","type":"bytes32"},{"internalType":"bytes32","name":"attributeNeck","type":"bytes32"},{"internalType":"bytes32","name":"attributeMouth","type":"bytes32"},{"internalType":"bytes32","name":"attributeSpecial","type":"bytes32"}],"internalType":"struct NenToken.Attribute","name":"attribute","type":"tuple"}],"internalType":"struct NenToken.Request","name":"request","type":"tuple"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"updateAnswerWithAttribute","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseUri","type":"string"}],"name":"updateBaseUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"validator","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b5060405162005dac38038062005dac833981810160405281019062000037919062000370565b6040518060400160405280600381526020017f4e656e00000000000000000000000000000000000000000000000000000000008152506040518060400160405280600381526020017f4e454e00000000000000000000000000000000000000000000000000000000008152508160009080519060200190620000bb92919062000237565b508060019080519060200190620000d492919062000237565b505050620000f7620000eb6200016960201b60201c565b6200017160201b60201c565b81600d90805190602001906200010f92919062000237565b5080600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506014600f819055506064601081905550505062000588565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620002459062000493565b90600052602060002090601f016020900481019282620002695760008555620002b5565b82601f106200028457805160ff1916838001178555620002b5565b82800160010185558215620002b5579182015b82811115620002b457825182559160200191906001019062000297565b5b509050620002c49190620002c8565b5090565b5b80821115620002e3576000816000905550600101620002c9565b5090565b6000620002fe620002f884620003f3565b620003ca565b9050828152602081018484840111156200031757600080fd5b620003248482856200045d565b509392505050565b6000815190506200033d816200056e565b92915050565b600082601f8301126200035557600080fd5b815162000367848260208601620002e7565b91505092915050565b600080604083850312156200038457600080fd5b600083015167ffffffffffffffff8111156200039f57600080fd5b620003ad8582860162000343565b9250506020620003c0858286016200032c565b9150509250929050565b6000620003d6620003e9565b9050620003e48282620004c9565b919050565b6000604051905090565b600067ffffffffffffffff8211156200041157620004106200052e565b5b6200041c826200055d565b9050602081019050919050565b600062000436826200043d565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60005b838110156200047d57808201518184015260208101905062000460565b838111156200048d576000848401525b50505050565b60006002820490506001821680620004ac57607f821691505b60208210811415620004c357620004c2620004ff565b5b50919050565b620004d4826200055d565b810181811067ffffffffffffffff82111715620004f657620004f56200052e565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b620005798162000429565b81146200058557600080fd5b50565b61581480620005986000396000f3fe608060405234801561001057600080fd5b50600436106102115760003560e01c80636c0360eb11610125578063b88d4fde116100ad578063e985e9c51161007c578063e985e9c514610612578063f2fde38b14610642578063f701fcd51461065e578063f76d44be1461067c578063fca3b5aa1461069a57610211565b8063b88d4fde14610578578063c87b56dd14610594578063d7efe80a146105c4578063e73496cd146105e057610211565b8063913daa39116100f4578063913daa39146104e85780639166bb271461050457806395d89b411461052057806398bdf6f51461053e578063a22cb4651461055c57610211565b80636c0360eb1461047257806370a0823114610490578063715018a6146104c05780638da5cb5b146104ca57610211565b80632410688f116101a85780633a5381b5116101775780633a5381b5146103bc57806340c10f19146103da57806342842e0e146103f65780634f6ccce7146104125780636352211e1461044257610211565b80632410688f146103245780632f745c59146103545780633031b7e81461038457806339f7e37f146103a057610211565b8063095ea7b3116101e4578063095ea7b3146102b25780631327d3d8146102ce57806318160ddd146102ea57806323b872dd1461030857610211565b806301ffc9a71461021657806306fdde03146102465780630754617214610264578063081812fc14610282575b600080fd5b610230600480360381019061022b9190613556565b6106b6565b60405161023d9190614270565b60405180910390f35b61024e610730565b60405161025b91906142f4565b60405180910390f35b61026c6107c2565b6040516102799190614197565b60405180910390f35b61029c600480360381019061029791906136c8565b6107e8565b6040516102a99190614197565b60405180910390f35b6102cc60048036038101906102c7919061351a565b61086d565b005b6102e860048036038101906102e391906133af565b610985565b005b6102f2610a45565b6040516102ff91906146e6565b60405180910390f35b610322600480360381019061031d9190613414565b610a52565b005b61033e600480360381019061033991906136c8565b610ab2565b60405161034b9190614270565b60405180910390f35b61036e6004803603810190610369919061351a565b610ad2565b60405161037b91906146e6565b60405180910390f35b61039e600480360381019061039991906135ed565b610b77565b005b6103ba60048036038101906103b591906135a8565b610d51565b005b6103c4610e1c565b6040516103d19190614197565b60405180910390f35b6103f460048036038101906103ef919061351a565b610e42565b005b610410600480360381019061040b9190613414565b610f30565b005b61042c600480360381019061042791906136c8565b610f50565b60405161043991906146e6565b60405180910390f35b61045c600480360381019061045791906136c8565b610fe7565b6040516104699190614197565b60405180910390f35b61047a611099565b60405161048791906142f4565b60405180910390f35b6104aa60048036038101906104a591906133af565b611127565b6040516104b791906146e6565b60405180910390f35b6104c86111df565b005b6104d2611267565b6040516104df9190614197565b60405180910390f35b61050260048036038101906104fd91906136c8565b611291565b005b61051e600480360381019061051991906136f1565b611317565b005b610528611373565b60405161053591906142f4565b60405180910390f35b610546611405565b60405161055391906146e6565b60405180910390f35b610576600480360381019061057191906134de565b61140b565b005b610592600480360381019061058d9190613463565b611421565b005b6105ae60048036038101906105a991906136c8565b611483565b6040516105bb91906142f4565b60405180910390f35b6105de60048036038101906105d991906136c8565b61152a565b005b6105fa60048036038101906105f591906136c8565b6115b0565b60405161060993929190614316565b60405180910390f35b61062c600480360381019061062791906133d8565b6117ff565b6040516106399190614270565b60405180910390f35b61065c600480360381019061065791906133af565b611893565b005b61066661198b565b60405161067391906146e6565b60405180910390f35b610684611991565b60405161069191906146e6565b60405180910390f35b6106b460048036038101906106af91906133af565b611997565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610729575061072882611a8e565b5b9050919050565b60606000805461073f90614d82565b80601f016020809104026020016040519081016040528092919081815260200182805461076b90614d82565b80156107b85780601f1061078d576101008083540402835291602001916107b8565b820191906000526020600020905b81548152906001019060200180831161079b57829003601f168201915b5050505050905090565b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60006107f382611b70565b610832576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610829906145a2565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061087882610fe7565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156108e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108e090614622565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610908611bdc565b73ffffffffffffffffffffffffffffffffffffffff161480610937575061093681610931611bdc565b6117ff565b5b610976576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161096d906144a2565b60405180910390fd5b6109808383611be4565b505050565b61098d611bdc565b73ffffffffffffffffffffffffffffffffffffffff166109ab611267565b73ffffffffffffffffffffffffffffffffffffffff1614610a01576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109f8906145c2565b60405180910390fd5b80600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000600880549050905090565b610a63610a5d611bdc565b82611c9d565b610aa2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a9990614642565b60405180910390fd5b610aad838383611d7b565b505050565b60126020528060005260406000206000915054906101000a900460ff1681565b6000610add83611127565b8210610b1e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b1590614362565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166001610bc3610bbe87611fe2565b612012565b85858560405160008152602001604052604051610be3949392919061428b565b6020604051602081039080840390855afa158015610c05573d6000803e3d6000fd5b5050506020604051035173ffffffffffffffffffffffffffffffffffffffff1614610c65576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c5c906144c2565b60405180910390fd5b610c728460000135612042565b15610cb2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ca990614422565b60405180910390fd5b838060200190610cc29190614758565b60116000866000013581526020019081526020016000206002018181610ce8919061571c565b90505083600001357f688e8a193a30ca9f604f25a623f592607da7d0dec5045030bf06af414a2b2f5f858060200190610d219190614758565b604051610d2e91906146a2565b60405180910390a2610d47846000013589898989612074565b5050505050505050565b610d59611bdc565b73ffffffffffffffffffffffffffffffffffffffff16610d77611267565b73ffffffffffffffffffffffffffffffffffffffff1614610dcd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dc4906145c2565b60405180910390fd5b8181600d9190610dde9291906131ac565b507f24a9152dc695ecc801ad580886331ee12d7aac0fa2ae341a5ae3c2ccae36cb4f8282604051610e109291906142d0565b60405180910390a15050565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610ed2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ec9906143c2565b60405180910390fd5b610ef082600e60008154610ee590614e01565b919050819055612316565b600e547fc9d0543a84d3510329c0783b91576878ceb484e8699944cb5610c3436b3b8e398383604051610f24929190614247565b60405180910390a25050565b610f4b83838360405180602001604052806000815250611421565b505050565b6000610f5a610a45565b8210610f9b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f9290614662565b60405180910390fd5b60088281548110610fd5577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611090576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161108790614502565b60405180910390fd5b80915050919050565b600d80546110a690614d82565b80601f01602080910402602001604051908101604052809291908181526020018280546110d290614d82565b801561111f5780601f106110f45761010080835404028352916020019161111f565b820191906000526020600020905b81548152906001019060200180831161110257829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611198576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161118f906144e2565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6111e7611bdc565b73ffffffffffffffffffffffffffffffffffffffff16611205611267565b73ffffffffffffffffffffffffffffffffffffffff161461125b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611252906145c2565b60405180910390fd5b6112656000612334565b565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611299611bdc565b73ffffffffffffffffffffffffffffffffffffffff166112b7611267565b73ffffffffffffffffffffffffffffffffffffffff161461130d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611304906145c2565b60405180910390fd5b80600f8190555050565b61132085612042565b61135f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161135690614602565b60405180910390fd5b61136c8585858585612074565b5050505050565b60606001805461138290614d82565b80601f01602080910402602001604051908101604052809291908181526020018280546113ae90614d82565b80156113fb5780601f106113d0576101008083540402835291602001916113fb565b820191906000526020600020905b8154815290600101906020018083116113de57829003601f168201915b5050505050905090565b600e5481565b61141d611416611bdc565b83836123fa565b5050565b61143261142c611bdc565b83611c9d565b611471576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161146890614642565b60405180910390fd5b61147d84848484612567565b50505050565b606061148e82611b70565b6114cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114c4906145e2565b60405180910390fd5b60006114d76125c3565b905060008151116114f75760405180602001604052806000815250611522565b8061150184612655565b60405160200161151292919061414d565b6040516020818303038152906040525b915050919050565b611532611bdc565b73ffffffffffffffffffffffffffffffffffffffff16611550611267565b73ffffffffffffffffffffffffffffffffffffffff16146115a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161159d906145c2565b60405180910390fd5b8060108190555050565b60116020528060005260406000206000915090508060000180546115d390614d82565b80601f01602080910402602001604051908101604052809291908181526020018280546115ff90614d82565b801561164c5780601f106116215761010080835404028352916020019161164c565b820191906000526020600020905b81548152906001019060200180831161162f57829003601f168201915b50505050509080600101805461166190614d82565b80601f016020809104026020016040519081016040528092919081815260200182805461168d90614d82565b80156116da5780601f106116af576101008083540402835291602001916116da565b820191906000526020600020905b8154815290600101906020018083116116bd57829003601f168201915b50505050509080600201604051806101a00160405290816000820154815260200160018201805461170a90614d82565b80601f016020809104026020016040519081016040528092919081815260200182805461173690614d82565b80156117835780601f1061175857610100808354040283529160200191611783565b820191906000526020600020905b81548152906001019060200180831161176657829003601f168201915b505050505081526020016002820154815260200160038201548152602001600482015481526020016005820154815260200160068201548152602001600782015481526020016008820154815260200160098201548152602001600a8201548152602001600b8201548152602001600c82015481525050905083565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61189b611bdc565b73ffffffffffffffffffffffffffffffffffffffff166118b9611267565b73ffffffffffffffffffffffffffffffffffffffff161461190f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611906906145c2565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561197f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611976906143a2565b60405180910390fd5b61198881612334565b50565b60105481565b600f5481565b61199f611bdc565b73ffffffffffffffffffffffffffffffffffffffff166119bd611267565b73ffffffffffffffffffffffffffffffffffffffff1614611a13576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a0a906145c2565b60405180910390fd5b80600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507fad0f299ec81a386c98df0ac27dae11dd020ed1b56963c53a7292e7a3a314539a81604051611a839190614197565b60405180910390a150565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611b5957507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611b695750611b6882612802565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611c5783610fe7565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611ca882611b70565b611ce7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cde90614482565b60405180910390fd5b6000611cf283610fe7565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611d6157508373ffffffffffffffffffffffffffffffffffffffff16611d49846107e8565b73ffffffffffffffffffffffffffffffffffffffff16145b80611d725750611d7181856117ff565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611d9b82610fe7565b73ffffffffffffffffffffffffffffffffffffffff1614611df1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611de8906143e2565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611e61576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e5890614442565b60405180910390fd5b611e6c83838361286c565b611e77600082611be4565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611ec79190614978565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611f1e91906148f1565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611fdd838383612927565b505050565b600081604051602001611ff591906146c4565b604051602081830303815290604052805190602001209050919050565b6000816040516020016120259190614171565b604051602081830303815290604052805190602001209050919050565b60008060116000848152602001908152602001600020600201600101805461206990614d82565b905014159050919050565b61207d85610fe7565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146120ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120e190614522565b60405180910390fd5b6012600086815260200190815260200160002060009054906101000a900460ff161561214b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161214290614562565b60405180910390fd5b60008484905090508060001080156121655750600f548111155b6121a4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161219b90614682565b60405180910390fd5b60008383905090508060001080156121be57506010548111155b6121fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121f490614542565b60405180910390fd5b8585601160008a815260200190815260200160002060000191906122229291906131ac565b508383601160008a815260200190815260200160002060010191906122489291906131ac565b5060016012600089815260200190815260200160002060006101000a81548160ff021916908315150217905550867f7e23a6c5d01c07c23e914ef3e53e925f42479d06e4a500c01cbdcc6f84b65b1d33888888886040516122ad9594939291906141fe565b60405180910390a2867f602917f7ff141b73b01b8894e3939b372c635850d484b4e54a1f9fc0467f8139601260008a815260200190815260200160002060009054906101000a900460ff166040516123059190614270565b60405180910390a250505050505050565b61233082826040518060200160405280600081525061292c565b5050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612469576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161246090614462565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161255a9190614270565b60405180910390a3505050565b612572848484611d7b565b61257e84848484612987565b6125bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125b490614382565b60405180910390fd5b50505050565b6060600d80546125d290614d82565b80601f01602080910402602001604051908101604052809291908181526020018280546125fe90614d82565b801561264b5780601f106126205761010080835404028352916020019161264b565b820191906000526020600020905b81548152906001019060200180831161262e57829003601f168201915b5050505050905090565b6060600082141561269d576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506127fd565b600082905060005b600082146126cf5780806126b890614e01565b915050600a826126c89190614947565b91506126a5565b60008167ffffffffffffffff811115612711577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156127435781602001600182028036833780820191505090505b5090505b600085146127f65760018261275c9190614978565b9150600a8561276b9190614e72565b603061277791906148f1565b60f81b8183815181106127b3577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856127ef9190614947565b9450612747565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612877838383612b1e565b6012600082815260200190815260200160002060009054906101000a900460ff16156129225760006012600083815260200190815260200160002060006101000a81548160ff021916908315150217905550807f602917f7ff141b73b01b8894e3939b372c635850d484b4e54a1f9fc0467f81396012600084815260200190815260200160002060009054906101000a900460ff166040516129199190614270565b60405180910390a25b505050565b505050565b6129368383612c32565b6129436000848484612987565b612982576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161297990614382565b60405180910390fd5b505050565b60006129a88473ffffffffffffffffffffffffffffffffffffffff16612e0c565b15612b11578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026129d1611bdc565b8786866040518563ffffffff1660e01b81526004016129f394939291906141b2565b602060405180830381600087803b158015612a0d57600080fd5b505af1925050508015612a3e57506040513d601f19601f82011682018060405250810190612a3b919061357f565b60015b612ac1573d8060008114612a6e576040519150601f19603f3d011682016040523d82523d6000602084013e612a73565b606091505b50600081511415612ab9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ab090614382565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612b16565b600190505b949350505050565b612b29838383612e2f565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612b6c57612b6781612e34565b612bab565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612baa57612ba98382612e7d565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612bee57612be981612fea565b612c2d565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612c2c57612c2b828261312d565b5b5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612ca2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c9990614582565b60405180910390fd5b612cab81611b70565b15612ceb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ce290614402565b60405180910390fd5b612cf76000838361286c565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612d4791906148f1565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612e0860008383612927565b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001612e8a84611127565b612e949190614978565b9050600060076000848152602001908152602001600020549050818114612f79576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050612ffe9190614978565b9050600060096000848152602001908152602001600020549050600060088381548110613054577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050806008838154811061309c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613111577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b600061313883611127565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b8280546131b890614d82565b90600052602060002090601f0160209004810192826131da5760008555613221565b82601f106131f357803560ff1916838001178555613221565b82800160010185558215613221579182015b82811115613220578235825591602001919060010190613205565b5b50905061322e9190613232565b5090565b5b8082111561324b576000816000905550600101613233565b5090565b600061326261325d846147a2565b61477d565b90508281526020810184848401111561327a57600080fd5b613285848285614b8a565b509392505050565b60008135905061329c8161574f565b92915050565b6000813590506132b181615766565b92915050565b6000813590506132c68161577d565b92915050565b6000813590506132db81615794565b92915050565b6000815190506132f081615794565b92915050565b600082601f83011261330757600080fd5b813561331784826020860161324f565b91505092915050565b60008083601f84011261333257600080fd5b8235905067ffffffffffffffff81111561334b57600080fd5b60208301915083600182028301111561336357600080fd5b9250929050565b60006040828403121561337c57600080fd5b81905092915050565b600081359050613394816157ab565b92915050565b6000813590506133a9816157c2565b92915050565b6000602082840312156133c157600080fd5b60006133cf8482850161328d565b91505092915050565b600080604083850312156133eb57600080fd5b60006133f98582860161328d565b925050602061340a8582860161328d565b9150509250929050565b60008060006060848603121561342957600080fd5b60006134378682870161328d565b93505060206134488682870161328d565b925050604061345986828701613385565b9150509250925092565b6000806000806080858703121561347957600080fd5b60006134878782880161328d565b94505060206134988782880161328d565b93505060406134a987828801613385565b925050606085013567ffffffffffffffff8111156134c657600080fd5b6134d2878288016132f6565b91505092959194509250565b600080604083850312156134f157600080fd5b60006134ff8582860161328d565b9250506020613510858286016132a2565b9150509250929050565b6000806040838503121561352d57600080fd5b600061353b8582860161328d565b925050602061354c85828601613385565b9150509250929050565b60006020828403121561356857600080fd5b6000613576848285016132cc565b91505092915050565b60006020828403121561359157600080fd5b600061359f848285016132e1565b91505092915050565b600080602083850312156135bb57600080fd5b600083013567ffffffffffffffff8111156135d557600080fd5b6135e185828601613320565b92509250509250929050565b60008060008060008060008060c0898b03121561360957600080fd5b600089013567ffffffffffffffff81111561362357600080fd5b61362f8b828c01613320565b9850985050602089013567ffffffffffffffff81111561364e57600080fd5b61365a8b828c01613320565b9650965050604089013567ffffffffffffffff81111561367957600080fd5b6136858b828c0161336a565b94505060606136968b828c0161339a565b93505060806136a78b828c016132b7565b92505060a06136b88b828c016132b7565b9150509295985092959890939650565b6000602082840312156136da57600080fd5b60006136e884828501613385565b91505092915050565b60008060008060006060868803121561370957600080fd5b600061371788828901613385565b955050602086013567ffffffffffffffff81111561373457600080fd5b61374088828901613320565b9450945050604086013567ffffffffffffffff81111561375f57600080fd5b61376b88828901613320565b92509250509295509295909350565b613783816149ac565b82525050565b613792816149be565b82525050565b6137a1816149ca565b82525050565b6137b0816149ca565b82525050565b6137c76137c2826149ca565b614e4a565b82525050565b60006137d8826147e8565b6137e28185614809565b93506137f2818560208601614b99565b6137fb81614f91565b840191505092915050565b6000613812838561481a565b935061381f838584614b8a565b61382883614f91565b840190509392505050565b600061383f838561482b565b935061384c838584614b8a565b61385583614f91565b840190509392505050565b600061386b826147fe565b613875818561481a565b9350613885818560208601614b99565b61388e81614f91565b840191505092915050565b60006138a4826147fe565b6138ae818561482b565b93506138be818560208601614b99565b6138c781614f91565b840191505092915050565b60006138dd826147fe565b6138e7818561483c565b93506138f7818560208601614b99565b80840191505092915050565b6000613910601c8361483c565b915061391b82614fee565b601c82019050919050565b6000613933602b8361482b565b915061393e82615017565b604082019050919050565b600061395660328361482b565b915061396182615066565b604082019050919050565b600061397960268361482b565b9150613984826150b5565b604082019050919050565b600061399c601a8361482b565b91506139a782615104565b602082019050919050565b60006139bf60258361482b565b91506139ca8261512d565b604082019050919050565b60006139e2601c8361482b565b91506139ed8261517c565b602082019050919050565b6000613a05601f8361482b565b9150613a10826151a5565b602082019050919050565b6000613a2860248361482b565b9150613a33826151ce565b604082019050919050565b6000613a4b60198361482b565b9150613a568261521d565b602082019050919050565b6000613a6e602c8361482b565b9150613a7982615246565b604082019050919050565b6000613a9160388361482b565b9150613a9c82615295565b604082019050919050565b6000613ab4601b8361482b565b9150613abf826152e4565b602082019050919050565b6000613ad7602a8361482b565b9150613ae28261530d565b604082019050919050565b6000613afa60298361482b565b9150613b058261535c565b604082019050919050565b6000613b1d601f8361482b565b9150613b28826153ab565b602082019050919050565b6000613b4060208361482b565b9150613b4b826153d4565b602082019050919050565b6000613b63601a8361482b565b9150613b6e826153fd565b602082019050919050565b6000613b8660208361482b565b9150613b9182615426565b602082019050919050565b6000613ba9602c8361482b565b9150613bb48261544f565b604082019050919050565b6000613bcc60208361482b565b9150613bd78261549e565b602082019050919050565b6000613bef602f8361482b565b9150613bfa826154c7565b604082019050919050565b6000613c12601b8361482b565b9150613c1d82615516565b602082019050919050565b6000613c3560218361482b565b9150613c408261553f565b604082019050919050565b6000613c5860318361482b565b9150613c638261558e565b604082019050919050565b6000613c7b602c8361482b565b9150613c86826155dd565b604082019050919050565b6000613c9e60208361482b565b9150613ca98261562c565b602082019050919050565b60006101a08301613cc86000840184614847565b613cd56000860182613798565b50613ce3602084018461485e565b8583036020870152613cf6838284613806565b92505050613d076040840184614847565b613d146040860182613798565b50613d226060840184614847565b613d2f6060860182613798565b50613d3d6080840184614847565b613d4a6080860182613798565b50613d5860a0840184614847565b613d6560a0860182613798565b50613d7360c0840184614847565b613d8060c0860182613798565b50613d8e60e0840184614847565b613d9b60e0860182613798565b50613daa610100840184614847565b613db8610100860182613798565b50613dc7610120840184614847565b613dd5610120860182613798565b50613de4610140840184614847565b613df2610140860182613798565b50613e01610160840184614847565b613e0f610160860182613798565b50613e1e610180840184614847565b613e2c610180860182613798565b508091505092915050565b60006101a08301613e4b6000840184614847565b613e586000860182613798565b50613e66602084018461485e565b8583036020870152613e79838284613806565b92505050613e8a6040840184614847565b613e976040860182613798565b50613ea56060840184614847565b613eb26060860182613798565b50613ec06080840184614847565b613ecd6080860182613798565b50613edb60a0840184614847565b613ee860a0860182613798565b50613ef660c0840184614847565b613f0360c0860182613798565b50613f1160e0840184614847565b613f1e60e0860182613798565b50613f2d610100840184614847565b613f3b610100860182613798565b50613f4a610120840184614847565b613f58610120860182613798565b50613f67610140840184614847565b613f75610140860182613798565b50613f84610160840184614847565b613f92610160860182613798565b50613fa1610180840184614847565b613faf610180860182613798565b508091505092915050565b60006101a083016000830151613fd36000860182613798565b5060208301518482036020860152613feb8282613860565b91505060408301516140006040860182613798565b5060608301516140136060860182613798565b5060808301516140266080860182613798565b5060a083015161403960a0860182613798565b5060c083015161404c60c0860182613798565b5060e083015161405f60e0860182613798565b50610100830151614074610100860182613798565b50610120830151614089610120860182613798565b5061014083015161409e610140860182613798565b506101608301516140b3610160860182613798565b506101808301516140c8610180860182613798565b508091505092915050565b6000604083016140e660008401846148da565b6140f36000860182614120565b5061410160208401846148b5565b84820360208601526141138282613cb4565b9150508091505092915050565b61412981614a20565b82525050565b61413881614a20565b82525050565b61414781614a2a565b82525050565b600061415982856138d2565b915061416582846138d2565b91508190509392505050565b600061417c82613903565b915061418882846137b6565b60208201915081905092915050565b60006020820190506141ac600083018461377a565b92915050565b60006080820190506141c7600083018761377a565b6141d4602083018661377a565b6141e1604083018561412f565b81810360608301526141f381846137cd565b905095945050505050565b6000606082019050614213600083018861377a565b8181036020830152614226818688613833565b9050818103604083015261423b818486613833565b90509695505050505050565b600060408201905061425c600083018561377a565b614269602083018461412f565b9392505050565b60006020820190506142856000830184613789565b92915050565b60006080820190506142a060008301876137a7565b6142ad602083018661413e565b6142ba60408301856137a7565b6142c760608301846137a7565b95945050505050565b600060208201905081810360008301526142eb818486613833565b90509392505050565b6000602082019050818103600083015261430e8184613899565b905092915050565b600060608201905081810360008301526143308186613899565b905081810360208301526143448185613899565b905081810360408301526143588184613fba565b9050949350505050565b6000602082019050818103600083015261437b81613926565b9050919050565b6000602082019050818103600083015261439b81613949565b9050919050565b600060208201905081810360008301526143bb8161396c565b9050919050565b600060208201905081810360008301526143db8161398f565b9050919050565b600060208201905081810360008301526143fb816139b2565b9050919050565b6000602082019050818103600083015261441b816139d5565b9050919050565b6000602082019050818103600083015261443b816139f8565b9050919050565b6000602082019050818103600083015261445b81613a1b565b9050919050565b6000602082019050818103600083015261447b81613a3e565b9050919050565b6000602082019050818103600083015261449b81613a61565b9050919050565b600060208201905081810360008301526144bb81613a84565b9050919050565b600060208201905081810360008301526144db81613aa7565b9050919050565b600060208201905081810360008301526144fb81613aca565b9050919050565b6000602082019050818103600083015261451b81613aed565b9050919050565b6000602082019050818103600083015261453b81613b10565b9050919050565b6000602082019050818103600083015261455b81613b33565b9050919050565b6000602082019050818103600083015261457b81613b56565b9050919050565b6000602082019050818103600083015261459b81613b79565b9050919050565b600060208201905081810360008301526145bb81613b9c565b9050919050565b600060208201905081810360008301526145db81613bbf565b9050919050565b600060208201905081810360008301526145fb81613be2565b9050919050565b6000602082019050818103600083015261461b81613c05565b9050919050565b6000602082019050818103600083015261463b81613c28565b9050919050565b6000602082019050818103600083015261465b81613c4b565b9050919050565b6000602082019050818103600083015261467b81613c6e565b9050919050565b6000602082019050818103600083015261469b81613c91565b9050919050565b600060208201905081810360008301526146bc8184613e37565b905092915050565b600060208201905081810360008301526146de81846140d3565b905092915050565b60006020820190506146fb600083018461412f565b92915050565b6000808335600160200384360303811261471a57600080fd5b80840192508235915067ffffffffffffffff82111561473857600080fd5b60208301925060018202360383131561475057600080fd5b509250929050565b6000823560016101a00383360303811261477157600080fd5b80830191505092915050565b6000614787614798565b90506147938282614dd0565b919050565b6000604051905090565b600067ffffffffffffffff8211156147bd576147bc614f30565b5b6147c682614f91565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600082905092915050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600061485660208401846132b7565b905092915050565b6000808335600160200384360303811261487757600080fd5b83810192508235915060208301925067ffffffffffffffff82111561489b57600080fd5b6001820236038413156148ad57600080fd5b509250929050565b6000823560016101a0038336030381126148ce57600080fd5b82810191505092915050565b60006148e96020840184613385565b905092915050565b60006148fc82614a20565b915061490783614a20565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561493c5761493b614ea3565b5b828201905092915050565b600061495282614a20565b915061495d83614a20565b92508261496d5761496c614ed2565b5b828204905092915050565b600061498382614a20565b915061498e83614a20565b9250828210156149a1576149a0614ea3565b5b828203905092915050565b60006149b782614a00565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b5b81811015614a5657614a4b600082614fd6565b600181019050614a38565b5050565b6000614a65826149ca565b9050919050565b6000614a7782614a20565b9050919050565b614a8883836147f3565b67ffffffffffffffff811115614aa157614aa0614f30565b5b614aab8254614d82565b600080601f8411601f84111715614ac857614ac5856147d3565b90505b601f831115614afb576020601f85010481016020851015614ae7578190505b614af96020601f860104830182614a37565b505b601f841160018114614b285760008515614b16578388013590505b614b208682614db4565b875550614b80565b601f1985168260005b82811015614b5657858a01358255600182019150602086019550602081019050614b31565b87831015614b7357858a0135614b6f601f8a1682614e54565b8355505b6001600289020189555050505b5050505050505050565b82818337600083830152505050565b60005b83811015614bb7578082015181840152602081019050614b9c565b83811115614bc6576000848401525b50505050565b600081016000830180614bde81614f7b565b9050614bea81846156e9565b5050506001810160208301614bff8185614701565b614c0a81838661570c565b50505050600281016040830180614c2081614f7b565b9050614c2c81846156e9565b505050600381016060830180614c4181614f7b565b9050614c4d81846156e9565b505050600481016080830180614c6281614f7b565b9050614c6e81846156e9565b5050506005810160a0830180614c8381614f7b565b9050614c8f81846156e9565b5050506006810160c0830180614ca481614f7b565b9050614cb081846156e9565b5050506007810160e0830180614cc581614f7b565b9050614cd181846156e9565b50505060088101610100830180614ce781614f7b565b9050614cf381846156e9565b50505060098101610120830180614d0981614f7b565b9050614d1581846156e9565b505050600a8101610140830180614d2b81614f7b565b9050614d3781846156e9565b505050600b8101610160830180614d4d81614f7b565b9050614d5981846156e9565b505050600c8101610180830180614d6f81614f7b565b9050614d7b81846156e9565b5050505050565b60006002820490506001821680614d9a57607f821691505b60208210811415614dae57614dad614f01565b5b50919050565b6000614dc08383614e54565b9150826002028217905092915050565b614dd982614f91565b810181811067ffffffffffffffff82111715614df857614df7614f30565b5b80604052505050565b6000614e0c82614a20565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614e3f57614e3e614ea3565b5b600182019050919050565b6000819050919050565b6000614e6560001984600802614fc9565b1980831691505092915050565b6000614e7d82614a20565b9150614e8883614a20565b925082614e9857614e97614ed2565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000614f6a82614fbc565b9050919050565b6000819050919050565b60008135614f888161577d565b80915050919050565b6000601f19601f8301169050919050565b60008160001b9050919050565b600082821b905092915050565b60008160001c9050919050565b600082821c905092915050565b614fde6157d9565b614fe981848461572a565b505050565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4e656e546f6b656e3a2073656e64657220213d206d696e746572000000000000600082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4e656e546f6b656e3a2061747472696275746520616c72656164792073657400600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4e656e546f6b656e3a20696e76616c6964207369676e61747572650000000000600082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4e656e546f6b656e3a2073656e64657220213d20746f6b656e206f776e657200600082015250565b7f4e656e546f6b656e3a20637265646974206973206f7574206f662072616e6765600082015250565b7f4e656e546f6b656e3a20616e73776572206973206c6f636b6564000000000000600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4e656e546f6b656e3a20617474726962757465206e6f74207365740000000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f4e656e546f6b656e3a20616e73776572206973206f7574206f662072616e6765600082015250565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff61568184614fa2565b9350801983169250808416831791505092915050565b6000600883026156c77fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82614faf565b6156d18683614faf565b95508019841693508086168417925050509392505050565b6156f282614a5a565b6157056156fe82614f5f565b8354615655565b8255505050565b615717838383614a7e565b505050565b6157268282614bcc565b5050565b61573383614a6c565b61574761573f82614f71565b848454615697565b825550505050565b615758816149ac565b811461576357600080fd5b50565b61576f816149be565b811461577a57600080fd5b50565b615786816149ca565b811461579157600080fd5b50565b61579d816149d4565b81146157a857600080fd5b50565b6157b481614a20565b81146157bf57600080fd5b50565b6157cb81614a2a565b81146157d657600080fd5b50565b60009056fea2646970667358221220b7077e43c0651cd6040d046d5be9c082296ae13a32b8c6b71dcc10b9552b6ae264736f6c634300080400330000000000000000000000000000000000000000000000000000000000000040000000000000000000000000bcc91c056099d4ba3fd0120b63fc2641a17b22d2000000000000000000000000000000000000000000000000000000000000001a68747470733a2f2f6170692e706a6e656e2e636f6d2f6e656e2f000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106102115760003560e01c80636c0360eb11610125578063b88d4fde116100ad578063e985e9c51161007c578063e985e9c514610612578063f2fde38b14610642578063f701fcd51461065e578063f76d44be1461067c578063fca3b5aa1461069a57610211565b8063b88d4fde14610578578063c87b56dd14610594578063d7efe80a146105c4578063e73496cd146105e057610211565b8063913daa39116100f4578063913daa39146104e85780639166bb271461050457806395d89b411461052057806398bdf6f51461053e578063a22cb4651461055c57610211565b80636c0360eb1461047257806370a0823114610490578063715018a6146104c05780638da5cb5b146104ca57610211565b80632410688f116101a85780633a5381b5116101775780633a5381b5146103bc57806340c10f19146103da57806342842e0e146103f65780634f6ccce7146104125780636352211e1461044257610211565b80632410688f146103245780632f745c59146103545780633031b7e81461038457806339f7e37f146103a057610211565b8063095ea7b3116101e4578063095ea7b3146102b25780631327d3d8146102ce57806318160ddd146102ea57806323b872dd1461030857610211565b806301ffc9a71461021657806306fdde03146102465780630754617214610264578063081812fc14610282575b600080fd5b610230600480360381019061022b9190613556565b6106b6565b60405161023d9190614270565b60405180910390f35b61024e610730565b60405161025b91906142f4565b60405180910390f35b61026c6107c2565b6040516102799190614197565b60405180910390f35b61029c600480360381019061029791906136c8565b6107e8565b6040516102a99190614197565b60405180910390f35b6102cc60048036038101906102c7919061351a565b61086d565b005b6102e860048036038101906102e391906133af565b610985565b005b6102f2610a45565b6040516102ff91906146e6565b60405180910390f35b610322600480360381019061031d9190613414565b610a52565b005b61033e600480360381019061033991906136c8565b610ab2565b60405161034b9190614270565b60405180910390f35b61036e6004803603810190610369919061351a565b610ad2565b60405161037b91906146e6565b60405180910390f35b61039e600480360381019061039991906135ed565b610b77565b005b6103ba60048036038101906103b591906135a8565b610d51565b005b6103c4610e1c565b6040516103d19190614197565b60405180910390f35b6103f460048036038101906103ef919061351a565b610e42565b005b610410600480360381019061040b9190613414565b610f30565b005b61042c600480360381019061042791906136c8565b610f50565b60405161043991906146e6565b60405180910390f35b61045c600480360381019061045791906136c8565b610fe7565b6040516104699190614197565b60405180910390f35b61047a611099565b60405161048791906142f4565b60405180910390f35b6104aa60048036038101906104a591906133af565b611127565b6040516104b791906146e6565b60405180910390f35b6104c86111df565b005b6104d2611267565b6040516104df9190614197565b60405180910390f35b61050260048036038101906104fd91906136c8565b611291565b005b61051e600480360381019061051991906136f1565b611317565b005b610528611373565b60405161053591906142f4565b60405180910390f35b610546611405565b60405161055391906146e6565b60405180910390f35b610576600480360381019061057191906134de565b61140b565b005b610592600480360381019061058d9190613463565b611421565b005b6105ae60048036038101906105a991906136c8565b611483565b6040516105bb91906142f4565b60405180910390f35b6105de60048036038101906105d991906136c8565b61152a565b005b6105fa60048036038101906105f591906136c8565b6115b0565b60405161060993929190614316565b60405180910390f35b61062c600480360381019061062791906133d8565b6117ff565b6040516106399190614270565b60405180910390f35b61065c600480360381019061065791906133af565b611893565b005b61066661198b565b60405161067391906146e6565b60405180910390f35b610684611991565b60405161069191906146e6565b60405180910390f35b6106b460048036038101906106af91906133af565b611997565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610729575061072882611a8e565b5b9050919050565b60606000805461073f90614d82565b80601f016020809104026020016040519081016040528092919081815260200182805461076b90614d82565b80156107b85780601f1061078d576101008083540402835291602001916107b8565b820191906000526020600020905b81548152906001019060200180831161079b57829003601f168201915b5050505050905090565b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60006107f382611b70565b610832576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610829906145a2565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061087882610fe7565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156108e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108e090614622565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610908611bdc565b73ffffffffffffffffffffffffffffffffffffffff161480610937575061093681610931611bdc565b6117ff565b5b610976576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161096d906144a2565b60405180910390fd5b6109808383611be4565b505050565b61098d611bdc565b73ffffffffffffffffffffffffffffffffffffffff166109ab611267565b73ffffffffffffffffffffffffffffffffffffffff1614610a01576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109f8906145c2565b60405180910390fd5b80600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000600880549050905090565b610a63610a5d611bdc565b82611c9d565b610aa2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a9990614642565b60405180910390fd5b610aad838383611d7b565b505050565b60126020528060005260406000206000915054906101000a900460ff1681565b6000610add83611127565b8210610b1e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b1590614362565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166001610bc3610bbe87611fe2565b612012565b85858560405160008152602001604052604051610be3949392919061428b565b6020604051602081039080840390855afa158015610c05573d6000803e3d6000fd5b5050506020604051035173ffffffffffffffffffffffffffffffffffffffff1614610c65576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c5c906144c2565b60405180910390fd5b610c728460000135612042565b15610cb2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ca990614422565b60405180910390fd5b838060200190610cc29190614758565b60116000866000013581526020019081526020016000206002018181610ce8919061571c565b90505083600001357f688e8a193a30ca9f604f25a623f592607da7d0dec5045030bf06af414a2b2f5f858060200190610d219190614758565b604051610d2e91906146a2565b60405180910390a2610d47846000013589898989612074565b5050505050505050565b610d59611bdc565b73ffffffffffffffffffffffffffffffffffffffff16610d77611267565b73ffffffffffffffffffffffffffffffffffffffff1614610dcd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dc4906145c2565b60405180910390fd5b8181600d9190610dde9291906131ac565b507f24a9152dc695ecc801ad580886331ee12d7aac0fa2ae341a5ae3c2ccae36cb4f8282604051610e109291906142d0565b60405180910390a15050565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610ed2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ec9906143c2565b60405180910390fd5b610ef082600e60008154610ee590614e01565b919050819055612316565b600e547fc9d0543a84d3510329c0783b91576878ceb484e8699944cb5610c3436b3b8e398383604051610f24929190614247565b60405180910390a25050565b610f4b83838360405180602001604052806000815250611421565b505050565b6000610f5a610a45565b8210610f9b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f9290614662565b60405180910390fd5b60088281548110610fd5577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611090576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161108790614502565b60405180910390fd5b80915050919050565b600d80546110a690614d82565b80601f01602080910402602001604051908101604052809291908181526020018280546110d290614d82565b801561111f5780601f106110f45761010080835404028352916020019161111f565b820191906000526020600020905b81548152906001019060200180831161110257829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611198576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161118f906144e2565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6111e7611bdc565b73ffffffffffffffffffffffffffffffffffffffff16611205611267565b73ffffffffffffffffffffffffffffffffffffffff161461125b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611252906145c2565b60405180910390fd5b6112656000612334565b565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611299611bdc565b73ffffffffffffffffffffffffffffffffffffffff166112b7611267565b73ffffffffffffffffffffffffffffffffffffffff161461130d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611304906145c2565b60405180910390fd5b80600f8190555050565b61132085612042565b61135f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161135690614602565b60405180910390fd5b61136c8585858585612074565b5050505050565b60606001805461138290614d82565b80601f01602080910402602001604051908101604052809291908181526020018280546113ae90614d82565b80156113fb5780601f106113d0576101008083540402835291602001916113fb565b820191906000526020600020905b8154815290600101906020018083116113de57829003601f168201915b5050505050905090565b600e5481565b61141d611416611bdc565b83836123fa565b5050565b61143261142c611bdc565b83611c9d565b611471576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161146890614642565b60405180910390fd5b61147d84848484612567565b50505050565b606061148e82611b70565b6114cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114c4906145e2565b60405180910390fd5b60006114d76125c3565b905060008151116114f75760405180602001604052806000815250611522565b8061150184612655565b60405160200161151292919061414d565b6040516020818303038152906040525b915050919050565b611532611bdc565b73ffffffffffffffffffffffffffffffffffffffff16611550611267565b73ffffffffffffffffffffffffffffffffffffffff16146115a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161159d906145c2565b60405180910390fd5b8060108190555050565b60116020528060005260406000206000915090508060000180546115d390614d82565b80601f01602080910402602001604051908101604052809291908181526020018280546115ff90614d82565b801561164c5780601f106116215761010080835404028352916020019161164c565b820191906000526020600020905b81548152906001019060200180831161162f57829003601f168201915b50505050509080600101805461166190614d82565b80601f016020809104026020016040519081016040528092919081815260200182805461168d90614d82565b80156116da5780601f106116af576101008083540402835291602001916116da565b820191906000526020600020905b8154815290600101906020018083116116bd57829003601f168201915b50505050509080600201604051806101a00160405290816000820154815260200160018201805461170a90614d82565b80601f016020809104026020016040519081016040528092919081815260200182805461173690614d82565b80156117835780601f1061175857610100808354040283529160200191611783565b820191906000526020600020905b81548152906001019060200180831161176657829003601f168201915b505050505081526020016002820154815260200160038201548152602001600482015481526020016005820154815260200160068201548152602001600782015481526020016008820154815260200160098201548152602001600a8201548152602001600b8201548152602001600c82015481525050905083565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61189b611bdc565b73ffffffffffffffffffffffffffffffffffffffff166118b9611267565b73ffffffffffffffffffffffffffffffffffffffff161461190f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611906906145c2565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561197f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611976906143a2565b60405180910390fd5b61198881612334565b50565b60105481565b600f5481565b61199f611bdc565b73ffffffffffffffffffffffffffffffffffffffff166119bd611267565b73ffffffffffffffffffffffffffffffffffffffff1614611a13576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a0a906145c2565b60405180910390fd5b80600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507fad0f299ec81a386c98df0ac27dae11dd020ed1b56963c53a7292e7a3a314539a81604051611a839190614197565b60405180910390a150565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611b5957507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611b695750611b6882612802565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611c5783610fe7565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611ca882611b70565b611ce7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cde90614482565b60405180910390fd5b6000611cf283610fe7565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611d6157508373ffffffffffffffffffffffffffffffffffffffff16611d49846107e8565b73ffffffffffffffffffffffffffffffffffffffff16145b80611d725750611d7181856117ff565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611d9b82610fe7565b73ffffffffffffffffffffffffffffffffffffffff1614611df1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611de8906143e2565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611e61576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e5890614442565b60405180910390fd5b611e6c83838361286c565b611e77600082611be4565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611ec79190614978565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611f1e91906148f1565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611fdd838383612927565b505050565b600081604051602001611ff591906146c4565b604051602081830303815290604052805190602001209050919050565b6000816040516020016120259190614171565b604051602081830303815290604052805190602001209050919050565b60008060116000848152602001908152602001600020600201600101805461206990614d82565b905014159050919050565b61207d85610fe7565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146120ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120e190614522565b60405180910390fd5b6012600086815260200190815260200160002060009054906101000a900460ff161561214b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161214290614562565b60405180910390fd5b60008484905090508060001080156121655750600f548111155b6121a4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161219b90614682565b60405180910390fd5b60008383905090508060001080156121be57506010548111155b6121fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121f490614542565b60405180910390fd5b8585601160008a815260200190815260200160002060000191906122229291906131ac565b508383601160008a815260200190815260200160002060010191906122489291906131ac565b5060016012600089815260200190815260200160002060006101000a81548160ff021916908315150217905550867f7e23a6c5d01c07c23e914ef3e53e925f42479d06e4a500c01cbdcc6f84b65b1d33888888886040516122ad9594939291906141fe565b60405180910390a2867f602917f7ff141b73b01b8894e3939b372c635850d484b4e54a1f9fc0467f8139601260008a815260200190815260200160002060009054906101000a900460ff166040516123059190614270565b60405180910390a250505050505050565b61233082826040518060200160405280600081525061292c565b5050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612469576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161246090614462565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161255a9190614270565b60405180910390a3505050565b612572848484611d7b565b61257e84848484612987565b6125bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125b490614382565b60405180910390fd5b50505050565b6060600d80546125d290614d82565b80601f01602080910402602001604051908101604052809291908181526020018280546125fe90614d82565b801561264b5780601f106126205761010080835404028352916020019161264b565b820191906000526020600020905b81548152906001019060200180831161262e57829003601f168201915b5050505050905090565b6060600082141561269d576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506127fd565b600082905060005b600082146126cf5780806126b890614e01565b915050600a826126c89190614947565b91506126a5565b60008167ffffffffffffffff811115612711577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156127435781602001600182028036833780820191505090505b5090505b600085146127f65760018261275c9190614978565b9150600a8561276b9190614e72565b603061277791906148f1565b60f81b8183815181106127b3577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856127ef9190614947565b9450612747565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612877838383612b1e565b6012600082815260200190815260200160002060009054906101000a900460ff16156129225760006012600083815260200190815260200160002060006101000a81548160ff021916908315150217905550807f602917f7ff141b73b01b8894e3939b372c635850d484b4e54a1f9fc0467f81396012600084815260200190815260200160002060009054906101000a900460ff166040516129199190614270565b60405180910390a25b505050565b505050565b6129368383612c32565b6129436000848484612987565b612982576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161297990614382565b60405180910390fd5b505050565b60006129a88473ffffffffffffffffffffffffffffffffffffffff16612e0c565b15612b11578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026129d1611bdc565b8786866040518563ffffffff1660e01b81526004016129f394939291906141b2565b602060405180830381600087803b158015612a0d57600080fd5b505af1925050508015612a3e57506040513d601f19601f82011682018060405250810190612a3b919061357f565b60015b612ac1573d8060008114612a6e576040519150601f19603f3d011682016040523d82523d6000602084013e612a73565b606091505b50600081511415612ab9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ab090614382565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612b16565b600190505b949350505050565b612b29838383612e2f565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612b6c57612b6781612e34565b612bab565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612baa57612ba98382612e7d565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612bee57612be981612fea565b612c2d565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612c2c57612c2b828261312d565b5b5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612ca2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c9990614582565b60405180910390fd5b612cab81611b70565b15612ceb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ce290614402565b60405180910390fd5b612cf76000838361286c565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612d4791906148f1565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612e0860008383612927565b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001612e8a84611127565b612e949190614978565b9050600060076000848152602001908152602001600020549050818114612f79576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050612ffe9190614978565b9050600060096000848152602001908152602001600020549050600060088381548110613054577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050806008838154811061309c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613111577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b600061313883611127565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b8280546131b890614d82565b90600052602060002090601f0160209004810192826131da5760008555613221565b82601f106131f357803560ff1916838001178555613221565b82800160010185558215613221579182015b82811115613220578235825591602001919060010190613205565b5b50905061322e9190613232565b5090565b5b8082111561324b576000816000905550600101613233565b5090565b600061326261325d846147a2565b61477d565b90508281526020810184848401111561327a57600080fd5b613285848285614b8a565b509392505050565b60008135905061329c8161574f565b92915050565b6000813590506132b181615766565b92915050565b6000813590506132c68161577d565b92915050565b6000813590506132db81615794565b92915050565b6000815190506132f081615794565b92915050565b600082601f83011261330757600080fd5b813561331784826020860161324f565b91505092915050565b60008083601f84011261333257600080fd5b8235905067ffffffffffffffff81111561334b57600080fd5b60208301915083600182028301111561336357600080fd5b9250929050565b60006040828403121561337c57600080fd5b81905092915050565b600081359050613394816157ab565b92915050565b6000813590506133a9816157c2565b92915050565b6000602082840312156133c157600080fd5b60006133cf8482850161328d565b91505092915050565b600080604083850312156133eb57600080fd5b60006133f98582860161328d565b925050602061340a8582860161328d565b9150509250929050565b60008060006060848603121561342957600080fd5b60006134378682870161328d565b93505060206134488682870161328d565b925050604061345986828701613385565b9150509250925092565b6000806000806080858703121561347957600080fd5b60006134878782880161328d565b94505060206134988782880161328d565b93505060406134a987828801613385565b925050606085013567ffffffffffffffff8111156134c657600080fd5b6134d2878288016132f6565b91505092959194509250565b600080604083850312156134f157600080fd5b60006134ff8582860161328d565b9250506020613510858286016132a2565b9150509250929050565b6000806040838503121561352d57600080fd5b600061353b8582860161328d565b925050602061354c85828601613385565b9150509250929050565b60006020828403121561356857600080fd5b6000613576848285016132cc565b91505092915050565b60006020828403121561359157600080fd5b600061359f848285016132e1565b91505092915050565b600080602083850312156135bb57600080fd5b600083013567ffffffffffffffff8111156135d557600080fd5b6135e185828601613320565b92509250509250929050565b60008060008060008060008060c0898b03121561360957600080fd5b600089013567ffffffffffffffff81111561362357600080fd5b61362f8b828c01613320565b9850985050602089013567ffffffffffffffff81111561364e57600080fd5b61365a8b828c01613320565b9650965050604089013567ffffffffffffffff81111561367957600080fd5b6136858b828c0161336a565b94505060606136968b828c0161339a565b93505060806136a78b828c016132b7565b92505060a06136b88b828c016132b7565b9150509295985092959890939650565b6000602082840312156136da57600080fd5b60006136e884828501613385565b91505092915050565b60008060008060006060868803121561370957600080fd5b600061371788828901613385565b955050602086013567ffffffffffffffff81111561373457600080fd5b61374088828901613320565b9450945050604086013567ffffffffffffffff81111561375f57600080fd5b61376b88828901613320565b92509250509295509295909350565b613783816149ac565b82525050565b613792816149be565b82525050565b6137a1816149ca565b82525050565b6137b0816149ca565b82525050565b6137c76137c2826149ca565b614e4a565b82525050565b60006137d8826147e8565b6137e28185614809565b93506137f2818560208601614b99565b6137fb81614f91565b840191505092915050565b6000613812838561481a565b935061381f838584614b8a565b61382883614f91565b840190509392505050565b600061383f838561482b565b935061384c838584614b8a565b61385583614f91565b840190509392505050565b600061386b826147fe565b613875818561481a565b9350613885818560208601614b99565b61388e81614f91565b840191505092915050565b60006138a4826147fe565b6138ae818561482b565b93506138be818560208601614b99565b6138c781614f91565b840191505092915050565b60006138dd826147fe565b6138e7818561483c565b93506138f7818560208601614b99565b80840191505092915050565b6000613910601c8361483c565b915061391b82614fee565b601c82019050919050565b6000613933602b8361482b565b915061393e82615017565b604082019050919050565b600061395660328361482b565b915061396182615066565b604082019050919050565b600061397960268361482b565b9150613984826150b5565b604082019050919050565b600061399c601a8361482b565b91506139a782615104565b602082019050919050565b60006139bf60258361482b565b91506139ca8261512d565b604082019050919050565b60006139e2601c8361482b565b91506139ed8261517c565b602082019050919050565b6000613a05601f8361482b565b9150613a10826151a5565b602082019050919050565b6000613a2860248361482b565b9150613a33826151ce565b604082019050919050565b6000613a4b60198361482b565b9150613a568261521d565b602082019050919050565b6000613a6e602c8361482b565b9150613a7982615246565b604082019050919050565b6000613a9160388361482b565b9150613a9c82615295565b604082019050919050565b6000613ab4601b8361482b565b9150613abf826152e4565b602082019050919050565b6000613ad7602a8361482b565b9150613ae28261530d565b604082019050919050565b6000613afa60298361482b565b9150613b058261535c565b604082019050919050565b6000613b1d601f8361482b565b9150613b28826153ab565b602082019050919050565b6000613b4060208361482b565b9150613b4b826153d4565b602082019050919050565b6000613b63601a8361482b565b9150613b6e826153fd565b602082019050919050565b6000613b8660208361482b565b9150613b9182615426565b602082019050919050565b6000613ba9602c8361482b565b9150613bb48261544f565b604082019050919050565b6000613bcc60208361482b565b9150613bd78261549e565b602082019050919050565b6000613bef602f8361482b565b9150613bfa826154c7565b604082019050919050565b6000613c12601b8361482b565b9150613c1d82615516565b602082019050919050565b6000613c3560218361482b565b9150613c408261553f565b604082019050919050565b6000613c5860318361482b565b9150613c638261558e565b604082019050919050565b6000613c7b602c8361482b565b9150613c86826155dd565b604082019050919050565b6000613c9e60208361482b565b9150613ca98261562c565b602082019050919050565b60006101a08301613cc86000840184614847565b613cd56000860182613798565b50613ce3602084018461485e565b8583036020870152613cf6838284613806565b92505050613d076040840184614847565b613d146040860182613798565b50613d226060840184614847565b613d2f6060860182613798565b50613d3d6080840184614847565b613d4a6080860182613798565b50613d5860a0840184614847565b613d6560a0860182613798565b50613d7360c0840184614847565b613d8060c0860182613798565b50613d8e60e0840184614847565b613d9b60e0860182613798565b50613daa610100840184614847565b613db8610100860182613798565b50613dc7610120840184614847565b613dd5610120860182613798565b50613de4610140840184614847565b613df2610140860182613798565b50613e01610160840184614847565b613e0f610160860182613798565b50613e1e610180840184614847565b613e2c610180860182613798565b508091505092915050565b60006101a08301613e4b6000840184614847565b613e586000860182613798565b50613e66602084018461485e565b8583036020870152613e79838284613806565b92505050613e8a6040840184614847565b613e976040860182613798565b50613ea56060840184614847565b613eb26060860182613798565b50613ec06080840184614847565b613ecd6080860182613798565b50613edb60a0840184614847565b613ee860a0860182613798565b50613ef660c0840184614847565b613f0360c0860182613798565b50613f1160e0840184614847565b613f1e60e0860182613798565b50613f2d610100840184614847565b613f3b610100860182613798565b50613f4a610120840184614847565b613f58610120860182613798565b50613f67610140840184614847565b613f75610140860182613798565b50613f84610160840184614847565b613f92610160860182613798565b50613fa1610180840184614847565b613faf610180860182613798565b508091505092915050565b60006101a083016000830151613fd36000860182613798565b5060208301518482036020860152613feb8282613860565b91505060408301516140006040860182613798565b5060608301516140136060860182613798565b5060808301516140266080860182613798565b5060a083015161403960a0860182613798565b5060c083015161404c60c0860182613798565b5060e083015161405f60e0860182613798565b50610100830151614074610100860182613798565b50610120830151614089610120860182613798565b5061014083015161409e610140860182613798565b506101608301516140b3610160860182613798565b506101808301516140c8610180860182613798565b508091505092915050565b6000604083016140e660008401846148da565b6140f36000860182614120565b5061410160208401846148b5565b84820360208601526141138282613cb4565b9150508091505092915050565b61412981614a20565b82525050565b61413881614a20565b82525050565b61414781614a2a565b82525050565b600061415982856138d2565b915061416582846138d2565b91508190509392505050565b600061417c82613903565b915061418882846137b6565b60208201915081905092915050565b60006020820190506141ac600083018461377a565b92915050565b60006080820190506141c7600083018761377a565b6141d4602083018661377a565b6141e1604083018561412f565b81810360608301526141f381846137cd565b905095945050505050565b6000606082019050614213600083018861377a565b8181036020830152614226818688613833565b9050818103604083015261423b818486613833565b90509695505050505050565b600060408201905061425c600083018561377a565b614269602083018461412f565b9392505050565b60006020820190506142856000830184613789565b92915050565b60006080820190506142a060008301876137a7565b6142ad602083018661413e565b6142ba60408301856137a7565b6142c760608301846137a7565b95945050505050565b600060208201905081810360008301526142eb818486613833565b90509392505050565b6000602082019050818103600083015261430e8184613899565b905092915050565b600060608201905081810360008301526143308186613899565b905081810360208301526143448185613899565b905081810360408301526143588184613fba565b9050949350505050565b6000602082019050818103600083015261437b81613926565b9050919050565b6000602082019050818103600083015261439b81613949565b9050919050565b600060208201905081810360008301526143bb8161396c565b9050919050565b600060208201905081810360008301526143db8161398f565b9050919050565b600060208201905081810360008301526143fb816139b2565b9050919050565b6000602082019050818103600083015261441b816139d5565b9050919050565b6000602082019050818103600083015261443b816139f8565b9050919050565b6000602082019050818103600083015261445b81613a1b565b9050919050565b6000602082019050818103600083015261447b81613a3e565b9050919050565b6000602082019050818103600083015261449b81613a61565b9050919050565b600060208201905081810360008301526144bb81613a84565b9050919050565b600060208201905081810360008301526144db81613aa7565b9050919050565b600060208201905081810360008301526144fb81613aca565b9050919050565b6000602082019050818103600083015261451b81613aed565b9050919050565b6000602082019050818103600083015261453b81613b10565b9050919050565b6000602082019050818103600083015261455b81613b33565b9050919050565b6000602082019050818103600083015261457b81613b56565b9050919050565b6000602082019050818103600083015261459b81613b79565b9050919050565b600060208201905081810360008301526145bb81613b9c565b9050919050565b600060208201905081810360008301526145db81613bbf565b9050919050565b600060208201905081810360008301526145fb81613be2565b9050919050565b6000602082019050818103600083015261461b81613c05565b9050919050565b6000602082019050818103600083015261463b81613c28565b9050919050565b6000602082019050818103600083015261465b81613c4b565b9050919050565b6000602082019050818103600083015261467b81613c6e565b9050919050565b6000602082019050818103600083015261469b81613c91565b9050919050565b600060208201905081810360008301526146bc8184613e37565b905092915050565b600060208201905081810360008301526146de81846140d3565b905092915050565b60006020820190506146fb600083018461412f565b92915050565b6000808335600160200384360303811261471a57600080fd5b80840192508235915067ffffffffffffffff82111561473857600080fd5b60208301925060018202360383131561475057600080fd5b509250929050565b6000823560016101a00383360303811261477157600080fd5b80830191505092915050565b6000614787614798565b90506147938282614dd0565b919050565b6000604051905090565b600067ffffffffffffffff8211156147bd576147bc614f30565b5b6147c682614f91565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600082905092915050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600061485660208401846132b7565b905092915050565b6000808335600160200384360303811261487757600080fd5b83810192508235915060208301925067ffffffffffffffff82111561489b57600080fd5b6001820236038413156148ad57600080fd5b509250929050565b6000823560016101a0038336030381126148ce57600080fd5b82810191505092915050565b60006148e96020840184613385565b905092915050565b60006148fc82614a20565b915061490783614a20565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561493c5761493b614ea3565b5b828201905092915050565b600061495282614a20565b915061495d83614a20565b92508261496d5761496c614ed2565b5b828204905092915050565b600061498382614a20565b915061498e83614a20565b9250828210156149a1576149a0614ea3565b5b828203905092915050565b60006149b782614a00565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b5b81811015614a5657614a4b600082614fd6565b600181019050614a38565b5050565b6000614a65826149ca565b9050919050565b6000614a7782614a20565b9050919050565b614a8883836147f3565b67ffffffffffffffff811115614aa157614aa0614f30565b5b614aab8254614d82565b600080601f8411601f84111715614ac857614ac5856147d3565b90505b601f831115614afb576020601f85010481016020851015614ae7578190505b614af96020601f860104830182614a37565b505b601f841160018114614b285760008515614b16578388013590505b614b208682614db4565b875550614b80565b601f1985168260005b82811015614b5657858a01358255600182019150602086019550602081019050614b31565b87831015614b7357858a0135614b6f601f8a1682614e54565b8355505b6001600289020189555050505b5050505050505050565b82818337600083830152505050565b60005b83811015614bb7578082015181840152602081019050614b9c565b83811115614bc6576000848401525b50505050565b600081016000830180614bde81614f7b565b9050614bea81846156e9565b5050506001810160208301614bff8185614701565b614c0a81838661570c565b50505050600281016040830180614c2081614f7b565b9050614c2c81846156e9565b505050600381016060830180614c4181614f7b565b9050614c4d81846156e9565b505050600481016080830180614c6281614f7b565b9050614c6e81846156e9565b5050506005810160a0830180614c8381614f7b565b9050614c8f81846156e9565b5050506006810160c0830180614ca481614f7b565b9050614cb081846156e9565b5050506007810160e0830180614cc581614f7b565b9050614cd181846156e9565b50505060088101610100830180614ce781614f7b565b9050614cf381846156e9565b50505060098101610120830180614d0981614f7b565b9050614d1581846156e9565b505050600a8101610140830180614d2b81614f7b565b9050614d3781846156e9565b505050600b8101610160830180614d4d81614f7b565b9050614d5981846156e9565b505050600c8101610180830180614d6f81614f7b565b9050614d7b81846156e9565b5050505050565b60006002820490506001821680614d9a57607f821691505b60208210811415614dae57614dad614f01565b5b50919050565b6000614dc08383614e54565b9150826002028217905092915050565b614dd982614f91565b810181811067ffffffffffffffff82111715614df857614df7614f30565b5b80604052505050565b6000614e0c82614a20565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614e3f57614e3e614ea3565b5b600182019050919050565b6000819050919050565b6000614e6560001984600802614fc9565b1980831691505092915050565b6000614e7d82614a20565b9150614e8883614a20565b925082614e9857614e97614ed2565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000614f6a82614fbc565b9050919050565b6000819050919050565b60008135614f888161577d565b80915050919050565b6000601f19601f8301169050919050565b60008160001b9050919050565b600082821b905092915050565b60008160001c9050919050565b600082821c905092915050565b614fde6157d9565b614fe981848461572a565b505050565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4e656e546f6b656e3a2073656e64657220213d206d696e746572000000000000600082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4e656e546f6b656e3a2061747472696275746520616c72656164792073657400600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4e656e546f6b656e3a20696e76616c6964207369676e61747572650000000000600082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4e656e546f6b656e3a2073656e64657220213d20746f6b656e206f776e657200600082015250565b7f4e656e546f6b656e3a20637265646974206973206f7574206f662072616e6765600082015250565b7f4e656e546f6b656e3a20616e73776572206973206c6f636b6564000000000000600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4e656e546f6b656e3a20617474726962757465206e6f74207365740000000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f4e656e546f6b656e3a20616e73776572206973206f7574206f662072616e6765600082015250565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff61568184614fa2565b9350801983169250808416831791505092915050565b6000600883026156c77fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82614faf565b6156d18683614faf565b95508019841693508086168417925050509392505050565b6156f282614a5a565b6157056156fe82614f5f565b8354615655565b8255505050565b615717838383614a7e565b505050565b6157268282614bcc565b5050565b61573383614a6c565b61574761573f82614f71565b848454615697565b825550505050565b615758816149ac565b811461576357600080fd5b50565b61576f816149be565b811461577a57600080fd5b50565b615786816149ca565b811461579157600080fd5b50565b61579d816149d4565b81146157a857600080fd5b50565b6157b481614a20565b81146157bf57600080fd5b50565b6157cb81614a2a565b81146157d657600080fd5b50565b60009056fea2646970667358221220b7077e43c0651cd6040d046d5be9c082296ae13a32b8c6b71dcc10b9552b6ae264736f6c63430008040033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000000000000000000000000000000000000000040000000000000000000000000bcc91c056099d4ba3fd0120b63fc2641a17b22d2000000000000000000000000000000000000000000000000000000000000001a68747470733a2f2f6170692e706a6e656e2e636f6d2f6e656e2f000000000000
-----Decoded View---------------
Arg [0] : _firstBaseURI (string): https://api.pjnen.com/nen/
Arg [1] : _validator (address): 0xbcc91C056099d4BA3fD0120B63FC2641a17B22d2
-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 000000000000000000000000bcc91c056099d4ba3fd0120b63fc2641a17b22d2
Arg [2] : 000000000000000000000000000000000000000000000000000000000000001a
Arg [3] : 68747470733a2f2f6170692e706a6e656e2e636f6d2f6e656e2f000000000000
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.