Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
399 MCAstro
Holders
41
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 MCAstroLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
AstroboyNFT
Compiler Version
v0.8.4+commit.c7e474f2
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-10-08 */ /** *Submitted for verification at BscScan.com on 2022-08-27 */ //SPDX-License-Identifier: GPL-3.0 pragma solidity ^0.8.0; abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } library Counters { struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { unchecked { counter._value += 1; } } function decrement(Counter storage counter) internal { uint256 value = counter._value; require(value > 0, "Counter: decrement overflow"); unchecked { counter._value = value - 1; } } function reset(Counter storage counter) internal { counter._value = 0; } } 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 functionCallWithValue(target, data, 0, "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"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResultFromTarget(target, 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) { (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResultFromTarget(target, 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) { (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract. * * _Available since v4.8._ */ function verifyCallResultFromTarget( address target, bool success, bytes memory returndata, string memory errorMessage ) internal view returns (bytes memory) { if (success) { if (returndata.length == 0) { // only check isContract if the call was successful and the return data is empty // otherwise we already know that it was a contract require(isContract(target), "Address: call to non-contract"); } return returndata; } else { _revert(returndata, errorMessage); } } /** * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason or 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 { _revert(returndata, errorMessage); } } function _revert(bytes memory returndata, string memory errorMessage) private pure { // 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); } } } 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); } } 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); } 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); } 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); } abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } } 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); } 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 {} } interface IERC4907 { // Logged when the user of a token assigns a new user or updates expires /// @notice Emitted when the `user` of an NFT or the `expires` of the `user` is changed /// The zero address for user indicates that there is no user address event UpdateUser(uint256 indexed tokenId, address indexed user, uint64 expires); /// @notice set the user and expires of a NFT /// @dev The zero address indicates there is no user /// Throws if `tokenId` is not valid NFT /// @param user The new user of the NFT /// @param expires UNIX timestamp, The new user could use the NFT before expires function setUser(uint256 tokenId, address user, uint64 expires) external ; /// @notice Get the user address of an NFT /// @dev The zero address indicates that there is no user or the user is expired /// @param tokenId The NFT to get the user address for /// @return The user address for this NFT function userOf(uint256 tokenId) external view returns(address); /// @notice Get the user expires of an NFT /// @dev The zero value indicates that there is no user /// @param tokenId The NFT to get the user expires for /// @return The user expires for this NFT function userExpires(uint256 tokenId) external view returns(uint256); } contract ERC4907 is ERC721, IERC4907 { struct UserInfo { address user; // address of user role uint64 expires; // unix timestamp, user expires } mapping (uint256 => UserInfo) internal _users; constructor(string memory name_, string memory symbol_) ERC721(name_,symbol_) { } /// @notice set the user and expires of a NFT /// @dev The zero address indicates there is no user /// Throws if `tokenId` is not valid NFT /// @param user The new user of the NFT /// @param expires UNIX timestamp, The new user could use the NFT before expires function setUser(uint256 tokenId, address user, uint64 expires) public virtual override{ require(_isApprovedOrOwner(msg.sender, tokenId),"ERC721: transfer caller is not owner nor approved"); UserInfo storage info = _users[tokenId]; info.user = user; info.expires = expires; emit UpdateUser(tokenId,user,expires); } /// @notice Get the user address of an NFT /// @dev The zero address indicates that there is no user or the user is expired /// @param tokenId The NFT to get the user address for /// @return The user address for this NFT function userOf(uint256 tokenId)public view virtual override returns(address){ if( uint256(_users[tokenId].expires) >= block.timestamp){ return _users[tokenId].user; } else{ return address(0); } } /// @notice Get the user expires of an NFT /// @dev The zero value indicates that there is no user /// @param tokenId The NFT to get the user expires for /// @return The user expires for this NFT function userExpires(uint256 tokenId) public view virtual override returns(uint256){ return _users[tokenId].expires; } /// @dev See {IERC165-supportsInterface}. function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC4907).interfaceId || super.supportsInterface(interfaceId); } function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual override{ super._beforeTokenTransfer(from, to, tokenId); if (from != to && _users[tokenId].user != address(0)) { delete _users[tokenId]; emit UpdateUser(tokenId, address(0), 0); } } } interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); } abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from owner to list of owned token IDs mapping(address => mapping(uint256 => uint256)) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); return _ownedTokens[owner][index]; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _allTokens.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds"); return _allTokens[index]; } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` cannot be the zero address. * - `to` cannot be the zero address. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual override { super._beforeTokenTransfer(from, to, tokenId); if (from == address(0)) { _addTokenToAllTokensEnumeration(tokenId); } else if (from != to) { _removeTokenFromOwnerEnumeration(from, tokenId); } if (to == address(0)) { _removeTokenFromAllTokensEnumeration(tokenId); } else if (to != from) { _addTokenToOwnerEnumeration(to, tokenId); } } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { uint256 length = ERC721.balanceOf(to); _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; } /** * @dev Private function to add a token to this extension's token tracking data structures. * @param tokenId uint256 ID of the token to be added to the tokens list */ function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for * gas optimizations e.g. when performing a transfer operation (avoiding double writes). * This has O(1) time complexity, but alters the order of the _ownedTokens array. * @param from address representing the previous owner of the given token ID * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = ERC721.balanceOf(from) - 1; uint256 tokenIndex = _ownedTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } // This also deletes the contents at the last position of the array delete _ownedTokensIndex[tokenId]; delete _ownedTokens[from][lastTokenIndex]; } /** * @dev Private function to remove a token from this extension's token tracking data structures. * This has O(1) time complexity, but alters the order of the _allTokens array. * @param tokenId uint256 ID of the token to be removed from the tokens list */ function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _allTokens.length - 1; uint256 tokenIndex = _allTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding // an 'if' statement (like in _removeTokenFromOwnerEnumeration) uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index // This also deletes the contents at the last position of the array delete _allTokensIndex[tokenId]; _allTokens.pop(); } } contract AstroboyNFT is ERC4907, ERC721Enumerable, Ownable { using Strings for uint256; using Counters for Counters.Counter; bytes32 private constant MINTER_ROLE = keccak256("MINTER_ROLE"); uint256 public immutable maxSupply; Counters.Counter private tokenIds; string private baseURI; constructor(uint256 _maxSupply) ERC4907("MC Astroboy NFT", "MCAstro") { maxSupply = _maxSupply; } function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal override(ERC4907, ERC721Enumerable) { super._beforeTokenTransfer(from, to, tokenId); } function supportsInterface(bytes4 interfaceId) public view override(ERC4907, ERC721Enumerable) returns (bool) { return super.supportsInterface(interfaceId); } function setBaseURI(string memory _baseUri) public onlyOwner { baseURI = _baseUri; } function createNFT(address to) public onlyOwner returns (uint256) { require(totalSupply() < maxSupply, "MCAstro: the limit has been reached"); return _mintNFT(to); } function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "MCAstro: URI query for nonexistent token"); return string( abi.encodePacked(baseURI, tokenId.toString(), ".json") ); } function _mintNFT(address to) private returns (uint256) { tokenIds.increment(); uint256 newItemId = tokenIds.current(); _safeMint(to, newItemId); return newItemId; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"uint256","name":"_maxSupply","type":"uint256"}],"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"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint64","name":"expires","type":"uint64"}],"name":"UpdateUser","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":"address","name":"to","type":"address"}],"name":"createNFT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseUri","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"address","name":"user","type":"address"},{"internalType":"uint64","name":"expires","type":"uint64"}],"name":"setUser","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"userExpires","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"userOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
60a06040523480156200001157600080fd5b50604051620020d9380380620020d98339810160408190526200003491620001c8565b604080518082018252600f81526e1350c8105cdd1c9bd89bde48139195608a1b6020808301918252835180850190945260078452664d43417374726f60c81b908401528151919291839183916200008e9160009162000122565b508051620000a490600190602084019062000122565b5050505050620000c3620000bd620000cc60201b60201c565b620000d0565b6080526200021e565b3390565b600b80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200013090620001e1565b90600052602060002090601f0160209004810192826200015457600085556200019f565b82601f106200016f57805160ff19168380011785556200019f565b828001600101855582156200019f579182015b828111156200019f57825182559160200191906001019062000182565b50620001ad929150620001b1565b5090565b5b80821115620001ad5760008155600101620001b2565b600060208284031215620001da578081fd5b5051919050565b600181811c90821680620001f657607f821691505b602082108114156200021857634e487b7160e01b600052602260045260246000fd5b50919050565b608051611e98620002416000396000818161034601526105bb0152611e986000f3fe608060405234801561001057600080fd5b50600436106101735760003560e01c806370a08231116100de578063b88d4fde11610097578063d5abeb0111610071578063d5abeb0114610341578063e030565e14610368578063e985e9c51461037b578063f2fde38b146103b757600080fd5b8063b88d4fde14610308578063c2f1f14a1461031b578063c87b56dd1461032e57600080fd5b806370a0823114610290578063715018a6146102a35780638da5cb5b146102ab5780638fc88c48146102bc57806395d89b41146102ed578063a22cb465146102f557600080fd5b806323b872dd1161013057806323b872dd1461021e5780632f745c591461023157806342842e0e146102445780634f6ccce71461025757806355f804b31461026a5780636352211e1461027d57600080fd5b806301ffc9a71461017857806306fdde03146101a0578063081812fc146101b5578063095ea7b3146101e057806317e5883c146101f557806318160ddd14610216575b600080fd5b61018b610186366004611a5e565b6103ca565b60405190151581526020015b60405180910390f35b6101a86103db565b6040516101979190611c7e565b6101c86101c3366004611adc565b61046d565b6040516001600160a01b039091168152602001610197565b6101f36101ee366004611a35565b610494565b005b6102086102033660046118f4565b6105af565b604051908152602001610197565b600954610208565b6101f361022c366004611947565b61064a565b61020861023f366004611a35565b61067b565b6101f3610252366004611947565b610711565b610208610265366004611adc565b61072c565b6101f3610278366004611a96565b6107cd565b6101c861028b366004611adc565b6107ec565b61020861029e3660046118f4565b61084c565b6101f36108d2565b600b546001600160a01b03166101c8565b6102086102ca366004611adc565b600090815260066020526040902054600160a01b900467ffffffffffffffff1690565b6101a86108e6565b6101f36103033660046119fb565b6108f5565b6101f3610316366004611982565b610900565b6101c8610329366004611adc565b610938565b6101a861033c366004611adc565b610983565b6102087f000000000000000000000000000000000000000000000000000000000000000081565b6101f3610376366004611af4565b610a2d565b61018b610389366004611915565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b6101f36103c53660046118f4565b610b1e565b60006103d582610b97565b92915050565b6060600080546103ea90611da0565b80601f016020809104026020016040519081016040528092919081815260200182805461041690611da0565b80156104635780601f1061043857610100808354040283529160200191610463565b820191906000526020600020905b81548152906001019060200180831161044657829003601f168201915b5050505050905090565b600061047882610bbc565b506000908152600460205260409020546001600160a01b031690565b600061049f826107ec565b9050806001600160a01b0316836001600160a01b031614156105125760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084015b60405180910390fd5b336001600160a01b038216148061052e575061052e8133610389565b6105a05760405162461bcd60e51b815260206004820152603e60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c00006064820152608401610509565b6105aa8383610c1b565b505050565b60006105b9610c89565b7f00000000000000000000000000000000000000000000000000000000000000006105e360095490565b1061063c5760405162461bcd60e51b815260206004820152602360248201527f4d43417374726f3a20746865206c696d697420686173206265656e20726561636044820152621a195960ea1b6064820152608401610509565b6103d582610ce3565b919050565b6106543382610d0a565b6106705760405162461bcd60e51b815260040161050990611ce3565b6105aa838383610d89565b60006106868361084c565b82106106e85760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610509565b506001600160a01b03919091166000908152600760209081526040808320938352929052205490565b6105aa83838360405180602001604052806000815250610900565b600061073760095490565b821061079a5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610509565b600982815481106107bb57634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050919050565b6107d5610c89565b80516107e890600d9060208401906117ce565b5050565b6000818152600260205260408120546001600160a01b0316806103d55760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610509565b60006001600160a01b0382166108b65760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b6064820152608401610509565b506001600160a01b031660009081526003602052604090205490565b6108da610c89565b6108e46000610f30565b565b6060600180546103ea90611da0565b6107e8338383610f82565b61090a3383610d0a565b6109265760405162461bcd60e51b815260040161050990611ce3565b61093284848484611052565b50505050565b60008181526006602052604081205442600160a01b90910467ffffffffffffffff161061097b57506000908152600660205260409020546001600160a01b031690565b506000919050565b6000818152600260205260409020546060906001600160a01b03166109fb5760405162461bcd60e51b815260206004820152602860248201527f4d43417374726f3a2055524920717565727920666f72206e6f6e657869737465604482015267373a103a37b5b2b760c11b6064820152608401610509565b600d610a0683611085565b604051602001610a17929190611b87565b6040516020818303038152906040529050919050565b610a373384610d0a565b610a9d5760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6044820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b6064820152608401610509565b60008381526006602090815260409182902080546001600160a01b0386166001600160e01b03199091168117600160a01b67ffffffffffffffff871690810291909117835593519384529092909186917f4e06b4e7000e659094299b3533b47b6aa8ad048e95e872d23d1f4ee55af89cfe910160405180910390a350505050565b610b26610c89565b6001600160a01b038116610b8b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610509565b610b9481610f30565b50565b60006001600160e01b0319821663780e9d6360e01b14806103d557506103d58261119f565b6000818152600260205260409020546001600160a01b0316610b945760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610509565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610c50826107ec565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600b546001600160a01b031633146108e45760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610509565b6000610cf3600c80546001019055565b6000610cfe600c5490565b90506103d583826111c4565b600080610d16836107ec565b9050806001600160a01b0316846001600160a01b03161480610d5d57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b80610d815750836001600160a01b0316610d768461046d565b6001600160a01b0316145b949350505050565b826001600160a01b0316610d9c826107ec565b6001600160a01b031614610e005760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b6064820152608401610509565b6001600160a01b038216610e625760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610509565b610e6d8383836111de565b610e78600082610c1b565b6001600160a01b0383166000908152600360205260408120805460019290610ea1908490611d5d565b90915550506001600160a01b0382166000908152600360205260408120805460019290610ecf908490611d31565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600b80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b03161415610fe45760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610509565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3191015b60405180910390a3505050565b61105d848484610d89565b611069848484846111e9565b6109325760405162461bcd60e51b815260040161050990611c91565b6060816110a95750506040805180820190915260018152600360fc1b602082015290565b8160005b81156110d357806110bd81611ddb565b91506110cc9050600a83611d49565b91506110ad565b60008167ffffffffffffffff8111156110fc57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611126576020820181803683370190505b5090505b8415610d815761113b600183611d5d565b9150611148600a86611df6565b611153906030611d31565b60f81b81838151811061117657634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350611198600a86611d49565b945061112a565b60006001600160e01b03198216632b424ad760e21b14806103d557506103d5826112f6565b6107e8828260405180602001604052806000815250611346565b6105aa838383611379565b60006001600160a01b0384163b156112eb57604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061122d903390899088908890600401611c41565b602060405180830381600087803b15801561124757600080fd5b505af1925050508015611277575060408051601f3d908101601f1916820190925261127491810190611a7a565b60015b6112d1573d8080156112a5576040519150601f19603f3d011682016040523d82523d6000602084013e6112aa565b606091505b5080516112c95760405162461bcd60e51b815260040161050990611c91565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050610d81565b506001949350505050565b60006001600160e01b031982166380ac58cd60e01b148061132757506001600160e01b03198216635b5e139f60e01b145b806103d557506301ffc9a760e01b6001600160e01b03198316146103d5565b611350838361143c565b61135d60008484846111e9565b6105aa5760405162461bcd60e51b815260040161050990611c91565b61138483838361158a565b6001600160a01b0383166113df576113da81600980546000838152600a60205260408120829055600182018355919091527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af0155565b611402565b816001600160a01b0316836001600160a01b031614611402576114028382611614565b6001600160a01b038216611419576105aa816116b1565b826001600160a01b0316826001600160a01b0316146105aa576105aa828261178a565b6001600160a01b0382166114925760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610509565b6000818152600260205260409020546001600160a01b0316156114f75760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610509565b611503600083836111de565b6001600160a01b038216600090815260036020526040812080546001929061152c908490611d31565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b816001600160a01b0316836001600160a01b0316141580156115c257506000818152600660205260409020546001600160a01b031615155b156105aa57600081815260066020908152604080832080546001600160e01b03191690555182815283917f4e06b4e7000e659094299b3533b47b6aa8ad048e95e872d23d1f4ee55af89cfe9101611045565b600060016116218461084c565b61162b9190611d5d565b60008381526008602052604090205490915080821461167e576001600160a01b03841660009081526007602090815260408083208584528252808320548484528184208190558352600890915290208190555b5060009182526008602090815260408084208490556001600160a01b039094168352600781528383209183525290812055565b6009546000906116c390600190611d5d565b6000838152600a6020526040812054600980549394509092849081106116f957634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050806009838154811061172857634e487b7160e01b600052603260045260246000fd5b6000918252602080832090910192909255828152600a9091526040808220849055858252812055600980548061176e57634e487b7160e01b600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b60006117958361084c565b6001600160a01b039093166000908152600760209081526040808320868452825280832085905593825260089052919091209190915550565b8280546117da90611da0565b90600052602060002090601f0160209004810192826117fc5760008555611842565b82601f1061181557805160ff1916838001178555611842565b82800160010185558215611842579182015b82811115611842578251825591602001919060010190611827565b5061184e929150611852565b5090565b5b8082111561184e5760008155600101611853565b600067ffffffffffffffff8084111561188257611882611e36565b604051601f8501601f19908116603f011681019082821181831017156118aa576118aa611e36565b816040528093508581528686860111156118c357600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b038116811461064557600080fd5b600060208284031215611905578081fd5b61190e826118dd565b9392505050565b60008060408385031215611927578081fd5b611930836118dd565b915061193e602084016118dd565b90509250929050565b60008060006060848603121561195b578081fd5b611964846118dd565b9250611972602085016118dd565b9150604084013590509250925092565b60008060008060808587031215611997578081fd5b6119a0856118dd565b93506119ae602086016118dd565b925060408501359150606085013567ffffffffffffffff8111156119d0578182fd5b8501601f810187136119e0578182fd5b6119ef87823560208401611867565b91505092959194509250565b60008060408385031215611a0d578182fd5b611a16836118dd565b915060208301358015158114611a2a578182fd5b809150509250929050565b60008060408385031215611a47578182fd5b611a50836118dd565b946020939093013593505050565b600060208284031215611a6f578081fd5b813561190e81611e4c565b600060208284031215611a8b578081fd5b815161190e81611e4c565b600060208284031215611aa7578081fd5b813567ffffffffffffffff811115611abd578182fd5b8201601f81018413611acd578182fd5b610d8184823560208401611867565b600060208284031215611aed578081fd5b5035919050565b600080600060608486031215611b08578283fd5b83359250611b18602085016118dd565b9150604084013567ffffffffffffffff81168114611b34578182fd5b809150509250925092565b60008151808452611b57816020860160208601611d74565b601f01601f19169290920160200192915050565b60008151611b7d818560208601611d74565b9290920192915050565b600080845482600182811c915080831680611ba357607f831692505b6020808410821415611bc357634e487b7160e01b87526022600452602487fd5b818015611bd75760018114611be857611c14565b60ff19861689528489019650611c14565b60008b815260209020885b86811015611c0c5781548b820152908501908301611bf3565b505084890196505b505050505050611c38611c278286611b6b565b64173539b7b760d91b815260050190565b95945050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611c7490830184611b3f565b9695505050505050565b60208152600061190e6020830184611b3f565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252602e908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526d1c881b9bdc88185c1c1c9bdd995960921b606082015260800190565b60008219821115611d4457611d44611e0a565b500190565b600082611d5857611d58611e20565b500490565b600082821015611d6f57611d6f611e0a565b500390565b60005b83811015611d8f578181015183820152602001611d77565b838111156109325750506000910152565b600181811c90821680611db457607f821691505b60208210811415611dd557634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415611def57611def611e0a565b5060010190565b600082611e0557611e05611e20565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610b9457600080fdfea26469706673582212201ed6d825863d03aba48978c966f2ae5414182093abc7a604c61dad621f14d03e64736f6c63430008040033000000000000000000000000000000000000000000000000000000000000018f
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101735760003560e01c806370a08231116100de578063b88d4fde11610097578063d5abeb0111610071578063d5abeb0114610341578063e030565e14610368578063e985e9c51461037b578063f2fde38b146103b757600080fd5b8063b88d4fde14610308578063c2f1f14a1461031b578063c87b56dd1461032e57600080fd5b806370a0823114610290578063715018a6146102a35780638da5cb5b146102ab5780638fc88c48146102bc57806395d89b41146102ed578063a22cb465146102f557600080fd5b806323b872dd1161013057806323b872dd1461021e5780632f745c591461023157806342842e0e146102445780634f6ccce71461025757806355f804b31461026a5780636352211e1461027d57600080fd5b806301ffc9a71461017857806306fdde03146101a0578063081812fc146101b5578063095ea7b3146101e057806317e5883c146101f557806318160ddd14610216575b600080fd5b61018b610186366004611a5e565b6103ca565b60405190151581526020015b60405180910390f35b6101a86103db565b6040516101979190611c7e565b6101c86101c3366004611adc565b61046d565b6040516001600160a01b039091168152602001610197565b6101f36101ee366004611a35565b610494565b005b6102086102033660046118f4565b6105af565b604051908152602001610197565b600954610208565b6101f361022c366004611947565b61064a565b61020861023f366004611a35565b61067b565b6101f3610252366004611947565b610711565b610208610265366004611adc565b61072c565b6101f3610278366004611a96565b6107cd565b6101c861028b366004611adc565b6107ec565b61020861029e3660046118f4565b61084c565b6101f36108d2565b600b546001600160a01b03166101c8565b6102086102ca366004611adc565b600090815260066020526040902054600160a01b900467ffffffffffffffff1690565b6101a86108e6565b6101f36103033660046119fb565b6108f5565b6101f3610316366004611982565b610900565b6101c8610329366004611adc565b610938565b6101a861033c366004611adc565b610983565b6102087f000000000000000000000000000000000000000000000000000000000000018f81565b6101f3610376366004611af4565b610a2d565b61018b610389366004611915565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b6101f36103c53660046118f4565b610b1e565b60006103d582610b97565b92915050565b6060600080546103ea90611da0565b80601f016020809104026020016040519081016040528092919081815260200182805461041690611da0565b80156104635780601f1061043857610100808354040283529160200191610463565b820191906000526020600020905b81548152906001019060200180831161044657829003601f168201915b5050505050905090565b600061047882610bbc565b506000908152600460205260409020546001600160a01b031690565b600061049f826107ec565b9050806001600160a01b0316836001600160a01b031614156105125760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084015b60405180910390fd5b336001600160a01b038216148061052e575061052e8133610389565b6105a05760405162461bcd60e51b815260206004820152603e60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c00006064820152608401610509565b6105aa8383610c1b565b505050565b60006105b9610c89565b7f000000000000000000000000000000000000000000000000000000000000018f6105e360095490565b1061063c5760405162461bcd60e51b815260206004820152602360248201527f4d43417374726f3a20746865206c696d697420686173206265656e20726561636044820152621a195960ea1b6064820152608401610509565b6103d582610ce3565b919050565b6106543382610d0a565b6106705760405162461bcd60e51b815260040161050990611ce3565b6105aa838383610d89565b60006106868361084c565b82106106e85760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610509565b506001600160a01b03919091166000908152600760209081526040808320938352929052205490565b6105aa83838360405180602001604052806000815250610900565b600061073760095490565b821061079a5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610509565b600982815481106107bb57634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050919050565b6107d5610c89565b80516107e890600d9060208401906117ce565b5050565b6000818152600260205260408120546001600160a01b0316806103d55760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610509565b60006001600160a01b0382166108b65760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b6064820152608401610509565b506001600160a01b031660009081526003602052604090205490565b6108da610c89565b6108e46000610f30565b565b6060600180546103ea90611da0565b6107e8338383610f82565b61090a3383610d0a565b6109265760405162461bcd60e51b815260040161050990611ce3565b61093284848484611052565b50505050565b60008181526006602052604081205442600160a01b90910467ffffffffffffffff161061097b57506000908152600660205260409020546001600160a01b031690565b506000919050565b6000818152600260205260409020546060906001600160a01b03166109fb5760405162461bcd60e51b815260206004820152602860248201527f4d43417374726f3a2055524920717565727920666f72206e6f6e657869737465604482015267373a103a37b5b2b760c11b6064820152608401610509565b600d610a0683611085565b604051602001610a17929190611b87565b6040516020818303038152906040529050919050565b610a373384610d0a565b610a9d5760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6044820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b6064820152608401610509565b60008381526006602090815260409182902080546001600160a01b0386166001600160e01b03199091168117600160a01b67ffffffffffffffff871690810291909117835593519384529092909186917f4e06b4e7000e659094299b3533b47b6aa8ad048e95e872d23d1f4ee55af89cfe910160405180910390a350505050565b610b26610c89565b6001600160a01b038116610b8b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610509565b610b9481610f30565b50565b60006001600160e01b0319821663780e9d6360e01b14806103d557506103d58261119f565b6000818152600260205260409020546001600160a01b0316610b945760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610509565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610c50826107ec565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600b546001600160a01b031633146108e45760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610509565b6000610cf3600c80546001019055565b6000610cfe600c5490565b90506103d583826111c4565b600080610d16836107ec565b9050806001600160a01b0316846001600160a01b03161480610d5d57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b80610d815750836001600160a01b0316610d768461046d565b6001600160a01b0316145b949350505050565b826001600160a01b0316610d9c826107ec565b6001600160a01b031614610e005760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b6064820152608401610509565b6001600160a01b038216610e625760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610509565b610e6d8383836111de565b610e78600082610c1b565b6001600160a01b0383166000908152600360205260408120805460019290610ea1908490611d5d565b90915550506001600160a01b0382166000908152600360205260408120805460019290610ecf908490611d31565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600b80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b03161415610fe45760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610509565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3191015b60405180910390a3505050565b61105d848484610d89565b611069848484846111e9565b6109325760405162461bcd60e51b815260040161050990611c91565b6060816110a95750506040805180820190915260018152600360fc1b602082015290565b8160005b81156110d357806110bd81611ddb565b91506110cc9050600a83611d49565b91506110ad565b60008167ffffffffffffffff8111156110fc57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611126576020820181803683370190505b5090505b8415610d815761113b600183611d5d565b9150611148600a86611df6565b611153906030611d31565b60f81b81838151811061117657634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350611198600a86611d49565b945061112a565b60006001600160e01b03198216632b424ad760e21b14806103d557506103d5826112f6565b6107e8828260405180602001604052806000815250611346565b6105aa838383611379565b60006001600160a01b0384163b156112eb57604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061122d903390899088908890600401611c41565b602060405180830381600087803b15801561124757600080fd5b505af1925050508015611277575060408051601f3d908101601f1916820190925261127491810190611a7a565b60015b6112d1573d8080156112a5576040519150601f19603f3d011682016040523d82523d6000602084013e6112aa565b606091505b5080516112c95760405162461bcd60e51b815260040161050990611c91565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050610d81565b506001949350505050565b60006001600160e01b031982166380ac58cd60e01b148061132757506001600160e01b03198216635b5e139f60e01b145b806103d557506301ffc9a760e01b6001600160e01b03198316146103d5565b611350838361143c565b61135d60008484846111e9565b6105aa5760405162461bcd60e51b815260040161050990611c91565b61138483838361158a565b6001600160a01b0383166113df576113da81600980546000838152600a60205260408120829055600182018355919091527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af0155565b611402565b816001600160a01b0316836001600160a01b031614611402576114028382611614565b6001600160a01b038216611419576105aa816116b1565b826001600160a01b0316826001600160a01b0316146105aa576105aa828261178a565b6001600160a01b0382166114925760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610509565b6000818152600260205260409020546001600160a01b0316156114f75760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610509565b611503600083836111de565b6001600160a01b038216600090815260036020526040812080546001929061152c908490611d31565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b816001600160a01b0316836001600160a01b0316141580156115c257506000818152600660205260409020546001600160a01b031615155b156105aa57600081815260066020908152604080832080546001600160e01b03191690555182815283917f4e06b4e7000e659094299b3533b47b6aa8ad048e95e872d23d1f4ee55af89cfe9101611045565b600060016116218461084c565b61162b9190611d5d565b60008381526008602052604090205490915080821461167e576001600160a01b03841660009081526007602090815260408083208584528252808320548484528184208190558352600890915290208190555b5060009182526008602090815260408084208490556001600160a01b039094168352600781528383209183525290812055565b6009546000906116c390600190611d5d565b6000838152600a6020526040812054600980549394509092849081106116f957634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050806009838154811061172857634e487b7160e01b600052603260045260246000fd5b6000918252602080832090910192909255828152600a9091526040808220849055858252812055600980548061176e57634e487b7160e01b600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b60006117958361084c565b6001600160a01b039093166000908152600760209081526040808320868452825280832085905593825260089052919091209190915550565b8280546117da90611da0565b90600052602060002090601f0160209004810192826117fc5760008555611842565b82601f1061181557805160ff1916838001178555611842565b82800160010185558215611842579182015b82811115611842578251825591602001919060010190611827565b5061184e929150611852565b5090565b5b8082111561184e5760008155600101611853565b600067ffffffffffffffff8084111561188257611882611e36565b604051601f8501601f19908116603f011681019082821181831017156118aa576118aa611e36565b816040528093508581528686860111156118c357600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b038116811461064557600080fd5b600060208284031215611905578081fd5b61190e826118dd565b9392505050565b60008060408385031215611927578081fd5b611930836118dd565b915061193e602084016118dd565b90509250929050565b60008060006060848603121561195b578081fd5b611964846118dd565b9250611972602085016118dd565b9150604084013590509250925092565b60008060008060808587031215611997578081fd5b6119a0856118dd565b93506119ae602086016118dd565b925060408501359150606085013567ffffffffffffffff8111156119d0578182fd5b8501601f810187136119e0578182fd5b6119ef87823560208401611867565b91505092959194509250565b60008060408385031215611a0d578182fd5b611a16836118dd565b915060208301358015158114611a2a578182fd5b809150509250929050565b60008060408385031215611a47578182fd5b611a50836118dd565b946020939093013593505050565b600060208284031215611a6f578081fd5b813561190e81611e4c565b600060208284031215611a8b578081fd5b815161190e81611e4c565b600060208284031215611aa7578081fd5b813567ffffffffffffffff811115611abd578182fd5b8201601f81018413611acd578182fd5b610d8184823560208401611867565b600060208284031215611aed578081fd5b5035919050565b600080600060608486031215611b08578283fd5b83359250611b18602085016118dd565b9150604084013567ffffffffffffffff81168114611b34578182fd5b809150509250925092565b60008151808452611b57816020860160208601611d74565b601f01601f19169290920160200192915050565b60008151611b7d818560208601611d74565b9290920192915050565b600080845482600182811c915080831680611ba357607f831692505b6020808410821415611bc357634e487b7160e01b87526022600452602487fd5b818015611bd75760018114611be857611c14565b60ff19861689528489019650611c14565b60008b815260209020885b86811015611c0c5781548b820152908501908301611bf3565b505084890196505b505050505050611c38611c278286611b6b565b64173539b7b760d91b815260050190565b95945050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611c7490830184611b3f565b9695505050505050565b60208152600061190e6020830184611b3f565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252602e908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526d1c881b9bdc88185c1c1c9bdd995960921b606082015260800190565b60008219821115611d4457611d44611e0a565b500190565b600082611d5857611d58611e20565b500490565b600082821015611d6f57611d6f611e0a565b500390565b60005b83811015611d8f578181015183820152602001611d77565b838111156109325750506000910152565b600181811c90821680611db457607f821691505b60208210811415611dd557634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415611def57611def611e0a565b5060010190565b600082611e0557611e05611e20565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610b9457600080fdfea26469706673582212201ed6d825863d03aba48978c966f2ae5414182093abc7a604c61dad621f14d03e64736f6c63430008040033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000018f
-----Decoded View---------------
Arg [0] : _maxSupply (uint256): 399
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000000000000000000000000000000000000000018f
Deployed Bytecode Sourcemap
46978:1770:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47649:213;;;;;;:::i;:::-;;:::i;:::-;;;7390:14:1;;7383:22;7365:41;;7353:2;7338:18;47649:213:0;;;;;;;;23382:100;;;:::i;:::-;;;;;;;:::i;24895:171::-;;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;6688:32:1;;;6670:51;;6658:2;6643:18;24895:171:0;6625:102:1;24412:417:0;;;;;;:::i;:::-;;:::i;:::-;;47984:188;;;;;;:::i;:::-;;:::i;:::-;;;15138:25:1;;;15126:2;15111:18;47984:188:0;15093:76:1;41470:113:0;41558:10;:17;41470:113;;25595:336;;;;;;:::i;:::-;;:::i;41138:256::-;;;;;;:::i;:::-;;:::i;26002:185::-;;;;;;:::i;:::-;;:::i;41660:233::-;;;;;;:::i;:::-;;:::i;47870:98::-;;;;;;:::i;:::-;;:::i;23093:222::-;;;;;;:::i;:::-;;:::i;22824:207::-;;;;;;:::i;:::-;;:::i;1596:103::-;;;:::i;948:87::-;1021:6;;-1:-1:-1;;;;;1021:6:0;948:87;;38729:132;;;;;;:::i;:::-;38804:7;38830:15;;;:6;:15;;;;;:23;-1:-1:-1;;;38830:23:0;;;;;38729:132;23551:104;;;:::i;25138:155::-;;;;;;:::i;:::-;;:::i;26258:323::-;;;;;;:::i;:::-;;:::i;38238:266::-;;;;;;:::i;:::-;;:::i;48180:351::-;;;;;;:::i;:::-;;:::i;47188:34::-;;;;;37624:365;;;;;;:::i;:::-;;:::i;25364:164::-;;;;;;:::i;:::-;-1:-1:-1;;;;;25485:25:0;;;25461:4;25485:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;25364:164;1854:201;;;;;;:::i;:::-;;:::i;47649:213::-;47789:4;47818:36;47842:11;47818:23;:36::i;:::-;47811:43;47649:213;-1:-1:-1;;47649:213:0:o;23382:100::-;23436:13;23469:5;23462:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23382:100;:::o;24895:171::-;24971:7;24991:23;25006:7;24991:14;:23::i;:::-;-1:-1:-1;25034:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;25034:24:0;;24895:171::o;24412:417::-;24493:13;24509:23;24524:7;24509:14;:23::i;:::-;24493:39;;24557:5;-1:-1:-1;;;;;24551:11:0;:2;-1:-1:-1;;;;;24551:11:0;;;24543:57;;;;-1:-1:-1;;;24543:57:0;;13142:2:1;24543:57:0;;;13124:21:1;13181:2;13161:18;;;13154:30;13220:34;13200:18;;;13193:62;-1:-1:-1;;;13271:18:1;;;13264:31;13312:19;;24543:57:0;;;;;;;;;246:10;-1:-1:-1;;;;;24635:21:0;;;;:62;;-1:-1:-1;24660:37:0;24677:5;246:10;25364:164;:::i;24660:37::-;24613:174;;;;-1:-1:-1;;;24613:174:0;;11227:2:1;24613:174:0;;;11209:21:1;11266:2;11246:18;;;11239:30;11305:34;11285:18;;;11278:62;11376:32;11356:18;;;11349:60;11426:19;;24613:174:0;11199:252:1;24613:174:0;24800:21;24809:2;24813:7;24800:8;:21::i;:::-;24412:417;;;:::o;47984:188::-;48041:7;834:13;:11;:13::i;:::-;48085:9:::1;48069:13;41558:10:::0;:17;;41470:113;48069:13:::1;:25;48061:73;;;::::0;-1:-1:-1;;;48061:73:0;;14375:2:1;48061:73:0::1;::::0;::::1;14357:21:1::0;14414:2;14394:18;;;14387:30;14453:34;14433:18;;;14426:62;-1:-1:-1;;;14504:18:1;;;14497:33;14547:19;;48061:73:0::1;14347:225:1::0;48061:73:0::1;48152:12;48161:2;48152:8;:12::i;858:1::-;47984:188:::0;;;:::o;25595:336::-;25790:41;246:10;25823:7;25790:18;:41::i;:::-;25782:100;;;;-1:-1:-1;;;25782:100:0;;;;;;;:::i;:::-;25895:28;25905:4;25911:2;25915:7;25895:9;:28::i;41138:256::-;41235:7;41271:23;41288:5;41271:16;:23::i;:::-;41263:5;:31;41255:87;;;;-1:-1:-1;;;41255:87:0;;8057:2:1;41255:87:0;;;8039:21:1;8096:2;8076:18;;;8069:30;8135:34;8115:18;;;8108:62;-1:-1:-1;;;8186:18:1;;;8179:41;8237:19;;41255:87:0;8029:233:1;41255:87:0;-1:-1:-1;;;;;;41360:19:0;;;;;;;;:12;:19;;;;;;;;:26;;;;;;;;;41138:256::o;26002:185::-;26140:39;26157:4;26163:2;26167:7;26140:39;;;;;;;;;;;;:16;:39::i;41660:233::-;41735:7;41771:30;41558:10;:17;;41470:113;41771:30;41763:5;:38;41755:95;;;;-1:-1:-1;;;41755:95:0;;13962:2:1;41755:95:0;;;13944:21:1;14001:2;13981:18;;;13974:30;14040:34;14020:18;;;14013:62;-1:-1:-1;;;14091:18:1;;;14084:42;14143:19;;41755:95:0;13934:234:1;41755:95:0;41868:10;41879:5;41868:17;;;;;;-1:-1:-1;;;41868:17:0;;;;;;;;;;;;;;;;;41861:24;;41660:233;;;:::o;47870:98::-;834:13;:11;:13::i;:::-;47942:18;;::::1;::::0;:7:::1;::::0;:18:::1;::::0;::::1;::::0;::::1;:::i;:::-;;47870:98:::0;:::o;23093:222::-;23165:7;23201:16;;;:7;:16;;;;;;-1:-1:-1;;;;;23201:16:0;23236:19;23228:56;;;;-1:-1:-1;;;23228:56:0;;12789:2:1;23228:56:0;;;12771:21:1;12828:2;12808:18;;;12801:30;-1:-1:-1;;;12847:18:1;;;12840:54;12911:18;;23228:56:0;12761:174:1;22824:207:0;22896:7;-1:-1:-1;;;;;22924:19:0;;22916:73;;;;-1:-1:-1;;;22916:73:0;;10817:2:1;22916:73:0;;;10799:21:1;10856:2;10836:18;;;10829:30;10895:34;10875:18;;;10868:62;-1:-1:-1;;;10946:18:1;;;10939:39;10995:19;;22916:73:0;10789:231:1;22916:73:0;-1:-1:-1;;;;;;23007:16:0;;;;;:9;:16;;;;;;;22824:207::o;1596:103::-;834:13;:11;:13::i;:::-;1661:30:::1;1688:1;1661:18;:30::i;:::-;1596:103::o:0;23551:104::-;23607:13;23640:7;23633:14;;;;;:::i;25138:155::-;25233:52;246:10;25266:8;25276;25233:18;:52::i;26258:323::-;26432:41;246:10;26465:7;26432:18;:41::i;:::-;26424:100;;;;-1:-1:-1;;;26424:100:0;;;;;;;:::i;:::-;26535:38;26549:4;26555:2;26559:7;26568:4;26535:13;:38::i;:::-;26258:323;;;;:::o;38238:266::-;38307:7;38338:15;;;:6;:15;;;;;:23;38367:15;-1:-1:-1;;;38338:23:0;;;;;38330:52;38326:171;;-1:-1:-1;38406:15:0;;;;:6;:15;;;;;:20;-1:-1:-1;;;;;38406:20:0;;38238:266::o;38326:171::-;-1:-1:-1;38483:1:0;;38238:266;-1:-1:-1;38238:266:0:o;48180:351::-;28153:4;28177:16;;;:7;:16;;;;;;48298:13;;-1:-1:-1;;;;;28177:16:0;48329:69;;;;-1:-1:-1;;;48329:69:0;;12380:2:1;48329:69:0;;;12362:21:1;12419:2;12399:18;;;12392:30;12458:34;12438:18;;;12431:62;-1:-1:-1;;;12509:18:1;;;12502:38;12557:19;;48329:69:0;12352:230:1;48329:69:0;48471:7;48480:18;:7;:16;:18::i;:::-;48454:54;;;;;;;;;:::i;:::-;;;;;;;;;;;;;48409:114;;48180:351;;;:::o;37624:365::-;37730:39;37749:10;37761:7;37730:18;:39::i;:::-;37722:100;;;;-1:-1:-1;;;37722:100:0;;13544:2:1;37722:100:0;;;13526:21:1;13583:2;13563:18;;;13556:30;13622:34;13602:18;;;13595:62;-1:-1:-1;;;13673:18:1;;;13666:47;13730:19;;37722:100:0;13516:239:1;37722:100:0;37833:21;37858:15;;;:6;:15;;;;;;;;;37884:16;;-1:-1:-1;;;;;37884:16:0;;-1:-1:-1;;;;;;37911:22:0;;;;;-1:-1:-1;;;37911:22:0;;;;;;;;;;;;37949:32;;7570:50:1;;;37858:15:0;;37884:16;;37858:15;;37949:32;;7543:18:1;37949:32:0;;;;;;;37624:365;;;;:::o;1854:201::-;834:13;:11;:13::i;:::-;-1:-1:-1;;;;;1943:22:0;::::1;1935:73;;;::::0;-1:-1:-1;;;1935:73:0;;8888:2:1;1935:73:0::1;::::0;::::1;8870:21:1::0;8927:2;8907:18;;;8900:30;8966:34;8946:18;;;8939:62;-1:-1:-1;;;9017:18:1;;;9010:36;9063:19;;1935:73:0::1;8860:228:1::0;1935:73:0::1;2019:28;2038:8;2019:18;:28::i;:::-;1854:201:::0;:::o;40830:224::-;40932:4;-1:-1:-1;;;;;;40956:50:0;;-1:-1:-1;;;40956:50:0;;:90;;;41010:36;41034:11;41010:23;:36::i;32870:135::-;28153:4;28177:16;;;:7;:16;;;;;;-1:-1:-1;;;;;28177:16:0;32944:53;;;;-1:-1:-1;;;32944:53:0;;12789:2:1;32944:53:0;;;12771:21:1;12828:2;12808:18;;;12801:30;-1:-1:-1;;;12847:18:1;;;12840:54;12911:18;;32944:53:0;12761:174:1;32149::0;32224:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;32224:29:0;-1:-1:-1;;;;;32224:29:0;;;;;;;;:24;;32278:23;32224:24;32278:14;:23::i;:::-;-1:-1:-1;;;;;32269:46:0;;;;;;;;;;;32149:174;;:::o;1113:132::-;1021:6;;-1:-1:-1;;;;;1021:6:0;246:10;1177:23;1169:68;;;;-1:-1:-1;;;1169:68:0;;12019:2:1;1169:68:0;;;12001:21:1;;;12038:18;;;12031:30;12097:34;12077:18;;;12070:62;12149:18;;1169:68:0;11991:182:1;48539:206:0;48586:7;48606:20;:8;3033:19;;3051:1;3033:19;;;2944:127;48606:20;48637:17;48657:18;:8;2914:14;;2822:114;48657:18;48637:38;;48686:24;48696:2;48700:9;48686;:24::i;28382:264::-;28475:4;28492:13;28508:23;28523:7;28508:14;:23::i;:::-;28492:39;;28561:5;-1:-1:-1;;;;;28550:16:0;:7;-1:-1:-1;;;;;28550:16:0;;:52;;;-1:-1:-1;;;;;;25485:25:0;;;25461:4;25485:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;28570:32;28550:87;;;;28630:7;-1:-1:-1;;;;;28606:31:0;:20;28618:7;28606:11;:20::i;:::-;-1:-1:-1;;;;;28606:31:0;;28550:87;28542:96;28382:264;-1:-1:-1;;;;28382:264:0:o;31405:625::-;31564:4;-1:-1:-1;;;;;31537:31:0;:23;31552:7;31537:14;:23::i;:::-;-1:-1:-1;;;;;31537:31:0;;31529:81;;;;-1:-1:-1;;;31529:81:0;;9295:2:1;31529:81:0;;;9277:21:1;9334:2;9314:18;;;9307:30;9373:34;9353:18;;;9346:62;-1:-1:-1;;;9424:18:1;;;9417:35;9469:19;;31529:81:0;9267:227:1;31529:81:0;-1:-1:-1;;;;;31629:16:0;;31621:65;;;;-1:-1:-1;;;31621:65:0;;10058:2:1;31621:65:0;;;10040:21:1;10097:2;10077:18;;;10070:30;10136:34;10116:18;;;10109:62;-1:-1:-1;;;10187:18:1;;;10180:34;10231:19;;31621:65:0;10030:226:1;31621:65:0;31699:39;31720:4;31726:2;31730:7;31699:20;:39::i;:::-;31803:29;31820:1;31824:7;31803:8;:29::i;:::-;-1:-1:-1;;;;;31845:15:0;;;;;;:9;:15;;;;;:20;;31864:1;;31845:15;:20;;31864:1;;31845:20;:::i;:::-;;;;-1:-1:-1;;;;;;;31876:13:0;;;;;;:9;:13;;;;;:18;;31893:1;;31876:13;:18;;31893:1;;31876:18;:::i;:::-;;;;-1:-1:-1;;31905:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;31905:21:0;-1:-1:-1;;;;;31905:21:0;;;;;;;;;31944:27;;31905:16;;31944:27;;;;;;;24412:417;;;:::o;2215:191::-;2308:6;;;-1:-1:-1;;;;;2325:17:0;;;-1:-1:-1;;;;;;2325:17:0;;;;;;;2358:40;;2308:6;;;2325:17;2308:6;;2358:40;;2289:16;;2358:40;2215:191;;:::o;32466:315::-;32621:8;-1:-1:-1;;;;;32612:17:0;:5;-1:-1:-1;;;;;32612:17:0;;;32604:55;;;;-1:-1:-1;;;32604:55:0;;10463:2:1;32604:55:0;;;10445:21:1;10502:2;10482:18;;;10475:30;10541:27;10521:18;;;10514:55;10586:18;;32604:55:0;10435:175:1;32604:55:0;-1:-1:-1;;;;;32670:25:0;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;32670:46:0;;;;;;;;;;32732:41;;7365::1;;;32732::0;;7338:18:1;32732:41:0;;;;;;;;32466:315;;;:::o;27462:313::-;27618:28;27628:4;27634:2;27638:7;27618:9;:28::i;:::-;27665:47;27688:4;27694:2;27698:7;27707:4;27665:22;:47::i;:::-;27657:110;;;;-1:-1:-1;;;27657:110:0;;;;;;;:::i;12856:723::-;12912:13;13133:10;13129:53;;-1:-1:-1;;13160:10:0;;;;;;;;;;;;-1:-1:-1;;;13160:10:0;;;;;12856:723::o;13129:53::-;13207:5;13192:12;13248:78;13255:9;;13248:78;;13281:8;;;;:::i;:::-;;-1:-1:-1;13304:10:0;;-1:-1:-1;13312:2:0;13304:10;;:::i;:::-;;;13248:78;;;13336:19;13368:6;13358:17;;;;;;-1:-1:-1;;;13358:17:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;13358:17:0;;13336:39;;13386:154;13393:10;;13386:154;;13420:11;13430:1;13420:11;;:::i;:::-;;-1:-1:-1;13489:10:0;13497:2;13489:5;:10;:::i;:::-;13476:24;;:2;:24;:::i;:::-;13463:39;;13446:6;13453;13446:14;;;;;;-1:-1:-1;;;13446:14:0;;;;;;;;;;;;:56;-1:-1:-1;;;;;13446:56:0;;;;;;;;-1:-1:-1;13517:11:0;13526:2;13517:11;;:::i;:::-;;;13386:154;;38916:198;39001:4;-1:-1:-1;;;;;;39025:41:0;;-1:-1:-1;;;39025:41:0;;:81;;;39070:36;39094:11;39070:23;:36::i;28988:110::-;29064:26;29074:2;29078:7;29064:26;;;;;;;;;;;;:9;:26::i;47425:216::-;47588:45;47615:4;47621:2;47625:7;47588:26;:45::i;33569:853::-;33723:4;-1:-1:-1;;;;;33744:13:0;;4718:19;:23;33740:675;;33780:71;;-1:-1:-1;;;33780:71:0;;-1:-1:-1;;;;;33780:36:0;;;;;:71;;246:10;;33831:4;;33837:7;;33846:4;;33780:71;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;33780:71:0;;;;;;;;-1:-1:-1;;33780:71:0;;;;;;;;;;;;:::i;:::-;;;33776:584;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;34021:13:0;;34017:328;;34064:60;;-1:-1:-1;;;34064:60:0;;;;;;;:::i;34017:328::-;34295:6;34289:13;34280:6;34276:2;34272:15;34265:38;33776:584;-1:-1:-1;;;;;;33902:51:0;-1:-1:-1;;;33902:51:0;;-1:-1:-1;33895:58:0;;33740:675;-1:-1:-1;34399:4:0;33569:853;;;;;;:::o;22455:305::-;22557:4;-1:-1:-1;;;;;;22594:40:0;;-1:-1:-1;;;22594:40:0;;:105;;-1:-1:-1;;;;;;;22651:48:0;;-1:-1:-1;;;22651:48:0;22594:105;:158;;;-1:-1:-1;;;;;;;;;;20943:40:0;;;22716:36;20834:157;29325:319;29454:18;29460:2;29464:7;29454:5;:18::i;:::-;29505:53;29536:1;29540:2;29544:7;29553:4;29505:22;:53::i;:::-;29483:153;;;;-1:-1:-1;;;29483:153:0;;;;;;;:::i;42506:589::-;42650:45;42677:4;42683:2;42687:7;42650:26;:45::i;:::-;-1:-1:-1;;;;;42712:18:0;;42708:187;;42747:40;42779:7;43922:10;:17;;43895:24;;;;:15;:24;;;;;:44;;;43950:24;;;;;;;;;;;;43818:164;42747:40;42708:187;;;42817:2;-1:-1:-1;;;;;42809:10:0;:4;-1:-1:-1;;;;;42809:10:0;;42805:90;;42836:47;42869:4;42875:7;42836:32;:47::i;:::-;-1:-1:-1;;;;;42909:16:0;;42905:183;;42942:45;42979:7;42942:36;:45::i;42905:183::-;43015:4;-1:-1:-1;;;;;43009:10:0;:2;-1:-1:-1;;;;;43009:10:0;;43005:83;;43036:40;43064:2;43068:7;43036:27;:40::i;29980:439::-;-1:-1:-1;;;;;30060:16:0;;30052:61;;;;-1:-1:-1;;;30052:61:0;;11658:2:1;30052:61:0;;;11640:21:1;;;11677:18;;;11670:30;11736:34;11716:18;;;11709:62;11788:18;;30052:61:0;11630:182:1;30052:61:0;28153:4;28177:16;;;:7;:16;;;;;;-1:-1:-1;;;;;28177:16:0;:30;30124:58;;;;-1:-1:-1;;;30124:58:0;;9701:2:1;30124:58:0;;;9683:21:1;9740:2;9720:18;;;9713:30;9779;9759:18;;;9752:58;9827:18;;30124:58:0;9673:178:1;30124:58:0;30195:45;30224:1;30228:2;30232:7;30195:20;:45::i;:::-;-1:-1:-1;;;;;30253:13:0;;;;;;:9;:13;;;;;:18;;30270:1;;30253:13;:18;;30270:1;;30253:18;:::i;:::-;;;;-1:-1:-1;;30282:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;30282:21:0;-1:-1:-1;;;;;30282:21:0;;;;;;;;30321:33;;30282:16;;;30321:33;;30282:16;;30321:33;47942:18:::1;47870:98:::0;:::o;39122:365::-;39335:2;-1:-1:-1;;;;;39327:10:0;:4;-1:-1:-1;;;;;39327:10:0;;;:48;;;;-1:-1:-1;39373:1:0;39341:15;;;:6;:15;;;;;:20;-1:-1:-1;;;;;39341:20:0;:34;;39327:48;39323:157;;;39399:15;;;;:6;:15;;;;;;;;39392:22;;-1:-1:-1;;;;;;39392:22:0;;;39434:34;7570:50:1;;;39399:15:0;;39434:34;;7543:18:1;39434:34:0;7525:101:1;44609:988:0;44875:22;44925:1;44900:22;44917:4;44900:16;:22::i;:::-;:26;;;;:::i;:::-;44937:18;44958:26;;;:17;:26;;;;;;44875:51;;-1:-1:-1;45091:28:0;;;45087:328;;-1:-1:-1;;;;;45158:18:0;;45136:19;45158:18;;;:12;:18;;;;;;;;:34;;;;;;;;;45209:30;;;;;;:44;;;45326:30;;:17;:30;;;;;:43;;;45087:328;-1:-1:-1;45511:26:0;;;;:17;:26;;;;;;;;45504:33;;;-1:-1:-1;;;;;45555:18:0;;;;;:12;:18;;;;;:34;;;;;;;45548:41;44609:988::o;45892:1079::-;46170:10;:17;46145:22;;46170:21;;46190:1;;46170:21;:::i;:::-;46202:18;46223:24;;;:15;:24;;;;;;46596:10;:26;;46145:46;;-1:-1:-1;46223:24:0;;46145:46;;46596:26;;;;-1:-1:-1;;;46596:26:0;;;;;;;;;;;;;;;;;46574:48;;46660:11;46635:10;46646;46635:22;;;;;;-1:-1:-1;;;46635:22:0;;;;;;;;;;;;;;;;;;;;:36;;;;46740:28;;;:15;:28;;;;;;;:41;;;46912:24;;;;;46905:31;46947:10;:16;;;;;-1:-1:-1;;;46947:16:0;;;;;;;;;;;;;;;;;;;;;;;;;;45892:1079;;;;:::o;43396:221::-;43481:14;43498:20;43515:2;43498:16;:20::i;:::-;-1:-1:-1;;;;;43529:16:0;;;;;;;:12;:16;;;;;;;;:24;;;;;;;;:34;;;43574:26;;;:17;:26;;;;;;:35;;;;-1:-1:-1;43396:221:0:o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:631:1;78:5;108:18;149:2;141:6;138:14;135:2;;;155:18;;:::i;:::-;230:2;224:9;198:2;284:15;;-1:-1:-1;;280:24:1;;;306:2;276:33;272:42;260:55;;;330:18;;;350:22;;;327:46;324:2;;;376:18;;:::i;:::-;416:10;412:2;405:22;445:6;436:15;;475:6;467;460:22;515:3;506:6;501:3;497:16;494:25;491:2;;;532:1;529;522:12;491:2;582:6;577:3;570:4;562:6;558:17;545:44;637:1;630:4;621:6;613;609:19;605:30;598:41;;;;88:557;;;;;:::o;650:173::-;718:20;;-1:-1:-1;;;;;767:31:1;;757:42;;747:2;;813:1;810;803:12;828:196;887:6;940:2;928:9;919:7;915:23;911:32;908:2;;;961:6;953;946:22;908:2;989:29;1008:9;989:29;:::i;:::-;979:39;898:126;-1:-1:-1;;;898:126:1:o;1029:270::-;1097:6;1105;1158:2;1146:9;1137:7;1133:23;1129:32;1126:2;;;1179:6;1171;1164:22;1126:2;1207:29;1226:9;1207:29;:::i;:::-;1197:39;;1255:38;1289:2;1278:9;1274:18;1255:38;:::i;:::-;1245:48;;1116:183;;;;;:::o;1304:338::-;1381:6;1389;1397;1450:2;1438:9;1429:7;1425:23;1421:32;1418:2;;;1471:6;1463;1456:22;1418:2;1499:29;1518:9;1499:29;:::i;:::-;1489:39;;1547:38;1581:2;1570:9;1566:18;1547:38;:::i;:::-;1537:48;;1632:2;1621:9;1617:18;1604:32;1594:42;;1408:234;;;;;:::o;1647:696::-;1742:6;1750;1758;1766;1819:3;1807:9;1798:7;1794:23;1790:33;1787:2;;;1841:6;1833;1826:22;1787:2;1869:29;1888:9;1869:29;:::i;:::-;1859:39;;1917:38;1951:2;1940:9;1936:18;1917:38;:::i;:::-;1907:48;;2002:2;1991:9;1987:18;1974:32;1964:42;;2057:2;2046:9;2042:18;2029:32;2084:18;2076:6;2073:30;2070:2;;;2121:6;2113;2106:22;2070:2;2149:22;;2202:4;2194:13;;2190:27;-1:-1:-1;2180:2:1;;2236:6;2228;2221:22;2180:2;2264:73;2329:7;2324:2;2311:16;2306:2;2302;2298:11;2264:73;:::i;:::-;2254:83;;;1777:566;;;;;;;:::o;2348:367::-;2413:6;2421;2474:2;2462:9;2453:7;2449:23;2445:32;2442:2;;;2495:6;2487;2480:22;2442:2;2523:29;2542:9;2523:29;:::i;:::-;2513:39;;2602:2;2591:9;2587:18;2574:32;2649:5;2642:13;2635:21;2628:5;2625:32;2615:2;;2676:6;2668;2661:22;2615:2;2704:5;2694:15;;;2432:283;;;;;:::o;2720:264::-;2788:6;2796;2849:2;2837:9;2828:7;2824:23;2820:32;2817:2;;;2870:6;2862;2855:22;2817:2;2898:29;2917:9;2898:29;:::i;:::-;2888:39;2974:2;2959:18;;;;2946:32;;-1:-1:-1;;;2807:177:1:o;2989:255::-;3047:6;3100:2;3088:9;3079:7;3075:23;3071:32;3068:2;;;3121:6;3113;3106:22;3068:2;3165:9;3152:23;3184:30;3208:5;3184:30;:::i;3249:259::-;3318:6;3371:2;3359:9;3350:7;3346:23;3342:32;3339:2;;;3392:6;3384;3377:22;3339:2;3429:9;3423:16;3448:30;3472:5;3448:30;:::i;3513:480::-;3582:6;3635:2;3623:9;3614:7;3610:23;3606:32;3603:2;;;3656:6;3648;3641:22;3603:2;3701:9;3688:23;3734:18;3726:6;3723:30;3720:2;;;3771:6;3763;3756:22;3720:2;3799:22;;3852:4;3844:13;;3840:27;-1:-1:-1;3830:2:1;;3886:6;3878;3871:22;3830:2;3914:73;3979:7;3974:2;3961:16;3956:2;3952;3948:11;3914:73;:::i;3998:190::-;4057:6;4110:2;4098:9;4089:7;4085:23;4081:32;4078:2;;;4131:6;4123;4116:22;4078:2;-1:-1:-1;4159:23:1;;4068:120;-1:-1:-1;4068:120:1:o;4193:446::-;4269:6;4277;4285;4338:2;4326:9;4317:7;4313:23;4309:32;4306:2;;;4359:6;4351;4344:22;4306:2;4400:9;4387:23;4377:33;;4429:38;4463:2;4452:9;4448:18;4429:38;:::i;:::-;4419:48;;4517:2;4506:9;4502:18;4489:32;4561:18;4554:5;4550:30;4543:5;4540:41;4530:2;;4600:6;4592;4585:22;4530:2;4628:5;4618:15;;;4296:343;;;;;:::o;4644:257::-;4685:3;4723:5;4717:12;4750:6;4745:3;4738:19;4766:63;4822:6;4815:4;4810:3;4806:14;4799:4;4792:5;4788:16;4766:63;:::i;:::-;4883:2;4862:15;-1:-1:-1;;4858:29:1;4849:39;;;;4890:4;4845:50;;4693:208;-1:-1:-1;;4693:208:1:o;4906:185::-;4948:3;4986:5;4980:12;5001:52;5046:6;5041:3;5034:4;5027:5;5023:16;5001:52;:::i;:::-;5069:16;;;;;4956:135;-1:-1:-1;;4956:135:1:o;5214:1305::-;5491:3;5520;5555:6;5549:13;5585:3;5607:1;5635:9;5631:2;5627:18;5617:28;;5695:2;5684:9;5680:18;5717;5707:2;;5761:4;5753:6;5749:17;5739:27;;5707:2;5787;5835;5827:6;5824:14;5804:18;5801:38;5798:2;;;-1:-1:-1;;;5862:33:1;;5918:4;5915:1;5908:15;5948:4;5869:3;5936:17;5798:2;5979:18;6006:104;;;;6124:1;6119:322;;;;5972:469;;6006:104;-1:-1:-1;;6039:24:1;;6027:37;;6084:16;;;;-1:-1:-1;6006:104:1;;6119:322;15426:4;15445:17;;;15495:4;15479:21;;6214:3;6230:165;6244:6;6241:1;6238:13;6230:165;;;6322:14;;6309:11;;;6302:35;6365:16;;;;6259:10;;6230:165;;;6234:3;;6424:6;6419:3;6415:16;6408:23;;5972:469;;;;;;;6457:56;6482:30;6508:3;6500:6;6482:30;:::i;:::-;-1:-1:-1;;;5156:20:1;;5201:1;5192:11;;5146:63;6457:56;6450:63;5499:1020;-1:-1:-1;;;;;5499:1020:1:o;6732:488::-;-1:-1:-1;;;;;7001:15:1;;;6983:34;;7053:15;;7048:2;7033:18;;7026:43;7100:2;7085:18;;7078:34;;;7148:3;7143:2;7128:18;;7121:31;;;6926:4;;7169:45;;7194:19;;7186:6;7169:45;:::i;:::-;7161:53;6935:285;-1:-1:-1;;;;;;6935:285:1:o;7631:219::-;7780:2;7769:9;7762:21;7743:4;7800:44;7840:2;7829:9;7825:18;7817:6;7800:44;:::i;8267:414::-;8469:2;8451:21;;;8508:2;8488:18;;;8481:30;8547:34;8542:2;8527:18;;8520:62;-1:-1:-1;;;8613:2:1;8598:18;;8591:48;8671:3;8656:19;;8441:240::o;14577:410::-;14779:2;14761:21;;;14818:2;14798:18;;;14791:30;14857:34;14852:2;14837:18;;14830:62;-1:-1:-1;;;14923:2:1;14908:18;;14901:44;14977:3;14962:19;;14751:236::o;15511:128::-;15551:3;15582:1;15578:6;15575:1;15572:13;15569:2;;;15588:18;;:::i;:::-;-1:-1:-1;15624:9:1;;15559:80::o;15644:120::-;15684:1;15710;15700:2;;15715:18;;:::i;:::-;-1:-1:-1;15749:9:1;;15690:74::o;15769:125::-;15809:4;15837:1;15834;15831:8;15828:2;;;15842:18;;:::i;:::-;-1:-1:-1;15879:9:1;;15818:76::o;15899:258::-;15971:1;15981:113;15995:6;15992:1;15989:13;15981:113;;;16071:11;;;16065:18;16052:11;;;16045:39;16017:2;16010:10;15981:113;;;16112:6;16109:1;16106:13;16103:2;;;-1:-1:-1;;16147:1:1;16129:16;;16122:27;15952:205::o;16162:380::-;16241:1;16237:12;;;;16284;;;16305:2;;16359:4;16351:6;16347:17;16337:27;;16305:2;16412;16404:6;16401:14;16381:18;16378:38;16375:2;;;16458:10;16453:3;16449:20;16446:1;16439:31;16493:4;16490:1;16483:15;16521:4;16518:1;16511:15;16375:2;;16217:325;;;:::o;16547:135::-;16586:3;-1:-1:-1;;16607:17:1;;16604:2;;;16627:18;;:::i;:::-;-1:-1:-1;16674:1:1;16663:13;;16594:88::o;16687:112::-;16719:1;16745;16735:2;;16750:18;;:::i;:::-;-1:-1:-1;16784:9:1;;16725:74::o;16804:127::-;16865:10;16860:3;16856:20;16853:1;16846:31;16896:4;16893:1;16886:15;16920:4;16917:1;16910:15;16936:127;16997:10;16992:3;16988:20;16985:1;16978:31;17028:4;17025:1;17018:15;17052:4;17049:1;17042:15;17068:127;17129:10;17124:3;17120:20;17117:1;17110:31;17160:4;17157:1;17150:15;17184:4;17181:1;17174:15;17200:131;-1:-1:-1;;;;;;17274:32:1;;17264:43;;17254:2;;17321:1;17318;17311:12
Swarm Source
ipfs://1ed6d825863d03aba48978c966f2ae5414182093abc7a604c61dad621f14d03e
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.