Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
0 ENK
Holders
540
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
4 ENKLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
EncodeKey
Compiler Version
v0.8.7+commit.e28d00a7
Optimization Enabled:
Yes with 2 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity >=0.8.7; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; contract EncodeKey is ERC721 { uint16[] public keyTypes = [1, 1, 1, 1]; uint16[] public startOfBlock = [0, 50, 450, 1450]; string bURI = "https://api.encode.network/metadata/keys/"; constructor() ERC721("Encode Key", "ENK") { uint256 tokenId = startOfBlock[3] + keyTypes[3]; _mint(msg.sender, tokenId); keyTypes[3]++; } function hasMasterKey(address _owner) public view returns (bool) { for (uint16 i = 1; i < keyTypes[3]; i++) { if (ownerOf(startOfBlock[3] + i) == _owner) { return true; } } return false; } function setURI(string calldata u) public { require(hasMasterKey(msg.sender), "You need a master key for this"); bURI = u; } function lastIndex() public view returns (uint256) { return startOfBlock[3] + keyTypes[3] - 1; } function tokenOfOwnerByIndex(address _owner, uint256 _index) public view returns (uint256) { uint256 balance = balanceOf(_owner); require(_index < balance, "index is greater than balance"); for (uint16 k = 0; k < keyTypes.length; k++) { uint16 end = startOfBlock[k] + keyTypes[k]; for (uint16 start = startOfBlock[k] + 1; start < end; start++) { if (ownerOf(start) == _owner) { if (_index == 0) { return start; } _index--; } } } revert("no token found"); } function tokensOfOwner(address _owner) public view returns (uint256[] memory) { uint256 balance = balanceOf(_owner); uint256[] memory tokens = new uint256[](balance); uint256 index = 0; for (uint16 k = 0; k < keyTypes.length; k++) { uint16 end = startOfBlock[k] + keyTypes[k]; for (uint16 start = startOfBlock[k] + 1; start < end; start++) { if (ownerOf(start) == _owner) { tokens[index] = start; index++; } } } return tokens; } function mint(address _to, uint8 _quantity, uint8 _type) public { require(hasMasterKey(msg.sender), "must have master key"); require(_type == 3 || startOfBlock[_type] + keyTypes[_type] + _quantity <= (startOfBlock[_type + 1] + 1), "not enough tokens to mint"); for (uint8 i = 0; i < _quantity; i++) { uint256 tokenId = startOfBlock[_type] + keyTypes[_type] + i; _mint(_to, tokenId); } keyTypes[_type] += _quantity; } function multiMint(address[] calldata _to, uint8[] calldata _quantity, uint8[] calldata _types) public { require(hasMasterKey(msg.sender), "must have master key"); require(_to.length == _quantity.length && _to.length == _types.length, "to, quantity and types arrays must be the same length"); uint16[] memory types = new uint16[](4); for (uint8 i = 0; i < _to.length; i++) { address to = _to[i]; uint16 quantity = _quantity[i]; uint16 _type = _types[i]; require(_type == 3 || (startOfBlock[_type] + keyTypes[_type] + types[_type] + quantity <= (startOfBlock[_type + 1] + 1)), "not enough tokens to mint"); for (uint16 j = 0; j < quantity; j++) { uint256 tokenId = startOfBlock[_type] + keyTypes[_type] + types[_type]++; _mint(to, tokenId); } } if (types[0] > 0) { keyTypes[0] += types[0]; } if (types[1] > 0) { keyTypes[1] += types[1]; } if (types[2] > 0) { keyTypes[2] += types[2]; } if (types[3] > 0) { keyTypes[3] += types[3]; } } function _baseURI() internal view override returns (string memory) { return bURI; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: address zero is not a valid owner"); 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: invalid token ID"); 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) { _requireMinted(tokenId); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overridden 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 token owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { _requireMinted(tokenId); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token 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: caller is not token 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) { address owner = ERC721.ownerOf(tokenId); return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); _afterTokenTransfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); _afterTokenTransfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); _afterTokenTransfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits an {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits an {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Reverts if the `tokenId` has not been minted yet. */ function _requireMinted(uint256 tokenId) internal view virtual { require(_exists(tokenId), "ERC721: invalid token ID"); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { /// @solidity memory-safe-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` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
{ "remappings": [], "optimizer": { "enabled": true, "runs": 2 }, "evmVersion": "london", "libraries": {}, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"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":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"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"}],"name":"hasMasterKey","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"keyTypes","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint8","name":"_quantity","type":"uint8"},{"internalType":"uint8","name":"_type","type":"uint8"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_to","type":"address[]"},{"internalType":"uint8[]","name":"_quantity","type":"uint8[]"},{"internalType":"uint8[]","name":"_types","type":"uint8[]"}],"name":"multiMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"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":"u","type":"string"}],"name":"setURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"startOfBlock","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","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":"address","name":"_owner","type":"address"},{"internalType":"uint256","name":"_index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6101006040526001608081815260a082905260c082905260e0919091526200002c9060069060046200035a565b506040805160808101825260008152603260208201526101c2918101919091526105aa60608201526200006490600790600462000409565b5060405180606001604052806029815260200162002b59602991398051620000959160089160209091019062000475565b50348015620000a357600080fd5b50604080518082018252600a815269456e636f6465204b657960b01b602080830191825283518085019094526003845262454e4b60e81b908401528151919291620000f19160009162000475565b5080516200010790600190602084019062000475565b50505060006006600381548110620001235762000123620005c5565b90600052602060002090601091828204019190066002029054906101000a900461ffff1660076003815481106200015e576200015e620005c5565b90600052602060002090601091828204019190066002029054906101000a900461ffff166200018e919062000509565b61ffff169050620001a033826200020e565b6006600381548110620001b757620001b7620005c5565b906000526020600020906010918282040191900660020281819054906101000a900461ffff1680929190620001ec906200058a565b91906101000a81548161ffff021916908361ffff1602179055505050620005db565b6001600160a01b0382166200026a5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064015b60405180910390fd5b6000818152600260205260409020546001600160a01b031615620002d15760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640162000261565b6001600160a01b0382166000908152600360205260408120805460019290620002fc90849062000532565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b82805482825590600052602060002090600f01601090048101928215620003f75791602002820160005b83821115620003c557835183826101000a81548161ffff021916908360ff160217905550926020019260020160208160010104928301926001030262000384565b8015620003f55782816101000a81549061ffff0219169055600201602081600101049283019260010302620003c5565b505b5062000405929150620004f2565b5090565b82805482825590600052602060002090600f01601090048101928215620003f75791602002820160005b83821115620003c557835183826101000a81548161ffff021916908361ffff160217905550926020019260020160208160010104928301926001030262000433565b82805462000483906200054d565b90600052602060002090601f016020900481019282620004a75760008555620003f7565b82601f10620004c257805160ff1916838001178555620003f7565b82800160010185558215620003f7579182015b82811115620003f7578251825591602001919060010190620004d5565b5b80821115620004055760008155600101620004f3565b600061ffff808316818516808303821115620005295762000529620005af565b01949350505050565b60008219821115620005485762000548620005af565b500190565b600181811c908216806200056257607f821691505b602082108114156200058457634e487b7160e01b600052602260045260246000fd5b50919050565b600061ffff80831681811415620005a557620005a5620005af565b6001019392505050565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b61256e80620005eb6000396000f3fe608060405234801561001057600080fd5b50600436106101125760003560e01c806301ffc9a71461011757806302fe53051461013f57806306fdde0314610154578063081812fc1461016957806308ac110f14610194578063095ea7b3146101a757806323b872dd146101ba5780632f745c59146101cd578063352926a8146101ee57806342842e0e146102015780636352211e1461021457806370a08231146102275780638462151c1461023a57806395d89b411461025a578063a22cb46514610262578063abbd13b114610275578063b88d4fde14610288578063c87b56dd1461029b578063d4f8d145146102ae578063e985e9c5146102d4578063f3f6f0d7146102e7578063fe000a0d146102ef575b600080fd5b61012a610125366004612012565b610302565b60405190151581526020015b60405180910390f35b61015261014d36600461204c565b610354565b005b61015c6103bf565b60405161013691906121cd565b61017c6101773660046120bd565b610451565b6040516001600160a01b039091168152602001610136565b61012a6101a2366004611d6b565b610478565b6101526101b5366004611f0c565b610550565b6101526101c8366004611db9565b610661565b6101e06101db366004611f0c565b610692565b604051908152602001610136565b6101526101fc366004611f36565b610889565b61015261020f366004611db9565b610aeb565b61017c6102223660046120bd565b610b06565b6101e0610235366004611d6b565b610b3b565b61024d610248366004611d6b565b610bc1565b6040516101369190612189565b61015c610d8f565b610152610270366004611ed0565b610d9e565b610152610283366004611f79565b610dad565b610152610296366004611df5565b6113e1565b61015c6102a93660046120bd565b611419565b6102c16102bc3660046120bd565b611480565b60405161ffff9091168152602001610136565b61012a6102e2366004611d86565b6114b8565b6101e06114e6565b6102c16102fd3660046120bd565b611577565b60006001600160e01b031982166380ac58cd60e01b148061033357506001600160e01b03198216635b5e139f60e01b145b8061034e57506301ffc9a760e01b6001600160e01b03198316145b92915050565b61035d33610478565b6103ae5760405162461bcd60e51b815260206004820152601e60248201527f596f75206e6565642061206d6173746572206b657920666f722074686973000060448201526064015b60405180910390fd5b6103ba60088383611c5a565b505050565b6060600080546103ce906123fe565b80601f01602080910402602001604051908101604052809291908181526020018280546103fa906123fe565b80156104475780601f1061041c57610100808354040283529160200191610447565b820191906000526020600020905b81548152906001019060200180831161042a57829003601f168201915b5050505050905090565b600061045c82611587565b506000908152600460205260409020546001600160a01b031690565b600060015b6006600381548110610491576104916124d6565b90600052602060002090601091828204019190066002029054906101000a900461ffff1661ffff168161ffff16101561054757826001600160a01b031661051d8260076003815481106104e6576104e66124d6565b90600052602060002090601091828204019190066002029054906101000a900461ffff166105149190612313565b61ffff16610b06565b6001600160a01b031614156105355750600192915050565b8061053f81612439565b91505061047d565b50600092915050565b600061055b82610b06565b9050806001600160a01b0316836001600160a01b031614156105c95760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016103a5565b336001600160a01b03821614806105e557506105e581336114b8565b6106575760405162461bcd60e51b815260206004820152603e60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c000060648201526084016103a5565b6103ba83836115af565b61066b338261161d565b6106875760405162461bcd60e51b81526004016103a5906122c5565b6103ba83838361167c565b60008061069e84610b3b565b90508083106106ef5760405162461bcd60e51b815260206004820152601d60248201527f696e6465782069732067726561746572207468616e2062616c616e636500000060448201526064016103a5565b60005b60065461ffff8216101561084f57600060068261ffff1681548110610719576107196124d6565b90600052602060002090601091828204019190066002029054906101000a900461ffff1660078361ffff1681548110610754576107546124d6565b90600052602060002090601091828204019190066002029054906101000a900461ffff166107829190612313565b9050600060078361ffff168154811061079d5761079d6124d6565b90600052602060002090601091828204019190066002029054906101000a900461ffff1660016107cd9190612313565b90505b8161ffff168161ffff16101561083a57866001600160a01b03166107f78261ffff16610b06565b6001600160a01b03161415610828578561081a5761ffff16935061034e92505050565b85610824816123e7565b9650505b8061083281612439565b9150506107d0565b5050808061084790612439565b9150506106f2565b5060405162461bcd60e51b815260206004820152600e60248201526d1b9bc81d1bdad95b88199bdd5b9960921b60448201526064016103a5565b61089233610478565b6108ae5760405162461bcd60e51b81526004016103a590612297565b8060ff16600314806109a2575060076108c8826001612348565b60ff16815481106108db576108db6124d6565b90600052602060002090601091828204019190066002029054906101000a900461ffff16600161090b9190612313565b61ffff168260ff1660068360ff1681548110610929576109296124d6565b90600052602060002090601091828204019190066002029054906101000a900461ffff1660078460ff1681548110610963576109636124d6565b90600052602060002090601091828204019190066002029054906101000a900461ffff166109919190612313565b61099b9190612313565b61ffff1611155b6109be5760405162461bcd60e51b81526004016103a590612232565b60005b8260ff168160ff161015610a805760008160ff1660068460ff16815481106109eb576109eb6124d6565b90600052602060002090601091828204019190066002029054906101000a900461ffff1660078560ff1681548110610a2557610a256124d6565b90600052602060002090601091828204019190066002029054906101000a900461ffff16610a539190612313565b610a5d9190612313565b61ffff169050610a6d8582611806565b5080610a7881612476565b9150506109c1565b508160ff1660068260ff1681548110610a9b57610a9b6124d6565b90600052602060002090601091828204019190066002028282829054906101000a900461ffff16610acc9190612313565b92506101000a81548161ffff021916908361ffff160217905550505050565b6103ba838383604051806020016040528060008152506113e1565b6000818152600260205260408120546001600160a01b03168061034e5760405162461bcd60e51b81526004016103a590612265565b60006001600160a01b038216610ba55760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b60648201526084016103a5565b506001600160a01b031660009081526003602052604090205490565b60606000610bce83610b3b565b90506000816001600160401b03811115610bea57610bea6124ec565b604051908082528060200260200182016040528015610c13578160200160208202803683370190505b5090506000805b60065461ffff82161015610d8557600060068261ffff1681548110610c4157610c416124d6565b90600052602060002090601091828204019190066002029054906101000a900461ffff1660078361ffff1681548110610c7c57610c7c6124d6565b90600052602060002090601091828204019190066002029054906101000a900461ffff16610caa9190612313565b9050600060078361ffff1681548110610cc557610cc56124d6565b90600052602060002090601091828204019190066002029054906101000a900461ffff166001610cf59190612313565b90505b8161ffff168161ffff161015610d7057876001600160a01b0316610d1f8261ffff16610b06565b6001600160a01b03161415610d5e578061ffff16858581518110610d4557610d456124d6565b602090810291909101015283610d5a8161245b565b9450505b80610d6881612439565b915050610cf8565b50508080610d7d90612439565b915050610c1a565b5090949350505050565b6060600180546103ce906123fe565b610da9338383611926565b5050565b610db633610478565b610dd25760405162461bcd60e51b81526004016103a590612297565b8483148015610de057508481145b610e4a5760405162461bcd60e51b815260206004820152603560248201527f746f2c207175616e7469747920616e6420747970657320617272617973206d756044820152740e6e840c4ca40e8d0ca40e6c2daca40d8cadccee8d605b1b60648201526084016103a5565b60408051600480825260a082019092526000916020820160808036833701905050905060005b60ff811687111561114f57600088888360ff16818110610e9257610e926124d6565b9050602002016020810190610ea79190611d6b565b9050600087878460ff16818110610ec057610ec06124d6565b9050602002016020810190610ed591906120d6565b60ff169050600086868560ff16818110610ef157610ef16124d6565b9050602002016020810190610f0691906120d6565b60ff169050600381148061102457506007610f22826001612313565b61ffff1681548110610f3657610f366124d6565b90600052602060002090601091828204019190066002029054906101000a900461ffff166001610f669190612313565b61ffff1682868361ffff1681518110610f8157610f816124d6565b602002602001015160068461ffff1681548110610fa057610fa06124d6565b90600052602060002090601091828204019190066002029054906101000a900461ffff1660078561ffff1681548110610fdb57610fdb6124d6565b90600052602060002090601091828204019190066002029054906101000a900461ffff166110099190612313565b6110139190612313565b61101d9190612313565b61ffff1611155b6110405760405162461bcd60e51b81526004016103a590612232565b60005b8261ffff168161ffff161015611138576000868361ffff168151811061106b5761106b6124d6565b60200260200101805180919061108090612439565b61ffff1661ffff1681525060068461ffff16815481106110a2576110a26124d6565b90600052602060002090601091828204019190066002029054906101000a900461ffff1660078561ffff16815481106110dd576110dd6124d6565b90600052602060002090601091828204019190066002029054906101000a900461ffff1661110b9190612313565b6111159190612313565b61ffff1690506111258582611806565b508061113081612439565b915050611043565b50505050808061114790612476565b915050610e70565b50600081600081518110611165576111656124d6565b602002602001015161ffff1611156111f2578060008151811061118a5761118a6124d6565b602002602001015160066000815481106111a6576111a66124d6565b90600052602060002090601091828204019190066002028282829054906101000a900461ffff166111d79190612313565b92506101000a81548161ffff021916908361ffff1602179055505b600081600181518110611207576112076124d6565b602002602001015161ffff161115611294578060018151811061122c5761122c6124d6565b60200260200101516006600181548110611248576112486124d6565b90600052602060002090601091828204019190066002028282829054906101000a900461ffff166112799190612313565b92506101000a81548161ffff021916908361ffff1602179055505b6000816002815181106112a9576112a96124d6565b602002602001015161ffff16111561133657806002815181106112ce576112ce6124d6565b602002602001015160066002815481106112ea576112ea6124d6565b90600052602060002090601091828204019190066002028282829054906101000a900461ffff1661131b9190612313565b92506101000a81548161ffff021916908361ffff1602179055505b60008160038151811061134b5761134b6124d6565b602002602001015161ffff1611156113d85780600381518110611370576113706124d6565b6020026020010151600660038154811061138c5761138c6124d6565b90600052602060002090601091828204019190066002028282829054906101000a900461ffff166113bd9190612313565b92506101000a81548161ffff021916908361ffff1602179055505b50505050505050565b6113eb338361161d565b6114075760405162461bcd60e51b81526004016103a5906122c5565b611413848484846119f1565b50505050565b606061142482611587565b600061142e611a24565b9050600081511161144e5760405180602001604052806000815250611479565b8061145884611a33565b60405160200161146992919061211d565b6040516020818303038152906040525b9392505050565b6007818154811061149057600080fd5b9060005260206000209060109182820401919006600202915054906101000a900461ffff1681565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b6000600160066003815481106114fe576114fe6124d6565b90600052602060002090601091828204019190066002029054906101000a900461ffff166007600381548110611536576115366124d6565b90600052602060002090601091828204019190066002029054906101000a900461ffff166115649190612313565b61156e9190612381565b61ffff16905090565b6006818154811061149057600080fd5b61159081611b30565b6115ac5760405162461bcd60e51b81526004016103a590612265565b50565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906115e482610b06565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008061162983610b06565b9050806001600160a01b0316846001600160a01b03161480611650575061165081856114b8565b806116745750836001600160a01b031661166984610451565b6001600160a01b0316145b949350505050565b826001600160a01b031661168f82610b06565b6001600160a01b0316146116f35760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b60648201526084016103a5565b6001600160a01b0382166117555760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016103a5565b6117606000826115af565b6001600160a01b03831660009081526003602052604081208054600192906117899084906123a4565b90915550506001600160a01b03821660009081526003602052604081208054600192906117b7908490612330565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03868116918217909255915184939187169160008051602061251983398151915291a4505050565b6001600160a01b03821661185c5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016103a5565b61186581611b30565b156118b15760405162461bcd60e51b815260206004820152601c60248201527b115490cdcc8c4e881d1bdad95b88185b1c9958591e481b5a5b9d195960221b60448201526064016103a5565b6001600160a01b03821660009081526003602052604081208054600192906118da908490612330565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386169081179091559051839290600080516020612519833981519152908290a45050565b816001600160a01b0316836001600160a01b031614156119845760405162461bcd60e51b815260206004820152601960248201527822a9219b99189d1030b8383937bb32903a379031b0b63632b960391b60448201526064016103a5565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6119fc84848461167c565b611a0884848484611b4d565b6114135760405162461bcd60e51b81526004016103a5906121e0565b6060600880546103ce906123fe565b606081611a575750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611a815780611a6b8161245b565b9150611a7a9050600a8361236d565b9150611a5b565b6000816001600160401b03811115611a9b57611a9b6124ec565b6040519080825280601f01601f191660200182016040528015611ac5576020820181803683370190505b5090505b841561167457611ada6001836123a4565b9150611ae7600a86612496565b611af2906030612330565b60f81b818381518110611b0757611b076124d6565b60200101906001600160f81b031916908160001a905350611b29600a8661236d565b9450611ac9565b6000908152600260205260409020546001600160a01b0316151590565b60006001600160a01b0384163b15611c4f57604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611b9190339089908890889060040161214c565b602060405180830381600087803b158015611bab57600080fd5b505af1925050508015611bdb575060408051601f3d908101601f19168201909252611bd89181019061202f565b60015b611c35573d808015611c09576040519150601f19603f3d011682016040523d82523d6000602084013e611c0e565b606091505b508051611c2d5760405162461bcd60e51b81526004016103a5906121e0565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611674565b506001949350505050565b828054611c66906123fe565b90600052602060002090601f016020900481019282611c885760008555611cce565b82601f10611ca15782800160ff19823516178555611cce565b82800160010185558215611cce579182015b82811115611cce578235825591602001919060010190611cb3565b50611cda929150611cde565b5090565b5b80821115611cda5760008155600101611cdf565b80356001600160a01b0381168114611d0a57600080fd5b919050565b60008083601f840112611d2157600080fd5b5081356001600160401b03811115611d3857600080fd5b6020830191508360208260051b8501011115611d5357600080fd5b9250929050565b803560ff81168114611d0a57600080fd5b600060208284031215611d7d57600080fd5b61147982611cf3565b60008060408385031215611d9957600080fd5b611da283611cf3565b9150611db060208401611cf3565b90509250929050565b600080600060608486031215611dce57600080fd5b611dd784611cf3565b9250611de560208501611cf3565b9150604084013590509250925092565b60008060008060808587031215611e0b57600080fd5b611e1485611cf3565b9350611e2260208601611cf3565b92506040850135915060608501356001600160401b0380821115611e4557600080fd5b818701915087601f830112611e5957600080fd5b813581811115611e6b57611e6b6124ec565b604051601f8201601f19908116603f01168101908382118183101715611e9357611e936124ec565b816040528281528a6020848701011115611eac57600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b60008060408385031215611ee357600080fd5b611eec83611cf3565b915060208301358015158114611f0157600080fd5b809150509250929050565b60008060408385031215611f1f57600080fd5b611f2883611cf3565b946020939093013593505050565b600080600060608486031215611f4b57600080fd5b611f5484611cf3565b9250611f6260208501611d5a565b9150611f7060408501611d5a565b90509250925092565b60008060008060008060608789031215611f9257600080fd5b86356001600160401b0380821115611fa957600080fd5b611fb58a838b01611d0f565b90985096506020890135915080821115611fce57600080fd5b611fda8a838b01611d0f565b90965094506040890135915080821115611ff357600080fd5b5061200089828a01611d0f565b979a9699509497509295939492505050565b60006020828403121561202457600080fd5b813561147981612502565b60006020828403121561204157600080fd5b815161147981612502565b6000806020838503121561205f57600080fd5b82356001600160401b038082111561207657600080fd5b818501915085601f83011261208a57600080fd5b81358181111561209957600080fd5b8660208285010111156120ab57600080fd5b60209290920196919550909350505050565b6000602082840312156120cf57600080fd5b5035919050565b6000602082840312156120e857600080fd5b61147982611d5a565b600081518084526121098160208601602086016123bb565b601f01601f19169290920160200192915050565b6000835161212f8184602088016123bb565b8351908301906121438183602088016123bb565b01949350505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061217f908301846120f1565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b818110156121c1578351835292840192918401916001016121a5565b50909695505050505050565b60208152600061147960208301846120f1565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252601990820152781b9bdd08195b9bdd59da081d1bdad95b9cc81d1bc81b5a5b9d603a1b604082015260600190565b602080825260189082015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b604082015260600190565b6020808252601490820152736d7573742068617665206d6173746572206b657960601b604082015260600190565b6020808252602e908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526d1c881b9bdc88185c1c1c9bdd995960921b606082015260800190565b600061ffff808316818516808303821115612143576121436124aa565b60008219821115612343576123436124aa565b500190565b600060ff821660ff84168060ff03821115612365576123656124aa565b019392505050565b60008261237c5761237c6124c0565b500490565b600061ffff8381169083168181101561239c5761239c6124aa565b039392505050565b6000828210156123b6576123b66124aa565b500390565b60005b838110156123d65781810151838201526020016123be565b838111156114135750506000910152565b6000816123f6576123f66124aa565b506000190190565b600181811c9082168061241257607f821691505b6020821081141561243357634e487b7160e01b600052602260045260246000fd5b50919050565b600061ffff80831681811415612451576124516124aa565b6001019392505050565b600060001982141561246f5761246f6124aa565b5060010190565b600060ff821660ff81141561248d5761248d6124aa565b60010192915050565b6000826124a5576124a56124c0565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b0319811681146115ac57600080fdfeddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa2646970667358221220aebf37e86af450ad6f7efef0979ab85a089e65b2d9d28d456da95689ed8a713a64736f6c6343000807003368747470733a2f2f6170692e656e636f64652e6e6574776f726b2f6d657461646174612f6b6579732f
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101125760003560e01c806301ffc9a71461011757806302fe53051461013f57806306fdde0314610154578063081812fc1461016957806308ac110f14610194578063095ea7b3146101a757806323b872dd146101ba5780632f745c59146101cd578063352926a8146101ee57806342842e0e146102015780636352211e1461021457806370a08231146102275780638462151c1461023a57806395d89b411461025a578063a22cb46514610262578063abbd13b114610275578063b88d4fde14610288578063c87b56dd1461029b578063d4f8d145146102ae578063e985e9c5146102d4578063f3f6f0d7146102e7578063fe000a0d146102ef575b600080fd5b61012a610125366004612012565b610302565b60405190151581526020015b60405180910390f35b61015261014d36600461204c565b610354565b005b61015c6103bf565b60405161013691906121cd565b61017c6101773660046120bd565b610451565b6040516001600160a01b039091168152602001610136565b61012a6101a2366004611d6b565b610478565b6101526101b5366004611f0c565b610550565b6101526101c8366004611db9565b610661565b6101e06101db366004611f0c565b610692565b604051908152602001610136565b6101526101fc366004611f36565b610889565b61015261020f366004611db9565b610aeb565b61017c6102223660046120bd565b610b06565b6101e0610235366004611d6b565b610b3b565b61024d610248366004611d6b565b610bc1565b6040516101369190612189565b61015c610d8f565b610152610270366004611ed0565b610d9e565b610152610283366004611f79565b610dad565b610152610296366004611df5565b6113e1565b61015c6102a93660046120bd565b611419565b6102c16102bc3660046120bd565b611480565b60405161ffff9091168152602001610136565b61012a6102e2366004611d86565b6114b8565b6101e06114e6565b6102c16102fd3660046120bd565b611577565b60006001600160e01b031982166380ac58cd60e01b148061033357506001600160e01b03198216635b5e139f60e01b145b8061034e57506301ffc9a760e01b6001600160e01b03198316145b92915050565b61035d33610478565b6103ae5760405162461bcd60e51b815260206004820152601e60248201527f596f75206e6565642061206d6173746572206b657920666f722074686973000060448201526064015b60405180910390fd5b6103ba60088383611c5a565b505050565b6060600080546103ce906123fe565b80601f01602080910402602001604051908101604052809291908181526020018280546103fa906123fe565b80156104475780601f1061041c57610100808354040283529160200191610447565b820191906000526020600020905b81548152906001019060200180831161042a57829003601f168201915b5050505050905090565b600061045c82611587565b506000908152600460205260409020546001600160a01b031690565b600060015b6006600381548110610491576104916124d6565b90600052602060002090601091828204019190066002029054906101000a900461ffff1661ffff168161ffff16101561054757826001600160a01b031661051d8260076003815481106104e6576104e66124d6565b90600052602060002090601091828204019190066002029054906101000a900461ffff166105149190612313565b61ffff16610b06565b6001600160a01b031614156105355750600192915050565b8061053f81612439565b91505061047d565b50600092915050565b600061055b82610b06565b9050806001600160a01b0316836001600160a01b031614156105c95760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016103a5565b336001600160a01b03821614806105e557506105e581336114b8565b6106575760405162461bcd60e51b815260206004820152603e60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c000060648201526084016103a5565b6103ba83836115af565b61066b338261161d565b6106875760405162461bcd60e51b81526004016103a5906122c5565b6103ba83838361167c565b60008061069e84610b3b565b90508083106106ef5760405162461bcd60e51b815260206004820152601d60248201527f696e6465782069732067726561746572207468616e2062616c616e636500000060448201526064016103a5565b60005b60065461ffff8216101561084f57600060068261ffff1681548110610719576107196124d6565b90600052602060002090601091828204019190066002029054906101000a900461ffff1660078361ffff1681548110610754576107546124d6565b90600052602060002090601091828204019190066002029054906101000a900461ffff166107829190612313565b9050600060078361ffff168154811061079d5761079d6124d6565b90600052602060002090601091828204019190066002029054906101000a900461ffff1660016107cd9190612313565b90505b8161ffff168161ffff16101561083a57866001600160a01b03166107f78261ffff16610b06565b6001600160a01b03161415610828578561081a5761ffff16935061034e92505050565b85610824816123e7565b9650505b8061083281612439565b9150506107d0565b5050808061084790612439565b9150506106f2565b5060405162461bcd60e51b815260206004820152600e60248201526d1b9bc81d1bdad95b88199bdd5b9960921b60448201526064016103a5565b61089233610478565b6108ae5760405162461bcd60e51b81526004016103a590612297565b8060ff16600314806109a2575060076108c8826001612348565b60ff16815481106108db576108db6124d6565b90600052602060002090601091828204019190066002029054906101000a900461ffff16600161090b9190612313565b61ffff168260ff1660068360ff1681548110610929576109296124d6565b90600052602060002090601091828204019190066002029054906101000a900461ffff1660078460ff1681548110610963576109636124d6565b90600052602060002090601091828204019190066002029054906101000a900461ffff166109919190612313565b61099b9190612313565b61ffff1611155b6109be5760405162461bcd60e51b81526004016103a590612232565b60005b8260ff168160ff161015610a805760008160ff1660068460ff16815481106109eb576109eb6124d6565b90600052602060002090601091828204019190066002029054906101000a900461ffff1660078560ff1681548110610a2557610a256124d6565b90600052602060002090601091828204019190066002029054906101000a900461ffff16610a539190612313565b610a5d9190612313565b61ffff169050610a6d8582611806565b5080610a7881612476565b9150506109c1565b508160ff1660068260ff1681548110610a9b57610a9b6124d6565b90600052602060002090601091828204019190066002028282829054906101000a900461ffff16610acc9190612313565b92506101000a81548161ffff021916908361ffff160217905550505050565b6103ba838383604051806020016040528060008152506113e1565b6000818152600260205260408120546001600160a01b03168061034e5760405162461bcd60e51b81526004016103a590612265565b60006001600160a01b038216610ba55760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b60648201526084016103a5565b506001600160a01b031660009081526003602052604090205490565b60606000610bce83610b3b565b90506000816001600160401b03811115610bea57610bea6124ec565b604051908082528060200260200182016040528015610c13578160200160208202803683370190505b5090506000805b60065461ffff82161015610d8557600060068261ffff1681548110610c4157610c416124d6565b90600052602060002090601091828204019190066002029054906101000a900461ffff1660078361ffff1681548110610c7c57610c7c6124d6565b90600052602060002090601091828204019190066002029054906101000a900461ffff16610caa9190612313565b9050600060078361ffff1681548110610cc557610cc56124d6565b90600052602060002090601091828204019190066002029054906101000a900461ffff166001610cf59190612313565b90505b8161ffff168161ffff161015610d7057876001600160a01b0316610d1f8261ffff16610b06565b6001600160a01b03161415610d5e578061ffff16858581518110610d4557610d456124d6565b602090810291909101015283610d5a8161245b565b9450505b80610d6881612439565b915050610cf8565b50508080610d7d90612439565b915050610c1a565b5090949350505050565b6060600180546103ce906123fe565b610da9338383611926565b5050565b610db633610478565b610dd25760405162461bcd60e51b81526004016103a590612297565b8483148015610de057508481145b610e4a5760405162461bcd60e51b815260206004820152603560248201527f746f2c207175616e7469747920616e6420747970657320617272617973206d756044820152740e6e840c4ca40e8d0ca40e6c2daca40d8cadccee8d605b1b60648201526084016103a5565b60408051600480825260a082019092526000916020820160808036833701905050905060005b60ff811687111561114f57600088888360ff16818110610e9257610e926124d6565b9050602002016020810190610ea79190611d6b565b9050600087878460ff16818110610ec057610ec06124d6565b9050602002016020810190610ed591906120d6565b60ff169050600086868560ff16818110610ef157610ef16124d6565b9050602002016020810190610f0691906120d6565b60ff169050600381148061102457506007610f22826001612313565b61ffff1681548110610f3657610f366124d6565b90600052602060002090601091828204019190066002029054906101000a900461ffff166001610f669190612313565b61ffff1682868361ffff1681518110610f8157610f816124d6565b602002602001015160068461ffff1681548110610fa057610fa06124d6565b90600052602060002090601091828204019190066002029054906101000a900461ffff1660078561ffff1681548110610fdb57610fdb6124d6565b90600052602060002090601091828204019190066002029054906101000a900461ffff166110099190612313565b6110139190612313565b61101d9190612313565b61ffff1611155b6110405760405162461bcd60e51b81526004016103a590612232565b60005b8261ffff168161ffff161015611138576000868361ffff168151811061106b5761106b6124d6565b60200260200101805180919061108090612439565b61ffff1661ffff1681525060068461ffff16815481106110a2576110a26124d6565b90600052602060002090601091828204019190066002029054906101000a900461ffff1660078561ffff16815481106110dd576110dd6124d6565b90600052602060002090601091828204019190066002029054906101000a900461ffff1661110b9190612313565b6111159190612313565b61ffff1690506111258582611806565b508061113081612439565b915050611043565b50505050808061114790612476565b915050610e70565b50600081600081518110611165576111656124d6565b602002602001015161ffff1611156111f2578060008151811061118a5761118a6124d6565b602002602001015160066000815481106111a6576111a66124d6565b90600052602060002090601091828204019190066002028282829054906101000a900461ffff166111d79190612313565b92506101000a81548161ffff021916908361ffff1602179055505b600081600181518110611207576112076124d6565b602002602001015161ffff161115611294578060018151811061122c5761122c6124d6565b60200260200101516006600181548110611248576112486124d6565b90600052602060002090601091828204019190066002028282829054906101000a900461ffff166112799190612313565b92506101000a81548161ffff021916908361ffff1602179055505b6000816002815181106112a9576112a96124d6565b602002602001015161ffff16111561133657806002815181106112ce576112ce6124d6565b602002602001015160066002815481106112ea576112ea6124d6565b90600052602060002090601091828204019190066002028282829054906101000a900461ffff1661131b9190612313565b92506101000a81548161ffff021916908361ffff1602179055505b60008160038151811061134b5761134b6124d6565b602002602001015161ffff1611156113d85780600381518110611370576113706124d6565b6020026020010151600660038154811061138c5761138c6124d6565b90600052602060002090601091828204019190066002028282829054906101000a900461ffff166113bd9190612313565b92506101000a81548161ffff021916908361ffff1602179055505b50505050505050565b6113eb338361161d565b6114075760405162461bcd60e51b81526004016103a5906122c5565b611413848484846119f1565b50505050565b606061142482611587565b600061142e611a24565b9050600081511161144e5760405180602001604052806000815250611479565b8061145884611a33565b60405160200161146992919061211d565b6040516020818303038152906040525b9392505050565b6007818154811061149057600080fd5b9060005260206000209060109182820401919006600202915054906101000a900461ffff1681565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b6000600160066003815481106114fe576114fe6124d6565b90600052602060002090601091828204019190066002029054906101000a900461ffff166007600381548110611536576115366124d6565b90600052602060002090601091828204019190066002029054906101000a900461ffff166115649190612313565b61156e9190612381565b61ffff16905090565b6006818154811061149057600080fd5b61159081611b30565b6115ac5760405162461bcd60e51b81526004016103a590612265565b50565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906115e482610b06565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008061162983610b06565b9050806001600160a01b0316846001600160a01b03161480611650575061165081856114b8565b806116745750836001600160a01b031661166984610451565b6001600160a01b0316145b949350505050565b826001600160a01b031661168f82610b06565b6001600160a01b0316146116f35760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b60648201526084016103a5565b6001600160a01b0382166117555760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016103a5565b6117606000826115af565b6001600160a01b03831660009081526003602052604081208054600192906117899084906123a4565b90915550506001600160a01b03821660009081526003602052604081208054600192906117b7908490612330565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03868116918217909255915184939187169160008051602061251983398151915291a4505050565b6001600160a01b03821661185c5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016103a5565b61186581611b30565b156118b15760405162461bcd60e51b815260206004820152601c60248201527b115490cdcc8c4e881d1bdad95b88185b1c9958591e481b5a5b9d195960221b60448201526064016103a5565b6001600160a01b03821660009081526003602052604081208054600192906118da908490612330565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386169081179091559051839290600080516020612519833981519152908290a45050565b816001600160a01b0316836001600160a01b031614156119845760405162461bcd60e51b815260206004820152601960248201527822a9219b99189d1030b8383937bb32903a379031b0b63632b960391b60448201526064016103a5565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6119fc84848461167c565b611a0884848484611b4d565b6114135760405162461bcd60e51b81526004016103a5906121e0565b6060600880546103ce906123fe565b606081611a575750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611a815780611a6b8161245b565b9150611a7a9050600a8361236d565b9150611a5b565b6000816001600160401b03811115611a9b57611a9b6124ec565b6040519080825280601f01601f191660200182016040528015611ac5576020820181803683370190505b5090505b841561167457611ada6001836123a4565b9150611ae7600a86612496565b611af2906030612330565b60f81b818381518110611b0757611b076124d6565b60200101906001600160f81b031916908160001a905350611b29600a8661236d565b9450611ac9565b6000908152600260205260409020546001600160a01b0316151590565b60006001600160a01b0384163b15611c4f57604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611b9190339089908890889060040161214c565b602060405180830381600087803b158015611bab57600080fd5b505af1925050508015611bdb575060408051601f3d908101601f19168201909252611bd89181019061202f565b60015b611c35573d808015611c09576040519150601f19603f3d011682016040523d82523d6000602084013e611c0e565b606091505b508051611c2d5760405162461bcd60e51b81526004016103a5906121e0565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611674565b506001949350505050565b828054611c66906123fe565b90600052602060002090601f016020900481019282611c885760008555611cce565b82601f10611ca15782800160ff19823516178555611cce565b82800160010185558215611cce579182015b82811115611cce578235825591602001919060010190611cb3565b50611cda929150611cde565b5090565b5b80821115611cda5760008155600101611cdf565b80356001600160a01b0381168114611d0a57600080fd5b919050565b60008083601f840112611d2157600080fd5b5081356001600160401b03811115611d3857600080fd5b6020830191508360208260051b8501011115611d5357600080fd5b9250929050565b803560ff81168114611d0a57600080fd5b600060208284031215611d7d57600080fd5b61147982611cf3565b60008060408385031215611d9957600080fd5b611da283611cf3565b9150611db060208401611cf3565b90509250929050565b600080600060608486031215611dce57600080fd5b611dd784611cf3565b9250611de560208501611cf3565b9150604084013590509250925092565b60008060008060808587031215611e0b57600080fd5b611e1485611cf3565b9350611e2260208601611cf3565b92506040850135915060608501356001600160401b0380821115611e4557600080fd5b818701915087601f830112611e5957600080fd5b813581811115611e6b57611e6b6124ec565b604051601f8201601f19908116603f01168101908382118183101715611e9357611e936124ec565b816040528281528a6020848701011115611eac57600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b60008060408385031215611ee357600080fd5b611eec83611cf3565b915060208301358015158114611f0157600080fd5b809150509250929050565b60008060408385031215611f1f57600080fd5b611f2883611cf3565b946020939093013593505050565b600080600060608486031215611f4b57600080fd5b611f5484611cf3565b9250611f6260208501611d5a565b9150611f7060408501611d5a565b90509250925092565b60008060008060008060608789031215611f9257600080fd5b86356001600160401b0380821115611fa957600080fd5b611fb58a838b01611d0f565b90985096506020890135915080821115611fce57600080fd5b611fda8a838b01611d0f565b90965094506040890135915080821115611ff357600080fd5b5061200089828a01611d0f565b979a9699509497509295939492505050565b60006020828403121561202457600080fd5b813561147981612502565b60006020828403121561204157600080fd5b815161147981612502565b6000806020838503121561205f57600080fd5b82356001600160401b038082111561207657600080fd5b818501915085601f83011261208a57600080fd5b81358181111561209957600080fd5b8660208285010111156120ab57600080fd5b60209290920196919550909350505050565b6000602082840312156120cf57600080fd5b5035919050565b6000602082840312156120e857600080fd5b61147982611d5a565b600081518084526121098160208601602086016123bb565b601f01601f19169290920160200192915050565b6000835161212f8184602088016123bb565b8351908301906121438183602088016123bb565b01949350505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061217f908301846120f1565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b818110156121c1578351835292840192918401916001016121a5565b50909695505050505050565b60208152600061147960208301846120f1565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252601990820152781b9bdd08195b9bdd59da081d1bdad95b9cc81d1bc81b5a5b9d603a1b604082015260600190565b602080825260189082015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b604082015260600190565b6020808252601490820152736d7573742068617665206d6173746572206b657960601b604082015260600190565b6020808252602e908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526d1c881b9bdc88185c1c1c9bdd995960921b606082015260800190565b600061ffff808316818516808303821115612143576121436124aa565b60008219821115612343576123436124aa565b500190565b600060ff821660ff84168060ff03821115612365576123656124aa565b019392505050565b60008261237c5761237c6124c0565b500490565b600061ffff8381169083168181101561239c5761239c6124aa565b039392505050565b6000828210156123b6576123b66124aa565b500390565b60005b838110156123d65781810151838201526020016123be565b838111156114135750506000910152565b6000816123f6576123f66124aa565b506000190190565b600181811c9082168061241257607f821691505b6020821081141561243357634e487b7160e01b600052602260045260246000fd5b50919050565b600061ffff80831681811415612451576124516124aa565b6001019392505050565b600060001982141561246f5761246f6124aa565b5060010190565b600060ff821660ff81141561248d5761248d6124aa565b60010192915050565b6000826124a5576124a56124c0565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b0319811681146115ac57600080fdfeddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa2646970667358221220aebf37e86af450ad6f7efef0979ab85a089e65b2d9d28d456da95689ed8a713a64736f6c63430008070033
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.