Overview
TokenID
119
Total Transfers
-
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Mitosis
Compiler Version
v0.8.9+commit.e5eed63a
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.9; /// @title Mitosis /// @author jpegmint.xyz import './ERC721Splitter.sol'; // __ _________________ _____ _________ // // / |/ / _/_ __/ __ \/ ___// _/ ___/ // // / /|_/ // / / / / / / /\__ \ / / \__ \ // // / / / // / / / / /_/ /___/ // / ___/ / // // /_/ /_/___/ /_/ \____//____/___//____/ // // // // :!JJ?~ .^?JJ?~^?JJ?~. // // .JGPJYGBG~ ~J555GG#BGPPBP57 // // 7Y7^:^~YBP .77?~^^~J!::^7B?P // // :?~:::~YP~ ~~~^::~Y~::~?Y?~ // // .^~~!!^. .:^~!!~^~~!~:. // // // // .^!~^.. .^~!~^. :!77~. :!?7~. // // ~YGP5PBG77!7GG55GBPJ :5BGPGGB5. ^5BBGG##Y // // :7Y!^.^!P?..?7^^:^?GY~ J5!^:^~Y#Y Y57~^~7G#J // // .~!^::^~Y^. :~^:^^?Y?. ~?^::^75P~ !?~::^7PP^ // // .^~~~~:....:^~~~^: .^~~!!~. .~!!77~. // // // contract Mitosis is ERC721Splitter('Mitosis', 'MITOSIS') {}
// SPDX-License-Identifier: MIT pragma solidity ^0.8.9; import './ERC721.sol'; import '@openzeppelin/contracts/access/Ownable.sol'; import '@openzeppelin/contracts/utils/Strings.sol'; import '@jpegmint/contracts/utils/CustomErrors.sol'; contract ERC721Splitter is ERC721, Ownable { using Strings for uint256; // Variables uint16 internal constant _PI = 31415; bytes16 internal constant _HEX_SYMBOLS = "0123456789ABCDEF"; uint256 internal _totalSupply; mapping(uint256 => uint16) internal _tokenArea; struct Metadata { uint256 size; uint256 radius; uint256 generation; string number; string supply; string color; } // Initialization constructor(string memory name_, string memory symbol_) ERC721(name_, symbol_) {} // Minting function airdrop(address[] calldata wallets) external onlyOwner { if (totalSupply() >= 128) revert OutOfBounds(); uint256 nextTokenId = _totalSupply + 1; _totalSupply += wallets.length; for (uint256 i = 0; i < wallets.length; i++) { _mint(wallets[i], nextTokenId++); } } function _mintNext(address to, uint16 areaMask) internal { uint256 nextTokenId = ++_totalSupply; _tokenArea[nextTokenId] = areaMask; _mint(to, nextTokenId); } // Transfers function directTransfer(address from, address to, uint256 tokenId) external { if (!_isApprovedOrOwner(_msgSender(), tokenId)) revert Unauthorized(); _transfer(from, to, tokenId); } function safeTransferFrom(address from, address to, uint256 tokenId) public { safeTransferFrom(from, to, tokenId, ""); } function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory _data) public { transferFrom(from, to, tokenId); if (!_checkOnERC721Received(from, to, tokenId, _data)) revert ServiceUnavailable(); } function transferFrom(address from, address to, uint256 tokenId) public { if (!_isApprovedOrOwner(_msgSender(), tokenId)) revert Unauthorized(); if (ownerOf(tokenId) != from) revert Forbidden(); if (to == address(0)) revert InvalidArgument(); uint16 maskedArea = _tokenArea[tokenId]; uint16 availableArea = type(uint16).max - maskedArea; if (availableArea > 1) { // Mint and halve token uint256 nextTokenId = ++_totalSupply; uint16 newMask = maskedArea + (availableArea / 2); _tokenArea[tokenId] = newMask; _tokenArea[nextTokenId] = newMask; _owners[nextTokenId] = from; emit Transfer(address(0), from, nextTokenId); } else { // Otherwise decrement from balance as no token will be added to owner _balances[from] -= 1; } // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); } // Metadata function totalSupply() public view returns (uint256) { return _totalSupply; } function tokenURI(uint256 tokenId) public view override returns (string memory) { if (!_exists(tokenId)) revert NotFound(); Metadata memory metadata = getTokenMetadata(tokenId); bytes memory byteString; byteString = abi.encodePacked(byteString, 'data:application/json;utf8,{'); byteString = abi.encodePacked(byteString, '"name": "Mitosis #', metadata.number, '",'); byteString = abi.encodePacked(byteString, '"description": ' ,'"**Mitosis** (b. 2022)\\n\\n' ,'Mitosis #', metadata.number, '\\n\\n' ,'*Hand crafted SVG, 1920 x 1920 pixels*",' ); byteString = abi.encodePacked(byteString, '"image": "data:image/svg+xml;utf8,' ,_generateSvg(metadata), '",'); byteString = abi.encodePacked(byteString, '"attributes": ', _generateAttributes(metadata)); byteString = abi.encodePacked(byteString, '}'); return string(byteString); } function getTokenMetadata(uint256 tokenId) public view returns (Metadata memory metadata) { uint256 area = type(uint16).max - _tokenArea[tokenId]; uint256 radius = _sqrt(area * 10000 / _PI); uint256 generation = 17 - _log2(area); string memory color = _generateColorHexCode(tokenId); metadata = Metadata( area, radius, generation, tokenId.toString(), _totalSupply.toString(), color ); } function _generateColorHexCode(uint256 tokenId) private pure returns (string memory buffer) { bytes32 random = keccak256(abi.encodePacked(tokenId)); uint8 r = uint8(random[0]); uint8 g = uint8(random[1]); uint8 b = uint8(random[2]); bytes memory byteString = new bytes(6); byteString[0] = _HEX_SYMBOLS[r >> 4 & 0xf]; byteString[1] = _HEX_SYMBOLS[r & 0xf]; byteString[2] = _HEX_SYMBOLS[g >> 4 & 0xf]; byteString[3] = _HEX_SYMBOLS[g & 0xf]; byteString[4] = _HEX_SYMBOLS[b >> 4 & 0xf]; byteString[5] = _HEX_SYMBOLS[b & 0xf]; buffer = string(byteString); } function _generateSvg(Metadata memory metadata) private pure returns (bytes memory svg) { svg = abi.encodePacked("<svg xmlns='http://www.w3.org/2000/svg' version='1.1' width='1920' height='1920' viewBox='0 0 288 288'>" ,"<style>#r{fill:#fff}#c{fill:#", metadata.color, "}</style>" ,"<rect id='r' width='100%' height='100%'/><circle id='c' cx='144' cy='144' r='", metadata.radius.toString(), "'/></svg>" ); } function _generateAttributes(Metadata memory metadata) private pure returns (bytes memory attr) { attr = abi.encodePacked('[' ,'{"trait_type": "Size", "value": ', metadata.size.toString(), '},' ,'{"trait_type": "Color", "value": "#', metadata.color, '"},' ); attr = abi.encodePacked(attr ,'{"display_type": "number", "trait_type": "Generation", "value": ', metadata.generation.toString(), '},' ,'{"display_type": "number", "trait_type": "Edition", "value": ', metadata.number, ', "max_value": ', metadata.supply, '}' ,']' ); } // Math function _sqrt(uint x) internal pure returns (uint y) { uint z = (x + 1) / 2; y = x; while (z < y) { y = z; z = (x / z + z) / 2; } } function _log2(uint256 x) internal pure returns (uint y) { assembly { let arg := x x := sub(x, 1) x := or(x, div(x, 0x02)) x := or(x, div(x, 0x04)) x := or(x, div(x, 0x10)) x := or(x, div(x, 0x100)) x := or(x, div(x, 0x10000)) x := or(x, div(x, 0x100000000)) x := or(x, div(x, 0x10000000000000000)) x := or(x, div(x, 0x100000000000000000000000000000000)) x := add(x, 1) let m := mload(0x40) mstore(m, 0xf8f9cbfae6cc78fbefe7cdc3a1793dfcf4f0e8bbd8cec470b6a28a7a5a3e1efd) mstore(add(m,0x20), 0xf5ecf1b3e9debc68e1d9cfabc5997135bfb7a7a3938b7b606b5b4b3f2f1f0ffe) mstore(add(m,0x40), 0xf6e4ed9ff2d6b458eadcdf97bd91692de2d4da8fd2d0ac50c6ae9a8272523616) mstore(add(m,0x60), 0xc8c0b887b0a8a4489c948c7f847c6125746c645c544c444038302820181008ff) mstore(add(m,0x80), 0xf7cae577eec2a03cf3bad76fb589591debb2dd67e0aa9834bea6925f6a4a2e0e) mstore(add(m,0xa0), 0xe39ed557db96902cd38ed14fad815115c786af479b7e83247363534337271707) mstore(add(m,0xc0), 0xc976c13bb96e881cb166a933a55e490d9d56952b8d4e801485467d2362422606) mstore(add(m,0xe0), 0x753a6d1b65325d0c552a4d1345224105391a310b29122104190a110309020100) mstore(0x40, add(m, 0x100)) let magic := 0x818283848586878898a8b8c8d8e8f929395969799a9b9d9e9faaeb6bedeeff let shift := 0x100000000000000000000000000000000000000000000000000000000000000 let a := div(mul(x, magic), shift) y := div(mload(add(m,sub(255,a))), shift) y := add(y, mul(256, gt(arg, 0x8000000000000000000000000000000000000000000000000000000000000000))) } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.9; import '@openzeppelin/contracts/token/ERC721/IERC721.sol'; import '@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol'; import '@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol'; import '@openzeppelin/contracts/utils/Address.sol'; import '@openzeppelin/contracts/utils/Context.sol'; import '@openzeppelin/contracts/utils/Strings.sol'; import '@openzeppelin/contracts/utils/introspection/ERC165.sol'; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ abstract contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string internal _name; // Token symbol string internal _symbol; // Mapping from token ID to owner address mapping(uint256 => address) internal _owners; // Mapping owner address to token count mapping(address => uint256) internal _balances; // Mapping from token ID to approved address mapping(uint256 => address) internal _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) internal _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } 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 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 Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits a {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) internal returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.9; // Client errors error InvalidArgument(); error Unauthorized(); // 401 error PaymentRequired(); // 402 error Forbidden(); // 403 error NotFound(); // 404 error Conflict(); // 409 error TooManyRequests(); // 429 // Contract errors error OutOfBounds(); error InternalError(); // 500 error ServiceUnavailable(); // 503
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"name":"Forbidden","type":"error"},{"inputs":[],"name":"InvalidArgument","type":"error"},{"inputs":[],"name":"NotFound","type":"error"},{"inputs":[],"name":"OutOfBounds","type":"error"},{"inputs":[],"name":"ServiceUnavailable","type":"error"},{"inputs":[],"name":"Unauthorized","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address[]","name":"wallets","type":"address[]"}],"name":"airdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"directTransfer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getTokenMetadata","outputs":[{"components":[{"internalType":"uint256","name":"size","type":"uint256"},{"internalType":"uint256","name":"radius","type":"uint256"},{"internalType":"uint256","name":"generation","type":"uint256"},{"internalType":"string","name":"number","type":"string"},{"internalType":"string","name":"supply","type":"string"},{"internalType":"string","name":"color","type":"string"}],"internalType":"struct ERC721Splitter.Metadata","name":"metadata","type":"tuple"}],"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":"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":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"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"}]
Contract Creation Code
60806040523480156200001157600080fd5b50604051806040016040528060078152602001664d69746f73697360c81b815250604051806040016040528060078152602001664d49544f53495360c81b815250818181600090805190602001906200006c929190620000fd565b50805162000082906001906020840190620000fd565b5050506200009f62000099620000a760201b60201c565b620000ab565b5050620001e0565b3390565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200010b90620001a3565b90600052602060002090601f0160209004810192826200012f57600085556200017a565b82601f106200014a57805160ff19168380011785556200017a565b828001600101855582156200017a579182015b828111156200017a5782518255916020019190600101906200015d565b50620001889291506200018c565b5090565b5b808211156200018857600081556001016200018d565b600181811c90821680620001b857607f821691505b60208210811415620001da57634e487b7160e01b600052602260045260246000fd5b50919050565b61255080620001f06000396000f3fe608060405234801561001057600080fd5b506004361061012c5760003560e01c8063715018a6116100ad578063b88d4fde11610071578063b88d4fde14610273578063c87b56dd14610286578063e985e9c514610299578063f2fde38b146102d5578063f83d1791146102e857600080fd5b8063715018a61461022c578063729ad39e146102345780638da5cb5b1461024757806395d89b4114610258578063a22cb4651461026057600080fd5b806323b872dd116100f457806323b872dd146101c057806342842e0e146101d357806360316801146101e65780636352211e1461020657806370a082311461021957600080fd5b806301ffc9a71461013157806306fdde0314610159578063081812fc1461016e578063095ea7b31461019957806318160ddd146101ae575b600080fd5b61014461013f3660046119e8565b6102fb565b60405190151581526020015b60405180910390f35b61016161034d565b6040516101509190611a64565b61018161017c366004611a77565b6103df565b6040516001600160a01b039091168152602001610150565b6101ac6101a7366004611aac565b610479565b005b6007545b604051908152602001610150565b6101ac6101ce366004611ad6565b61058f565b6101ac6101e1366004611ad6565b6107a8565b6101f96101f4366004611a77565b6107c3565b6040516101509190611b12565b610181610214366004611a77565b610a68565b6101b2610227366004611b91565b610adf565b6101ac610b66565b6101ac610242366004611bac565b610b9c565b6006546001600160a01b0316610181565b610161610c7b565b6101ac61026e366004611c21565b610c8a565b6101ac610281366004611c73565b610c99565b610161610294366004611a77565b610ccd565b6101446102a7366004611d4f565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b6101ac6102e3366004611b91565b610e07565b6101ac6102f6366004611ad6565b610ea2565b60006001600160e01b031982166380ac58cd60e01b148061032c57506001600160e01b03198216635b5e139f60e01b145b8061034757506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606000805461035c90611d82565b80601f016020809104026020016040519081016040528092919081815260200182805461038890611d82565b80156103d55780601f106103aa576101008083540402835291602001916103d5565b820191906000526020600020905b8154815290600101906020018083116103b857829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b031661045d5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b600061048482610a68565b9050806001600160a01b0316836001600160a01b031614156104f25760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610454565b336001600160a01b038216148061050e575061050e81336102a7565b6105805760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610454565b61058a8383610ed2565b505050565b61059a335b82610f40565b6105b6576040516282b42960e81b815260040160405180910390fd5b826001600160a01b03166105c982610a68565b6001600160a01b0316146105f057604051631dd2188d60e31b815260040160405180910390fd5b6001600160a01b0382166106175760405163a9cb9e0d60e01b815260040160405180910390fd5b60008181526008602052604081205461ffff9081169190610639908390611dcd565b905060018161ffff1611156106f457600060076000815461065990611df0565b91829055509050600061066d600284611e21565b6106779085611e42565b6000868152600860209081526040808320805461ffff861661ffff19918216811790925587855282852080549091169091179055600290915280822080546001600160a01b038c166001600160a01b03199091168117909155905192935084929091906000805160206124fb833981519152908290a45050610723565b6001600160a01b038516600090815260036020526040812080546001929061071d908490611e68565b90915550505b61072e600084610ed2565b6001600160a01b0384166000908152600360205260408120805460019290610757908490611e7f565b909155505060008381526002602052604080822080546001600160a01b0319166001600160a01b0388811691821790925591518693918916916000805160206124fb83398151915291a45050505050565b61058a83838360405180602001604052806000815250610c99565b6107fc6040518060c001604052806000815260200160008152602001600081526020016060815260200160608152602001606081525090565b60008281526008602052604081205461081b9061ffff90811690611dcd565b61ffff1690506000610844617ab761083584612710611e97565b61083f9190611eb6565b611037565b604080517ff8f9cbfae6cc78fbefe7cdc3a1793dfcf4f0e8bbd8cec470b6a28a7a5a3e1efd81527ff5ecf1b3e9debc68e1d9cfabc5997135bfb7a7a3938b7b606b5b4b3f2f1f0ffe60208201527ff6e4ed9ff2d6b458eadcdf97bd91692de2d4da8fd2d0ac50c6ae9a8272523616818301527fc8c0b887b0a8a4489c948c7f847c6125746c645c544c444038302820181008ff60608201527ff7cae577eec2a03cf3bad76fb589591debb2dd67e0aa9834bea6925f6a4a2e0e60808201527fe39ed557db96902cd38ed14fad815115c786af479b7e8324736353433727170760a08201527fc976c13bb96e881cb166a933a55e490d9d56952b8d4e801485467d236242260660c08201527f753a6d1b65325d0c552a4d1345224105391a310b29122104190a11030902010060e0820152610100808201909252600160f81b6001600160801b68010000000000000000640100000000620100006010600460026000198e019081041790810417908104178881041790810417908104179081041790810417017e818283848586878898a8b8c8d8e8f929395969799a9b9d9e9faaeb6bedeeff0281900460ff039091015192935060009204600160ff1b851190910201610a11906011611e68565b90506000610a1e86611090565b90506040518060c00160405280858152602001848152602001838152602001610a4688611305565b8152602001610a56600754611305565b81526020019190915295945050505050565b6000818152600260205260408120546001600160a01b0316806103475760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610454565b60006001600160a01b038216610b4a5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610454565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b03163314610b905760405162461bcd60e51b815260040161045490611eca565b610b9a6000611403565b565b6006546001600160a01b03163314610bc65760405162461bcd60e51b815260040161045490611eca565b6080610bd160075490565b10610bef57604051632d0483c560e21b815260040160405180910390fd5b60006007546001610c009190611e7f565b90508282905060076000828254610c179190611e7f565b90915550600090505b82811015610c7557610c63848483818110610c3d57610c3d611eff565b9050602002016020810190610c529190611b91565b83610c5c81611df0565b9450611455565b80610c6d81611df0565b915050610c20565b50505050565b60606001805461035c90611d82565b610c95338383611585565b5050565b610ca484848461058f565b610cb084848484611654565b610c7557604051630ef2827d60e41b815260040160405180910390fd5b6000818152600260205260409020546060906001600160a01b0316610d055760405163c5723b5160e01b815260040160405180910390fd5b6000610d10836107c3565b9050606080604051602001610d259190611f15565b6040516020818303038152906040529050808260600151604051602001610d4d929190611f56565b6040516020818303038152906040529050808260600151604051602001610d75929190611fb2565b604051602081830303815290604052905080610d90836117ac565b604051602001610da192919061207c565b604051602081830303815290604052905080610dbc836117e7565b604051602001610dcd9291906120ef565b604051602081830303815290604052905080604051602001610def9190612138565b60408051601f19818403018152919052949350505050565b6006546001600160a01b03163314610e315760405162461bcd60e51b815260040161045490611eca565b6001600160a01b038116610e965760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610454565b610e9f81611403565b50565b610eab33610594565b610ec7576040516282b42960e81b815260040160405180910390fd5b61058a838383611848565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610f0782610a68565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b0316610fb95760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610454565b6000610fc483610a68565b9050806001600160a01b0316846001600160a01b03161480610fff5750836001600160a01b0316610ff4846103df565b6001600160a01b0316145b8061102f57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b6000806002611047846001611e7f565b6110519190611eb6565b90508291505b8181101561108a5790508060028161106f8186611eb6565b6110799190611e7f565b6110839190611eb6565b9050611057565b50919050565b60606000826040516020016110a791815260200190565b60408051601f19818403018152828252805160209182012060068085528484019093529350600084811a93600186901a93600287901a93820181803683370190505090506f181899199a1a9b1b9c1ca0a121a222a360811b600f600486901c166010811061111757611117611eff565b1a60f81b8160008151811061112e5761112e611eff565b60200101906001600160f81b031916908160001a9053506f181899199a1a9b1b9c1ca0a121a222a360811b600f85166010811061116d5761116d611eff565b1a60f81b8160018151811061118457611184611eff565b60200101906001600160f81b031916908160001a9053506f181899199a1a9b1b9c1ca0a121a222a360811b600f600485901c16601081106111c7576111c7611eff565b1a60f81b816002815181106111de576111de611eff565b60200101906001600160f81b031916908160001a9053506f181899199a1a9b1b9c1ca0a121a222a360811b600f84166010811061121d5761121d611eff565b1a60f81b8160038151811061123457611234611eff565b60200101906001600160f81b031916908160001a9053506f181899199a1a9b1b9c1ca0a121a222a360811b600f600484901c166010811061127757611277611eff565b1a60f81b8160048151811061128e5761128e611eff565b60200101906001600160f81b031916908160001a9053506f181899199a1a9b1b9c1ca0a121a222a360811b600f8316601081106112cd576112cd611eff565b1a60f81b816005815181106112e4576112e4611eff565b60200101906001600160f81b031916908160001a9053509695505050505050565b6060816113295750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611353578061133d81611df0565b915061134c9050600a83611eb6565b915061132d565b60008167ffffffffffffffff81111561136e5761136e611c5d565b6040519080825280601f01601f191660200182016040528015611398576020820181803683370190505b5090505b841561102f576113ad600183611e68565b91506113ba600a8661215d565b6113c5906030611e7f565b60f81b8183815181106113da576113da611eff565b60200101906001600160f81b031916908160001a9053506113fc600a86611eb6565b945061139c565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0382166114ab5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610454565b6000818152600260205260409020546001600160a01b0316156115105760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610454565b6001600160a01b0382166000908152600360205260408120805460019290611539908490611e7f565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392906000805160206124fb833981519152908290a45050565b816001600160a01b0316836001600160a01b031614156115e75760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610454565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b60006001600160a01b0384163b156117a157604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611698903390899088908890600401612171565b602060405180830381600087803b1580156116b257600080fd5b505af19250505080156116e2575060408051601f3d908101601f191682019092526116df918101906121ae565b60015b611787573d808015611710576040519150601f19603f3d011682016040523d82523d6000602084013e611715565b606091505b50805161177f5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b6064820152608401610454565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905061102f565b506001949350505050565b60608160a001516117c08360200151611305565b6040516020016117d19291906121cb565b6040516020818303038152906040529050919050565b60606117f68260000151611305565b8260a0015160405160200161180c92919061232e565b60405160208183030381529060405290508061182b8360400151611305565b836060015184608001516040516020016117d194939291906123e0565b826001600160a01b031661185b82610a68565b6001600160a01b0316146118bf5760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b6064820152608401610454565b6001600160a01b0382166119215760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610454565b61192c600082610ed2565b6001600160a01b0383166000908152600360205260408120805460019290611955908490611e68565b90915550506001600160a01b0382166000908152600360205260408120805460019290611983908490611e7f565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716916000805160206124fb83398151915291a4505050565b6001600160e01b031981168114610e9f57600080fd5b6000602082840312156119fa57600080fd5b8135611a05816119d2565b9392505050565b60005b83811015611a27578181015183820152602001611a0f565b83811115610c755750506000910152565b60008151808452611a50816020860160208601611a0c565b601f01601f19169290920160200192915050565b602081526000611a056020830184611a38565b600060208284031215611a8957600080fd5b5035919050565b80356001600160a01b0381168114611aa757600080fd5b919050565b60008060408385031215611abf57600080fd5b611ac883611a90565b946020939093013593505050565b600080600060608486031215611aeb57600080fd5b611af484611a90565b9250611b0260208501611a90565b9150604084013590509250925092565b602081528151602082015260208201516040820152604082015160608201526000606083015160c06080840152611b4c60e0840182611a38565b90506080840151601f19808584030160a0860152611b6a8383611a38565b925060a08601519150808584030160c086015250611b888282611a38565b95945050505050565b600060208284031215611ba357600080fd5b611a0582611a90565b60008060208385031215611bbf57600080fd5b823567ffffffffffffffff80821115611bd757600080fd5b818501915085601f830112611beb57600080fd5b813581811115611bfa57600080fd5b8660208260051b8501011115611c0f57600080fd5b60209290920196919550909350505050565b60008060408385031215611c3457600080fd5b611c3d83611a90565b915060208301358015158114611c5257600080fd5b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b60008060008060808587031215611c8957600080fd5b611c9285611a90565b9350611ca060208601611a90565b925060408501359150606085013567ffffffffffffffff80821115611cc457600080fd5b818701915087601f830112611cd857600080fd5b813581811115611cea57611cea611c5d565b604051601f8201601f19908116603f01168101908382118183101715611d1257611d12611c5d565b816040528281528a6020848701011115611d2b57600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b60008060408385031215611d6257600080fd5b611d6b83611a90565b9150611d7960208401611a90565b90509250929050565b600181811c90821680611d9657607f821691505b6020821081141561108a57634e487b7160e01b600052602260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600061ffff83811690831681811015611de857611de8611db7565b039392505050565b6000600019821415611e0457611e04611db7565b5060010190565b634e487b7160e01b600052601260045260246000fd5b600061ffff80841680611e3657611e36611e0b565b92169190910492915050565b600061ffff808316818516808303821115611e5f57611e5f611db7565b01949350505050565b600082821015611e7a57611e7a611db7565b500390565b60008219821115611e9257611e92611db7565b500190565b6000816000190483118215151615611eb157611eb1611db7565b500290565b600082611ec557611ec5611e0b565b500490565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052603260045260246000fd5b60008251611f27818460208701611a0c565b7f646174613a6170706c69636174696f6e2f6a736f6e3b757466382c7b00000000920191825250601c01919050565b60008351611f68818460208801611a0c565b71226e616d65223a20224d69746f736973202360701b9083019081528351611f97816012840160208801611a0c565b61088b60f21b60129290910191820152601401949350505050565b60008351611fc4818460208801611a0c565b6e0113232b9b1b934b83a34b7b7111d1608d1b9083019081527f222a2a4d69746f7369732a2a2028622e2032303232295c6e5c6e000000000000600f820152684d69746f736973202360b81b60298201528351612028816032840160208801611a0c565b632e372e3760e11b603292909101918201527f2a48616e642063726166746564205356472c20313932302078203139323020706036820152671a5e195b1cca888b60c21b6056820152605e01949350505050565b6000835161208e818460208801611a0c565b80830190507f22696d616765223a2022646174613a696d6167652f7376672b786d6c3b7574668152610e0b60f21b602082015283516120d4816022840160208801611a0c565b61088b60f21b60229290910191820152602401949350505050565b60008351612101818460208801611a0c565b6d01130ba3a3934b13aba32b9911d160951b908301908152835161212c81600e840160208801611a0c565b01600e01949350505050565b6000825161214a818460208701611a0c565b607d60f81b920191825250600101919050565b60008261216c5761216c611e0b565b500690565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906121a490830184611a38565b9695505050505050565b6000602082840312156121c057600080fd5b8151611a05816119d2565b7f3c73766720786d6c6e733d27687474703a2f2f7777772e77332e6f72672f323081527f30302f737667272076657273696f6e3d27312e31272077696474683d2731393260208201527f3027206865696768743d2731393230272076696577426f783d273020302032386040820152661c10191c1c139f60c91b60608201527f3c7374796c653e23727b66696c6c3a236666667d23637b66696c6c3a23000000606782015260008351612285816084850160208801611a0c565b683e9e17b9ba3cb6329f60b91b6084918401918201527f3c726563742069643d2772272077696474683d27313030252720686569676874608d8201527f3d2731303025272f3e3c636972636c652069643d2763272063783d273134342760ad8201526c2063793d273134342720723d2760981b60cd82015283516123108160da840160208801611a0c565b6121a460da828401016813979f1e17b9bb339f60b91b815260090190565b605b60f81b81527f7b2274726169745f74797065223a202253697a65222c202276616c7565223a20600182015260008351612370816021850160208801611a0c565b611f4b60f21b6021918401918201527f7b2274726169745f74797065223a2022436f6c6f72222c202276616c7565223a60238201526220222360e81b604382015283516123c4816046840160208801611a0c565b62089f4b60ea1b60469290910191820152604901949350505050565b600085516123f2818460208a01611a0c565b80830190507f7b22646973706c61795f74797065223a20226e756d626572222c2022747261698082527f745f74797065223a202247656e65726174696f6e222c202276616c7565223a2060208301528651612454816040850160208b01611a0c565b611f4b60f21b6040939091019283015260428201527f745f74797065223a202245646974696f6e222c202276616c7565223a20000000606282015284516124a281607f840160208901611a0c565b6e016101136b0bc2fbb30b63ab2911d1608d1b607f929091019182015283516124d281608e840160208801611a0c565b607d60f81b9101608e810191909152605d60f81b608f8201526090810197965050505050505056feddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa2646970667358221220d9d89f7d66fd26b6608d8c70e86163b0eab74f1f54cfd273188fd6048714e99f64736f6c63430008090033
Deployed Bytecode
0x608060405234801561001057600080fd5b506004361061012c5760003560e01c8063715018a6116100ad578063b88d4fde11610071578063b88d4fde14610273578063c87b56dd14610286578063e985e9c514610299578063f2fde38b146102d5578063f83d1791146102e857600080fd5b8063715018a61461022c578063729ad39e146102345780638da5cb5b1461024757806395d89b4114610258578063a22cb4651461026057600080fd5b806323b872dd116100f457806323b872dd146101c057806342842e0e146101d357806360316801146101e65780636352211e1461020657806370a082311461021957600080fd5b806301ffc9a71461013157806306fdde0314610159578063081812fc1461016e578063095ea7b31461019957806318160ddd146101ae575b600080fd5b61014461013f3660046119e8565b6102fb565b60405190151581526020015b60405180910390f35b61016161034d565b6040516101509190611a64565b61018161017c366004611a77565b6103df565b6040516001600160a01b039091168152602001610150565b6101ac6101a7366004611aac565b610479565b005b6007545b604051908152602001610150565b6101ac6101ce366004611ad6565b61058f565b6101ac6101e1366004611ad6565b6107a8565b6101f96101f4366004611a77565b6107c3565b6040516101509190611b12565b610181610214366004611a77565b610a68565b6101b2610227366004611b91565b610adf565b6101ac610b66565b6101ac610242366004611bac565b610b9c565b6006546001600160a01b0316610181565b610161610c7b565b6101ac61026e366004611c21565b610c8a565b6101ac610281366004611c73565b610c99565b610161610294366004611a77565b610ccd565b6101446102a7366004611d4f565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b6101ac6102e3366004611b91565b610e07565b6101ac6102f6366004611ad6565b610ea2565b60006001600160e01b031982166380ac58cd60e01b148061032c57506001600160e01b03198216635b5e139f60e01b145b8061034757506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606000805461035c90611d82565b80601f016020809104026020016040519081016040528092919081815260200182805461038890611d82565b80156103d55780601f106103aa576101008083540402835291602001916103d5565b820191906000526020600020905b8154815290600101906020018083116103b857829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b031661045d5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b600061048482610a68565b9050806001600160a01b0316836001600160a01b031614156104f25760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610454565b336001600160a01b038216148061050e575061050e81336102a7565b6105805760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610454565b61058a8383610ed2565b505050565b61059a335b82610f40565b6105b6576040516282b42960e81b815260040160405180910390fd5b826001600160a01b03166105c982610a68565b6001600160a01b0316146105f057604051631dd2188d60e31b815260040160405180910390fd5b6001600160a01b0382166106175760405163a9cb9e0d60e01b815260040160405180910390fd5b60008181526008602052604081205461ffff9081169190610639908390611dcd565b905060018161ffff1611156106f457600060076000815461065990611df0565b91829055509050600061066d600284611e21565b6106779085611e42565b6000868152600860209081526040808320805461ffff861661ffff19918216811790925587855282852080549091169091179055600290915280822080546001600160a01b038c166001600160a01b03199091168117909155905192935084929091906000805160206124fb833981519152908290a45050610723565b6001600160a01b038516600090815260036020526040812080546001929061071d908490611e68565b90915550505b61072e600084610ed2565b6001600160a01b0384166000908152600360205260408120805460019290610757908490611e7f565b909155505060008381526002602052604080822080546001600160a01b0319166001600160a01b0388811691821790925591518693918916916000805160206124fb83398151915291a45050505050565b61058a83838360405180602001604052806000815250610c99565b6107fc6040518060c001604052806000815260200160008152602001600081526020016060815260200160608152602001606081525090565b60008281526008602052604081205461081b9061ffff90811690611dcd565b61ffff1690506000610844617ab761083584612710611e97565b61083f9190611eb6565b611037565b604080517ff8f9cbfae6cc78fbefe7cdc3a1793dfcf4f0e8bbd8cec470b6a28a7a5a3e1efd81527ff5ecf1b3e9debc68e1d9cfabc5997135bfb7a7a3938b7b606b5b4b3f2f1f0ffe60208201527ff6e4ed9ff2d6b458eadcdf97bd91692de2d4da8fd2d0ac50c6ae9a8272523616818301527fc8c0b887b0a8a4489c948c7f847c6125746c645c544c444038302820181008ff60608201527ff7cae577eec2a03cf3bad76fb589591debb2dd67e0aa9834bea6925f6a4a2e0e60808201527fe39ed557db96902cd38ed14fad815115c786af479b7e8324736353433727170760a08201527fc976c13bb96e881cb166a933a55e490d9d56952b8d4e801485467d236242260660c08201527f753a6d1b65325d0c552a4d1345224105391a310b29122104190a11030902010060e0820152610100808201909252600160f81b6001600160801b68010000000000000000640100000000620100006010600460026000198e019081041790810417908104178881041790810417908104179081041790810417017e818283848586878898a8b8c8d8e8f929395969799a9b9d9e9faaeb6bedeeff0281900460ff039091015192935060009204600160ff1b851190910201610a11906011611e68565b90506000610a1e86611090565b90506040518060c00160405280858152602001848152602001838152602001610a4688611305565b8152602001610a56600754611305565b81526020019190915295945050505050565b6000818152600260205260408120546001600160a01b0316806103475760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610454565b60006001600160a01b038216610b4a5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610454565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b03163314610b905760405162461bcd60e51b815260040161045490611eca565b610b9a6000611403565b565b6006546001600160a01b03163314610bc65760405162461bcd60e51b815260040161045490611eca565b6080610bd160075490565b10610bef57604051632d0483c560e21b815260040160405180910390fd5b60006007546001610c009190611e7f565b90508282905060076000828254610c179190611e7f565b90915550600090505b82811015610c7557610c63848483818110610c3d57610c3d611eff565b9050602002016020810190610c529190611b91565b83610c5c81611df0565b9450611455565b80610c6d81611df0565b915050610c20565b50505050565b60606001805461035c90611d82565b610c95338383611585565b5050565b610ca484848461058f565b610cb084848484611654565b610c7557604051630ef2827d60e41b815260040160405180910390fd5b6000818152600260205260409020546060906001600160a01b0316610d055760405163c5723b5160e01b815260040160405180910390fd5b6000610d10836107c3565b9050606080604051602001610d259190611f15565b6040516020818303038152906040529050808260600151604051602001610d4d929190611f56565b6040516020818303038152906040529050808260600151604051602001610d75929190611fb2565b604051602081830303815290604052905080610d90836117ac565b604051602001610da192919061207c565b604051602081830303815290604052905080610dbc836117e7565b604051602001610dcd9291906120ef565b604051602081830303815290604052905080604051602001610def9190612138565b60408051601f19818403018152919052949350505050565b6006546001600160a01b03163314610e315760405162461bcd60e51b815260040161045490611eca565b6001600160a01b038116610e965760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610454565b610e9f81611403565b50565b610eab33610594565b610ec7576040516282b42960e81b815260040160405180910390fd5b61058a838383611848565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610f0782610a68565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b0316610fb95760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610454565b6000610fc483610a68565b9050806001600160a01b0316846001600160a01b03161480610fff5750836001600160a01b0316610ff4846103df565b6001600160a01b0316145b8061102f57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b6000806002611047846001611e7f565b6110519190611eb6565b90508291505b8181101561108a5790508060028161106f8186611eb6565b6110799190611e7f565b6110839190611eb6565b9050611057565b50919050565b60606000826040516020016110a791815260200190565b60408051601f19818403018152828252805160209182012060068085528484019093529350600084811a93600186901a93600287901a93820181803683370190505090506f181899199a1a9b1b9c1ca0a121a222a360811b600f600486901c166010811061111757611117611eff565b1a60f81b8160008151811061112e5761112e611eff565b60200101906001600160f81b031916908160001a9053506f181899199a1a9b1b9c1ca0a121a222a360811b600f85166010811061116d5761116d611eff565b1a60f81b8160018151811061118457611184611eff565b60200101906001600160f81b031916908160001a9053506f181899199a1a9b1b9c1ca0a121a222a360811b600f600485901c16601081106111c7576111c7611eff565b1a60f81b816002815181106111de576111de611eff565b60200101906001600160f81b031916908160001a9053506f181899199a1a9b1b9c1ca0a121a222a360811b600f84166010811061121d5761121d611eff565b1a60f81b8160038151811061123457611234611eff565b60200101906001600160f81b031916908160001a9053506f181899199a1a9b1b9c1ca0a121a222a360811b600f600484901c166010811061127757611277611eff565b1a60f81b8160048151811061128e5761128e611eff565b60200101906001600160f81b031916908160001a9053506f181899199a1a9b1b9c1ca0a121a222a360811b600f8316601081106112cd576112cd611eff565b1a60f81b816005815181106112e4576112e4611eff565b60200101906001600160f81b031916908160001a9053509695505050505050565b6060816113295750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611353578061133d81611df0565b915061134c9050600a83611eb6565b915061132d565b60008167ffffffffffffffff81111561136e5761136e611c5d565b6040519080825280601f01601f191660200182016040528015611398576020820181803683370190505b5090505b841561102f576113ad600183611e68565b91506113ba600a8661215d565b6113c5906030611e7f565b60f81b8183815181106113da576113da611eff565b60200101906001600160f81b031916908160001a9053506113fc600a86611eb6565b945061139c565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0382166114ab5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610454565b6000818152600260205260409020546001600160a01b0316156115105760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610454565b6001600160a01b0382166000908152600360205260408120805460019290611539908490611e7f565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392906000805160206124fb833981519152908290a45050565b816001600160a01b0316836001600160a01b031614156115e75760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610454565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b60006001600160a01b0384163b156117a157604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611698903390899088908890600401612171565b602060405180830381600087803b1580156116b257600080fd5b505af19250505080156116e2575060408051601f3d908101601f191682019092526116df918101906121ae565b60015b611787573d808015611710576040519150601f19603f3d011682016040523d82523d6000602084013e611715565b606091505b50805161177f5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b6064820152608401610454565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905061102f565b506001949350505050565b60608160a001516117c08360200151611305565b6040516020016117d19291906121cb565b6040516020818303038152906040529050919050565b60606117f68260000151611305565b8260a0015160405160200161180c92919061232e565b60405160208183030381529060405290508061182b8360400151611305565b836060015184608001516040516020016117d194939291906123e0565b826001600160a01b031661185b82610a68565b6001600160a01b0316146118bf5760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b6064820152608401610454565b6001600160a01b0382166119215760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610454565b61192c600082610ed2565b6001600160a01b0383166000908152600360205260408120805460019290611955908490611e68565b90915550506001600160a01b0382166000908152600360205260408120805460019290611983908490611e7f565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716916000805160206124fb83398151915291a4505050565b6001600160e01b031981168114610e9f57600080fd5b6000602082840312156119fa57600080fd5b8135611a05816119d2565b9392505050565b60005b83811015611a27578181015183820152602001611a0f565b83811115610c755750506000910152565b60008151808452611a50816020860160208601611a0c565b601f01601f19169290920160200192915050565b602081526000611a056020830184611a38565b600060208284031215611a8957600080fd5b5035919050565b80356001600160a01b0381168114611aa757600080fd5b919050565b60008060408385031215611abf57600080fd5b611ac883611a90565b946020939093013593505050565b600080600060608486031215611aeb57600080fd5b611af484611a90565b9250611b0260208501611a90565b9150604084013590509250925092565b602081528151602082015260208201516040820152604082015160608201526000606083015160c06080840152611b4c60e0840182611a38565b90506080840151601f19808584030160a0860152611b6a8383611a38565b925060a08601519150808584030160c086015250611b888282611a38565b95945050505050565b600060208284031215611ba357600080fd5b611a0582611a90565b60008060208385031215611bbf57600080fd5b823567ffffffffffffffff80821115611bd757600080fd5b818501915085601f830112611beb57600080fd5b813581811115611bfa57600080fd5b8660208260051b8501011115611c0f57600080fd5b60209290920196919550909350505050565b60008060408385031215611c3457600080fd5b611c3d83611a90565b915060208301358015158114611c5257600080fd5b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b60008060008060808587031215611c8957600080fd5b611c9285611a90565b9350611ca060208601611a90565b925060408501359150606085013567ffffffffffffffff80821115611cc457600080fd5b818701915087601f830112611cd857600080fd5b813581811115611cea57611cea611c5d565b604051601f8201601f19908116603f01168101908382118183101715611d1257611d12611c5d565b816040528281528a6020848701011115611d2b57600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b60008060408385031215611d6257600080fd5b611d6b83611a90565b9150611d7960208401611a90565b90509250929050565b600181811c90821680611d9657607f821691505b6020821081141561108a57634e487b7160e01b600052602260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600061ffff83811690831681811015611de857611de8611db7565b039392505050565b6000600019821415611e0457611e04611db7565b5060010190565b634e487b7160e01b600052601260045260246000fd5b600061ffff80841680611e3657611e36611e0b565b92169190910492915050565b600061ffff808316818516808303821115611e5f57611e5f611db7565b01949350505050565b600082821015611e7a57611e7a611db7565b500390565b60008219821115611e9257611e92611db7565b500190565b6000816000190483118215151615611eb157611eb1611db7565b500290565b600082611ec557611ec5611e0b565b500490565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052603260045260246000fd5b60008251611f27818460208701611a0c565b7f646174613a6170706c69636174696f6e2f6a736f6e3b757466382c7b00000000920191825250601c01919050565b60008351611f68818460208801611a0c565b71226e616d65223a20224d69746f736973202360701b9083019081528351611f97816012840160208801611a0c565b61088b60f21b60129290910191820152601401949350505050565b60008351611fc4818460208801611a0c565b6e0113232b9b1b934b83a34b7b7111d1608d1b9083019081527f222a2a4d69746f7369732a2a2028622e2032303232295c6e5c6e000000000000600f820152684d69746f736973202360b81b60298201528351612028816032840160208801611a0c565b632e372e3760e11b603292909101918201527f2a48616e642063726166746564205356472c20313932302078203139323020706036820152671a5e195b1cca888b60c21b6056820152605e01949350505050565b6000835161208e818460208801611a0c565b80830190507f22696d616765223a2022646174613a696d6167652f7376672b786d6c3b7574668152610e0b60f21b602082015283516120d4816022840160208801611a0c565b61088b60f21b60229290910191820152602401949350505050565b60008351612101818460208801611a0c565b6d01130ba3a3934b13aba32b9911d160951b908301908152835161212c81600e840160208801611a0c565b01600e01949350505050565b6000825161214a818460208701611a0c565b607d60f81b920191825250600101919050565b60008261216c5761216c611e0b565b500690565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906121a490830184611a38565b9695505050505050565b6000602082840312156121c057600080fd5b8151611a05816119d2565b7f3c73766720786d6c6e733d27687474703a2f2f7777772e77332e6f72672f323081527f30302f737667272076657273696f6e3d27312e31272077696474683d2731393260208201527f3027206865696768743d2731393230272076696577426f783d273020302032386040820152661c10191c1c139f60c91b60608201527f3c7374796c653e23727b66696c6c3a236666667d23637b66696c6c3a23000000606782015260008351612285816084850160208801611a0c565b683e9e17b9ba3cb6329f60b91b6084918401918201527f3c726563742069643d2772272077696474683d27313030252720686569676874608d8201527f3d2731303025272f3e3c636972636c652069643d2763272063783d273134342760ad8201526c2063793d273134342720723d2760981b60cd82015283516123108160da840160208801611a0c565b6121a460da828401016813979f1e17b9bb339f60b91b815260090190565b605b60f81b81527f7b2274726169745f74797065223a202253697a65222c202276616c7565223a20600182015260008351612370816021850160208801611a0c565b611f4b60f21b6021918401918201527f7b2274726169745f74797065223a2022436f6c6f72222c202276616c7565223a60238201526220222360e81b604382015283516123c4816046840160208801611a0c565b62089f4b60ea1b60469290910191820152604901949350505050565b600085516123f2818460208a01611a0c565b80830190507f7b22646973706c61795f74797065223a20226e756d626572222c2022747261698082527f745f74797065223a202247656e65726174696f6e222c202276616c7565223a2060208301528651612454816040850160208b01611a0c565b611f4b60f21b6040939091019283015260428201527f745f74797065223a202245646974696f6e222c202276616c7565223a20000000606282015284516124a281607f840160208901611a0c565b6e016101136b0bc2fbb30b63ab2911d1608d1b607f929091019182015283516124d281608e840160208801611a0c565b607d60f81b9101608e810191909152605d60f81b608f8201526090810197965050505050505056feddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa2646970667358221220d9d89f7d66fd26b6608d8c70e86163b0eab74f1f54cfd273188fd6048714e99f64736f6c63430008090033
Loading...
Loading
Loading...
Loading
[ 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.