ERC-721
NFT
Overview
Max Total Supply
0 NVT
Holders
1,989
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
5 NVTLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
AvatarToken
Compiler Version
v0.8.0+commit.c7dfd78e
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: GPL-3.0-only pragma solidity ^0.8.0; import "@openzeppelin/contracts/security/Pausable.sol"; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/utils/Counters.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "./access/BaseAccessControl.sol"; import "./structs/AvatarInfo.sol"; contract AvatarToken is ERC721, BaseAccessControl, Pausable { string public constant NON_EXISTENT_TOKEN_ERROR = "AvatarToken: nonexistent token"; string public constant NOT_ENOUGH_PRIVILEGES_ERROR = "AvatarToken: not enough privileges"; string public constant BAD_ADDRESS_ERROR = "AvatarToken: bad address"; string public constant BAD_AMOUNT_ERROR = "AvatarToken: bad amount"; string public constant BAD_CID_ERROR = "AvatarToken: bad CID"; string public constant CID_SET_ERROR = "AvatarToken: CID is already set"; string public constant SUPPLY_LIMIT_ERROR = "AvatarToken: total supply has exceeded"; string public constant GROW_UP_OWNER_ERROR = "AvatarToken: caller is not owner"; string public constant GROW_UP_TIME_ERROR = "AvatarToken: it is not time to grow up"; string public constant GROW_UP_ADULT_ERROR = "AvatarToken: already adult"; string public constant SET_ADULT_IMAGE_ERROR = "AvatarToken: the avatar is not adult"; string public constant COLLECTION_REVEALED_ERROR = "AvatarToken: already revealed"; string public constant COLLECTION_NOT_REVEALED_ERROR = "AvatarToken: the collection is not revealed"; using Address for address payable; using Counters for Counters.Counter; using Address for address; using Strings for uint256; Counters.Counter private _avatarIds; address private _avatarMarketAddress; uint private _growTime; //in secs string private _baseUri; uint private _priceOfGrowingUp; uint private _totalTokenSupply; string private _defaultBabyUri; string private _defaultAdultCid; uint private _revealedAt = 0; // Mapping token id to avatar details mapping(uint => uint) private _info; // Mapping token id to adult cid; mapping(uint => string) private _adultCids; event Revealed(address indexed operator, string baseUri); event AvatarCreated(address indexed operator, address indexed to, uint tokenId); event AvatarGrown(address indexed operator, uint tokenId); event SetAdultImage(address indexed operator, uint tokenId); event EthersWithdrawn(address operator, address indexed to, uint amount); constructor( uint totalSupply, string memory defaultBabyUri, string memory defaultAdultCid, uint gt, uint price, address accessControl) ERC721("Novatar", "NVT") BaseAccessControl(accessControl) { _totalTokenSupply = totalSupply; _defaultBabyUri = defaultBabyUri; _defaultAdultCid = defaultAdultCid; _growTime = gt; _priceOfGrowingUp = price; } function totalTokenSupply() public view returns (uint) { return _totalTokenSupply; } function currentTokenCount() public view returns (uint) { return uint(_avatarIds.current()); } function avatarMarketAddress() public view returns (address) { return _avatarMarketAddress; } function setAvatarMarketAddress(address newAddress) external onlyRole(COO_ROLE) { require(newAddress.isContract(), BAD_ADDRESS_ERROR); address previousAddress = _avatarMarketAddress; _avatarMarketAddress = newAddress; emit AddressChanged("avatarMarket", previousAddress, newAddress); } function growUpTime() public view returns (uint) { return _growTime; } function setGrowUpTime(uint newValue) external onlyRole(COO_ROLE) { uint previousValue = _growTime; _growTime = newValue; emit ValueChanged("growUpTime", previousValue, newValue); } function priceOfGrowingUp() public view returns (uint) { return _priceOfGrowingUp; } function setPriceOfGrowingUp(uint newValue) external onlyRole(CFO_ROLE) { uint previousValue = _priceOfGrowingUp; _priceOfGrowingUp = newValue; emit ValueChanged("priceOfGrowingUp", previousValue, newValue); } function _defaultBabyURI() internal view returns (string memory) { return _defaultBabyUri; } function defaultBabyURI() public view returns (string memory) { return _defaultBabyUri; } function setDefaultBabyURI(string memory newDefaultUri) external onlyRole(COO_ROLE) { string memory previousValue = _defaultBabyUri; _defaultBabyUri = newDefaultUri; emit StringValueChanged("defaultBabyUri", previousValue, newDefaultUri); } function _defaultAdultCID() internal view returns (string memory) { return _defaultAdultCid; } function defaultAdultCID() public view returns (string memory) { return _defaultAdultCid; } function setDefaultAdultCID(string memory newDefaultCid) external onlyRole(COO_ROLE) { string memory previousValue = _defaultAdultCid; _defaultAdultCid = newDefaultCid; emit StringValueChanged("defaultAdultCid", previousValue, newDefaultCid); } function _baseURI() internal view virtual override returns (string memory) { return _baseUri; } function setBaseURI(string memory newBaseUri) external onlyRole(COO_ROLE) { require(_revealedAt > 0, COLLECTION_NOT_REVEALED_ERROR); string memory previousValue = _baseUri; _baseUri = newBaseUri; emit StringValueChanged("baseUri", previousValue, newBaseUri); } function revealBabyAvatars(string memory baseUri) external onlyRole(COO_ROLE) { require(_revealedAt == 0, COLLECTION_REVEALED_ERROR); _baseUri = baseUri; _revealedAt = block.timestamp; emit Revealed(_msgSender(), baseUri); } function setAdultImage(uint tokenId, string memory cid) external onlyRole(COO_ROLE) { require(_exists(tokenId), NON_EXISTENT_TOKEN_ERROR); AvatarInfo.Details memory details = AvatarInfo.getDetails(_info[tokenId]); require(details.grownAt > 0, SET_ADULT_IMAGE_ERROR); require(bytes(cid).length >= 46, BAD_CID_ERROR); require(!hasAdultImage(tokenId), CID_SET_ERROR); _adultCids[tokenId] = cid; emit SetAdultImage(_msgSender(), tokenId); } function avatar(uint tokenId) external view returns (AvatarInfo.Details memory) { require(_exists(tokenId), NON_EXISTENT_TOKEN_ERROR); return AvatarInfo.getDetails(_info[tokenId]); } function hasAdultImage(uint tokenId) public view returns (bool) { return bytes(_adultCids[tokenId]).length > 0; } function isAdult(uint tokenId) public view returns (bool) { require(_exists(tokenId), NON_EXISTENT_TOKEN_ERROR); AvatarInfo.Details memory details = AvatarInfo.getDetails(_info[tokenId]); return details.grownAt > 0; } function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), NON_EXISTENT_TOKEN_ERROR); AvatarInfo.Details memory details = AvatarInfo.getDetails(_info[tokenId]); return (details.grownAt > 0) ? string( abi.encodePacked( "ipfs://", hasAdultImage(tokenId) ? _adultCids[tokenId] : _defaultAdultCID())) : (_revealedAt > 0) ? string( abi.encodePacked( _baseURI(), "/", tokenId.toString(), ".json")) : _defaultBabyURI(); } function mint(address to) external returns (uint) { require(_msgSender() == avatarMarketAddress(), NOT_ENOUGH_PRIVILEGES_ERROR); require(!to.isContract(), BAD_ADDRESS_ERROR); require(currentTokenCount() < totalTokenSupply(), SUPPLY_LIMIT_ERROR); _avatarIds.increment(); uint newAvatarId = uint(_avatarIds.current()); _info[newAvatarId] = AvatarInfo.getValue(AvatarInfo.Details({ mintedAt: block.timestamp, grownAt: 0 })); _mint(to, newAvatarId); emit AvatarCreated(_msgSender(), to, newAvatarId); return newAvatarId; } function growUp(uint tokenId) external payable whenNotPaused { require(_exists(tokenId), NON_EXISTENT_TOKEN_ERROR); require(_revealedAt > 0, COLLECTION_NOT_REVEALED_ERROR); require(ownerOf(tokenId) == _msgSender(), GROW_UP_OWNER_ERROR); AvatarInfo.Details memory details = AvatarInfo.getDetails(_info[tokenId]); require(details.grownAt == 0, GROW_UP_ADULT_ERROR); require(_revealedAt + growUpTime() <= block.timestamp, GROW_UP_TIME_ERROR); require(msg.value >= priceOfGrowingUp(), BAD_AMOUNT_ERROR); details.grownAt = block.timestamp; _info[tokenId] = AvatarInfo.getValue(details); emit AvatarGrown(_msgSender(), tokenId); } function pause() external onlyRole(COO_ROLE) { _pause(); } function unpause() external onlyRole(COO_ROLE) { _unpause(); } function withdrawEthers(uint amount, address payable to) external onlyRole(CFO_ROLE) { require(!to.isContract(), BAD_ADDRESS_ERROR); to.sendValue(amount); emit EthersWithdrawn(_msgSender(), to, amount); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ abstract contract Pausable is Context { /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. */ constructor() { _paused = false; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { require(!paused(), "Pausable: paused"); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { require(paused(), "Pausable: not paused"); _; } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } }
// SPDX-License-Identifier: MIT 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 { require(operator != _msgSender(), "ERC721: approve to caller"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_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); } /** * @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); } /** * @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 of token that is not own"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(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 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 {} }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` */ library Counters { struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { unchecked { counter._value += 1; } } function decrement(Counter storage counter) internal { uint256 value = counter._value; require(value > 0, "Counter: decrement overflow"); unchecked { counter._value = value - 1; } } function reset(Counter storage counter) internal { counter._value = 0; } }
// SPDX-License-Identifier: MIT 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 pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: GPL-3.0-only pragma solidity ^0.8.0; import "@openzeppelin/contracts/access/IAccessControl.sol"; import "@openzeppelin/contracts/utils/Context.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "../interfaces/IChangeableVariables.sol"; abstract contract BaseAccessControl is Context, IChangeableVariables { bytes32 public constant CEO_ROLE = keccak256("CEO"); bytes32 public constant CFO_ROLE = keccak256("CFO"); bytes32 public constant COO_ROLE = keccak256("COO"); address private _accessControl; modifier onlyRole(bytes32 role) { _checkRole(role, _msgSender()); _; } constructor (address accessControl) Context() { _accessControl = accessControl; } function accessControlAddress() public view returns (address) { return _accessControl; } function setAccessControlAddress(address newAddress) external onlyRole(COO_ROLE) { address previousAddress = _accessControl; _accessControl = newAddress; emit AddressChanged("accessControl", previousAddress, newAddress); } function hasRole(bytes32 role, address account) public view returns (bool) { IAccessControl accessControl = IAccessControl(accessControlAddress()); return accessControl.hasRole(role, account) || accessControl.hasRole(CEO_ROLE, account); } function _checkRole(bytes32 role, address account) internal view { if (!hasRole(role, account)) { revert( string( abi.encodePacked( "AccessControl: account ", Strings.toHexString(uint160(account), 20), " is missing role ", Strings.toHexString(uint256(role), 32) ) ) ); } } }
// SPDX-License-Identifier: GPL-3.0-only pragma solidity ^0.8.0; library AvatarInfo { struct Details { uint mintedAt; uint grownAt; } function getDetails(uint value) internal pure returns (Details memory) { return Details ( { mintedAt: uint256(uint128(value)), grownAt: uint256(uint128(value >> 128)) } ); } function getValue(Details memory details) internal pure returns (uint) { uint result = uint(details.mintedAt); result |= uint(details.grownAt) << 128; return result; } }
// SPDX-License-Identifier: MIT 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 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 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 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 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 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); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev External interface of AccessControl declared to support ERC165 detection. */ interface IAccessControl { /** * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole` * * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite * {RoleAdminChanged} not being emitted signaling this. * * _Available since v3.1._ */ event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole); /** * @dev Emitted when `account` is granted `role`. * * `sender` is the account that originated the contract call, an admin role * bearer except when using {AccessControl-_setupRole}. */ event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Emitted when `account` is revoked `role`. * * `sender` is the account that originated the contract call: * - if using `revokeRole`, it is the admin role bearer * - if using `renounceRole`, it is the role bearer (i.e. `account`) */ event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Returns `true` if `account` has been granted `role`. */ function hasRole(bytes32 role, address account) external view returns (bool); /** * @dev Returns the admin role that controls `role`. See {grantRole} and * {revokeRole}. * * To change a role's admin, use {AccessControl-_setRoleAdmin}. */ function getRoleAdmin(bytes32 role) external view returns (bytes32); /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function grantRole(bytes32 role, address account) external; /** * @dev Revokes `role` from `account`. * * If `account` had been granted `role`, emits a {RoleRevoked} event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function revokeRole(bytes32 role, address account) external; /** * @dev Revokes `role` from the calling account. * * Roles are often managed via {grantRole} and {revokeRole}: this function's * purpose is to provide a mechanism for accounts to lose their privileges * if they are compromised (such as when a trusted device is misplaced). * * If the calling account had been granted `role`, emits a {RoleRevoked} * event. * * Requirements: * * - the caller must be `account`. */ function renounceRole(bytes32 role, address account) external; }
// SPDX-License-Identifier: GPL-3.0-only pragma solidity ^0.8.0; interface IChangeableVariables { event AddressChanged(string fieldName, address previousAddress, address newAddress); event ValueChanged(string fieldName, uint previousValue, uint newValue); event StringValueChanged(string fieldName, string previousValue, string newValue); event BoolValueChanged(string fieldName, bool previousValue, bool newValue); }
{ "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":"uint256","name":"totalSupply","type":"uint256"},{"internalType":"string","name":"defaultBabyUri","type":"string"},{"internalType":"string","name":"defaultAdultCid","type":"string"},{"internalType":"uint256","name":"gt","type":"uint256"},{"internalType":"uint256","name":"price","type":"uint256"},{"internalType":"address","name":"accessControl","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"fieldName","type":"string"},{"indexed":false,"internalType":"address","name":"previousAddress","type":"address"},{"indexed":false,"internalType":"address","name":"newAddress","type":"address"}],"name":"AddressChanged","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":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"AvatarCreated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"AvatarGrown","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"fieldName","type":"string"},{"indexed":false,"internalType":"bool","name":"previousValue","type":"bool"},{"indexed":false,"internalType":"bool","name":"newValue","type":"bool"}],"name":"BoolValueChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"EthersWithdrawn","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"string","name":"baseUri","type":"string"}],"name":"Revealed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"SetAdultImage","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"fieldName","type":"string"},{"indexed":false,"internalType":"string","name":"previousValue","type":"string"},{"indexed":false,"internalType":"string","name":"newValue","type":"string"}],"name":"StringValueChanged","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"fieldName","type":"string"},{"indexed":false,"internalType":"uint256","name":"previousValue","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newValue","type":"uint256"}],"name":"ValueChanged","type":"event"},{"inputs":[],"name":"BAD_ADDRESS_ERROR","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"BAD_AMOUNT_ERROR","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"BAD_CID_ERROR","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"CEO_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"CFO_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"CID_SET_ERROR","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"COLLECTION_NOT_REVEALED_ERROR","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"COLLECTION_REVEALED_ERROR","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"COO_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"GROW_UP_ADULT_ERROR","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"GROW_UP_OWNER_ERROR","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"GROW_UP_TIME_ERROR","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"NON_EXISTENT_TOKEN_ERROR","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"NOT_ENOUGH_PRIVILEGES_ERROR","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SET_ADULT_IMAGE_ERROR","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SUPPLY_LIMIT_ERROR","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"accessControlAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"avatar","outputs":[{"components":[{"internalType":"uint256","name":"mintedAt","type":"uint256"},{"internalType":"uint256","name":"grownAt","type":"uint256"}],"internalType":"struct AvatarInfo.Details","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"avatarMarketAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"currentTokenCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"defaultAdultCID","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"defaultBabyURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"growUp","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"growUpTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"hasAdultImage","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"isAdult","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":"address","name":"to","type":"address"}],"name":"mint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"priceOfGrowingUp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"baseUri","type":"string"}],"name":"revealBabyAvatars","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newAddress","type":"address"}],"name":"setAccessControlAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"string","name":"cid","type":"string"}],"name":"setAdultImage","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":"address","name":"newAddress","type":"address"}],"name":"setAvatarMarketAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newBaseUri","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newDefaultCid","type":"string"}],"name":"setDefaultAdultCID","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newDefaultUri","type":"string"}],"name":"setDefaultBabyURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newValue","type":"uint256"}],"name":"setGrowUpTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newValue","type":"uint256"}],"name":"setPriceOfGrowingUp","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalTokenSupply","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":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address payable","name":"to","type":"address"}],"name":"withdrawEthers","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526000600f553480156200001657600080fd5b50604051620065073803806200650783398181016040528101906200003c9190620002dd565b806040518060400160405280600781526020017f4e6f7661746172000000000000000000000000000000000000000000000000008152506040518060400160405280600381526020017f4e565400000000000000000000000000000000000000000000000000000000008152508160009080519060200190620000c19291906200018d565b508060019080519060200190620000da9291906200018d565b50505080600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550506000600660146101000a81548160ff02191690831515021790555085600c8190555084600d9080519060200190620001599291906200018d565b5083600e9080519060200190620001729291906200018d565b508260098190555081600b8190555050505050505062000548565b8280546200019b9062000480565b90600052602060002090601f016020900481019282620001bf57600085556200020b565b82601f10620001da57805160ff19168380011785556200020b565b828001600101855582156200020b579182015b828111156200020a578251825591602001919060010190620001ed565b5b5090506200021a91906200021e565b5090565b5b80821115620002395760008160009055506001016200021f565b5090565b6000620002546200024e84620003d9565b620003a5565b9050828152602081018484840111156200026d57600080fd5b6200027a8482856200044a565b509392505050565b600081519050620002938162000514565b92915050565b600082601f830112620002ab57600080fd5b8151620002bd8482602086016200023d565b91505092915050565b600081519050620002d7816200052e565b92915050565b60008060008060008060c08789031215620002f757600080fd5b60006200030789828a01620002c6565b965050602087015167ffffffffffffffff8111156200032557600080fd5b6200033389828a0162000299565b955050604087015167ffffffffffffffff8111156200035157600080fd5b6200035f89828a0162000299565b94505060606200037289828a01620002c6565b93505060806200038589828a01620002c6565b92505060a06200039889828a0162000282565b9150509295509295509295565b6000604051905081810181811067ffffffffffffffff82111715620003cf57620003ce620004e5565b5b8060405250919050565b600067ffffffffffffffff821115620003f757620003f6620004e5565b5b601f19601f8301169050602081019050919050565b6000620004198262000420565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60005b838110156200046a5780820151818401526020810190506200044d565b838111156200047a576000848401525b50505050565b600060028204905060018216806200049957607f821691505b60208210811415620004b057620004af620004b6565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6200051f816200040c565b81146200052b57600080fd5b50565b620005398162000440565b81146200054557600080fd5b50565b615faf80620005586000396000f3fe60806040526004361061036b5760003560e01c8063677f8cc6116101c6578063a22cb465116100f7578063d58c2e4211610095578063dac1c1911161006f578063dac1c19114610c8d578063de2f588f14610cb8578063e8d56b8b14610ce3578063e985e9c514610d0c5761036b565b8063d58c2e4214610c0c578063d5fe95dd14610c37578063d8baa64214610c625761036b565b8063bab9691a116100d1578063bab9691a14610b4e578063baf98ca014610b79578063bc9d0a6f14610ba4578063c87b56dd14610bcf5761036b565b8063a22cb46514610ad1578063b514be6314610afa578063b88d4fde14610b255761036b565b80638b09bdc11161016457806395d89b411161013e57806395d89b4114610a27578063976c058514610a525780639856fe4e14610a7d5780639f6f50ed14610aa65761036b565b80638b09bdc1146109945780638c017e8c146109bf57806391d14854146109ea5761036b565b806372b128f0116101a057806372b128f01461090b57806373763544146109365780638456cb591461096157806384686c64146109785761036b565b8063677f8cc6146108685780636a6278421461089157806370a08231146108ce5761036b565b80633bfc3d42116102a05780635c975abb1161023e578063601b135311610218578063601b1353146107aa578063606bdaae146107d55780636352211e14610800578063667413771461083d5761036b565b80635c975abb146107055780635d9d28e5146107305780635e5741f51461076d5761036b565b8063443ead831161027a578063443ead831461065f5780634b6a08ae1461068a57806355f804b3146106b35780635bdebea9146106dc5761036b565b80633bfc3d42146105e25780633f4ba83a1461061f57806342842e0e146106365761036b565b806317a45fab1161030d5780632a6e5e11116102e75780632a6e5e111461053c5780632eac8c711461056557806338f8e7bd1461058e5780633acfd44f146105b75761036b565b806317a45fab146104bd5780631ca8b6cb146104e857806323b872dd146105135761036b565b8063095ea7b311610349578063095ea7b3146104155780630c18e6ed1461043e57806311b639d914610467578063155b7f96146104925761036b565b806301ffc9a71461037057806306fdde03146103ad578063081812fc146103d8575b600080fd5b34801561037c57600080fd5b5061039760048036038101906103929190614824565b610d49565b6040516103a49190615504565b60405180910390f35b3480156103b957600080fd5b506103c2610e2b565b6040516103cf9190615563565b60405180910390f35b3480156103e457600080fd5b506103ff60048036038101906103fa91906148b7565b610ebd565b60405161040c9190615474565b60405180910390f35b34801561042157600080fd5b5061043c60048036038101906104379190614783565b610f42565b005b34801561044a57600080fd5b5061046560048036038101906104609190614876565b61105a565b005b34801561047357600080fd5b5061047c611181565b60405161048991906159ae565b60405180910390f35b34801561049e57600080fd5b506104a7611192565b6040516104b49190615563565b60405180910390f35b3480156104c957600080fd5b506104d26111cb565b6040516104df91906159ae565b60405180910390f35b3480156104f457600080fd5b506104fd6111d5565b60405161050a91906159ae565b60405180910390f35b34801561051f57600080fd5b5061053a6004803603810190610535919061467d565b6111df565b005b34801561054857600080fd5b50610563600480360381019061055e91906148e0565b61123f565b005b34801561057157600080fd5b5061058c60048036038101906105879190614876565b61138e565b005b34801561059a57600080fd5b506105b560048036038101906105b091906148b7565b6114a4565b005b3480156105c357600080fd5b506105cc611522565b6040516105d9919061551f565b60405180910390f35b3480156105ee57600080fd5b50610609600480360381019061060491906148b7565b611546565b6040516106169190615504565b60405180910390f35b34801561062b57600080fd5b50610634611571565b005b34801561064257600080fd5b5061065d6004803603810190610658919061467d565b6115ae565b005b34801561066b57600080fd5b506106746115ce565b6040516106819190615563565b60405180910390f35b34801561069657600080fd5b506106b160048036038101906106ac919061491c565b6115ea565b005b3480156106bf57600080fd5b506106da60048036038101906106d59190614876565b6118a3565b005b3480156106e857600080fd5b5061070360048036038101906106fe91906148b7565b611a1a565b005b34801561071157600080fd5b5061071a611a98565b6040516107279190615504565b60405180910390f35b34801561073c57600080fd5b50610757600480360381019061075291906148b7565b611aaf565b6040516107649190615504565b60405180910390f35b34801561077957600080fd5b50610794600480360381019061078f91906148b7565b611b62565b6040516107a19190615993565b60405180910390f35b3480156107b657600080fd5b506107bf611c0e565b6040516107cc9190615563565b60405180910390f35b3480156107e157600080fd5b506107ea611c47565b6040516107f791906159ae565b60405180910390f35b34801561080c57600080fd5b50610827600480360381019061082291906148b7565b611c51565b6040516108349190615474565b60405180910390f35b34801561084957600080fd5b50610852611d03565b60405161085f9190615474565b60405180910390f35b34801561087457600080fd5b5061088f600480360381019061088a9190614618565b611d2d565b005b34801561089d57600080fd5b506108b860048036038101906108b39190614618565b611e9c565b6040516108c591906159ae565b60405180910390f35b3480156108da57600080fd5b506108f560048036038101906108f09190614618565b612106565b60405161090291906159ae565b60405180910390f35b34801561091757600080fd5b506109206121be565b60405161092d9190615474565b60405180910390f35b34801561094257600080fd5b5061094b6121e8565b6040516109589190615563565b60405180910390f35b34801561096d57600080fd5b5061097661227a565b005b610992600480360381019061098d91906148b7565b6122b7565b005b3480156109a057600080fd5b506109a96126b0565b6040516109b69190615563565b60405180910390f35b3480156109cb57600080fd5b506109d46126cc565b6040516109e19190615563565b60405180910390f35b3480156109f657600080fd5b50610a116004803603810190610a0c91906147e8565b612705565b604051610a1e9190615504565b60405180910390f35b348015610a3357600080fd5b50610a3c612858565b604051610a499190615563565b60405180910390f35b348015610a5e57600080fd5b50610a676128ea565b604051610a749190615563565b60405180910390f35b348015610a8957600080fd5b50610aa46004803603810190610a9f9190614876565b612906565b005b348015610ab257600080fd5b50610abb612a1c565b604051610ac8919061551f565b60405180910390f35b348015610add57600080fd5b50610af86004803603810190610af39190614747565b612a40565b005b348015610b0657600080fd5b50610b0f612bc1565b604051610b1c919061551f565b60405180910390f35b348015610b3157600080fd5b50610b4c6004803603810190610b4791906146cc565b612be5565b005b348015610b5a57600080fd5b50610b63612c47565b604051610b709190615563565b60405180910390f35b348015610b8557600080fd5b50610b8e612c80565b604051610b9b9190615563565b60405180910390f35b348015610bb057600080fd5b50610bb9612cb9565b604051610bc69190615563565b60405180910390f35b348015610bdb57600080fd5b50610bf66004803603810190610bf191906148b7565b612cf2565b604051610c039190615563565b60405180910390f35b348015610c1857600080fd5b50610c21612ece565b604051610c2e9190615563565b60405180910390f35b348015610c4357600080fd5b50610c4c612eea565b604051610c599190615563565b60405180910390f35b348015610c6e57600080fd5b50610c77612f06565b604051610c849190615563565b60405180910390f35b348015610c9957600080fd5b50610ca2612f3f565b604051610caf9190615563565b60405180910390f35b348015610cc457600080fd5b50610ccd612fd1565b604051610cda9190615563565b60405180910390f35b348015610cef57600080fd5b50610d0a6004803603810190610d059190614618565b61300a565b005b348015610d1857600080fd5b50610d336004803603810190610d2e9190614641565b6130e2565b604051610d409190615504565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610e1457507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610e245750610e2382613176565b5b9050919050565b606060008054610e3a90615cb9565b80601f0160208091040260200160405190810160405280929190818152602001828054610e6690615cb9565b8015610eb35780601f10610e8857610100808354040283529160200191610eb3565b820191906000526020600020905b815481529060010190602001808311610e9657829003601f168201915b5050505050905090565b6000610ec8826131e0565b610f07576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610efe906157f9565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610f4d82611c51565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610fbe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fb590615883565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610fdd61324c565b73ffffffffffffffffffffffffffffffffffffffff16148061100c575061100b8161100661324c565b6130e2565b5b61104b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161104290615779565b60405180910390fd5b6110558383613254565b505050565b7fefa080c67ecf4a6bf40c9dc64173420c08f359250ca6562d7c80f7c7b9b1396961108c8161108761324c565b61330d565b6000600f54146040518060400160405280601d81526020017f417661746172546f6b656e3a20616c72656164792072657665616c656400000081525090611109576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111009190615563565b60405180910390fd5b5081600a90805190602001906111209291906143e3565b5042600f8190555061113061324c565b73ffffffffffffffffffffffffffffffffffffffff167fee22ca58eb93549cf1b11737946f98a22ff5191a499f5839f6a9e7eb40dcb152836040516111759190615563565b60405180910390a25050565b600061118d60076133aa565b905090565b6040518060400160405280601f81526020017f417661746172546f6b656e3a2043494420697320616c7265616479207365740081525081565b6000600b54905090565b6000600c54905090565b6111f06111ea61324c565b826133b8565b61122f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611226906158a3565b60405180910390fd5b61123a838383613496565b505050565b7f33fa24d9aab6b79237248a16094d5f78ea83bb51e42c123ce925a264e7d816cc6112718161126c61324c565b61330d565b6112908273ffffffffffffffffffffffffffffffffffffffff166136f2565b156040518060400160405280601881526020017f417661746172546f6b656e3a206261642061646472657373000000000000000081525090611308576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112ff9190615563565b60405180910390fd5b50611332838373ffffffffffffffffffffffffffffffffffffffff1661370590919063ffffffff16565b8173ffffffffffffffffffffffffffffffffffffffff167f372bb9ce23c45af0229f3ad425305ebadfb790c0b0453fa3077a02d7d8c987bb61137261324c565b856040516113819291906154db565b60405180910390a2505050565b7fefa080c67ecf4a6bf40c9dc64173420c08f359250ca6562d7c80f7c7b9b139696113c0816113bb61324c565b61330d565b6000600d80546113cf90615cb9565b80601f01602080910402602001604051908101604052809291908181526020018280546113fb90615cb9565b80156114485780601f1061141d57610100808354040283529160200191611448565b820191906000526020600020905b81548152906001019060200180831161142b57829003601f168201915b5050505050905082600d90805190602001906114659291906143e3565b507fc5afc13d6d51c06c63cf7df7a0d4b97f5ac1ebb7f583cd986fe33a70f75a241381846040516114979291906158c3565b60405180910390a1505050565b7f33fa24d9aab6b79237248a16094d5f78ea83bb51e42c123ce925a264e7d816cc6114d6816114d161324c565b61330d565b6000600b54905082600b819055507fe98e5fcd3d43c7e5dd114bafcc428bc7ff8525b014fe3b51fc721ba5671f98fb818460405161151592919061590d565b60405180910390a1505050565b7fefa080c67ecf4a6bf40c9dc64173420c08f359250ca6562d7c80f7c7b9b1396981565b60008060116000848152602001908152602001600020805461156790615cb9565b9050119050919050565b7fefa080c67ecf4a6bf40c9dc64173420c08f359250ca6562d7c80f7c7b9b139696115a38161159e61324c565b61330d565b6115ab6137f9565b50565b6115c983838360405180602001604052806000815250612be5565b505050565b604051806060016040528060248152602001615f566024913981565b7fefa080c67ecf4a6bf40c9dc64173420c08f359250ca6562d7c80f7c7b9b1396961161c8161161761324c565b61330d565b611625836131e0565b6040518060400160405280601e81526020017f417661746172546f6b656e3a206e6f6e6578697374656e7420746f6b656e00008152509061169c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116939190615563565b60405180910390fd5b5060006116bb601060008681526020019081526020016000205461389b565b90506000816020015111604051806060016040528060248152602001615f56602491399061171f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117169190615563565b60405180910390fd5b50602e835110156040518060400160405280601481526020017f417661746172546f6b656e3a20626164204349440000000000000000000000008152509061179d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117949190615563565b60405180910390fd5b506117a784611546565b156040518060400160405280601f81526020017f417661746172546f6b656e3a2043494420697320616c726561647920736574008152509061181f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118169190615563565b60405180910390fd5b50826011600086815260200190815260200160002090805190602001906118479291906143e3565b5061185061324c565b73ffffffffffffffffffffffffffffffffffffffff167fdfe676d5a99b13419615f04bbe2e3c31e54f565962b412599c82aa7461df92598560405161189591906159ae565b60405180910390a250505050565b7fefa080c67ecf4a6bf40c9dc64173420c08f359250ca6562d7c80f7c7b9b139696118d5816118d061324c565b61330d565b6000600f54116040518060600160405280602b8152602001615f05602b913990611935576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161192c9190615563565b60405180910390fd5b506000600a805461194590615cb9565b80601f016020809104026020016040519081016040528092919081815260200182805461197190615cb9565b80156119be5780601f10611993576101008083540402835291602001916119be565b820191906000526020600020905b8154815290600101906020018083116119a157829003601f168201915b5050505050905082600a90805190602001906119db9291906143e3565b507fc5afc13d6d51c06c63cf7df7a0d4b97f5ac1ebb7f583cd986fe33a70f75a24138184604051611a0d929190615839565b60405180910390a1505050565b7fefa080c67ecf4a6bf40c9dc64173420c08f359250ca6562d7c80f7c7b9b13969611a4c81611a4761324c565b61330d565b60006009549050826009819055507fe98e5fcd3d43c7e5dd114bafcc428bc7ff8525b014fe3b51fc721ba5671f98fb8184604051611a8b9291906155c5565b60405180910390a1505050565b6000600660149054906101000a900460ff16905090565b6000611aba826131e0565b6040518060400160405280601e81526020017f417661746172546f6b656e3a206e6f6e6578697374656e7420746f6b656e000081525090611b31576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b289190615563565b60405180910390fd5b506000611b50601060008581526020019081526020016000205461389b565b90506000816020015111915050919050565b611b6a614469565b611b73826131e0565b6040518060400160405280601e81526020017f417661746172546f6b656e3a206e6f6e6578697374656e7420746f6b656e000081525090611bea576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611be19190615563565b60405180910390fd5b50611c07601060008481526020019081526020016000205461389b565b9050919050565b6040518060400160405280601781526020017f417661746172546f6b656e3a2062616420616d6f756e7400000000000000000081525081565b6000600954905090565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611cfa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cf1906157b9565b60405180910390fd5b80915050919050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b7fefa080c67ecf4a6bf40c9dc64173420c08f359250ca6562d7c80f7c7b9b13969611d5f81611d5a61324c565b61330d565b611d7e8273ffffffffffffffffffffffffffffffffffffffff166136f2565b6040518060400160405280601881526020017f417661746172546f6b656e3a206261642061646472657373000000000000000081525090611df5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dec9190615563565b60405180910390fd5b506000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905082600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f4ca142703425bec1d507d5581fac3a3e61eadcbeafbd7c0a03e2897d96de1cc58184604051611e8f9291906156bd565b60405180910390a1505050565b6000611ea66121be565b73ffffffffffffffffffffffffffffffffffffffff16611ec461324c565b73ffffffffffffffffffffffffffffffffffffffff1614604051806060016040528060228152602001615ebd6022913990611f35576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f2c9190615563565b60405180910390fd5b50611f558273ffffffffffffffffffffffffffffffffffffffff166136f2565b156040518060400160405280601881526020017f417661746172546f6b656e3a206261642061646472657373000000000000000081525090611fcd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fc49190615563565b60405180910390fd5b50611fd66111d5565b611fde611181565b10604051806060016040528060268152602001615f306026913990612039576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120309190615563565b60405180910390fd5b5061204460076138e7565b600061205060076133aa565b9050612070604051806040016040528042815260200160008152506138fd565b6010600083815260200190815260200160002081905550612091838261391d565b8273ffffffffffffffffffffffffffffffffffffffff166120b061324c565b73ffffffffffffffffffffffffffffffffffffffff167fe45c294694316415cba91fa01c85e27ca0115dfbb110eb0371bbc06a85657e6a836040516120f591906159ae565b60405180910390a380915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612177576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161216e90615799565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600d80546121f790615cb9565b80601f016020809104026020016040519081016040528092919081815260200182805461222390615cb9565b80156122705780601f1061224557610100808354040283529160200191612270565b820191906000526020600020905b81548152906001019060200180831161225357829003601f168201915b5050505050905090565b7fefa080c67ecf4a6bf40c9dc64173420c08f359250ca6562d7c80f7c7b9b139696122ac816122a761324c565b61330d565b6122b4613aeb565b50565b6122bf611a98565b156122ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122f690615759565b60405180910390fd5b612308816131e0565b6040518060400160405280601e81526020017f417661746172546f6b656e3a206e6f6e6578697374656e7420746f6b656e00008152509061237f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123769190615563565b60405180910390fd5b506000600f54116040518060600160405280602b8152602001615f05602b9139906123e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123d79190615563565b60405180910390fd5b506123e961324c565b73ffffffffffffffffffffffffffffffffffffffff1661240882611c51565b73ffffffffffffffffffffffffffffffffffffffff16146040518060400160405280602081526020017f417661746172546f6b656e3a2063616c6c6572206973206e6f74206f776e657281525090612496576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161248d9190615563565b60405180910390fd5b5060006124b5601060008481526020019081526020016000205461389b565b905060008160200151146040518060400160405280601a81526020017f417661746172546f6b656e3a20616c7265616479206164756c7400000000000081525090612536576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161252d9190615563565b60405180910390fd5b5042612540611c47565b600f5461254d9190615aa8565b1115604051806060016040528060268152602001615edf60269139906125a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125a09190615563565b60405180910390fd5b506125b26111cb565b3410156040518060400160405280601781526020017f417661746172546f6b656e3a2062616420616d6f756e740000000000000000008152509061262c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126239190615563565b60405180910390fd5b5042816020018181525050612640816138fd565b601060008481526020019081526020016000208190555061265f61324c565b73ffffffffffffffffffffffffffffffffffffffff167f6c232990d3606bf7edb51ec0f80fff52a61e6a7c69a972f972e5ecc70fc5122e836040516126a491906159ae565b60405180910390a25050565b604051806060016040528060228152602001615ebd6022913981565b6040518060400160405280601481526020017f417661746172546f6b656e3a206261642043494400000000000000000000000081525081565b600080612710611d03565b90508073ffffffffffffffffffffffffffffffffffffffff166391d1485485856040518363ffffffff1660e01b815260040161274d92919061553a565b60206040518083038186803b15801561276557600080fd5b505afa158015612779573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061279d91906147bf565b8061284f57508073ffffffffffffffffffffffffffffffffffffffff166391d148547fdc0d7a095c4e917ecbeb7deda7c942ff9744013d419e37549215a413915e421d856040518363ffffffff1660e01b81526004016127fe92919061553a565b60206040518083038186803b15801561281657600080fd5b505afa15801561282a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061284e91906147bf565b5b91505092915050565b60606001805461286790615cb9565b80601f016020809104026020016040519081016040528092919081815260200182805461289390615cb9565b80156128e05780601f106128b5576101008083540402835291602001916128e0565b820191906000526020600020905b8154815290600101906020018083116128c357829003601f168201915b5050505050905090565b604051806060016040528060268152602001615f306026913981565b7fefa080c67ecf4a6bf40c9dc64173420c08f359250ca6562d7c80f7c7b9b139696129388161293361324c565b61330d565b6000600e805461294790615cb9565b80601f016020809104026020016040519081016040528092919081815260200182805461297390615cb9565b80156129c05780601f10612995576101008083540402835291602001916129c0565b820191906000526020600020905b8154815290600101906020018083116129a357829003601f168201915b5050505050905082600e90805190602001906129dd9291906143e3565b507fc5afc13d6d51c06c63cf7df7a0d4b97f5ac1ebb7f583cd986fe33a70f75a24138184604051612a0f929190615949565b60405180910390a1505050565b7f33fa24d9aab6b79237248a16094d5f78ea83bb51e42c123ce925a264e7d816cc81565b612a4861324c565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612ab6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612aad9061569d565b60405180910390fd5b8060056000612ac361324c565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16612b7061324c565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612bb59190615504565b60405180910390a35050565b7fdc0d7a095c4e917ecbeb7deda7c942ff9744013d419e37549215a413915e421d81565b612bf6612bf061324c565b836133b8565b612c35576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c2c906158a3565b60405180910390fd5b612c4184848484613b8e565b50505050565b6040518060400160405280601a81526020017f417661746172546f6b656e3a20616c7265616479206164756c7400000000000081525081565b6040518060400160405280601d81526020017f417661746172546f6b656e3a20616c72656164792072657665616c656400000081525081565b6040518060400160405280602081526020017f417661746172546f6b656e3a2063616c6c6572206973206e6f74206f776e657281525081565b6060612cfd826131e0565b6040518060400160405280601e81526020017f417661746172546f6b656e3a206e6f6e6578697374656e7420746f6b656e000081525090612d74576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d6b9190615563565b60405180910390fd5b506000612d93601060008581526020019081526020016000205461389b565b90506000816020015111612def576000600f5411612db857612db3613bea565b612dea565b612dc0613c7c565b612dc984613d0e565b604051602001612dda9291906153c9565b6040516020818303038152906040525b612ec6565b612df883611546565b612e0957612e04613ebb565b612ea6565b601160008481526020019081526020016000208054612e2790615cb9565b80601f0160208091040260200160405190810160405280929190818152602001828054612e5390615cb9565b8015612ea05780601f10612e7557610100808354040283529160200191612ea0565b820191906000526020600020905b815481529060010190602001808311612e8357829003601f168201915b50505050505b604051602001612eb69190615403565b6040516020818303038152906040525b915050919050565b6040518060600160405280602b8152602001615f05602b913981565b604051806060016040528060268152602001615edf6026913981565b6040518060400160405280601e81526020017f417661746172546f6b656e3a206e6f6e6578697374656e7420746f6b656e000081525081565b6060600e8054612f4e90615cb9565b80601f0160208091040260200160405190810160405280929190818152602001828054612f7a90615cb9565b8015612fc75780601f10612f9c57610100808354040283529160200191612fc7565b820191906000526020600020905b815481529060010190602001808311612faa57829003601f168201915b5050505050905090565b6040518060400160405280601881526020017f417661746172546f6b656e3a206261642061646472657373000000000000000081525081565b7fefa080c67ecf4a6bf40c9dc64173420c08f359250ca6562d7c80f7c7b9b1396961303c8161303761324c565b61330d565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905082600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f4ca142703425bec1d507d5581fac3a3e61eadcbeafbd7c0a03e2897d96de1cc581846040516130d5929190615621565b60405180910390a1505050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166132c783611c51565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6133178282612705565b6133a65761333c8173ffffffffffffffffffffffffffffffffffffffff166014613f4d565b61334a8360001c6020613f4d565b60405160200161335b92919061543a565b6040516020818303038152906040526040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161339d9190615563565b60405180910390fd5b5050565b600081600001549050919050565b60006133c3826131e0565b613402576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133f990615739565b60405180910390fd5b600061340d83611c51565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061347c57508373ffffffffffffffffffffffffffffffffffffffff1661346484610ebd565b73ffffffffffffffffffffffffffffffffffffffff16145b8061348d575061348c81856130e2565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166134b682611c51565b73ffffffffffffffffffffffffffffffffffffffff161461350c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161350390615819565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561357c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135739061567d565b60405180910390fd5b613587838383614247565b613592600082613254565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546135e29190615b89565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546136399190615aa8565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600080823b905060008111915050919050565b80471015613748576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161373f90615719565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff168260405161376e90615425565b60006040518083038185875af1925050503d80600081146137ab576040519150601f19603f3d011682016040523d82523d6000602084013e6137b0565b606091505b50509050806137f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016137eb906156f9565b60405180910390fd5b505050565b613801611a98565b613840576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613837906155a5565b60405180910390fd5b6000600660146101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa61388461324c565b6040516138919190615474565b60405180910390a1565b6138a3614469565b6040518060400160405280836fffffffffffffffffffffffffffffffff168152602001608084901c6fffffffffffffffffffffffffffffffff168152509050919050565b6001816000016000828254019250508190555050565b6000808260000151905060808360200151901b8117905080915050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561398d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613984906157d9565b60405180910390fd5b613996816131e0565b156139d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016139cd9061565d565b60405180910390fd5b6139e260008383614247565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254613a329190615aa8565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b613af3611a98565b15613b33576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613b2a90615759565b60405180910390fd5b6001600660146101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258613b7761324c565b604051613b849190615474565b60405180910390a1565b613b99848484613496565b613ba58484848461424c565b613be4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613bdb90615601565b60405180910390fd5b50505050565b6060600d8054613bf990615cb9565b80601f0160208091040260200160405190810160405280929190818152602001828054613c2590615cb9565b8015613c725780601f10613c4757610100808354040283529160200191613c72565b820191906000526020600020905b815481529060010190602001808311613c5557829003601f168201915b5050505050905090565b6060600a8054613c8b90615cb9565b80601f0160208091040260200160405190810160405280929190818152602001828054613cb790615cb9565b8015613d045780601f10613cd957610100808354040283529160200191613d04565b820191906000526020600020905b815481529060010190602001808311613ce757829003601f168201915b5050505050905090565b60606000821415613d56576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613eb6565b600082905060005b60008214613d88578080613d7190615ceb565b915050600a82613d819190615afe565b9150613d5e565b60008167ffffffffffffffff811115613dca577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015613dfc5781602001600182028036833780820191505090505b5090505b60008514613eaf57600182613e159190615b89565b9150600a85613e249190615d34565b6030613e309190615aa8565b60f81b818381518110613e6c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85613ea89190615afe565b9450613e00565b8093505050505b919050565b6060600e8054613eca90615cb9565b80601f0160208091040260200160405190810160405280929190818152602001828054613ef690615cb9565b8015613f435780601f10613f1857610100808354040283529160200191613f43565b820191906000526020600020905b815481529060010190602001808311613f2657829003601f168201915b5050505050905090565b606060006002836002613f609190615b2f565b613f6a9190615aa8565b67ffffffffffffffff811115613fa9577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015613fdb5781602001600182028036833780820191505090505b5090507f300000000000000000000000000000000000000000000000000000000000000081600081518110614039577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f7800000000000000000000000000000000000000000000000000000000000000816001815181106140c3577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600060018460026141039190615b2f565b61410d9190615aa8565b90505b60018111156141f9577f3031323334353637383961626364656600000000000000000000000000000000600f861660108110614175577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b1a60f81b8282815181106141b2577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c9450806141f290615c8f565b9050614110565b506000841461423d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161423490615585565b60405180910390fd5b8091505092915050565b505050565b600061426d8473ffffffffffffffffffffffffffffffffffffffff166136f2565b156143d6578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261429661324c565b8786866040518563ffffffff1660e01b81526004016142b8949392919061548f565b602060405180830381600087803b1580156142d257600080fd5b505af192505050801561430357506040513d601f19601f82011682018060405250810190614300919061484d565b60015b614386573d8060008114614333576040519150601f19603f3d011682016040523d82523d6000602084013e614338565b606091505b5060008151141561437e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161437590615601565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506143db565b600190505b949350505050565b8280546143ef90615cb9565b90600052602060002090601f0160209004810192826144115760008555614458565b82601f1061442a57805160ff1916838001178555614458565b82800160010185558215614458579182015b8281111561445757825182559160200191906001019061443c565b5b5090506144659190614483565b5090565b604051806040016040528060008152602001600081525090565b5b8082111561449c576000816000905550600101614484565b5090565b60006144b36144ae846159fa565b6159c9565b9050828152602081018484840111156144cb57600080fd5b6144d6848285615c4d565b509392505050565b60006144f16144ec84615a2a565b6159c9565b90508281526020810184848401111561450957600080fd5b614514848285615c4d565b509392505050565b60008135905061452b81615e32565b92915050565b60008135905061454081615e49565b92915050565b60008135905061455581615e60565b92915050565b60008151905061456a81615e60565b92915050565b60008135905061457f81615e77565b92915050565b60008135905061459481615e8e565b92915050565b6000815190506145a981615e8e565b92915050565b600082601f8301126145c057600080fd5b81356145d08482602086016144a0565b91505092915050565b600082601f8301126145ea57600080fd5b81356145fa8482602086016144de565b91505092915050565b60008135905061461281615ea5565b92915050565b60006020828403121561462a57600080fd5b60006146388482850161451c565b91505092915050565b6000806040838503121561465457600080fd5b60006146628582860161451c565b92505060206146738582860161451c565b9150509250929050565b60008060006060848603121561469257600080fd5b60006146a08682870161451c565b93505060206146b18682870161451c565b92505060406146c286828701614603565b9150509250925092565b600080600080608085870312156146e257600080fd5b60006146f08782880161451c565b94505060206147018782880161451c565b935050604061471287828801614603565b925050606085013567ffffffffffffffff81111561472f57600080fd5b61473b878288016145af565b91505092959194509250565b6000806040838503121561475a57600080fd5b60006147688582860161451c565b925050602061477985828601614546565b9150509250929050565b6000806040838503121561479657600080fd5b60006147a48582860161451c565b92505060206147b585828601614603565b9150509250929050565b6000602082840312156147d157600080fd5b60006147df8482850161455b565b91505092915050565b600080604083850312156147fb57600080fd5b600061480985828601614570565b925050602061481a8582860161451c565b9150509250929050565b60006020828403121561483657600080fd5b600061484484828501614585565b91505092915050565b60006020828403121561485f57600080fd5b600061486d8482850161459a565b91505092915050565b60006020828403121561488857600080fd5b600082013567ffffffffffffffff8111156148a257600080fd5b6148ae848285016145d9565b91505092915050565b6000602082840312156148c957600080fd5b60006148d784828501614603565b91505092915050565b600080604083850312156148f357600080fd5b600061490185828601614603565b925050602061491285828601614531565b9150509250929050565b6000806040838503121561492f57600080fd5b600061493d85828601614603565b925050602083013567ffffffffffffffff81111561495a57600080fd5b614966858286016145d9565b9150509250929050565b61497981615bbd565b82525050565b61498881615be1565b82525050565b61499781615bed565b82525050565b60006149a882615a5a565b6149b28185615a70565b93506149c2818560208601615c5c565b6149cb81615e21565b840191505092915050565b60006149e182615a65565b6149eb8185615a8c565b93506149fb818560208601615c5c565b614a0481615e21565b840191505092915050565b6000614a1a82615a65565b614a248185615a9d565b9350614a34818560208601615c5c565b80840191505092915050565b6000614a4d602083615a8c565b91507f537472696e67733a20686578206c656e67746820696e73756666696369656e746000830152602082019050919050565b6000614a8d601483615a8c565b91507f5061757361626c653a206e6f74207061757365640000000000000000000000006000830152602082019050919050565b6000614acd600a83615a8c565b91507f67726f77557054696d65000000000000000000000000000000000000000000006000830152602082019050919050565b6000614b0d603283615a8c565b91507f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008301527f63656976657220696d706c656d656e74657200000000000000000000000000006020830152604082019050919050565b6000614b73600d83615a8c565b91507f616363657373436f6e74726f6c000000000000000000000000000000000000006000830152602082019050919050565b6000614bb3601c83615a8c565b91507f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006000830152602082019050919050565b6000614bf3602483615a8c565b91507f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000614c59601983615a8c565b91507f4552433732313a20617070726f766520746f2063616c6c6572000000000000006000830152602082019050919050565b6000614c99600c83615a8c565b91507f6176617461724d61726b657400000000000000000000000000000000000000006000830152602082019050919050565b6000614cd9603a83615a8c565b91507f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008301527f6563697069656e74206d617920686176652072657665727465640000000000006020830152604082019050919050565b6000614d3f601d83615a8c565b91507f416464726573733a20696e73756666696369656e742062616c616e63650000006000830152602082019050919050565b6000614d7f602c83615a8c565b91507f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b6000614de5600783615a9d565b91507f697066733a2f2f000000000000000000000000000000000000000000000000006000830152600782019050919050565b6000614e25601083615a8c565b91507f5061757361626c653a20706175736564000000000000000000000000000000006000830152602082019050919050565b6000614e65603883615a8c565b91507f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008301527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006020830152604082019050919050565b6000614ecb602a83615a8c565b91507f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008301527f726f2061646472657373000000000000000000000000000000000000000000006020830152604082019050919050565b6000614f31602983615a8c565b91507f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008301527f656e7420746f6b656e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000614f97602083615a8c565b91507f4552433732313a206d696e7420746f20746865207a65726f20616464726573736000830152602082019050919050565b6000614fd7602c83615a8c565b91507f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b600061503d600583615a9d565b91507f2e6a736f6e0000000000000000000000000000000000000000000000000000006000830152600582019050919050565b600061507d602983615a8c565b91507f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008301527f73206e6f74206f776e00000000000000000000000000000000000000000000006020830152604082019050919050565b60006150e3600783615a8c565b91507f62617365557269000000000000000000000000000000000000000000000000006000830152602082019050919050565b6000615123602183615a8c565b91507f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008301527f72000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000615189600083615a81565b9150600082019050919050565b60006151a3603183615a8c565b91507f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008301527f776e6572206e6f7220617070726f7665640000000000000000000000000000006020830152604082019050919050565b6000615209601783615a9d565b91507f416363657373436f6e74726f6c3a206163636f756e74200000000000000000006000830152601782019050919050565b6000615249600e83615a8c565b91507f64656661756c74426162795572690000000000000000000000000000000000006000830152602082019050919050565b6000615289601083615a8c565b91507f70726963654f6647726f77696e675570000000000000000000000000000000006000830152602082019050919050565b60006152c9600f83615a8c565b91507f64656661756c744164756c7443696400000000000000000000000000000000006000830152602082019050919050565b6000615309601183615a9d565b91507f206973206d697373696e6720726f6c65200000000000000000000000000000006000830152601182019050919050565b6000615349600183615a9d565b91507f2f000000000000000000000000000000000000000000000000000000000000006000830152600182019050919050565b60408201600082015161539260008501826153ab565b5060208201516153a560208501826153ab565b50505050565b6153b481615c43565b82525050565b6153c381615c43565b82525050565b60006153d58285614a0f565b91506153e08261533c565b91506153ec8284614a0f565b91506153f782615030565b91508190509392505050565b600061540e82614dd8565b915061541a8284614a0f565b915081905092915050565b60006154308261517c565b9150819050919050565b6000615445826151fc565b91506154518285614a0f565b915061545c826152fc565b91506154688284614a0f565b91508190509392505050565b60006020820190506154896000830184614970565b92915050565b60006080820190506154a46000830187614970565b6154b16020830186614970565b6154be60408301856153ba565b81810360608301526154d0818461499d565b905095945050505050565b60006040820190506154f06000830185614970565b6154fd60208301846153ba565b9392505050565b6000602082019050615519600083018461497f565b92915050565b6000602082019050615534600083018461498e565b92915050565b600060408201905061554f600083018561498e565b61555c6020830184614970565b9392505050565b6000602082019050818103600083015261557d81846149d6565b905092915050565b6000602082019050818103600083015261559e81614a40565b9050919050565b600060208201905081810360008301526155be81614a80565b9050919050565b600060608201905081810360008301526155de81614ac0565b90506155ed60208301856153ba565b6155fa60408301846153ba565b9392505050565b6000602082019050818103600083015261561a81614b00565b9050919050565b6000606082019050818103600083015261563a81614b66565b90506156496020830185614970565b6156566040830184614970565b9392505050565b6000602082019050818103600083015261567681614ba6565b9050919050565b6000602082019050818103600083015261569681614be6565b9050919050565b600060208201905081810360008301526156b681614c4c565b9050919050565b600060608201905081810360008301526156d681614c8c565b90506156e56020830185614970565b6156f26040830184614970565b9392505050565b6000602082019050818103600083015261571281614ccc565b9050919050565b6000602082019050818103600083015261573281614d32565b9050919050565b6000602082019050818103600083015261575281614d72565b9050919050565b6000602082019050818103600083015261577281614e18565b9050919050565b6000602082019050818103600083015261579281614e58565b9050919050565b600060208201905081810360008301526157b281614ebe565b9050919050565b600060208201905081810360008301526157d281614f24565b9050919050565b600060208201905081810360008301526157f281614f8a565b9050919050565b6000602082019050818103600083015261581281614fca565b9050919050565b6000602082019050818103600083015261583281615070565b9050919050565b60006060820190508181036000830152615852816150d6565b9050818103602083015261586681856149d6565b9050818103604083015261587a81846149d6565b90509392505050565b6000602082019050818103600083015261589c81615116565b9050919050565b600060208201905081810360008301526158bc81615196565b9050919050565b600060608201905081810360008301526158dc8161523c565b905081810360208301526158f081856149d6565b9050818103604083015261590481846149d6565b90509392505050565b600060608201905081810360008301526159268161527c565b905061593560208301856153ba565b61594260408301846153ba565b9392505050565b60006060820190508181036000830152615962816152bc565b9050818103602083015261597681856149d6565b9050818103604083015261598a81846149d6565b90509392505050565b60006040820190506159a8600083018461537c565b92915050565b60006020820190506159c360008301846153ba565b92915050565b6000604051905081810181811067ffffffffffffffff821117156159f0576159ef615df2565b5b8060405250919050565b600067ffffffffffffffff821115615a1557615a14615df2565b5b601f19601f8301169050602081019050919050565b600067ffffffffffffffff821115615a4557615a44615df2565b5b601f19601f8301169050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000615ab382615c43565b9150615abe83615c43565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115615af357615af2615d65565b5b828201905092915050565b6000615b0982615c43565b9150615b1483615c43565b925082615b2457615b23615d94565b5b828204905092915050565b6000615b3a82615c43565b9150615b4583615c43565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615615b7e57615b7d615d65565b5b828202905092915050565b6000615b9482615c43565b9150615b9f83615c43565b925082821015615bb257615bb1615d65565b5b828203905092915050565b6000615bc882615c23565b9050919050565b6000615bda82615c23565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015615c7a578082015181840152602081019050615c5f565b83811115615c89576000848401525b50505050565b6000615c9a82615c43565b91506000821415615cae57615cad615d65565b5b600182039050919050565b60006002820490506001821680615cd157607f821691505b60208210811415615ce557615ce4615dc3565b5b50919050565b6000615cf682615c43565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415615d2957615d28615d65565b5b600182019050919050565b6000615d3f82615c43565b9150615d4a83615c43565b925082615d5a57615d59615d94565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b615e3b81615bbd565b8114615e4657600080fd5b50565b615e5281615bcf565b8114615e5d57600080fd5b50565b615e6981615be1565b8114615e7457600080fd5b50565b615e8081615bed565b8114615e8b57600080fd5b50565b615e9781615bf7565b8114615ea257600080fd5b50565b615eae81615c43565b8114615eb957600080fd5b5056fe417661746172546f6b656e3a206e6f7420656e6f7567682070726976696c65676573417661746172546f6b656e3a206974206973206e6f742074696d6520746f2067726f77207570417661746172546f6b656e3a2074686520636f6c6c656374696f6e206973206e6f742072657665616c6564417661746172546f6b656e3a20746f74616c20737570706c7920686173206578636565646564417661746172546f6b656e3a2074686520617661746172206973206e6f74206164756c74a2646970667358221220157e71581ac61e9f0932f6ca00f9f63c7a06c6a79dbcd84a2073a4c23b5ecd1864736f6c6343000800003300000000000000000000000000000000000000000000000000000000000061a800000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000001275000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a54102176c054a20dee3d4e772a7010ed641417d0000000000000000000000000000000000000000000000000000000000000035697066733a2f2f516d5569564c5a42706179426b4879765158396d765157617634417932386158513735384b7257474844714432380000000000000000000000000000000000000000000000000000000000000000000000000000000000002e516d565a59666b58394b354336366276767444674536697550337943647a6831354758376f68717139555158644e000000000000000000000000000000000000
Deployed Bytecode
0x60806040526004361061036b5760003560e01c8063677f8cc6116101c6578063a22cb465116100f7578063d58c2e4211610095578063dac1c1911161006f578063dac1c19114610c8d578063de2f588f14610cb8578063e8d56b8b14610ce3578063e985e9c514610d0c5761036b565b8063d58c2e4214610c0c578063d5fe95dd14610c37578063d8baa64214610c625761036b565b8063bab9691a116100d1578063bab9691a14610b4e578063baf98ca014610b79578063bc9d0a6f14610ba4578063c87b56dd14610bcf5761036b565b8063a22cb46514610ad1578063b514be6314610afa578063b88d4fde14610b255761036b565b80638b09bdc11161016457806395d89b411161013e57806395d89b4114610a27578063976c058514610a525780639856fe4e14610a7d5780639f6f50ed14610aa65761036b565b80638b09bdc1146109945780638c017e8c146109bf57806391d14854146109ea5761036b565b806372b128f0116101a057806372b128f01461090b57806373763544146109365780638456cb591461096157806384686c64146109785761036b565b8063677f8cc6146108685780636a6278421461089157806370a08231146108ce5761036b565b80633bfc3d42116102a05780635c975abb1161023e578063601b135311610218578063601b1353146107aa578063606bdaae146107d55780636352211e14610800578063667413771461083d5761036b565b80635c975abb146107055780635d9d28e5146107305780635e5741f51461076d5761036b565b8063443ead831161027a578063443ead831461065f5780634b6a08ae1461068a57806355f804b3146106b35780635bdebea9146106dc5761036b565b80633bfc3d42146105e25780633f4ba83a1461061f57806342842e0e146106365761036b565b806317a45fab1161030d5780632a6e5e11116102e75780632a6e5e111461053c5780632eac8c711461056557806338f8e7bd1461058e5780633acfd44f146105b75761036b565b806317a45fab146104bd5780631ca8b6cb146104e857806323b872dd146105135761036b565b8063095ea7b311610349578063095ea7b3146104155780630c18e6ed1461043e57806311b639d914610467578063155b7f96146104925761036b565b806301ffc9a71461037057806306fdde03146103ad578063081812fc146103d8575b600080fd5b34801561037c57600080fd5b5061039760048036038101906103929190614824565b610d49565b6040516103a49190615504565b60405180910390f35b3480156103b957600080fd5b506103c2610e2b565b6040516103cf9190615563565b60405180910390f35b3480156103e457600080fd5b506103ff60048036038101906103fa91906148b7565b610ebd565b60405161040c9190615474565b60405180910390f35b34801561042157600080fd5b5061043c60048036038101906104379190614783565b610f42565b005b34801561044a57600080fd5b5061046560048036038101906104609190614876565b61105a565b005b34801561047357600080fd5b5061047c611181565b60405161048991906159ae565b60405180910390f35b34801561049e57600080fd5b506104a7611192565b6040516104b49190615563565b60405180910390f35b3480156104c957600080fd5b506104d26111cb565b6040516104df91906159ae565b60405180910390f35b3480156104f457600080fd5b506104fd6111d5565b60405161050a91906159ae565b60405180910390f35b34801561051f57600080fd5b5061053a6004803603810190610535919061467d565b6111df565b005b34801561054857600080fd5b50610563600480360381019061055e91906148e0565b61123f565b005b34801561057157600080fd5b5061058c60048036038101906105879190614876565b61138e565b005b34801561059a57600080fd5b506105b560048036038101906105b091906148b7565b6114a4565b005b3480156105c357600080fd5b506105cc611522565b6040516105d9919061551f565b60405180910390f35b3480156105ee57600080fd5b50610609600480360381019061060491906148b7565b611546565b6040516106169190615504565b60405180910390f35b34801561062b57600080fd5b50610634611571565b005b34801561064257600080fd5b5061065d6004803603810190610658919061467d565b6115ae565b005b34801561066b57600080fd5b506106746115ce565b6040516106819190615563565b60405180910390f35b34801561069657600080fd5b506106b160048036038101906106ac919061491c565b6115ea565b005b3480156106bf57600080fd5b506106da60048036038101906106d59190614876565b6118a3565b005b3480156106e857600080fd5b5061070360048036038101906106fe91906148b7565b611a1a565b005b34801561071157600080fd5b5061071a611a98565b6040516107279190615504565b60405180910390f35b34801561073c57600080fd5b50610757600480360381019061075291906148b7565b611aaf565b6040516107649190615504565b60405180910390f35b34801561077957600080fd5b50610794600480360381019061078f91906148b7565b611b62565b6040516107a19190615993565b60405180910390f35b3480156107b657600080fd5b506107bf611c0e565b6040516107cc9190615563565b60405180910390f35b3480156107e157600080fd5b506107ea611c47565b6040516107f791906159ae565b60405180910390f35b34801561080c57600080fd5b50610827600480360381019061082291906148b7565b611c51565b6040516108349190615474565b60405180910390f35b34801561084957600080fd5b50610852611d03565b60405161085f9190615474565b60405180910390f35b34801561087457600080fd5b5061088f600480360381019061088a9190614618565b611d2d565b005b34801561089d57600080fd5b506108b860048036038101906108b39190614618565b611e9c565b6040516108c591906159ae565b60405180910390f35b3480156108da57600080fd5b506108f560048036038101906108f09190614618565b612106565b60405161090291906159ae565b60405180910390f35b34801561091757600080fd5b506109206121be565b60405161092d9190615474565b60405180910390f35b34801561094257600080fd5b5061094b6121e8565b6040516109589190615563565b60405180910390f35b34801561096d57600080fd5b5061097661227a565b005b610992600480360381019061098d91906148b7565b6122b7565b005b3480156109a057600080fd5b506109a96126b0565b6040516109b69190615563565b60405180910390f35b3480156109cb57600080fd5b506109d46126cc565b6040516109e19190615563565b60405180910390f35b3480156109f657600080fd5b50610a116004803603810190610a0c91906147e8565b612705565b604051610a1e9190615504565b60405180910390f35b348015610a3357600080fd5b50610a3c612858565b604051610a499190615563565b60405180910390f35b348015610a5e57600080fd5b50610a676128ea565b604051610a749190615563565b60405180910390f35b348015610a8957600080fd5b50610aa46004803603810190610a9f9190614876565b612906565b005b348015610ab257600080fd5b50610abb612a1c565b604051610ac8919061551f565b60405180910390f35b348015610add57600080fd5b50610af86004803603810190610af39190614747565b612a40565b005b348015610b0657600080fd5b50610b0f612bc1565b604051610b1c919061551f565b60405180910390f35b348015610b3157600080fd5b50610b4c6004803603810190610b4791906146cc565b612be5565b005b348015610b5a57600080fd5b50610b63612c47565b604051610b709190615563565b60405180910390f35b348015610b8557600080fd5b50610b8e612c80565b604051610b9b9190615563565b60405180910390f35b348015610bb057600080fd5b50610bb9612cb9565b604051610bc69190615563565b60405180910390f35b348015610bdb57600080fd5b50610bf66004803603810190610bf191906148b7565b612cf2565b604051610c039190615563565b60405180910390f35b348015610c1857600080fd5b50610c21612ece565b604051610c2e9190615563565b60405180910390f35b348015610c4357600080fd5b50610c4c612eea565b604051610c599190615563565b60405180910390f35b348015610c6e57600080fd5b50610c77612f06565b604051610c849190615563565b60405180910390f35b348015610c9957600080fd5b50610ca2612f3f565b604051610caf9190615563565b60405180910390f35b348015610cc457600080fd5b50610ccd612fd1565b604051610cda9190615563565b60405180910390f35b348015610cef57600080fd5b50610d0a6004803603810190610d059190614618565b61300a565b005b348015610d1857600080fd5b50610d336004803603810190610d2e9190614641565b6130e2565b604051610d409190615504565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610e1457507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610e245750610e2382613176565b5b9050919050565b606060008054610e3a90615cb9565b80601f0160208091040260200160405190810160405280929190818152602001828054610e6690615cb9565b8015610eb35780601f10610e8857610100808354040283529160200191610eb3565b820191906000526020600020905b815481529060010190602001808311610e9657829003601f168201915b5050505050905090565b6000610ec8826131e0565b610f07576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610efe906157f9565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610f4d82611c51565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610fbe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fb590615883565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610fdd61324c565b73ffffffffffffffffffffffffffffffffffffffff16148061100c575061100b8161100661324c565b6130e2565b5b61104b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161104290615779565b60405180910390fd5b6110558383613254565b505050565b7fefa080c67ecf4a6bf40c9dc64173420c08f359250ca6562d7c80f7c7b9b1396961108c8161108761324c565b61330d565b6000600f54146040518060400160405280601d81526020017f417661746172546f6b656e3a20616c72656164792072657665616c656400000081525090611109576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111009190615563565b60405180910390fd5b5081600a90805190602001906111209291906143e3565b5042600f8190555061113061324c565b73ffffffffffffffffffffffffffffffffffffffff167fee22ca58eb93549cf1b11737946f98a22ff5191a499f5839f6a9e7eb40dcb152836040516111759190615563565b60405180910390a25050565b600061118d60076133aa565b905090565b6040518060400160405280601f81526020017f417661746172546f6b656e3a2043494420697320616c7265616479207365740081525081565b6000600b54905090565b6000600c54905090565b6111f06111ea61324c565b826133b8565b61122f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611226906158a3565b60405180910390fd5b61123a838383613496565b505050565b7f33fa24d9aab6b79237248a16094d5f78ea83bb51e42c123ce925a264e7d816cc6112718161126c61324c565b61330d565b6112908273ffffffffffffffffffffffffffffffffffffffff166136f2565b156040518060400160405280601881526020017f417661746172546f6b656e3a206261642061646472657373000000000000000081525090611308576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112ff9190615563565b60405180910390fd5b50611332838373ffffffffffffffffffffffffffffffffffffffff1661370590919063ffffffff16565b8173ffffffffffffffffffffffffffffffffffffffff167f372bb9ce23c45af0229f3ad425305ebadfb790c0b0453fa3077a02d7d8c987bb61137261324c565b856040516113819291906154db565b60405180910390a2505050565b7fefa080c67ecf4a6bf40c9dc64173420c08f359250ca6562d7c80f7c7b9b139696113c0816113bb61324c565b61330d565b6000600d80546113cf90615cb9565b80601f01602080910402602001604051908101604052809291908181526020018280546113fb90615cb9565b80156114485780601f1061141d57610100808354040283529160200191611448565b820191906000526020600020905b81548152906001019060200180831161142b57829003601f168201915b5050505050905082600d90805190602001906114659291906143e3565b507fc5afc13d6d51c06c63cf7df7a0d4b97f5ac1ebb7f583cd986fe33a70f75a241381846040516114979291906158c3565b60405180910390a1505050565b7f33fa24d9aab6b79237248a16094d5f78ea83bb51e42c123ce925a264e7d816cc6114d6816114d161324c565b61330d565b6000600b54905082600b819055507fe98e5fcd3d43c7e5dd114bafcc428bc7ff8525b014fe3b51fc721ba5671f98fb818460405161151592919061590d565b60405180910390a1505050565b7fefa080c67ecf4a6bf40c9dc64173420c08f359250ca6562d7c80f7c7b9b1396981565b60008060116000848152602001908152602001600020805461156790615cb9565b9050119050919050565b7fefa080c67ecf4a6bf40c9dc64173420c08f359250ca6562d7c80f7c7b9b139696115a38161159e61324c565b61330d565b6115ab6137f9565b50565b6115c983838360405180602001604052806000815250612be5565b505050565b604051806060016040528060248152602001615f566024913981565b7fefa080c67ecf4a6bf40c9dc64173420c08f359250ca6562d7c80f7c7b9b1396961161c8161161761324c565b61330d565b611625836131e0565b6040518060400160405280601e81526020017f417661746172546f6b656e3a206e6f6e6578697374656e7420746f6b656e00008152509061169c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116939190615563565b60405180910390fd5b5060006116bb601060008681526020019081526020016000205461389b565b90506000816020015111604051806060016040528060248152602001615f56602491399061171f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117169190615563565b60405180910390fd5b50602e835110156040518060400160405280601481526020017f417661746172546f6b656e3a20626164204349440000000000000000000000008152509061179d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117949190615563565b60405180910390fd5b506117a784611546565b156040518060400160405280601f81526020017f417661746172546f6b656e3a2043494420697320616c726561647920736574008152509061181f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118169190615563565b60405180910390fd5b50826011600086815260200190815260200160002090805190602001906118479291906143e3565b5061185061324c565b73ffffffffffffffffffffffffffffffffffffffff167fdfe676d5a99b13419615f04bbe2e3c31e54f565962b412599c82aa7461df92598560405161189591906159ae565b60405180910390a250505050565b7fefa080c67ecf4a6bf40c9dc64173420c08f359250ca6562d7c80f7c7b9b139696118d5816118d061324c565b61330d565b6000600f54116040518060600160405280602b8152602001615f05602b913990611935576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161192c9190615563565b60405180910390fd5b506000600a805461194590615cb9565b80601f016020809104026020016040519081016040528092919081815260200182805461197190615cb9565b80156119be5780601f10611993576101008083540402835291602001916119be565b820191906000526020600020905b8154815290600101906020018083116119a157829003601f168201915b5050505050905082600a90805190602001906119db9291906143e3565b507fc5afc13d6d51c06c63cf7df7a0d4b97f5ac1ebb7f583cd986fe33a70f75a24138184604051611a0d929190615839565b60405180910390a1505050565b7fefa080c67ecf4a6bf40c9dc64173420c08f359250ca6562d7c80f7c7b9b13969611a4c81611a4761324c565b61330d565b60006009549050826009819055507fe98e5fcd3d43c7e5dd114bafcc428bc7ff8525b014fe3b51fc721ba5671f98fb8184604051611a8b9291906155c5565b60405180910390a1505050565b6000600660149054906101000a900460ff16905090565b6000611aba826131e0565b6040518060400160405280601e81526020017f417661746172546f6b656e3a206e6f6e6578697374656e7420746f6b656e000081525090611b31576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b289190615563565b60405180910390fd5b506000611b50601060008581526020019081526020016000205461389b565b90506000816020015111915050919050565b611b6a614469565b611b73826131e0565b6040518060400160405280601e81526020017f417661746172546f6b656e3a206e6f6e6578697374656e7420746f6b656e000081525090611bea576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611be19190615563565b60405180910390fd5b50611c07601060008481526020019081526020016000205461389b565b9050919050565b6040518060400160405280601781526020017f417661746172546f6b656e3a2062616420616d6f756e7400000000000000000081525081565b6000600954905090565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611cfa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cf1906157b9565b60405180910390fd5b80915050919050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b7fefa080c67ecf4a6bf40c9dc64173420c08f359250ca6562d7c80f7c7b9b13969611d5f81611d5a61324c565b61330d565b611d7e8273ffffffffffffffffffffffffffffffffffffffff166136f2565b6040518060400160405280601881526020017f417661746172546f6b656e3a206261642061646472657373000000000000000081525090611df5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dec9190615563565b60405180910390fd5b506000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905082600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f4ca142703425bec1d507d5581fac3a3e61eadcbeafbd7c0a03e2897d96de1cc58184604051611e8f9291906156bd565b60405180910390a1505050565b6000611ea66121be565b73ffffffffffffffffffffffffffffffffffffffff16611ec461324c565b73ffffffffffffffffffffffffffffffffffffffff1614604051806060016040528060228152602001615ebd6022913990611f35576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f2c9190615563565b60405180910390fd5b50611f558273ffffffffffffffffffffffffffffffffffffffff166136f2565b156040518060400160405280601881526020017f417661746172546f6b656e3a206261642061646472657373000000000000000081525090611fcd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fc49190615563565b60405180910390fd5b50611fd66111d5565b611fde611181565b10604051806060016040528060268152602001615f306026913990612039576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120309190615563565b60405180910390fd5b5061204460076138e7565b600061205060076133aa565b9050612070604051806040016040528042815260200160008152506138fd565b6010600083815260200190815260200160002081905550612091838261391d565b8273ffffffffffffffffffffffffffffffffffffffff166120b061324c565b73ffffffffffffffffffffffffffffffffffffffff167fe45c294694316415cba91fa01c85e27ca0115dfbb110eb0371bbc06a85657e6a836040516120f591906159ae565b60405180910390a380915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612177576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161216e90615799565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600d80546121f790615cb9565b80601f016020809104026020016040519081016040528092919081815260200182805461222390615cb9565b80156122705780601f1061224557610100808354040283529160200191612270565b820191906000526020600020905b81548152906001019060200180831161225357829003601f168201915b5050505050905090565b7fefa080c67ecf4a6bf40c9dc64173420c08f359250ca6562d7c80f7c7b9b139696122ac816122a761324c565b61330d565b6122b4613aeb565b50565b6122bf611a98565b156122ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122f690615759565b60405180910390fd5b612308816131e0565b6040518060400160405280601e81526020017f417661746172546f6b656e3a206e6f6e6578697374656e7420746f6b656e00008152509061237f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123769190615563565b60405180910390fd5b506000600f54116040518060600160405280602b8152602001615f05602b9139906123e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123d79190615563565b60405180910390fd5b506123e961324c565b73ffffffffffffffffffffffffffffffffffffffff1661240882611c51565b73ffffffffffffffffffffffffffffffffffffffff16146040518060400160405280602081526020017f417661746172546f6b656e3a2063616c6c6572206973206e6f74206f776e657281525090612496576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161248d9190615563565b60405180910390fd5b5060006124b5601060008481526020019081526020016000205461389b565b905060008160200151146040518060400160405280601a81526020017f417661746172546f6b656e3a20616c7265616479206164756c7400000000000081525090612536576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161252d9190615563565b60405180910390fd5b5042612540611c47565b600f5461254d9190615aa8565b1115604051806060016040528060268152602001615edf60269139906125a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125a09190615563565b60405180910390fd5b506125b26111cb565b3410156040518060400160405280601781526020017f417661746172546f6b656e3a2062616420616d6f756e740000000000000000008152509061262c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126239190615563565b60405180910390fd5b5042816020018181525050612640816138fd565b601060008481526020019081526020016000208190555061265f61324c565b73ffffffffffffffffffffffffffffffffffffffff167f6c232990d3606bf7edb51ec0f80fff52a61e6a7c69a972f972e5ecc70fc5122e836040516126a491906159ae565b60405180910390a25050565b604051806060016040528060228152602001615ebd6022913981565b6040518060400160405280601481526020017f417661746172546f6b656e3a206261642043494400000000000000000000000081525081565b600080612710611d03565b90508073ffffffffffffffffffffffffffffffffffffffff166391d1485485856040518363ffffffff1660e01b815260040161274d92919061553a565b60206040518083038186803b15801561276557600080fd5b505afa158015612779573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061279d91906147bf565b8061284f57508073ffffffffffffffffffffffffffffffffffffffff166391d148547fdc0d7a095c4e917ecbeb7deda7c942ff9744013d419e37549215a413915e421d856040518363ffffffff1660e01b81526004016127fe92919061553a565b60206040518083038186803b15801561281657600080fd5b505afa15801561282a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061284e91906147bf565b5b91505092915050565b60606001805461286790615cb9565b80601f016020809104026020016040519081016040528092919081815260200182805461289390615cb9565b80156128e05780601f106128b5576101008083540402835291602001916128e0565b820191906000526020600020905b8154815290600101906020018083116128c357829003601f168201915b5050505050905090565b604051806060016040528060268152602001615f306026913981565b7fefa080c67ecf4a6bf40c9dc64173420c08f359250ca6562d7c80f7c7b9b139696129388161293361324c565b61330d565b6000600e805461294790615cb9565b80601f016020809104026020016040519081016040528092919081815260200182805461297390615cb9565b80156129c05780601f10612995576101008083540402835291602001916129c0565b820191906000526020600020905b8154815290600101906020018083116129a357829003601f168201915b5050505050905082600e90805190602001906129dd9291906143e3565b507fc5afc13d6d51c06c63cf7df7a0d4b97f5ac1ebb7f583cd986fe33a70f75a24138184604051612a0f929190615949565b60405180910390a1505050565b7f33fa24d9aab6b79237248a16094d5f78ea83bb51e42c123ce925a264e7d816cc81565b612a4861324c565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612ab6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612aad9061569d565b60405180910390fd5b8060056000612ac361324c565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16612b7061324c565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612bb59190615504565b60405180910390a35050565b7fdc0d7a095c4e917ecbeb7deda7c942ff9744013d419e37549215a413915e421d81565b612bf6612bf061324c565b836133b8565b612c35576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c2c906158a3565b60405180910390fd5b612c4184848484613b8e565b50505050565b6040518060400160405280601a81526020017f417661746172546f6b656e3a20616c7265616479206164756c7400000000000081525081565b6040518060400160405280601d81526020017f417661746172546f6b656e3a20616c72656164792072657665616c656400000081525081565b6040518060400160405280602081526020017f417661746172546f6b656e3a2063616c6c6572206973206e6f74206f776e657281525081565b6060612cfd826131e0565b6040518060400160405280601e81526020017f417661746172546f6b656e3a206e6f6e6578697374656e7420746f6b656e000081525090612d74576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d6b9190615563565b60405180910390fd5b506000612d93601060008581526020019081526020016000205461389b565b90506000816020015111612def576000600f5411612db857612db3613bea565b612dea565b612dc0613c7c565b612dc984613d0e565b604051602001612dda9291906153c9565b6040516020818303038152906040525b612ec6565b612df883611546565b612e0957612e04613ebb565b612ea6565b601160008481526020019081526020016000208054612e2790615cb9565b80601f0160208091040260200160405190810160405280929190818152602001828054612e5390615cb9565b8015612ea05780601f10612e7557610100808354040283529160200191612ea0565b820191906000526020600020905b815481529060010190602001808311612e8357829003601f168201915b50505050505b604051602001612eb69190615403565b6040516020818303038152906040525b915050919050565b6040518060600160405280602b8152602001615f05602b913981565b604051806060016040528060268152602001615edf6026913981565b6040518060400160405280601e81526020017f417661746172546f6b656e3a206e6f6e6578697374656e7420746f6b656e000081525081565b6060600e8054612f4e90615cb9565b80601f0160208091040260200160405190810160405280929190818152602001828054612f7a90615cb9565b8015612fc75780601f10612f9c57610100808354040283529160200191612fc7565b820191906000526020600020905b815481529060010190602001808311612faa57829003601f168201915b5050505050905090565b6040518060400160405280601881526020017f417661746172546f6b656e3a206261642061646472657373000000000000000081525081565b7fefa080c67ecf4a6bf40c9dc64173420c08f359250ca6562d7c80f7c7b9b1396961303c8161303761324c565b61330d565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905082600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f4ca142703425bec1d507d5581fac3a3e61eadcbeafbd7c0a03e2897d96de1cc581846040516130d5929190615621565b60405180910390a1505050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166132c783611c51565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6133178282612705565b6133a65761333c8173ffffffffffffffffffffffffffffffffffffffff166014613f4d565b61334a8360001c6020613f4d565b60405160200161335b92919061543a565b6040516020818303038152906040526040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161339d9190615563565b60405180910390fd5b5050565b600081600001549050919050565b60006133c3826131e0565b613402576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133f990615739565b60405180910390fd5b600061340d83611c51565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061347c57508373ffffffffffffffffffffffffffffffffffffffff1661346484610ebd565b73ffffffffffffffffffffffffffffffffffffffff16145b8061348d575061348c81856130e2565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166134b682611c51565b73ffffffffffffffffffffffffffffffffffffffff161461350c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161350390615819565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561357c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135739061567d565b60405180910390fd5b613587838383614247565b613592600082613254565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546135e29190615b89565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546136399190615aa8565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600080823b905060008111915050919050565b80471015613748576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161373f90615719565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff168260405161376e90615425565b60006040518083038185875af1925050503d80600081146137ab576040519150601f19603f3d011682016040523d82523d6000602084013e6137b0565b606091505b50509050806137f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016137eb906156f9565b60405180910390fd5b505050565b613801611a98565b613840576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613837906155a5565b60405180910390fd5b6000600660146101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa61388461324c565b6040516138919190615474565b60405180910390a1565b6138a3614469565b6040518060400160405280836fffffffffffffffffffffffffffffffff168152602001608084901c6fffffffffffffffffffffffffffffffff168152509050919050565b6001816000016000828254019250508190555050565b6000808260000151905060808360200151901b8117905080915050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561398d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613984906157d9565b60405180910390fd5b613996816131e0565b156139d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016139cd9061565d565b60405180910390fd5b6139e260008383614247565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254613a329190615aa8565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b613af3611a98565b15613b33576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613b2a90615759565b60405180910390fd5b6001600660146101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258613b7761324c565b604051613b849190615474565b60405180910390a1565b613b99848484613496565b613ba58484848461424c565b613be4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613bdb90615601565b60405180910390fd5b50505050565b6060600d8054613bf990615cb9565b80601f0160208091040260200160405190810160405280929190818152602001828054613c2590615cb9565b8015613c725780601f10613c4757610100808354040283529160200191613c72565b820191906000526020600020905b815481529060010190602001808311613c5557829003601f168201915b5050505050905090565b6060600a8054613c8b90615cb9565b80601f0160208091040260200160405190810160405280929190818152602001828054613cb790615cb9565b8015613d045780601f10613cd957610100808354040283529160200191613d04565b820191906000526020600020905b815481529060010190602001808311613ce757829003601f168201915b5050505050905090565b60606000821415613d56576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613eb6565b600082905060005b60008214613d88578080613d7190615ceb565b915050600a82613d819190615afe565b9150613d5e565b60008167ffffffffffffffff811115613dca577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015613dfc5781602001600182028036833780820191505090505b5090505b60008514613eaf57600182613e159190615b89565b9150600a85613e249190615d34565b6030613e309190615aa8565b60f81b818381518110613e6c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85613ea89190615afe565b9450613e00565b8093505050505b919050565b6060600e8054613eca90615cb9565b80601f0160208091040260200160405190810160405280929190818152602001828054613ef690615cb9565b8015613f435780601f10613f1857610100808354040283529160200191613f43565b820191906000526020600020905b815481529060010190602001808311613f2657829003601f168201915b5050505050905090565b606060006002836002613f609190615b2f565b613f6a9190615aa8565b67ffffffffffffffff811115613fa9577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015613fdb5781602001600182028036833780820191505090505b5090507f300000000000000000000000000000000000000000000000000000000000000081600081518110614039577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f7800000000000000000000000000000000000000000000000000000000000000816001815181106140c3577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600060018460026141039190615b2f565b61410d9190615aa8565b90505b60018111156141f9577f3031323334353637383961626364656600000000000000000000000000000000600f861660108110614175577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b1a60f81b8282815181106141b2577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c9450806141f290615c8f565b9050614110565b506000841461423d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161423490615585565b60405180910390fd5b8091505092915050565b505050565b600061426d8473ffffffffffffffffffffffffffffffffffffffff166136f2565b156143d6578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261429661324c565b8786866040518563ffffffff1660e01b81526004016142b8949392919061548f565b602060405180830381600087803b1580156142d257600080fd5b505af192505050801561430357506040513d601f19601f82011682018060405250810190614300919061484d565b60015b614386573d8060008114614333576040519150601f19603f3d011682016040523d82523d6000602084013e614338565b606091505b5060008151141561437e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161437590615601565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506143db565b600190505b949350505050565b8280546143ef90615cb9565b90600052602060002090601f0160209004810192826144115760008555614458565b82601f1061442a57805160ff1916838001178555614458565b82800160010185558215614458579182015b8281111561445757825182559160200191906001019061443c565b5b5090506144659190614483565b5090565b604051806040016040528060008152602001600081525090565b5b8082111561449c576000816000905550600101614484565b5090565b60006144b36144ae846159fa565b6159c9565b9050828152602081018484840111156144cb57600080fd5b6144d6848285615c4d565b509392505050565b60006144f16144ec84615a2a565b6159c9565b90508281526020810184848401111561450957600080fd5b614514848285615c4d565b509392505050565b60008135905061452b81615e32565b92915050565b60008135905061454081615e49565b92915050565b60008135905061455581615e60565b92915050565b60008151905061456a81615e60565b92915050565b60008135905061457f81615e77565b92915050565b60008135905061459481615e8e565b92915050565b6000815190506145a981615e8e565b92915050565b600082601f8301126145c057600080fd5b81356145d08482602086016144a0565b91505092915050565b600082601f8301126145ea57600080fd5b81356145fa8482602086016144de565b91505092915050565b60008135905061461281615ea5565b92915050565b60006020828403121561462a57600080fd5b60006146388482850161451c565b91505092915050565b6000806040838503121561465457600080fd5b60006146628582860161451c565b92505060206146738582860161451c565b9150509250929050565b60008060006060848603121561469257600080fd5b60006146a08682870161451c565b93505060206146b18682870161451c565b92505060406146c286828701614603565b9150509250925092565b600080600080608085870312156146e257600080fd5b60006146f08782880161451c565b94505060206147018782880161451c565b935050604061471287828801614603565b925050606085013567ffffffffffffffff81111561472f57600080fd5b61473b878288016145af565b91505092959194509250565b6000806040838503121561475a57600080fd5b60006147688582860161451c565b925050602061477985828601614546565b9150509250929050565b6000806040838503121561479657600080fd5b60006147a48582860161451c565b92505060206147b585828601614603565b9150509250929050565b6000602082840312156147d157600080fd5b60006147df8482850161455b565b91505092915050565b600080604083850312156147fb57600080fd5b600061480985828601614570565b925050602061481a8582860161451c565b9150509250929050565b60006020828403121561483657600080fd5b600061484484828501614585565b91505092915050565b60006020828403121561485f57600080fd5b600061486d8482850161459a565b91505092915050565b60006020828403121561488857600080fd5b600082013567ffffffffffffffff8111156148a257600080fd5b6148ae848285016145d9565b91505092915050565b6000602082840312156148c957600080fd5b60006148d784828501614603565b91505092915050565b600080604083850312156148f357600080fd5b600061490185828601614603565b925050602061491285828601614531565b9150509250929050565b6000806040838503121561492f57600080fd5b600061493d85828601614603565b925050602083013567ffffffffffffffff81111561495a57600080fd5b614966858286016145d9565b9150509250929050565b61497981615bbd565b82525050565b61498881615be1565b82525050565b61499781615bed565b82525050565b60006149a882615a5a565b6149b28185615a70565b93506149c2818560208601615c5c565b6149cb81615e21565b840191505092915050565b60006149e182615a65565b6149eb8185615a8c565b93506149fb818560208601615c5c565b614a0481615e21565b840191505092915050565b6000614a1a82615a65565b614a248185615a9d565b9350614a34818560208601615c5c565b80840191505092915050565b6000614a4d602083615a8c565b91507f537472696e67733a20686578206c656e67746820696e73756666696369656e746000830152602082019050919050565b6000614a8d601483615a8c565b91507f5061757361626c653a206e6f74207061757365640000000000000000000000006000830152602082019050919050565b6000614acd600a83615a8c565b91507f67726f77557054696d65000000000000000000000000000000000000000000006000830152602082019050919050565b6000614b0d603283615a8c565b91507f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008301527f63656976657220696d706c656d656e74657200000000000000000000000000006020830152604082019050919050565b6000614b73600d83615a8c565b91507f616363657373436f6e74726f6c000000000000000000000000000000000000006000830152602082019050919050565b6000614bb3601c83615a8c565b91507f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006000830152602082019050919050565b6000614bf3602483615a8c565b91507f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000614c59601983615a8c565b91507f4552433732313a20617070726f766520746f2063616c6c6572000000000000006000830152602082019050919050565b6000614c99600c83615a8c565b91507f6176617461724d61726b657400000000000000000000000000000000000000006000830152602082019050919050565b6000614cd9603a83615a8c565b91507f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008301527f6563697069656e74206d617920686176652072657665727465640000000000006020830152604082019050919050565b6000614d3f601d83615a8c565b91507f416464726573733a20696e73756666696369656e742062616c616e63650000006000830152602082019050919050565b6000614d7f602c83615a8c565b91507f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b6000614de5600783615a9d565b91507f697066733a2f2f000000000000000000000000000000000000000000000000006000830152600782019050919050565b6000614e25601083615a8c565b91507f5061757361626c653a20706175736564000000000000000000000000000000006000830152602082019050919050565b6000614e65603883615a8c565b91507f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008301527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006020830152604082019050919050565b6000614ecb602a83615a8c565b91507f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008301527f726f2061646472657373000000000000000000000000000000000000000000006020830152604082019050919050565b6000614f31602983615a8c565b91507f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008301527f656e7420746f6b656e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000614f97602083615a8c565b91507f4552433732313a206d696e7420746f20746865207a65726f20616464726573736000830152602082019050919050565b6000614fd7602c83615a8c565b91507f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b600061503d600583615a9d565b91507f2e6a736f6e0000000000000000000000000000000000000000000000000000006000830152600582019050919050565b600061507d602983615a8c565b91507f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008301527f73206e6f74206f776e00000000000000000000000000000000000000000000006020830152604082019050919050565b60006150e3600783615a8c565b91507f62617365557269000000000000000000000000000000000000000000000000006000830152602082019050919050565b6000615123602183615a8c565b91507f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008301527f72000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000615189600083615a81565b9150600082019050919050565b60006151a3603183615a8c565b91507f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008301527f776e6572206e6f7220617070726f7665640000000000000000000000000000006020830152604082019050919050565b6000615209601783615a9d565b91507f416363657373436f6e74726f6c3a206163636f756e74200000000000000000006000830152601782019050919050565b6000615249600e83615a8c565b91507f64656661756c74426162795572690000000000000000000000000000000000006000830152602082019050919050565b6000615289601083615a8c565b91507f70726963654f6647726f77696e675570000000000000000000000000000000006000830152602082019050919050565b60006152c9600f83615a8c565b91507f64656661756c744164756c7443696400000000000000000000000000000000006000830152602082019050919050565b6000615309601183615a9d565b91507f206973206d697373696e6720726f6c65200000000000000000000000000000006000830152601182019050919050565b6000615349600183615a9d565b91507f2f000000000000000000000000000000000000000000000000000000000000006000830152600182019050919050565b60408201600082015161539260008501826153ab565b5060208201516153a560208501826153ab565b50505050565b6153b481615c43565b82525050565b6153c381615c43565b82525050565b60006153d58285614a0f565b91506153e08261533c565b91506153ec8284614a0f565b91506153f782615030565b91508190509392505050565b600061540e82614dd8565b915061541a8284614a0f565b915081905092915050565b60006154308261517c565b9150819050919050565b6000615445826151fc565b91506154518285614a0f565b915061545c826152fc565b91506154688284614a0f565b91508190509392505050565b60006020820190506154896000830184614970565b92915050565b60006080820190506154a46000830187614970565b6154b16020830186614970565b6154be60408301856153ba565b81810360608301526154d0818461499d565b905095945050505050565b60006040820190506154f06000830185614970565b6154fd60208301846153ba565b9392505050565b6000602082019050615519600083018461497f565b92915050565b6000602082019050615534600083018461498e565b92915050565b600060408201905061554f600083018561498e565b61555c6020830184614970565b9392505050565b6000602082019050818103600083015261557d81846149d6565b905092915050565b6000602082019050818103600083015261559e81614a40565b9050919050565b600060208201905081810360008301526155be81614a80565b9050919050565b600060608201905081810360008301526155de81614ac0565b90506155ed60208301856153ba565b6155fa60408301846153ba565b9392505050565b6000602082019050818103600083015261561a81614b00565b9050919050565b6000606082019050818103600083015261563a81614b66565b90506156496020830185614970565b6156566040830184614970565b9392505050565b6000602082019050818103600083015261567681614ba6565b9050919050565b6000602082019050818103600083015261569681614be6565b9050919050565b600060208201905081810360008301526156b681614c4c565b9050919050565b600060608201905081810360008301526156d681614c8c565b90506156e56020830185614970565b6156f26040830184614970565b9392505050565b6000602082019050818103600083015261571281614ccc565b9050919050565b6000602082019050818103600083015261573281614d32565b9050919050565b6000602082019050818103600083015261575281614d72565b9050919050565b6000602082019050818103600083015261577281614e18565b9050919050565b6000602082019050818103600083015261579281614e58565b9050919050565b600060208201905081810360008301526157b281614ebe565b9050919050565b600060208201905081810360008301526157d281614f24565b9050919050565b600060208201905081810360008301526157f281614f8a565b9050919050565b6000602082019050818103600083015261581281614fca565b9050919050565b6000602082019050818103600083015261583281615070565b9050919050565b60006060820190508181036000830152615852816150d6565b9050818103602083015261586681856149d6565b9050818103604083015261587a81846149d6565b90509392505050565b6000602082019050818103600083015261589c81615116565b9050919050565b600060208201905081810360008301526158bc81615196565b9050919050565b600060608201905081810360008301526158dc8161523c565b905081810360208301526158f081856149d6565b9050818103604083015261590481846149d6565b90509392505050565b600060608201905081810360008301526159268161527c565b905061593560208301856153ba565b61594260408301846153ba565b9392505050565b60006060820190508181036000830152615962816152bc565b9050818103602083015261597681856149d6565b9050818103604083015261598a81846149d6565b90509392505050565b60006040820190506159a8600083018461537c565b92915050565b60006020820190506159c360008301846153ba565b92915050565b6000604051905081810181811067ffffffffffffffff821117156159f0576159ef615df2565b5b8060405250919050565b600067ffffffffffffffff821115615a1557615a14615df2565b5b601f19601f8301169050602081019050919050565b600067ffffffffffffffff821115615a4557615a44615df2565b5b601f19601f8301169050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000615ab382615c43565b9150615abe83615c43565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115615af357615af2615d65565b5b828201905092915050565b6000615b0982615c43565b9150615b1483615c43565b925082615b2457615b23615d94565b5b828204905092915050565b6000615b3a82615c43565b9150615b4583615c43565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615615b7e57615b7d615d65565b5b828202905092915050565b6000615b9482615c43565b9150615b9f83615c43565b925082821015615bb257615bb1615d65565b5b828203905092915050565b6000615bc882615c23565b9050919050565b6000615bda82615c23565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015615c7a578082015181840152602081019050615c5f565b83811115615c89576000848401525b50505050565b6000615c9a82615c43565b91506000821415615cae57615cad615d65565b5b600182039050919050565b60006002820490506001821680615cd157607f821691505b60208210811415615ce557615ce4615dc3565b5b50919050565b6000615cf682615c43565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415615d2957615d28615d65565b5b600182019050919050565b6000615d3f82615c43565b9150615d4a83615c43565b925082615d5a57615d59615d94565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b615e3b81615bbd565b8114615e4657600080fd5b50565b615e5281615bcf565b8114615e5d57600080fd5b50565b615e6981615be1565b8114615e7457600080fd5b50565b615e8081615bed565b8114615e8b57600080fd5b50565b615e9781615bf7565b8114615ea257600080fd5b50565b615eae81615c43565b8114615eb957600080fd5b5056fe417661746172546f6b656e3a206e6f7420656e6f7567682070726976696c65676573417661746172546f6b656e3a206974206973206e6f742074696d6520746f2067726f77207570417661746172546f6b656e3a2074686520636f6c6c656374696f6e206973206e6f742072657665616c6564417661746172546f6b656e3a20746f74616c20737570706c7920686173206578636565646564417661746172546f6b656e3a2074686520617661746172206973206e6f74206164756c74a2646970667358221220157e71581ac61e9f0932f6ca00f9f63c7a06c6a79dbcd84a2073a4c23b5ecd1864736f6c63430008000033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000061a800000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000001275000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a54102176c054a20dee3d4e772a7010ed641417d0000000000000000000000000000000000000000000000000000000000000035697066733a2f2f516d5569564c5a42706179426b4879765158396d765157617634417932386158513735384b7257474844714432380000000000000000000000000000000000000000000000000000000000000000000000000000000000002e516d565a59666b58394b354336366276767444674536697550337943647a6831354758376f68717139555158644e000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : totalSupply (uint256): 25000
Arg [1] : defaultBabyUri (string): ipfs://QmUiVLZBpayBkHyvQX9mvQWav4Ay28aXQ758KrWGHDqD28
Arg [2] : defaultAdultCid (string): QmVZYfkX9K5C66bvvtDgE6iuP3yCdzh15GX7ohqq9UQXdN
Arg [3] : gt (uint256): 1209600
Arg [4] : price (uint256): 0
Arg [5] : accessControl (address): 0xa54102176C054A20Dee3d4E772A7010Ed641417D
-----Encoded View---------------
12 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000061a8
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000120
Arg [3] : 0000000000000000000000000000000000000000000000000000000000127500
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [5] : 000000000000000000000000a54102176c054a20dee3d4e772a7010ed641417d
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000035
Arg [7] : 697066733a2f2f516d5569564c5a42706179426b4879765158396d7651576176
Arg [8] : 34417932386158513735384b7257474844714432380000000000000000000000
Arg [9] : 000000000000000000000000000000000000000000000000000000000000002e
Arg [10] : 516d565a59666b58394b354336366276767444674536697550337943647a6831
Arg [11] : 354758376f68717139555158644e000000000000000000000000000000000000
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.