ERC-721
Overview
Max Total Supply
0 CRTO
Holders
134
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 CRTOLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
TokenContract
Compiler Version
v0.8.4+commit.c7e474f2
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: UNLICENSED // https://docs.openzeppelin.com/contracts/2.x/erc721 pragma solidity ^0.8.4; import "./interfaces/IConfigContract.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol"; contract TokenContract is ERC721, Ownable { address private _configContract; string private _baseTokenURI; constructor(address configContract, string memory contractName, string memory contractSymbol) ERC721(contractName, contractSymbol) { _configContract = configContract; } function mint(uint tokenId, bytes calldata signature) external returns (uint) { bytes32 generatedHash = ECDSA.toEthSignedMessageHash(keccak256(abi.encodePacked(address(this), tokenId, msg.sender))); address recoveredAddress = ECDSA.recover(generatedHash, signature); require(IConfigContract(_configContract).validateRecoveredSignatureAddress(recoveredAddress), "Signature invalid"); _safeMint(msg.sender, tokenId); return tokenId; } function adminMint(address recipient, uint tokenId) external returns (uint) { require(IConfigContract(_configContract).canMint(msg.sender), "Sender cannot mint (not approved)"); _safeMint(recipient, tokenId); return tokenId; } function adminBatchMint(address[] calldata recipients, uint[] calldata tokenIds) external { require(IConfigContract(_configContract).canMint(msg.sender), "Sender cannot mint (not approved)"); require(recipients.length == tokenIds.length, "Arrays are not same size"); for(uint i = 0; i < recipients.length; i++) { _safeMint(recipients[i], tokenIds[i]); } } function setConfigContract(address configContract) external onlyOwner { _configContract = configContract; } function _baseURI() internal view override returns (string memory) { return _baseTokenURI; } function setBaseURI(string calldata uri) external onlyOwner { _baseTokenURI = uri; } function destroyContract() external onlyOwner { require(IConfigContract(_configContract).getCanDestroyContract(), "Cannot destroy contract"); selfdestruct(payable(owner())); } function isApprovedForAll(address owner, address operator) public view override returns (bool) { return (IConfigContract(_configContract).getAddress("resale") == operator || super.isApprovedForAll(owner, operator)); } function _beforeTokenTransfer(address from, address to, uint tokenId) internal override(ERC721) { require(IConfigContract(_configContract).getIsEnabled(address(this)), "Transfer is not enabled"); super._beforeTokenTransfer(from, to, tokenId); } }
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.4; interface IConfigContract { function getIsEnabled(address tokenContract) external view returns (bool); function getAllTokenContractsDisabled() external view returns (bool); function getCanDestroyContract() external view returns (bool); function getTokenContractDisabled(address tokenContract) external view returns (bool); function getAdmin() external view returns (address); function validateRecoveredSignatureAddress(address recoveredAddress) external view returns (bool); function canRemoveFromSale(address sender) external view returns (bool); function canSetShares(address sender) external view returns (bool); function canMint(address sender) external view returns (bool); function getAddress(string calldata contractName) external view returns (address); }
// 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; 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 Elliptic Curve Digital Signature Algorithm (ECDSA) operations. * * These functions can be used to verify that a message was signed by the holder * of the private keys of a given address. */ library ECDSA { /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature`. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. */ function recover(bytes32 hash, bytes memory signature) internal pure returns (address) { // Divide the signature in r, s and v variables bytes32 r; bytes32 s; uint8 v; // Check the signature length // - case 65: r,s,v signature (standard) // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._ if (signature.length == 65) { // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. // solhint-disable-next-line no-inline-assembly assembly { r := mload(add(signature, 0x20)) s := mload(add(signature, 0x40)) v := byte(0, mload(add(signature, 0x60))) } } else if (signature.length == 64) { // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. // solhint-disable-next-line no-inline-assembly assembly { let vs := mload(add(signature, 0x40)) r := mload(add(signature, 0x20)) s := and(vs, 0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff) v := add(shr(255, vs), 27) } } else { revert("ECDSA: invalid signature length"); } return recover(hash, v, r, s); } /** * @dev Overload of {ECDSA-recover} that receives the `v`, * `r` and `s` signature fields separately. */ function recover(bytes32 hash, uint8 v, bytes32 r, bytes32 s) internal pure returns (address) { // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines // the valid range for s in (281): 0 < s < secp256k1n ÷ 2 + 1, and for v in (282): v ∈ {27, 28}. Most // signatures from current libraries generate a unique signature with an s-value in the lower half order. // // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept // these malleable signatures as well. require(uint256(s) <= 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0, "ECDSA: invalid signature 's' value"); require(v == 27 || v == 28, "ECDSA: invalid signature 'v' value"); // If the signature is valid (and not malleable), return the signer address address signer = ecrecover(hash, v, r, s); require(signer != address(0), "ECDSA: invalid signature"); return signer; } /** * @dev Returns an Ethereum Signed Message, created from a `hash`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) { // 32 is the length in bytes of hash, // enforced by the type signature above return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash)); } /** * @dev Returns an Ethereum Signed Typed Data, created from a * `domainSeparator` and a `structHash`. This produces hash corresponding * to the one signed with the * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`] * JSON-RPC method as part of EIP-712. * * See {recover}. */ function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash)); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant alphabet = "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] = alphabet[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// 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) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } }
// 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; // solhint-disable-next-line no-inline-assembly 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"); // solhint-disable-next-line avoid-low-level-calls, avoid-call-value (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"); // solhint-disable-next-line avoid-low-level-calls (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"); // solhint-disable-next-line avoid-low-level-calls (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"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.delegatecall(data); return _verifyCallResult(success, returndata, errorMessage); } function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private 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 // solhint-disable-next-line no-inline-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// 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; /** * @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 "../../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; 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}. 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(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { // solhint-disable-next-line no-inline-assembly 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` cannot be the zero address. * - `to` cannot be the zero address. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal virtual { } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor () { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), msgSender); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { emit OwnershipTransferred(_owner, address(0)); _owner = address(0); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } }
{ "remappings": [], "optimizer": { "enabled": false, "runs": 200 }, "evmVersion": "istanbul", "libraries": {}, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"configContract","type":"address"},{"internalType":"string","name":"contractName","type":"string"},{"internalType":"string","name":"contractSymbol","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address[]","name":"recipients","type":"address[]"},{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"adminBatchMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"adminMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"destroyContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"signature","type":"bytes"}],"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":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"uri","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"configContract","type":"address"}],"name":"setConfigContract","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":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b5060405162004731380380620047318339818101604052810190620000379190620002a9565b818181600090805190602001906200005192919062000170565b5080600190805190602001906200006a92919062000170565b50505060006200007f6200016860201b60201c565b905080600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35082600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550505050620004ef565b600033905090565b8280546200017e90620003fa565b90600052602060002090601f016020900481019282620001a25760008555620001ee565b82601f10620001bd57805160ff1916838001178555620001ee565b82800160010185558215620001ee579182015b82811115620001ed578251825591602001919060010190620001d0565b5b509050620001fd919062000201565b5090565b5b808211156200021c57600081600090555060010162000202565b5090565b60006200023762000231846200035a565b62000331565b9050828152602081018484840111156200025057600080fd5b6200025d848285620003c4565b509392505050565b6000815190506200027681620004d5565b92915050565b600082601f8301126200028e57600080fd5b8151620002a084826020860162000220565b91505092915050565b600080600060608486031215620002bf57600080fd5b6000620002cf8682870162000265565b935050602084015167ffffffffffffffff811115620002ed57600080fd5b620002fb868287016200027c565b925050604084015167ffffffffffffffff8111156200031957600080fd5b62000327868287016200027c565b9150509250925092565b60006200033d62000350565b90506200034b828262000430565b919050565b6000604051905090565b600067ffffffffffffffff82111562000378576200037762000495565b5b6200038382620004c4565b9050602081019050919050565b60006200039d82620003a4565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60005b83811015620003e4578082015181840152602081019050620003c7565b83811115620003f4576000848401525b50505050565b600060028204905060018216806200041357607f821691505b602082108114156200042a576200042962000466565b5b50919050565b6200043b82620004c4565b810181811067ffffffffffffffff821117156200045d576200045c62000495565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b620004e08162000390565b8114620004ec57600080fd5b50565b61423280620004ff6000396000f3fe608060405234801561001057600080fd5b50600436106101425760003560e01c806377da5601116100b8578063c87b56dd1161007c578063c87b56dd14610339578063db7fd40814610369578063de7b8ffe14610399578063e58306f9146103b5578063e985e9c5146103e5578063f2fde38b1461041557610142565b806377da5601146102a95780638da5cb5b146102c557806395d89b41146102e3578063a22cb46514610301578063b88d4fde1461031d57610142565b806323b872dd1161010a57806323b872dd146101eb57806342842e0e1461020757806355f804b3146102235780636352211e1461023f57806370a082311461026f578063715018a61461029f57610142565b806301ffc9a71461014757806306fdde0314610177578063081812fc14610195578063092a5cce146101c5578063095ea7b3146101cf575b600080fd5b610161600480360381019061015c9190612c3c565b610431565b60405161016e9190613326565b60405180910390f35b61017f610513565b60405161018c9190613386565b60405180910390f35b6101af60048036038101906101aa9190612cd3565b6105a5565b6040516101bc91906132bf565b60405180910390f35b6101cd61062a565b005b6101e960048036038101906101e49190612b62565b6107a5565b005b61020560048036038101906102009190612a5c565b6108bd565b005b610221600480360381019061021c9190612a5c565b61091d565b005b61023d60048036038101906102389190612c8e565b61093d565b005b61025960048036038101906102549190612cd3565b6109cf565b60405161026691906132bf565b60405180910390f35b610289600480360381019061028491906129ce565b610a81565b60405161029691906136e8565b60405180910390f35b6102a7610b39565b005b6102c360048036038101906102be9190612b9e565b610c76565b005b6102cd610e66565b6040516102da91906132bf565b60405180910390f35b6102eb610e90565b6040516102f89190613386565b60405180910390f35b61031b60048036038101906103169190612b26565b610f22565b005b61033760048036038101906103329190612aab565b6110a3565b005b610353600480360381019061034e9190612cd3565b611105565b6040516103609190613386565b60405180910390f35b610383600480360381019061037e9190612cfc565b6111ac565b60405161039091906136e8565b60405180910390f35b6103b360048036038101906103ae91906129ce565b611336565b005b6103cf60048036038101906103ca9190612b62565b6113f6565b6040516103dc91906136e8565b60405180910390f35b6103ff60048036038101906103fa9190612a20565b6114f5565b60405161040c9190613326565b60405180910390f35b61042f600480360381019061042a91906129ce565b6115e7565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806104fc57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061050c575061050b82611793565b5b9050919050565b60606000805461052290613924565b80601f016020809104026020016040519081016040528092919081815260200182805461054e90613924565b801561059b5780601f106105705761010080835404028352916020019161059b565b820191906000526020600020905b81548152906001019060200180831161057e57829003601f168201915b5050505050905090565b60006105b0826117fd565b6105ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105e690613608565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b610632611869565b73ffffffffffffffffffffffffffffffffffffffff16610650610e66565b73ffffffffffffffffffffffffffffffffffffffff16146106a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161069d90613628565b60405180910390fd5b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663646116266040518163ffffffff1660e01b815260040160206040518083038186803b15801561070e57600080fd5b505afa158015610722573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107469190612c13565b610785576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161077c90613408565b60405180910390fd5b61078d610e66565b73ffffffffffffffffffffffffffffffffffffffff16ff5b60006107b0826109cf565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610821576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161081890613688565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610840611869565b73ffffffffffffffffffffffffffffffffffffffff16148061086f575061086e81610869611869565b6114f5565b5b6108ae576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108a590613548565b60405180910390fd5b6108b88383611871565b505050565b6108ce6108c8611869565b8261192a565b61090d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610904906136a8565b60405180910390fd5b610918838383611a08565b505050565b610938838383604051806020016040528060008152506110a3565b505050565b610945611869565b73ffffffffffffffffffffffffffffffffffffffff16610963610e66565b73ffffffffffffffffffffffffffffffffffffffff16146109b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109b090613628565b60405180910390fd5b8181600891906109ca929190612708565b505050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610a78576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a6f90613588565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610af2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ae990613568565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610b41611869565b73ffffffffffffffffffffffffffffffffffffffff16610b5f610e66565b73ffffffffffffffffffffffffffffffffffffffff1614610bb5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bac90613628565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663c2ba4744336040518263ffffffff1660e01b8152600401610cd191906132bf565b60206040518083038186803b158015610ce957600080fd5b505afa158015610cfd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d219190612c13565b610d60576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d5790613448565b60405180910390fd5b818190508484905014610da8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d9f906136c8565b60405180910390fd5b60005b84849050811015610e5f57610e4c858583818110610df2577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002016020810190610e0791906129ce565b848484818110610e40577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020135611c64565b8080610e5790613987565b915050610dab565b5050505050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054610e9f90613924565b80601f0160208091040260200160405190810160405280929190818152602001828054610ecb90613924565b8015610f185780601f10610eed57610100808354040283529160200191610f18565b820191906000526020600020905b815481529060010190602001808311610efb57829003601f168201915b5050505050905090565b610f2a611869565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610f98576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f8f906134e8565b60405180910390fd5b8060056000610fa5611869565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611052611869565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516110979190613326565b60405180910390a35050565b6110b46110ae611869565b8361192a565b6110f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110ea906136a8565b60405180910390fd5b6110ff84848484611c82565b50505050565b6060611110826117fd565b61114f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161114690613668565b60405180910390fd5b6000611159611cde565b9050600081511161117957604051806020016040528060008152506111a4565b8061118384611d70565b604051602001611194929190613275565b6040516020818303038152906040525b915050919050565b6000806111e23086336040516020016111c793929190613238565b60405160208183030381529060405280519060200120611f1d565b905060006112348286868080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050611f4d565b9050600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166315bbda62826040518263ffffffff1660e01b815260040161129191906132bf565b60206040518083038186803b1580156112a957600080fd5b505afa1580156112bd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112e19190612c13565b611320576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611317906135c8565b60405180910390fd5b61132a3387611c64565b85925050509392505050565b61133e611869565b73ffffffffffffffffffffffffffffffffffffffff1661135c610e66565b73ffffffffffffffffffffffffffffffffffffffff16146113b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113a990613628565b60405180910390fd5b80600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663c2ba4744336040518263ffffffff1660e01b815260040161145391906132bf565b60206040518083038186803b15801561146b57600080fd5b505afa15801561147f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114a39190612c13565b6114e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114d990613448565b60405180910390fd5b6114ec8383611c64565b81905092915050565b60008173ffffffffffffffffffffffffffffffffffffffff16600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663bf40fac16040518163ffffffff1660e01b8152600401611567906133e8565b60206040518083038186803b15801561157f57600080fd5b505afa158015611593573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115b791906129f7565b73ffffffffffffffffffffffffffffffffffffffff1614806115df57506115de8383612017565b5b905092915050565b6115ef611869565b73ffffffffffffffffffffffffffffffffffffffff1661160d610e66565b73ffffffffffffffffffffffffffffffffffffffff1614611663576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161165a90613628565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156116d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116ca90613488565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a380600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166118e4836109cf565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611935826117fd565b611974576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161196b90613528565b60405180910390fd5b600061197f836109cf565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806119ee57508373ffffffffffffffffffffffffffffffffffffffff166119d6846105a5565b73ffffffffffffffffffffffffffffffffffffffff16145b806119ff57506119fe81856114f5565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611a28826109cf565b73ffffffffffffffffffffffffffffffffffffffff1614611a7e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a7590613648565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611aee576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ae5906134c8565b60405180910390fd5b611af98383836120ab565b611b04600082611871565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611b549190613823565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611bab919061379c565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b611c7e8282604051806020016040528060008152506121a5565b5050565b611c8d848484611a08565b611c9984848484612200565b611cd8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ccf90613468565b60405180910390fd5b50505050565b606060088054611ced90613924565b80601f0160208091040260200160405190810160405280929190818152602001828054611d1990613924565b8015611d665780601f10611d3b57610100808354040283529160200191611d66565b820191906000526020600020905b815481529060010190602001808311611d4957829003601f168201915b5050505050905090565b60606000821415611db8576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050611f18565b600082905060005b60008214611dea578080611dd390613987565b915050600a82611de391906137f2565b9150611dc0565b60008167ffffffffffffffff811115611e2c577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611e5e5781602001600182028036833780820191505090505b5090505b60008514611f1157600182611e779190613823565b9150600a85611e869190613a08565b6030611e92919061379c565b60f81b818381518110611ece577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85611f0a91906137f2565b9450611e62565b8093505050505b919050565b600081604051602001611f309190613299565b604051602081830303815290604052805190602001209050919050565b600080600080604185511415611f7a576020850151925060408501519150606085015160001a9050612000565b604085511415611fc4576040850151602086015193507f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81169250601b8160ff1c01915050611fff565b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ff690613428565b60405180910390fd5b5b61200c86828585612397565b935050505092915050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663777e5872306040518263ffffffff1660e01b815260040161210691906132bf565b60206040518083038186803b15801561211e57600080fd5b505afa158015612132573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121569190612c13565b612195576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161218c906133c8565b60405180910390fd5b6121a0838383612522565b505050565b6121af8383612527565b6121bc6000848484612200565b6121fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121f290613468565b60405180910390fd5b505050565b60006122218473ffffffffffffffffffffffffffffffffffffffff166126f5565b1561238a578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261224a611869565b8786866040518563ffffffff1660e01b815260040161226c94939291906132da565b602060405180830381600087803b15801561228657600080fd5b505af19250505080156122b757506040513d601f19601f820116820180604052508101906122b49190612c65565b60015b61233a573d80600081146122e7576040519150601f19603f3d011682016040523d82523d6000602084013e6122ec565b606091505b50600081511415612332576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161232990613468565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061238f565b600190505b949350505050565b60007f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08260001c11156123ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123f690613508565b60405180910390fd5b601b8460ff1614806124145750601c8460ff16145b612453576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161244a906135a8565b60405180910390fd5b6000600186868686604051600081526020016040526040516124789493929190613341565b6020604051602081039080840390855afa15801561249a573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612516576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161250d906133a8565b60405180910390fd5b80915050949350505050565b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612597576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161258e906135e8565b60405180910390fd5b6125a0816117fd565b156125e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125d7906134a8565b60405180910390fd5b6125ec600083836120ab565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461263c919061379c565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b82805461271490613924565b90600052602060002090601f016020900481019282612736576000855561277d565b82601f1061274f57803560ff191683800117855561277d565b8280016001018555821561277d579182015b8281111561277c578235825591602001919060010190612761565b5b50905061278a919061278e565b5090565b5b808211156127a757600081600090555060010161278f565b5090565b60006127be6127b984613728565b613703565b9050828152602081018484840111156127d657600080fd5b6127e18482856138e2565b509392505050565b6000813590506127f8816141a0565b92915050565b60008151905061280d816141a0565b92915050565b60008083601f84011261282557600080fd5b8235905067ffffffffffffffff81111561283e57600080fd5b60208301915083602082028301111561285657600080fd5b9250929050565b60008083601f84011261286f57600080fd5b8235905067ffffffffffffffff81111561288857600080fd5b6020830191508360208202830111156128a057600080fd5b9250929050565b6000813590506128b6816141b7565b92915050565b6000815190506128cb816141b7565b92915050565b6000813590506128e0816141ce565b92915050565b6000815190506128f5816141ce565b92915050565b60008083601f84011261290d57600080fd5b8235905067ffffffffffffffff81111561292657600080fd5b60208301915083600182028301111561293e57600080fd5b9250929050565b600082601f83011261295657600080fd5b81356129668482602086016127ab565b91505092915050565b60008083601f84011261298157600080fd5b8235905067ffffffffffffffff81111561299a57600080fd5b6020830191508360018202830111156129b257600080fd5b9250929050565b6000813590506129c8816141e5565b92915050565b6000602082840312156129e057600080fd5b60006129ee848285016127e9565b91505092915050565b600060208284031215612a0957600080fd5b6000612a17848285016127fe565b91505092915050565b60008060408385031215612a3357600080fd5b6000612a41858286016127e9565b9250506020612a52858286016127e9565b9150509250929050565b600080600060608486031215612a7157600080fd5b6000612a7f868287016127e9565b9350506020612a90868287016127e9565b9250506040612aa1868287016129b9565b9150509250925092565b60008060008060808587031215612ac157600080fd5b6000612acf878288016127e9565b9450506020612ae0878288016127e9565b9350506040612af1878288016129b9565b925050606085013567ffffffffffffffff811115612b0e57600080fd5b612b1a87828801612945565b91505092959194509250565b60008060408385031215612b3957600080fd5b6000612b47858286016127e9565b9250506020612b58858286016128a7565b9150509250929050565b60008060408385031215612b7557600080fd5b6000612b83858286016127e9565b9250506020612b94858286016129b9565b9150509250929050565b60008060008060408587031215612bb457600080fd5b600085013567ffffffffffffffff811115612bce57600080fd5b612bda87828801612813565b9450945050602085013567ffffffffffffffff811115612bf957600080fd5b612c058782880161285d565b925092505092959194509250565b600060208284031215612c2557600080fd5b6000612c33848285016128bc565b91505092915050565b600060208284031215612c4e57600080fd5b6000612c5c848285016128d1565b91505092915050565b600060208284031215612c7757600080fd5b6000612c85848285016128e6565b91505092915050565b60008060208385031215612ca157600080fd5b600083013567ffffffffffffffff811115612cbb57600080fd5b612cc78582860161296f565b92509250509250929050565b600060208284031215612ce557600080fd5b6000612cf3848285016129b9565b91505092915050565b600080600060408486031215612d1157600080fd5b6000612d1f868287016129b9565b935050602084013567ffffffffffffffff811115612d3c57600080fd5b612d48868287016128fb565b92509250509250925092565b612d5d81613857565b82525050565b612d74612d6f82613857565b6139d0565b82525050565b612d8381613869565b82525050565b612d9281613875565b82525050565b612da9612da482613875565b6139e2565b82525050565b6000612dba82613759565b612dc4818561376f565b9350612dd48185602086016138f1565b612ddd81613af5565b840191505092915050565b6000612df382613764565b612dfd8185613780565b9350612e0d8185602086016138f1565b612e1681613af5565b840191505092915050565b6000612e2c82613764565b612e368185613791565b9350612e468185602086016138f1565b80840191505092915050565b6000612e5f601883613780565b9150612e6a82613b13565b602082019050919050565b6000612e82601783613780565b9150612e8d82613b3c565b602082019050919050565b6000612ea5600683613780565b9150612eb082613b65565b602082019050919050565b6000612ec8601783613780565b9150612ed382613b8e565b602082019050919050565b6000612eeb601f83613780565b9150612ef682613bb7565b602082019050919050565b6000612f0e601c83613791565b9150612f1982613be0565b601c82019050919050565b6000612f31602183613780565b9150612f3c82613c09565b604082019050919050565b6000612f54603283613780565b9150612f5f82613c58565b604082019050919050565b6000612f77602683613780565b9150612f8282613ca7565b604082019050919050565b6000612f9a601c83613780565b9150612fa582613cf6565b602082019050919050565b6000612fbd602483613780565b9150612fc882613d1f565b604082019050919050565b6000612fe0601983613780565b9150612feb82613d6e565b602082019050919050565b6000613003602283613780565b915061300e82613d97565b604082019050919050565b6000613026602c83613780565b915061303182613de6565b604082019050919050565b6000613049603883613780565b915061305482613e35565b604082019050919050565b600061306c602a83613780565b915061307782613e84565b604082019050919050565b600061308f602983613780565b915061309a82613ed3565b604082019050919050565b60006130b2602283613780565b91506130bd82613f22565b604082019050919050565b60006130d5601183613780565b91506130e082613f71565b602082019050919050565b60006130f8602083613780565b915061310382613f9a565b602082019050919050565b600061311b602c83613780565b915061312682613fc3565b604082019050919050565b600061313e602083613780565b915061314982614012565b602082019050919050565b6000613161602983613780565b915061316c8261403b565b604082019050919050565b6000613184602f83613780565b915061318f8261408a565b604082019050919050565b60006131a7602183613780565b91506131b2826140d9565b604082019050919050565b60006131ca603183613780565b91506131d582614128565b604082019050919050565b60006131ed601883613780565b91506131f882614177565b602082019050919050565b61320c816138cb565b82525050565b61322361321e826138cb565b6139fe565b82525050565b613232816138d5565b82525050565b60006132448286612d63565b6014820191506132548285613212565b6020820191506132648284612d63565b601482019150819050949350505050565b60006132818285612e21565b915061328d8284612e21565b91508190509392505050565b60006132a482612f01565b91506132b08284612d98565b60208201915081905092915050565b60006020820190506132d46000830184612d54565b92915050565b60006080820190506132ef6000830187612d54565b6132fc6020830186612d54565b6133096040830185613203565b818103606083015261331b8184612daf565b905095945050505050565b600060208201905061333b6000830184612d7a565b92915050565b60006080820190506133566000830187612d89565b6133636020830186613229565b6133706040830185612d89565b61337d6060830184612d89565b95945050505050565b600060208201905081810360008301526133a08184612de8565b905092915050565b600060208201905081810360008301526133c181612e52565b9050919050565b600060208201905081810360008301526133e181612e75565b9050919050565b6000602082019050818103600083015261340181612e98565b9050919050565b6000602082019050818103600083015261342181612ebb565b9050919050565b6000602082019050818103600083015261344181612ede565b9050919050565b6000602082019050818103600083015261346181612f24565b9050919050565b6000602082019050818103600083015261348181612f47565b9050919050565b600060208201905081810360008301526134a181612f6a565b9050919050565b600060208201905081810360008301526134c181612f8d565b9050919050565b600060208201905081810360008301526134e181612fb0565b9050919050565b6000602082019050818103600083015261350181612fd3565b9050919050565b6000602082019050818103600083015261352181612ff6565b9050919050565b6000602082019050818103600083015261354181613019565b9050919050565b600060208201905081810360008301526135618161303c565b9050919050565b600060208201905081810360008301526135818161305f565b9050919050565b600060208201905081810360008301526135a181613082565b9050919050565b600060208201905081810360008301526135c1816130a5565b9050919050565b600060208201905081810360008301526135e1816130c8565b9050919050565b60006020820190508181036000830152613601816130eb565b9050919050565b600060208201905081810360008301526136218161310e565b9050919050565b6000602082019050818103600083015261364181613131565b9050919050565b6000602082019050818103600083015261366181613154565b9050919050565b6000602082019050818103600083015261368181613177565b9050919050565b600060208201905081810360008301526136a18161319a565b9050919050565b600060208201905081810360008301526136c1816131bd565b9050919050565b600060208201905081810360008301526136e1816131e0565b9050919050565b60006020820190506136fd6000830184613203565b92915050565b600061370d61371e565b90506137198282613956565b919050565b6000604051905090565b600067ffffffffffffffff82111561374357613742613ac6565b5b61374c82613af5565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b60006137a7826138cb565b91506137b2836138cb565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156137e7576137e6613a39565b5b828201905092915050565b60006137fd826138cb565b9150613808836138cb565b92508261381857613817613a68565b5b828204905092915050565b600061382e826138cb565b9150613839836138cb565b92508282101561384c5761384b613a39565b5b828203905092915050565b6000613862826138ab565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b8381101561390f5780820151818401526020810190506138f4565b8381111561391e576000848401525b50505050565b6000600282049050600182168061393c57607f821691505b602082108114156139505761394f613a97565b5b50919050565b61395f82613af5565b810181811067ffffffffffffffff8211171561397e5761397d613ac6565b5b80604052505050565b6000613992826138cb565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156139c5576139c4613a39565b5b600182019050919050565b60006139db826139ec565b9050919050565b6000819050919050565b60006139f782613b06565b9050919050565b6000819050919050565b6000613a13826138cb565b9150613a1e836138cb565b925082613a2e57613a2d613a68565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b7f5472616e73666572206973206e6f7420656e61626c6564000000000000000000600082015250565b7f726573616c650000000000000000000000000000000000000000000000000000600082015250565b7f43616e6e6f742064657374726f7920636f6e7472616374000000000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b7f53656e6465722063616e6e6f74206d696e7420286e6f7420617070726f76656460008201527f2900000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f5369676e617475726520696e76616c6964000000000000000000000000000000600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f41727261797320617265206e6f742073616d652073697a650000000000000000600082015250565b6141a981613857565b81146141b457600080fd5b50565b6141c081613869565b81146141cb57600080fd5b50565b6141d78161387f565b81146141e257600080fd5b50565b6141ee816138cb565b81146141f957600080fd5b5056fea26469706673582212203edd1b5ff2867a9907d1a159401196e3392ba97675daf80d5d18f63909da891864736f6c634300080400330000000000000000000000006ea2fa1df5eed83a5117e7ec0d892018022aa61d000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000001343726561746f6b6961204f726967696e616c730000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044352544f00000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101425760003560e01c806377da5601116100b8578063c87b56dd1161007c578063c87b56dd14610339578063db7fd40814610369578063de7b8ffe14610399578063e58306f9146103b5578063e985e9c5146103e5578063f2fde38b1461041557610142565b806377da5601146102a95780638da5cb5b146102c557806395d89b41146102e3578063a22cb46514610301578063b88d4fde1461031d57610142565b806323b872dd1161010a57806323b872dd146101eb57806342842e0e1461020757806355f804b3146102235780636352211e1461023f57806370a082311461026f578063715018a61461029f57610142565b806301ffc9a71461014757806306fdde0314610177578063081812fc14610195578063092a5cce146101c5578063095ea7b3146101cf575b600080fd5b610161600480360381019061015c9190612c3c565b610431565b60405161016e9190613326565b60405180910390f35b61017f610513565b60405161018c9190613386565b60405180910390f35b6101af60048036038101906101aa9190612cd3565b6105a5565b6040516101bc91906132bf565b60405180910390f35b6101cd61062a565b005b6101e960048036038101906101e49190612b62565b6107a5565b005b61020560048036038101906102009190612a5c565b6108bd565b005b610221600480360381019061021c9190612a5c565b61091d565b005b61023d60048036038101906102389190612c8e565b61093d565b005b61025960048036038101906102549190612cd3565b6109cf565b60405161026691906132bf565b60405180910390f35b610289600480360381019061028491906129ce565b610a81565b60405161029691906136e8565b60405180910390f35b6102a7610b39565b005b6102c360048036038101906102be9190612b9e565b610c76565b005b6102cd610e66565b6040516102da91906132bf565b60405180910390f35b6102eb610e90565b6040516102f89190613386565b60405180910390f35b61031b60048036038101906103169190612b26565b610f22565b005b61033760048036038101906103329190612aab565b6110a3565b005b610353600480360381019061034e9190612cd3565b611105565b6040516103609190613386565b60405180910390f35b610383600480360381019061037e9190612cfc565b6111ac565b60405161039091906136e8565b60405180910390f35b6103b360048036038101906103ae91906129ce565b611336565b005b6103cf60048036038101906103ca9190612b62565b6113f6565b6040516103dc91906136e8565b60405180910390f35b6103ff60048036038101906103fa9190612a20565b6114f5565b60405161040c9190613326565b60405180910390f35b61042f600480360381019061042a91906129ce565b6115e7565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806104fc57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061050c575061050b82611793565b5b9050919050565b60606000805461052290613924565b80601f016020809104026020016040519081016040528092919081815260200182805461054e90613924565b801561059b5780601f106105705761010080835404028352916020019161059b565b820191906000526020600020905b81548152906001019060200180831161057e57829003601f168201915b5050505050905090565b60006105b0826117fd565b6105ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105e690613608565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b610632611869565b73ffffffffffffffffffffffffffffffffffffffff16610650610e66565b73ffffffffffffffffffffffffffffffffffffffff16146106a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161069d90613628565b60405180910390fd5b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663646116266040518163ffffffff1660e01b815260040160206040518083038186803b15801561070e57600080fd5b505afa158015610722573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107469190612c13565b610785576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161077c90613408565b60405180910390fd5b61078d610e66565b73ffffffffffffffffffffffffffffffffffffffff16ff5b60006107b0826109cf565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610821576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161081890613688565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610840611869565b73ffffffffffffffffffffffffffffffffffffffff16148061086f575061086e81610869611869565b6114f5565b5b6108ae576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108a590613548565b60405180910390fd5b6108b88383611871565b505050565b6108ce6108c8611869565b8261192a565b61090d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610904906136a8565b60405180910390fd5b610918838383611a08565b505050565b610938838383604051806020016040528060008152506110a3565b505050565b610945611869565b73ffffffffffffffffffffffffffffffffffffffff16610963610e66565b73ffffffffffffffffffffffffffffffffffffffff16146109b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109b090613628565b60405180910390fd5b8181600891906109ca929190612708565b505050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610a78576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a6f90613588565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610af2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ae990613568565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610b41611869565b73ffffffffffffffffffffffffffffffffffffffff16610b5f610e66565b73ffffffffffffffffffffffffffffffffffffffff1614610bb5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bac90613628565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663c2ba4744336040518263ffffffff1660e01b8152600401610cd191906132bf565b60206040518083038186803b158015610ce957600080fd5b505afa158015610cfd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d219190612c13565b610d60576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d5790613448565b60405180910390fd5b818190508484905014610da8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d9f906136c8565b60405180910390fd5b60005b84849050811015610e5f57610e4c858583818110610df2577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002016020810190610e0791906129ce565b848484818110610e40577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020135611c64565b8080610e5790613987565b915050610dab565b5050505050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054610e9f90613924565b80601f0160208091040260200160405190810160405280929190818152602001828054610ecb90613924565b8015610f185780601f10610eed57610100808354040283529160200191610f18565b820191906000526020600020905b815481529060010190602001808311610efb57829003601f168201915b5050505050905090565b610f2a611869565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610f98576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f8f906134e8565b60405180910390fd5b8060056000610fa5611869565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611052611869565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516110979190613326565b60405180910390a35050565b6110b46110ae611869565b8361192a565b6110f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110ea906136a8565b60405180910390fd5b6110ff84848484611c82565b50505050565b6060611110826117fd565b61114f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161114690613668565b60405180910390fd5b6000611159611cde565b9050600081511161117957604051806020016040528060008152506111a4565b8061118384611d70565b604051602001611194929190613275565b6040516020818303038152906040525b915050919050565b6000806111e23086336040516020016111c793929190613238565b60405160208183030381529060405280519060200120611f1d565b905060006112348286868080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050611f4d565b9050600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166315bbda62826040518263ffffffff1660e01b815260040161129191906132bf565b60206040518083038186803b1580156112a957600080fd5b505afa1580156112bd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112e19190612c13565b611320576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611317906135c8565b60405180910390fd5b61132a3387611c64565b85925050509392505050565b61133e611869565b73ffffffffffffffffffffffffffffffffffffffff1661135c610e66565b73ffffffffffffffffffffffffffffffffffffffff16146113b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113a990613628565b60405180910390fd5b80600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663c2ba4744336040518263ffffffff1660e01b815260040161145391906132bf565b60206040518083038186803b15801561146b57600080fd5b505afa15801561147f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114a39190612c13565b6114e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114d990613448565b60405180910390fd5b6114ec8383611c64565b81905092915050565b60008173ffffffffffffffffffffffffffffffffffffffff16600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663bf40fac16040518163ffffffff1660e01b8152600401611567906133e8565b60206040518083038186803b15801561157f57600080fd5b505afa158015611593573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115b791906129f7565b73ffffffffffffffffffffffffffffffffffffffff1614806115df57506115de8383612017565b5b905092915050565b6115ef611869565b73ffffffffffffffffffffffffffffffffffffffff1661160d610e66565b73ffffffffffffffffffffffffffffffffffffffff1614611663576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161165a90613628565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156116d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116ca90613488565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a380600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166118e4836109cf565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611935826117fd565b611974576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161196b90613528565b60405180910390fd5b600061197f836109cf565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806119ee57508373ffffffffffffffffffffffffffffffffffffffff166119d6846105a5565b73ffffffffffffffffffffffffffffffffffffffff16145b806119ff57506119fe81856114f5565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611a28826109cf565b73ffffffffffffffffffffffffffffffffffffffff1614611a7e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a7590613648565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611aee576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ae5906134c8565b60405180910390fd5b611af98383836120ab565b611b04600082611871565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611b549190613823565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611bab919061379c565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b611c7e8282604051806020016040528060008152506121a5565b5050565b611c8d848484611a08565b611c9984848484612200565b611cd8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ccf90613468565b60405180910390fd5b50505050565b606060088054611ced90613924565b80601f0160208091040260200160405190810160405280929190818152602001828054611d1990613924565b8015611d665780601f10611d3b57610100808354040283529160200191611d66565b820191906000526020600020905b815481529060010190602001808311611d4957829003601f168201915b5050505050905090565b60606000821415611db8576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050611f18565b600082905060005b60008214611dea578080611dd390613987565b915050600a82611de391906137f2565b9150611dc0565b60008167ffffffffffffffff811115611e2c577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611e5e5781602001600182028036833780820191505090505b5090505b60008514611f1157600182611e779190613823565b9150600a85611e869190613a08565b6030611e92919061379c565b60f81b818381518110611ece577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85611f0a91906137f2565b9450611e62565b8093505050505b919050565b600081604051602001611f309190613299565b604051602081830303815290604052805190602001209050919050565b600080600080604185511415611f7a576020850151925060408501519150606085015160001a9050612000565b604085511415611fc4576040850151602086015193507f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81169250601b8160ff1c01915050611fff565b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ff690613428565b60405180910390fd5b5b61200c86828585612397565b935050505092915050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663777e5872306040518263ffffffff1660e01b815260040161210691906132bf565b60206040518083038186803b15801561211e57600080fd5b505afa158015612132573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121569190612c13565b612195576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161218c906133c8565b60405180910390fd5b6121a0838383612522565b505050565b6121af8383612527565b6121bc6000848484612200565b6121fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121f290613468565b60405180910390fd5b505050565b60006122218473ffffffffffffffffffffffffffffffffffffffff166126f5565b1561238a578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261224a611869565b8786866040518563ffffffff1660e01b815260040161226c94939291906132da565b602060405180830381600087803b15801561228657600080fd5b505af19250505080156122b757506040513d601f19601f820116820180604052508101906122b49190612c65565b60015b61233a573d80600081146122e7576040519150601f19603f3d011682016040523d82523d6000602084013e6122ec565b606091505b50600081511415612332576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161232990613468565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061238f565b600190505b949350505050565b60007f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08260001c11156123ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123f690613508565b60405180910390fd5b601b8460ff1614806124145750601c8460ff16145b612453576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161244a906135a8565b60405180910390fd5b6000600186868686604051600081526020016040526040516124789493929190613341565b6020604051602081039080840390855afa15801561249a573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612516576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161250d906133a8565b60405180910390fd5b80915050949350505050565b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612597576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161258e906135e8565b60405180910390fd5b6125a0816117fd565b156125e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125d7906134a8565b60405180910390fd5b6125ec600083836120ab565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461263c919061379c565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b82805461271490613924565b90600052602060002090601f016020900481019282612736576000855561277d565b82601f1061274f57803560ff191683800117855561277d565b8280016001018555821561277d579182015b8281111561277c578235825591602001919060010190612761565b5b50905061278a919061278e565b5090565b5b808211156127a757600081600090555060010161278f565b5090565b60006127be6127b984613728565b613703565b9050828152602081018484840111156127d657600080fd5b6127e18482856138e2565b509392505050565b6000813590506127f8816141a0565b92915050565b60008151905061280d816141a0565b92915050565b60008083601f84011261282557600080fd5b8235905067ffffffffffffffff81111561283e57600080fd5b60208301915083602082028301111561285657600080fd5b9250929050565b60008083601f84011261286f57600080fd5b8235905067ffffffffffffffff81111561288857600080fd5b6020830191508360208202830111156128a057600080fd5b9250929050565b6000813590506128b6816141b7565b92915050565b6000815190506128cb816141b7565b92915050565b6000813590506128e0816141ce565b92915050565b6000815190506128f5816141ce565b92915050565b60008083601f84011261290d57600080fd5b8235905067ffffffffffffffff81111561292657600080fd5b60208301915083600182028301111561293e57600080fd5b9250929050565b600082601f83011261295657600080fd5b81356129668482602086016127ab565b91505092915050565b60008083601f84011261298157600080fd5b8235905067ffffffffffffffff81111561299a57600080fd5b6020830191508360018202830111156129b257600080fd5b9250929050565b6000813590506129c8816141e5565b92915050565b6000602082840312156129e057600080fd5b60006129ee848285016127e9565b91505092915050565b600060208284031215612a0957600080fd5b6000612a17848285016127fe565b91505092915050565b60008060408385031215612a3357600080fd5b6000612a41858286016127e9565b9250506020612a52858286016127e9565b9150509250929050565b600080600060608486031215612a7157600080fd5b6000612a7f868287016127e9565b9350506020612a90868287016127e9565b9250506040612aa1868287016129b9565b9150509250925092565b60008060008060808587031215612ac157600080fd5b6000612acf878288016127e9565b9450506020612ae0878288016127e9565b9350506040612af1878288016129b9565b925050606085013567ffffffffffffffff811115612b0e57600080fd5b612b1a87828801612945565b91505092959194509250565b60008060408385031215612b3957600080fd5b6000612b47858286016127e9565b9250506020612b58858286016128a7565b9150509250929050565b60008060408385031215612b7557600080fd5b6000612b83858286016127e9565b9250506020612b94858286016129b9565b9150509250929050565b60008060008060408587031215612bb457600080fd5b600085013567ffffffffffffffff811115612bce57600080fd5b612bda87828801612813565b9450945050602085013567ffffffffffffffff811115612bf957600080fd5b612c058782880161285d565b925092505092959194509250565b600060208284031215612c2557600080fd5b6000612c33848285016128bc565b91505092915050565b600060208284031215612c4e57600080fd5b6000612c5c848285016128d1565b91505092915050565b600060208284031215612c7757600080fd5b6000612c85848285016128e6565b91505092915050565b60008060208385031215612ca157600080fd5b600083013567ffffffffffffffff811115612cbb57600080fd5b612cc78582860161296f565b92509250509250929050565b600060208284031215612ce557600080fd5b6000612cf3848285016129b9565b91505092915050565b600080600060408486031215612d1157600080fd5b6000612d1f868287016129b9565b935050602084013567ffffffffffffffff811115612d3c57600080fd5b612d48868287016128fb565b92509250509250925092565b612d5d81613857565b82525050565b612d74612d6f82613857565b6139d0565b82525050565b612d8381613869565b82525050565b612d9281613875565b82525050565b612da9612da482613875565b6139e2565b82525050565b6000612dba82613759565b612dc4818561376f565b9350612dd48185602086016138f1565b612ddd81613af5565b840191505092915050565b6000612df382613764565b612dfd8185613780565b9350612e0d8185602086016138f1565b612e1681613af5565b840191505092915050565b6000612e2c82613764565b612e368185613791565b9350612e468185602086016138f1565b80840191505092915050565b6000612e5f601883613780565b9150612e6a82613b13565b602082019050919050565b6000612e82601783613780565b9150612e8d82613b3c565b602082019050919050565b6000612ea5600683613780565b9150612eb082613b65565b602082019050919050565b6000612ec8601783613780565b9150612ed382613b8e565b602082019050919050565b6000612eeb601f83613780565b9150612ef682613bb7565b602082019050919050565b6000612f0e601c83613791565b9150612f1982613be0565b601c82019050919050565b6000612f31602183613780565b9150612f3c82613c09565b604082019050919050565b6000612f54603283613780565b9150612f5f82613c58565b604082019050919050565b6000612f77602683613780565b9150612f8282613ca7565b604082019050919050565b6000612f9a601c83613780565b9150612fa582613cf6565b602082019050919050565b6000612fbd602483613780565b9150612fc882613d1f565b604082019050919050565b6000612fe0601983613780565b9150612feb82613d6e565b602082019050919050565b6000613003602283613780565b915061300e82613d97565b604082019050919050565b6000613026602c83613780565b915061303182613de6565b604082019050919050565b6000613049603883613780565b915061305482613e35565b604082019050919050565b600061306c602a83613780565b915061307782613e84565b604082019050919050565b600061308f602983613780565b915061309a82613ed3565b604082019050919050565b60006130b2602283613780565b91506130bd82613f22565b604082019050919050565b60006130d5601183613780565b91506130e082613f71565b602082019050919050565b60006130f8602083613780565b915061310382613f9a565b602082019050919050565b600061311b602c83613780565b915061312682613fc3565b604082019050919050565b600061313e602083613780565b915061314982614012565b602082019050919050565b6000613161602983613780565b915061316c8261403b565b604082019050919050565b6000613184602f83613780565b915061318f8261408a565b604082019050919050565b60006131a7602183613780565b91506131b2826140d9565b604082019050919050565b60006131ca603183613780565b91506131d582614128565b604082019050919050565b60006131ed601883613780565b91506131f882614177565b602082019050919050565b61320c816138cb565b82525050565b61322361321e826138cb565b6139fe565b82525050565b613232816138d5565b82525050565b60006132448286612d63565b6014820191506132548285613212565b6020820191506132648284612d63565b601482019150819050949350505050565b60006132818285612e21565b915061328d8284612e21565b91508190509392505050565b60006132a482612f01565b91506132b08284612d98565b60208201915081905092915050565b60006020820190506132d46000830184612d54565b92915050565b60006080820190506132ef6000830187612d54565b6132fc6020830186612d54565b6133096040830185613203565b818103606083015261331b8184612daf565b905095945050505050565b600060208201905061333b6000830184612d7a565b92915050565b60006080820190506133566000830187612d89565b6133636020830186613229565b6133706040830185612d89565b61337d6060830184612d89565b95945050505050565b600060208201905081810360008301526133a08184612de8565b905092915050565b600060208201905081810360008301526133c181612e52565b9050919050565b600060208201905081810360008301526133e181612e75565b9050919050565b6000602082019050818103600083015261340181612e98565b9050919050565b6000602082019050818103600083015261342181612ebb565b9050919050565b6000602082019050818103600083015261344181612ede565b9050919050565b6000602082019050818103600083015261346181612f24565b9050919050565b6000602082019050818103600083015261348181612f47565b9050919050565b600060208201905081810360008301526134a181612f6a565b9050919050565b600060208201905081810360008301526134c181612f8d565b9050919050565b600060208201905081810360008301526134e181612fb0565b9050919050565b6000602082019050818103600083015261350181612fd3565b9050919050565b6000602082019050818103600083015261352181612ff6565b9050919050565b6000602082019050818103600083015261354181613019565b9050919050565b600060208201905081810360008301526135618161303c565b9050919050565b600060208201905081810360008301526135818161305f565b9050919050565b600060208201905081810360008301526135a181613082565b9050919050565b600060208201905081810360008301526135c1816130a5565b9050919050565b600060208201905081810360008301526135e1816130c8565b9050919050565b60006020820190508181036000830152613601816130eb565b9050919050565b600060208201905081810360008301526136218161310e565b9050919050565b6000602082019050818103600083015261364181613131565b9050919050565b6000602082019050818103600083015261366181613154565b9050919050565b6000602082019050818103600083015261368181613177565b9050919050565b600060208201905081810360008301526136a18161319a565b9050919050565b600060208201905081810360008301526136c1816131bd565b9050919050565b600060208201905081810360008301526136e1816131e0565b9050919050565b60006020820190506136fd6000830184613203565b92915050565b600061370d61371e565b90506137198282613956565b919050565b6000604051905090565b600067ffffffffffffffff82111561374357613742613ac6565b5b61374c82613af5565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b60006137a7826138cb565b91506137b2836138cb565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156137e7576137e6613a39565b5b828201905092915050565b60006137fd826138cb565b9150613808836138cb565b92508261381857613817613a68565b5b828204905092915050565b600061382e826138cb565b9150613839836138cb565b92508282101561384c5761384b613a39565b5b828203905092915050565b6000613862826138ab565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b8381101561390f5780820151818401526020810190506138f4565b8381111561391e576000848401525b50505050565b6000600282049050600182168061393c57607f821691505b602082108114156139505761394f613a97565b5b50919050565b61395f82613af5565b810181811067ffffffffffffffff8211171561397e5761397d613ac6565b5b80604052505050565b6000613992826138cb565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156139c5576139c4613a39565b5b600182019050919050565b60006139db826139ec565b9050919050565b6000819050919050565b60006139f782613b06565b9050919050565b6000819050919050565b6000613a13826138cb565b9150613a1e836138cb565b925082613a2e57613a2d613a68565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b7f5472616e73666572206973206e6f7420656e61626c6564000000000000000000600082015250565b7f726573616c650000000000000000000000000000000000000000000000000000600082015250565b7f43616e6e6f742064657374726f7920636f6e7472616374000000000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b7f53656e6465722063616e6e6f74206d696e7420286e6f7420617070726f76656460008201527f2900000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f5369676e617475726520696e76616c6964000000000000000000000000000000600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f41727261797320617265206e6f742073616d652073697a650000000000000000600082015250565b6141a981613857565b81146141b457600080fd5b50565b6141c081613869565b81146141cb57600080fd5b50565b6141d78161387f565b81146141e257600080fd5b50565b6141ee816138cb565b81146141f957600080fd5b5056fea26469706673582212203edd1b5ff2867a9907d1a159401196e3392ba97675daf80d5d18f63909da891864736f6c63430008040033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000006ea2fa1df5eed83a5117e7ec0d892018022aa61d000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000001343726561746f6b6961204f726967696e616c730000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044352544f00000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : configContract (address): 0x6ea2FA1dF5EeD83a5117E7Ec0D892018022Aa61d
Arg [1] : contractName (string): Creatokia Originals
Arg [2] : contractSymbol (string): CRTO
-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 0000000000000000000000006ea2fa1df5eed83a5117e7ec0d892018022aa61d
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000013
Arg [4] : 43726561746f6b6961204f726967696e616c7300000000000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [6] : 4352544f00000000000000000000000000000000000000000000000000000000
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.