ERC-721
NFT
Overview
Max Total Supply
0 SUN
Holders
176
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 SUNLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Sungens
Compiler Version
v0.8.9+commit.e5eed63a
Optimization Enabled:
Yes with 200 runs
Other Settings:
byzantium EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.0; import "./ERC721.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; /** * :-------- .---: :%88%- .---:.+%%%*-----.:----------. *888# ----. .--------. * -888%HHHHH==%%%%- *888+ *88888: *888=+8888HHHHHH:*H8888HHHHH..88888H .8888 %888HHHHHH * %888+:. :8888. .8888..8888888-8888 :888% HHHHH--+888%----. =888888*+888* =888%-:. * *%8888888= -888H =888H =888*%888888* *888= 8888-+H8888HHHHH: %888*8888888: =H8888888H * .H888- H888- %888- %888::888888: 8888. 8888. .888% -888% *88888% .=888H *.%%%%%%888H %888%%%888* :888% +8888* =8888%%888H -8888%%%%= H888= %888%: *%%%%%888%: * * 9369 radical optimists visiting from a solarpunk future—where tech, community and nature * save the planet. Drawn by artist Dylan Palermo. * * In a radically optimistic world, who will you choose to be? */ contract Sungens is ERC721, Ownable { // Utilize OpenZep utility functions using Strings for uint256; // Private BaseURI that is held for switching to our randomized metadata string private _tokenBaseURI = ""; string private _placeholderURI = "ipfs://QmTcXCPdabsMey7ja8bASHWa9A8gYnUiQ7ZVCVDr2tNYxS"; string public provenanceHash = "4beaf0d97a9b0dd4a300e18175074cd2f7c8957c11dd9e3215b6103d9dbed5d0"; uint256 public offset = 0; uint256 public isRevealed = 0; uint256 public constant PRICE_BATCH2 = .03 ether; uint256 public constant PRICE_BATCH3 = .06 ether; uint256 public constant PRICE_PUBLIC = .09 ether; uint32 public constant MAX_SUPPLY = 9369; // for the whitelist uint8 public constant MAX_BATCH1 = 1; uint8 public constant MAX_BATCH2 = 2; uint8 public constant MAX_BATCH3 = 3; uint8 public constant MAX_PUBLIC = 3; uint8 public isBatchLive = 0; bool public isPublicSale = false; bool public isPaused = false; // to hold the balances mapping(address => uint256) public balancesBatch1; mapping(address => uint256) public balancesBatch2; mapping(address => uint256) public balancesBatch3; mapping(address => uint256) public balancesPublic; // a mapping to keep track of each batch bytes32 public whitelistBatch1; bytes32 public whitelistBatch2; bytes32 public whitelistBatch3; constructor() ERC721("Sungens", "SUN") { } /** * Modifiers to check out minting conditions */ modifier checkIsPublicSale() { require(isPublicSale, "Public sale is not open"); _; } modifier checkAllowedBatchSale(uint8 batch) { require(batch < 4, "Cannot set batch > 3"); _; } modifier checkIsBatchSale(uint256 batch) { require(isBatchLive != 0 && batch <= isBatchLive, "Sale not open for batch"); _; } modifier isInWhitelist(bytes32 root, bytes32[] calldata merkleProof) { bytes32 leaf = keccak256(abi.encodePacked(msg.sender)); require( MerkleProof.verify(merkleProof, root, leaf), "Invalid whitelist verification" ); _; } modifier doesNotExceedMaxSupply(uint256 numberOfTokens) { require( _tokenIdCount + numberOfTokens < MAX_SUPPLY, "Not enough Sungens exist" ); _; } modifier isCorrectValue(uint256 numberOfTokens, uint256 price) { require( msg.value >= price * numberOfTokens, "Not enough ETH" ); _; } modifier checkIsPaused() { require(!isPaused, "Sale is paused"); _; } modifier offsetIsSet() { require(offset != 0, "Cannot run sale until offset is set"); _; } /** * Minting functions for both public and private mint * * We do a few gas-saving tricks here. * We pull variables into memory then save them later. * * We check and set the balance immediately as well. No reason to wait. * * It is nice not worrying about concurrency issues... */ function mintBatch1(bytes32[] calldata merkleProof) external payable checkIsPaused checkIsBatchSale(1) isInWhitelist(whitelistBatch1, merkleProof) doesNotExceedMaxSupply(1) { address sender = msg.sender; uint256 balance = balancesBatch1[sender]; require( balance < MAX_BATCH1, "Too many Sungens" ); uint256 tokenIdCount = _tokenIdCount; balancesBatch1[sender] = 1; _mint(sender, (tokenIdCount + offset) % MAX_SUPPLY); _tokenIdCount = tokenIdCount + 1; } function mintBatch2(uint256 numberOfTokens, bytes32[] calldata merkleProof) external payable checkIsPaused checkIsBatchSale(2) isInWhitelist(whitelistBatch2, merkleProof) isCorrectValue(numberOfTokens, PRICE_BATCH2) doesNotExceedMaxSupply(numberOfTokens) { address sender = msg.sender; uint256 balance = balancesBatch2[sender]; require( numberOfTokens <= MAX_BATCH2 && balance + numberOfTokens <= MAX_BATCH2, "Too many Sungens" ); uint256 tokenIdCount = _tokenIdCount; balancesBatch2[sender] = balance + numberOfTokens; for (uint256 i = 0; i < numberOfTokens; i++) { _mint(sender, (tokenIdCount + offset + i) % MAX_SUPPLY); } _tokenIdCount = tokenIdCount + numberOfTokens; } function mintBatch3(uint256 numberOfTokens, bytes32[] calldata merkleProof) external payable checkIsPaused checkIsBatchSale(3) isInWhitelist(whitelistBatch3, merkleProof) isCorrectValue(numberOfTokens, PRICE_BATCH3) doesNotExceedMaxSupply(numberOfTokens) { address sender = msg.sender; uint256 balance = balancesBatch3[sender]; require( numberOfTokens <= MAX_BATCH3 && balance + numberOfTokens <= MAX_BATCH3, "Too many Sungens" ); uint256 tokenIdCount = _tokenIdCount; balancesBatch3[sender] = balance + numberOfTokens; for (uint256 i = 0; i < numberOfTokens; i++) { _mint(sender, (tokenIdCount + offset + i) % MAX_SUPPLY); } _tokenIdCount = tokenIdCount + numberOfTokens; } function mintPublic(uint256 numberOfTokens) external payable checkIsPaused checkIsPublicSale isCorrectValue(numberOfTokens, PRICE_PUBLIC) doesNotExceedMaxSupply(numberOfTokens) { address sender = msg.sender; uint256 balance = balancesPublic[sender]; require( numberOfTokens <= MAX_PUBLIC && balance + numberOfTokens <= MAX_PUBLIC, "Too many Sungens" ); uint256 tokenIdCount = _tokenIdCount; balancesPublic[sender] = balance + numberOfTokens; for (uint256 i = 0; i < numberOfTokens; i++) { _safeMint(sender, (tokenIdCount + offset + i) % MAX_SUPPLY); } _tokenIdCount = tokenIdCount + numberOfTokens; } function airdrop(address[] calldata addresses) external onlyOwner offsetIsSet doesNotExceedMaxSupply(addresses.length) { uint256 tokenIdCount = _tokenIdCount; uint256 numberOfTokens = addresses.length; for (uint256 i = 0; i < numberOfTokens; i++) { _mint(addresses[i], (tokenIdCount + offset + i) % MAX_SUPPLY); } _tokenIdCount = tokenIdCount + numberOfTokens; } /** * Functions for handling Base URI pieces */ function _baseURI() internal override view returns (string memory) { return _tokenBaseURI; } function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); uint256 _isRevealedStart = offset % MAX_SUPPLY; uint256 _isRevealedEnd = (offset + isRevealed) % MAX_SUPPLY; // this means we looped back around, so we reverse our direction of if statement bool loopedBack = _isRevealedEnd < _isRevealedStart; if (isRevealed == 0) { return _placeholderURI; } // >= is for an off-by-one error, the bane of a programmer's existence if (!loopedBack && (tokenId < _isRevealedStart || tokenId >= _isRevealedEnd)) { return _placeholderURI; } // if we looped back, our end is at the front and our start is at the end, so don't // reveal anything in between if (loopedBack && (tokenId < _isRevealedStart && tokenId >= _isRevealedEnd)) { return _placeholderURI; } string memory baseURI = _tokenBaseURI; return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, "/", tokenId.toString(), ".json")) : ""; } /** * To store data directly on the blockchain, we can use the params. * This may or may not happen, but if it does, we have the code */ function writeImage(uint256 _tokenId, string memory _image, string memory _hash) external onlyOwner { } /** * Admin functions for owners only. */ function setProvenanceHash(string memory _provenanceHash) external onlyOwner { provenanceHash = _provenanceHash; } function setReveal(uint256 reveal) external onlyOwner { isRevealed = reveal; } function setPublicSale(bool _isPublicSale) external onlyOwner offsetIsSet { isPublicSale = _isPublicSale; } function setBatchSale(uint8 batch) external onlyOwner checkAllowedBatchSale(batch) offsetIsSet { isBatchLive = batch; } function setPause(bool pause) external onlyOwner { isPaused = pause; } function setBaseURI(string memory baseURI) external onlyOwner { _tokenBaseURI = baseURI; } function setPlaceholderURI(string memory baseURI) external onlyOwner { _placeholderURI = baseURI; } function setWhitelistBatch1(bytes32 _whitelistRoot) external onlyOwner { whitelistBatch1 = _whitelistRoot; } function setWhitelistBatch2(bytes32 _whitelistRoot) external onlyOwner { whitelistBatch2 = _whitelistRoot; } function setWhitelistBatch3(bytes32 _whitelistRoot) external onlyOwner { whitelistBatch3 = _whitelistRoot; } function withdraw() public onlyOwner { uint256 balance = address(this).balance; payable(msg.sender).transfer(balance); } function burn(uint256 tokenId) external onlyOwner { _burn(tokenId); } function setOffset(uint256 _offset) external onlyOwner { offset = _offset; } /** * Please note, this will not include airdropped tokens * This can be used in the contract if necessary, but it is not accurate. * However, it is cheap. */ function balanceOfCheap(address owner) public view virtual returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return (balancesBatch1[owner] + balancesBatch2[owner] + balancesBatch3[owner] + balancesPublic[owner] ); } /** * The balanceOf function is expensive, but because it is a view, we can call this off-chain. * That means we can be more accurate. Calling this in the contract will run out of gas. */ function balanceOf(address owner) public view override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); uint count = 0; uint tokenIdCount = _tokenIdCount; for( uint i = 0; i < tokenIdCount; ++i ){ uint index = (offset + i) % MAX_SUPPLY; if( owner == _owners[index] ) { ++count; } } delete tokenIdCount; return count; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; 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}. */ 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) public _owners; uint256 public _tokenIdCount; // Mapping owner address to token count // Balances are managed by batch, so we don't need this here //mapping(address => uint256) public _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); } /** * */ function balanceOf(address owner) public view virtual returns (uint256) { require(false, "ERC721 must overwrite this function as balances are not recorded here"); return 0; } /** * @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]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); //_balances[to] += 1; _owners[tokenId] = to; //_owners.push(to); emit Transfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); //_balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); //_balances[from] -= 1; //_balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev 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 ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Trees proofs. * * The proofs can be generated using the JavaScript library * https://github.com/miguelmota/merkletreejs[merkletreejs]. * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled. * * See `test/utils/cryptography/MerkleProof.test.js` for some examples. */ library MerkleProof { /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify( bytes32[] memory proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProof(proof, leaf) == root; } /** * @dev Returns the rebuilt hash obtained by traversing a Merklee tree up * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt * hash matches the root of the tree. When processing the proof, the pairs * of leafs & pre-images are assumed to be sorted. * * _Available since v4.4._ */ function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { bytes32 proofElement = proof[i]; if (computedHash <= proofElement) { // Hash(current computed hash + current element of the proof) computedHash = keccak256(abi.encodePacked(computedHash, proofElement)); } else { // Hash(current element of the proof + current computed hash) computedHash = keccak256(abi.encodePacked(proofElement, computedHash)); } } return computedHash; } }
// 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 // 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/Address.sol) pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: 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 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/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 (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); } }
{ "remappings": [], "optimizer": { "enabled": true, "runs": 200 }, "evmVersion": "byzantium", "libraries": {}, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"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":[],"name":"MAX_BATCH1","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_BATCH2","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_BATCH3","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_PUBLIC","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRICE_BATCH2","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRICE_BATCH3","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRICE_PUBLIC","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"_owners","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_tokenIdCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"addresses","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":"owner","type":"address"}],"name":"balanceOfCheap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"balancesBatch1","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"balancesBatch2","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"balancesBatch3","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"balancesPublic","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isBatchLive","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPaused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPublicSale","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isRevealed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"}],"name":"mintBatch1","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"},{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"}],"name":"mintBatch2","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"},{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"}],"name":"mintBatch3","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"mintPublic","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"offset","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"provenanceHash","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"uint8","name":"batch","type":"uint8"}],"name":"setBatchSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_offset","type":"uint256"}],"name":"setOffset","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"pause","type":"bool"}],"name":"setPause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setPlaceholderURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_provenanceHash","type":"string"}],"name":"setProvenanceHash","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_isPublicSale","type":"bool"}],"name":"setPublicSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"reveal","type":"uint256"}],"name":"setReveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_whitelistRoot","type":"bytes32"}],"name":"setWhitelistBatch1","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_whitelistRoot","type":"bytes32"}],"name":"setWhitelistBatch2","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_whitelistRoot","type":"bytes32"}],"name":"setWhitelistBatch3","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"whitelistBatch1","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"whitelistBatch2","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"whitelistBatch3","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"string","name":"_image","type":"string"},{"internalType":"string","name":"_hash","type":"string"}],"name":"writeImage","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60a06040819052600060808190526200001b91600791620001bd565b50604051806060016040528060358152602001620038726035913980516200004c91600891602090910190620001bd565b50604051806060016040528060408152602001620038326040913980516200007d91600991602090910190620001bd565b506000600a819055600b55600c805462ffffff19169055348015620000a157600080fd5b50604080518082018252600781527f53756e67656e730000000000000000000000000000000000000000000000000060208083019182528351808501909452600384527f53554e00000000000000000000000000000000000000000000000000000000009084015281519192916200011c91600091620001bd565b50805162000132906001906020840190620001bd565b505050620001616200015262000167640100000000026401000000009004565b6401000000006200016b810204565b620002b9565b3390565b60068054600160a060020a03838116600160a060020a0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b828054620001cb9062000263565b90600052602060002090601f016020900481019282620001ef57600085556200023a565b82601f106200020a57805160ff19168380011785556200023a565b828001600101855582156200023a579182015b828111156200023a5782518255916020019190600101906200021d565b50620002489291506200024c565b5090565b5b808211156200024857600081556001016200024d565b6002810460018216806200027857607f821691505b60208210811415620002b3577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b61356980620002c96000396000f3fe6080604052600436106103a9576000357c01000000000000000000000000000000000000000000000000000000009004806370f4b7c2116101f9578063b88d4fde1161011f578063d5556544116100bd578063ec4427b21161008c578063ec4427b214610aa3578063efd0cbf914610ab6578063f23c899314610826578063f2fde38b14610ac957600080fd5b8063d555654414610a04578063d81a4f3714610a1a578063d974d85514610a3a578063e985e9c514610a5a57600080fd5b8063c4d8393f116100f9578063c4d8393f14610982578063c50c8186146109af578063c6ab67a3146109cf578063c87b56dd146109e457600080fd5b8063b88d4fde14610915578063becb97c314610935578063bedb86fb1461096257600080fd5b80639753eac011610197578063a56d773011610166578063a56d7730146108a4578063a5a865dc146108c0578063adec4c1b146108df578063b187bd26146108f557600080fd5b80639753eac014610826578063992924a61461083b578063a011626c14610871578063a22cb4651461088457600080fd5b806384d0c6e5116101d357806384d0c6e5146107be5780638b5bd8d5146107d95780638da5cb5b146107f357806395d89b411461081157600080fd5b806370f4b7c214610769578063715018a614610789578063729ad39e1461079e57600080fd5b806332cb6b0c116102de5780634d6f19c11161027c5780635aca1bb61161024b5780635aca1bb6146106f65780635f9bb59a146107165780636352211e1461072957806370a082311461074957600080fd5b80634d6f19c11461068a5780634db5bae2146106a057806354214f69146106c057806355f804b3146106d657600080fd5b80633c839dc2116102b85780633c839dc21461061f5780633ccfd60b1461063557806342842e0e1461064a57806342966c681461066a57600080fd5b806332cb6b0c146105a75780633574a2dd146105d2578063372334bc146105f257600080fd5b80631606c4da1161034b57806323b872dd1161032557806323b872dd1461053757806325edee0e146105575780632c9a311b1461057257806331774a391461059257600080fd5b80631606c4da146104c35780631e68c264146104f057806323077d521461051057600080fd5b806306fdde031161038757806306fdde0314610429578063081812fc1461044b578063095ea7b31461048357806310969523146104a357600080fd5b806301e343db146103ae57806301ffc9a7146103d057806304ea666714610405575b600080fd5b3480156103ba57600080fd5b506103ce6103c9366004612ba9565b610ae9565b005b3480156103dc57600080fd5b506103f06103eb366004612bd8565b610b24565b60405190151581526020015b60405180910390f35b34801561041157600080fd5b5061041b60115481565b6040519081526020016103fc565b34801561043557600080fd5b5061043e610bc1565b6040516103fc9190612c54565b34801561045757600080fd5b5061046b610466366004612ba9565b610c53565b604051600160a060020a0390911681526020016103fc565b34801561048f57600080fd5b506103ce61049e366004612c83565b610cfc565b3480156104af57600080fd5b506103ce6104be366004612d5c565b610e34565b3480156104cf57600080fd5b5061041b6104de366004612d91565b600d6020526000908152604090205481565b3480156104fc57600080fd5b506103ce61050b366004612dac565b610e78565b34801561051c57600080fd5b50610525600281565b60405160ff90911681526020016103fc565b34801561054357600080fd5b506103ce610552366004612e19565b610ea5565b34801561056357600080fd5b5061041b66d529ae9e86000081565b34801561057e57600080fd5b506103ce61058d366004612ba9565b610ed9565b34801561059e57600080fd5b50610525600181565b3480156105b357600080fd5b506105bd61249981565b60405163ffffffff90911681526020016103fc565b3480156105de57600080fd5b506103ce6105ed366004612d5c565b610f0b565b3480156105fe57600080fd5b5061041b61060d366004612d91565b600e6020526000908152604090205481565b34801561062b57600080fd5b5061041b60035481565b34801561064157600080fd5b506103ce610f4b565b34801561065657600080fd5b506103ce610665366004612e19565b610fa8565b34801561067657600080fd5b506103ce610685366004612ba9565b610fc3565b34801561069657600080fd5b5061041b60125481565b3480156106ac57600080fd5b506103ce6106bb366004612ba9565b610ffc565b3480156106cc57600080fd5b5061041b600b5481565b3480156106e257600080fd5b506103ce6106f1366004612d5c565b61102e565b34801561070257600080fd5b506103ce610711366004612e65565b61106e565b6103ce610724366004612ecb565b6110d7565b34801561073557600080fd5b5061046b610744366004612ba9565b6112a6565b34801561075557600080fd5b5061041b610764366004612d91565b611334565b34801561077557600080fd5b5061041b610784366004612d91565b6113dd565b34801561079557600080fd5b506103ce61145d565b3480156107aa57600080fd5b506103ce6107b9366004612ecb565b611496565b3480156107ca57600080fd5b5061041b666a94d74f43000081565b3480156107e557600080fd5b50600c546105259060ff1681565b3480156107ff57600080fd5b50600654600160a060020a031661046b565b34801561081d57600080fd5b5061043e611596565b34801561083257600080fd5b50610525600381565b34801561084757600080fd5b5061046b610856366004612ba9565b600260205260009081526040902054600160a060020a031681565b6103ce61087f366004612f0d565b6115a5565b34801561089057600080fd5b506103ce61089f366004612f59565b6117dd565b3480156108b057600080fd5b5061041b67013fbe85edc9000081565b3480156108cc57600080fd5b50600c546103f090610100900460ff1681565b3480156108eb57600080fd5b5061041b60135481565b34801561090157600080fd5b50600c546103f09062010000900460ff1681565b34801561092157600080fd5b506103ce610930366004612f8c565b6117e8565b34801561094157600080fd5b5061041b610950366004612d91565b60106020526000908152604090205481565b34801561096e57600080fd5b506103ce61097d366004612e65565b611823565b34801561098e57600080fd5b5061041b61099d366004612d91565b600f6020526000908152604090205481565b3480156109bb57600080fd5b506103ce6109ca366004612ba9565b61186c565b3480156109db57600080fd5b5061043e61189e565b3480156109f057600080fd5b5061043e6109ff366004612ba9565b61192c565b348015610a1057600080fd5b5061041b600a5481565b348015610a2657600080fd5b506103ce610a35366004613008565b611bcd565b348015610a4657600080fd5b506103ce610a55366004612ba9565b611c8a565b348015610a6657600080fd5b506103f0610a7536600461302b565b600160a060020a03918216600090815260056020908152604080832093909416825291909152205460ff1690565b6103ce610ab1366004612f0d565b611cbc565b6103ce610ac4366004612ba9565b611ed6565b348015610ad557600080fd5b506103ce610ae4366004612d91565b6120a4565b600654600160a060020a03163314610b1f5760405160e560020a62461bcd028152600401610b1690613055565b60405180910390fd5b600a55565b6000600160e060020a031982167f80ac58cd000000000000000000000000000000000000000000000000000000001480610b875750600160e060020a031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b80610bbb57507f01ffc9a700000000000000000000000000000000000000000000000000000000600160e060020a03198316145b92915050565b606060008054610bd09061308a565b80601f0160208091040260200160405190810160405280929190818152602001828054610bfc9061308a565b8015610c495780601f10610c1e57610100808354040283529160200191610c49565b820191906000526020600020905b815481529060010190602001808311610c2c57829003601f168201915b5050505050905090565b600081815260026020526040812054600160a060020a0316610ce05760405160e560020a62461bcd02815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e00000000000000000000000000000000000000006064820152608401610b16565b50600090815260046020526040902054600160a060020a031690565b6000610d07826112a6565b905080600160a060020a031683600160a060020a03161415610d945760405160e560020a62461bcd02815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f72000000000000000000000000000000000000000000000000000000000000006064820152608401610b16565b33600160a060020a0382161480610db05750610db08133610a75565b610e255760405160e560020a62461bcd02815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610b16565b610e2f8383612159565b505050565b600654600160a060020a03163314610e615760405160e560020a62461bcd028152600401610b1690613055565b8051610e74906009906020840190612b10565b5050565b600654600160a060020a03163314610e2f5760405160e560020a62461bcd028152600401610b1690613055565b610eaf33826121d4565b610ece5760405160e560020a62461bcd028152600401610b16906130c8565b610e2f8383836122df565b600654600160a060020a03163314610f065760405160e560020a62461bcd028152600401610b1690613055565b601255565b600654600160a060020a03163314610f385760405160e560020a62461bcd028152600401610b1690613055565b8051610e74906008906020840190612b10565b600654600160a060020a03163314610f785760405160e560020a62461bcd028152600401610b1690613055565b604051303190339082156108fc029083906000818181858888f19350505050158015610e74573d6000803e3d6000fd5b610e2f838383604051806020016040528060008152506117e8565b600654600160a060020a03163314610ff05760405160e560020a62461bcd028152600401610b1690613055565b610ff981612463565b50565b600654600160a060020a031633146110295760405160e560020a62461bcd028152600401610b1690613055565b601155565b600654600160a060020a0316331461105b5760405160e560020a62461bcd028152600401610b1690613055565b8051610e74906007906020840190612b10565b600654600160a060020a0316331461109b5760405160e560020a62461bcd028152600401610b1690613055565b600a546110bd5760405160e560020a62461bcd028152600401610b1690613125565b600c80549115156101000261ff0019909216919091179055565b600c5462010000900460ff16156111035760405160e560020a62461bcd028152600401610b1690613182565b600c5460019060ff161580159061111f5750600c5460ff168111155b61113e5760405160e560020a62461bcd028152600401610b16906131b9565b6011546040516c0100000000000000000000000033026020820152849084906000906034016040516020818303038152906040528051906020012090506111bb8383808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152508892508591506124dd9050565b6111da5760405160e560020a62461bcd028152600401610b16906131f0565b600161249963ffffffff16816003546111f39190613240565b106112135760405160e560020a62461bcd028152600401610b1690613258565b336000818152600d6020526040902054600181106112465760405160e560020a62461bcd028152600401610b169061328f565b600354600160a060020a0383166000908152600d6020526040902060019055600a5461128b9084906124999061127c9085613240565b61128691906132df565b6124f3565b611296816001613240565b6003555050505050505050505050565b600081815260026020526040812054600160a060020a031680610bbb5760405160e560020a62461bcd02815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e00000000000000000000000000000000000000000000006064820152608401610b16565b6000600160a060020a03821661135f5760405160e560020a62461bcd028152600401610b16906132f3565b600354600090815b818110156113d457600061249963ffffffff1682600a546113889190613240565b61139291906132df565b600081815260026020526040902054909150600160a060020a03878116911614156113c3576113c084613350565b93505b506113cd81613350565b9050611367565b50909392505050565b6000600160a060020a0382166114085760405160e560020a62461bcd028152600401610b16906132f3565b600160a060020a038216600090815260106020908152604080832054600f835281842054600e845282852054600d9094529190932054909161144991613240565b6114539190613240565b610bbb9190613240565b600654600160a060020a0316331461148a5760405160e560020a62461bcd028152600401610b1690613055565b611494600061261a565b565b600654600160a060020a031633146114c35760405160e560020a62461bcd028152600401610b1690613055565b600a546114e55760405160e560020a62461bcd028152600401610b1690613125565b6003548190612499906114f9908390613240565b106115195760405160e560020a62461bcd028152600401610b1690613258565b6003548260005b818110156115815761156f86868381811061153d5761153d61336b565b90506020020160208101906115529190612d91565b600a546124999084906115659088613240565b61127c9190613240565b8061157981613350565b915050611520565b5061158c8183613240565b6003555050505050565b606060018054610bd09061308a565b600c5462010000900460ff16156115d15760405160e560020a62461bcd028152600401610b1690613182565b600c5460029060ff16158015906115ed5750600c5460ff168111155b61160c5760405160e560020a62461bcd028152600401610b16906131b9565b6012546040516c0100000000000000000000000033026020820152849084906000906034016040516020818303038152906040528051906020012090506116898383808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152508892508591506124dd9050565b6116a85760405160e560020a62461bcd028152600401610b16906131f0565b87666a94d74f4300006116bb8282613384565b3410156116dd5760405160e560020a62461bcd028152600401610b16906133a3565b8961249963ffffffff16816003546116f59190613240565b106117155760405160e560020a62461bcd028152600401610b1690613258565b336000818152600e602052604090205460028d118015906117405750600261173d8e83613240565b11155b61175f5760405160e560020a62461bcd028152600401610b169061328f565b60035461176c8e83613240565b600160a060020a0384166000908152600e60205260408120919091555b8e8110156117bf576117ad8461249963ffffffff1683600a54866115659190613240565b806117b781613350565b915050611789565b506117ca8e82613240565b6003555050505050505050505050505050565b610e74338383612679565b6117f233836121d4565b6118115760405160e560020a62461bcd028152600401610b16906130c8565b61181d8484848461274b565b50505050565b600654600160a060020a031633146118505760405160e560020a62461bcd028152600401610b1690613055565b600c8054911515620100000262ff000019909216919091179055565b600654600160a060020a031633146118995760405160e560020a62461bcd028152600401610b1690613055565b600b55565b600980546118ab9061308a565b80601f01602080910402602001604051908101604052809291908181526020018280546118d79061308a565b80156119245780601f106118f957610100808354040283529160200191611924565b820191906000526020600020905b81548152906001019060200180831161190757829003601f168201915b505050505081565b600081815260026020526040902054606090600160a060020a03166119bc5760405160e560020a62461bcd02815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006064820152608401610b16565b600a546000906119cf90612499906132df565b9050600061249963ffffffff16600b54600a546119ec9190613240565b6119f691906132df565b600b5490915082821090611a995760088054611a119061308a565b80601f0160208091040260200160405190810160405280929190818152602001828054611a3d9061308a565b8015611a8a5780601f10611a5f57610100808354040283529160200191611a8a565b820191906000526020600020905b815481529060010190602001808311611a6d57829003601f168201915b50505050509350505050919050565b80158015611ab0575082851080611ab05750818510155b15611ac25760088054611a119061308a565b808015611ad957508285108015611ad95750818510155b15611aeb5760088054611a119061308a565b600060078054611afa9061308a565b80601f0160208091040260200160405190810160405280929190818152602001828054611b269061308a565b8015611b735780601f10611b4857610100808354040283529160200191611b73565b820191906000526020600020905b815481529060010190602001808311611b5657829003601f168201915b505050505090506000815111611b985760405180602001604052806000815250611bc3565b80611ba287612781565b604051602001611bb39291906133da565b6040516020818303038152906040525b9695505050505050565b600654600160a060020a03163314611bfa5760405160e560020a62461bcd028152600401610b1690613055565b8060048160ff1610611c515760405160e560020a62461bcd02815260206004820152601460248201527f43616e6e6f7420736574206261746368203e20330000000000000000000000006044820152606401610b16565b600a54611c735760405160e560020a62461bcd028152600401610b1690613125565b50600c805460ff191660ff92909216919091179055565b600654600160a060020a03163314611cb75760405160e560020a62461bcd028152600401610b1690613055565b601355565b600c5462010000900460ff1615611ce85760405160e560020a62461bcd028152600401610b1690613182565b600c5460039060ff1615801590611d045750600c5460ff168111155b611d235760405160e560020a62461bcd028152600401610b16906131b9565b6013546040516c010000000000000000000000003302602082015284908490600090603401604051602081830303815290604052805190602001209050611da08383808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152508892508591506124dd9050565b611dbf5760405160e560020a62461bcd028152600401610b16906131f0565b8766d529ae9e860000611dd28282613384565b341015611df45760405160e560020a62461bcd028152600401610b16906133a3565b8961249963ffffffff1681600354611e0c9190613240565b10611e2c5760405160e560020a62461bcd028152600401610b1690613258565b336000818152600f602052604090205460038d11801590611e5757506003611e548e83613240565b11155b611e765760405160e560020a62461bcd028152600401610b169061328f565b600354611e838e83613240565b600160a060020a0384166000908152600f60205260408120919091555b8e8110156117bf57611ec48461249963ffffffff1683600a54866115659190613240565b80611ece81613350565b915050611ea0565b600c5462010000900460ff1615611f025760405160e560020a62461bcd028152600401610b1690613182565b600c54610100900460ff16611f5c5760405160e560020a62461bcd02815260206004820152601760248201527f5075626c69632073616c65206973206e6f74206f70656e0000000000000000006044820152606401610b16565b8067013fbe85edc90000611f708282613384565b341015611f925760405160e560020a62461bcd028152600401610b16906133a3565b8261249963ffffffff1681600354611faa9190613240565b10611fca5760405160e560020a62461bcd028152600401610b1690613258565b3360008181526010602052604090205460038611801590611ff557506003611ff28783613240565b11155b6120145760405160e560020a62461bcd028152600401610b169061328f565b6003546120218783613240565b600160a060020a0384166000908152601060205260408120919091555b8781101561208d5761207b8461249963ffffffff1683600a54866120629190613240565b61206c9190613240565b61207691906132df565b6128d2565b8061208581613350565b91505061203e565b506120988782613240565b60035550505050505050565b600654600160a060020a031633146120d15760405160e560020a62461bcd028152600401610b1690613055565b600160a060020a0381166121505760405160e560020a62461bcd02815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610b16565b610ff98161261a565b6000818152600460205260409020805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a038416908117909155819061219b826112a6565b600160a060020a03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600081815260026020526040812054600160a060020a03166122615760405160e560020a62461bcd02815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e00000000000000000000000000000000000000006064820152608401610b16565b600061226c836112a6565b905080600160a060020a031684600160a060020a031614806122a7575083600160a060020a031661229c84610c53565b600160a060020a0316145b806122d75750600160a060020a0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b82600160a060020a03166122f2826112a6565b600160a060020a0316146123715760405160e560020a62461bcd02815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e00000000000000000000000000000000000000000000006064820152608401610b16565b600160a060020a0382166123ef5760405160e560020a62461bcd028152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610b16565b6123fa600082612159565b600081815260026020526040808220805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600061246e826112a6565b905061247b600083612159565b600082815260026020526040808220805473ffffffffffffffffffffffffffffffffffffffff1916905551839190600160a060020a038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b6000826124ea85846128ec565b14949350505050565b600160a060020a03821661254c5760405160e560020a62461bcd02815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610b16565b600081815260026020526040902054600160a060020a0316156125b45760405160e560020a62461bcd02815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610b16565b600081815260026020526040808220805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60068054600160a060020a0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b81600160a060020a031683600160a060020a031614156126de5760405160e560020a62461bcd02815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610b16565b600160a060020a03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6127568484846122df565b61276284848484612998565b61181d5760405160e560020a62461bcd028152600401610b169061345c565b6060816127c157505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b81156127eb57806127d581613350565b91506127e49050600a836134b9565b91506127c5565b60008167ffffffffffffffff81111561280657612806612cad565b6040519080825280601f01601f191660200182016040528015612830576020820181803683370190505b5090505b84156122d7576128456001836134cd565b9150612852600a866132df565b61285d906030613240565b7f0100000000000000000000000000000000000000000000000000000000000000028183815181106128915761289161336b565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506128cb600a866134b9565b9450612834565b610e74828260405180602001604052806000815250612ada565b600081815b845181101561299057600085828151811061290e5761290e61336b565b6020026020010151905080831161295057604080516020810185905290810182905260600160405160208183030381529060405280519060200120925061297d565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b508061298881613350565b9150506128f1565b509392505050565b6000600160a060020a0384163b15612acf576040517f150b7a02000000000000000000000000000000000000000000000000000000008152600160a060020a0385169063150b7a02906129f59033908990889088906004016134e4565b602060405180830381600087803b158015612a0f57600080fd5b505af1925050508015612a3f575060408051601f3d908101601f19168201909252612a3c91810190613516565b60015b612a9c573d808015612a6d576040519150601f19603f3d011682016040523d82523d6000602084013e612a72565b606091505b508051612a945760405160e560020a62461bcd028152600401610b169061345c565b805181602001fd5b600160e060020a0319167f150b7a02000000000000000000000000000000000000000000000000000000001490506122d7565b506001949350505050565b612ae483836124f3565b612af16000848484612998565b610e2f5760405160e560020a62461bcd028152600401610b169061345c565b828054612b1c9061308a565b90600052602060002090601f016020900481019282612b3e5760008555612b84565b82601f10612b5757805160ff1916838001178555612b84565b82800160010185558215612b84579182015b82811115612b84578251825591602001919060010190612b69565b50612b90929150612b94565b5090565b5b80821115612b905760008155600101612b95565b600060208284031215612bbb57600080fd5b5035919050565b600160e060020a031981168114610ff957600080fd5b600060208284031215612bea57600080fd5b8135612bf581612bc2565b9392505050565b60005b83811015612c17578181015183820152602001612bff565b8381111561181d5750506000910152565b60008151808452612c40816020860160208601612bfc565b601f01601f19169290920160200192915050565b602081526000612bf56020830184612c28565b8035600160a060020a0381168114612c7e57600080fd5b919050565b60008060408385031215612c9657600080fd5b612c9f83612c67565b946020939093013593505050565b60e060020a634e487b7102600052604160045260246000fd5b600067ffffffffffffffff80841115612ce157612ce1612cad565b604051601f8501601f19908116603f01168101908282118183101715612d0957612d09612cad565b81604052809350858152868686011115612d2257600080fd5b858560208301376000602087830101525050509392505050565b600082601f830112612d4d57600080fd5b612bf583833560208501612cc6565b600060208284031215612d6e57600080fd5b813567ffffffffffffffff811115612d8557600080fd5b6122d784828501612d3c565b600060208284031215612da357600080fd5b612bf582612c67565b600080600060608486031215612dc157600080fd5b83359250602084013567ffffffffffffffff80821115612de057600080fd5b612dec87838801612d3c565b93506040860135915080821115612e0257600080fd5b50612e0f86828701612d3c565b9150509250925092565b600080600060608486031215612e2e57600080fd5b612e3784612c67565b9250612e4560208501612c67565b9150604084013590509250925092565b80358015158114612c7e57600080fd5b600060208284031215612e7757600080fd5b612bf582612e55565b60008083601f840112612e9257600080fd5b50813567ffffffffffffffff811115612eaa57600080fd5b6020830191508360208083028501011115612ec457600080fd5b9250929050565b60008060208385031215612ede57600080fd5b823567ffffffffffffffff811115612ef557600080fd5b612f0185828601612e80565b90969095509350505050565b600080600060408486031215612f2257600080fd5b83359250602084013567ffffffffffffffff811115612f4057600080fd5b612f4c86828701612e80565b9497909650939450505050565b60008060408385031215612f6c57600080fd5b612f7583612c67565b9150612f8360208401612e55565b90509250929050565b60008060008060808587031215612fa257600080fd5b612fab85612c67565b9350612fb960208601612c67565b925060408501359150606085013567ffffffffffffffff811115612fdc57600080fd5b8501601f81018713612fed57600080fd5b612ffc87823560208401612cc6565b91505092959194509250565b60006020828403121561301a57600080fd5b813560ff81168114612bf557600080fd5b6000806040838503121561303e57600080fd5b61304783612c67565b9150612f8360208401612c67565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60028104600182168061309e57607f821691505b602082108114156130c25760e060020a634e487b7102600052602260045260246000fd5b50919050565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60408201527f776e6572206e6f7220617070726f766564000000000000000000000000000000606082015260800190565b60208082526023908201527f43616e6e6f742072756e2073616c6520756e74696c206f66667365742069732060408201527f7365740000000000000000000000000000000000000000000000000000000000606082015260800190565b6020808252600e908201527f53616c6520697320706175736564000000000000000000000000000000000000604082015260600190565b60208082526017908201527f53616c65206e6f74206f70656e20666f72206261746368000000000000000000604082015260600190565b6020808252601e908201527f496e76616c69642077686974656c69737420766572696669636174696f6e0000604082015260600190565b60e060020a634e487b7102600052601160045260246000fd5b6000821982111561325357613253613227565b500190565b60208082526018908201527f4e6f7420656e6f7567682053756e67656e732065786973740000000000000000604082015260600190565b60208082526010908201527f546f6f206d616e792053756e67656e7300000000000000000000000000000000604082015260600190565b60e060020a634e487b7102600052601260045260246000fd5b6000826132ee576132ee6132c6565b500690565b6020808252602a908201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560408201527f726f206164647265737300000000000000000000000000000000000000000000606082015260800190565b600060001982141561336457613364613227565b5060010190565b60e060020a634e487b7102600052603260045260246000fd5b600081600019048311821515161561339e5761339e613227565b500290565b6020808252600e908201527f4e6f7420656e6f75676820455448000000000000000000000000000000000000604082015260600190565b600083516133ec818460208801612bfc565b7f2f000000000000000000000000000000000000000000000000000000000000009083019081528351613426816001840160208801612bfc565b7f2e6a736f6e00000000000000000000000000000000000000000000000000000060019290910191820152600601949350505050565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527f63656976657220696d706c656d656e7465720000000000000000000000000000606082015260800190565b6000826134c8576134c86132c6565b500490565b6000828210156134df576134df613227565b500390565b6000600160a060020a03808716835280861660208401525083604083015260806060830152611bc36080830184612c28565b60006020828403121561352857600080fd5b8151612bf581612bc256fea2646970667358221220ec35e63ab0f12dd1cc15135e1d226b9a1509fa7d2ae8641909a2bdf79b60343064736f6c6343000809003334626561663064393761396230646434613330306531383137353037346364326637633839353763313164643965333231356236313033643964626564356430697066733a2f2f516d5463584350646162734d6579376a613862415348576139413867596e556951375a564356447232744e597853
Deployed Bytecode
0x6080604052600436106103a9576000357c01000000000000000000000000000000000000000000000000000000009004806370f4b7c2116101f9578063b88d4fde1161011f578063d5556544116100bd578063ec4427b21161008c578063ec4427b214610aa3578063efd0cbf914610ab6578063f23c899314610826578063f2fde38b14610ac957600080fd5b8063d555654414610a04578063d81a4f3714610a1a578063d974d85514610a3a578063e985e9c514610a5a57600080fd5b8063c4d8393f116100f9578063c4d8393f14610982578063c50c8186146109af578063c6ab67a3146109cf578063c87b56dd146109e457600080fd5b8063b88d4fde14610915578063becb97c314610935578063bedb86fb1461096257600080fd5b80639753eac011610197578063a56d773011610166578063a56d7730146108a4578063a5a865dc146108c0578063adec4c1b146108df578063b187bd26146108f557600080fd5b80639753eac014610826578063992924a61461083b578063a011626c14610871578063a22cb4651461088457600080fd5b806384d0c6e5116101d357806384d0c6e5146107be5780638b5bd8d5146107d95780638da5cb5b146107f357806395d89b411461081157600080fd5b806370f4b7c214610769578063715018a614610789578063729ad39e1461079e57600080fd5b806332cb6b0c116102de5780634d6f19c11161027c5780635aca1bb61161024b5780635aca1bb6146106f65780635f9bb59a146107165780636352211e1461072957806370a082311461074957600080fd5b80634d6f19c11461068a5780634db5bae2146106a057806354214f69146106c057806355f804b3146106d657600080fd5b80633c839dc2116102b85780633c839dc21461061f5780633ccfd60b1461063557806342842e0e1461064a57806342966c681461066a57600080fd5b806332cb6b0c146105a75780633574a2dd146105d2578063372334bc146105f257600080fd5b80631606c4da1161034b57806323b872dd1161032557806323b872dd1461053757806325edee0e146105575780632c9a311b1461057257806331774a391461059257600080fd5b80631606c4da146104c35780631e68c264146104f057806323077d521461051057600080fd5b806306fdde031161038757806306fdde0314610429578063081812fc1461044b578063095ea7b31461048357806310969523146104a357600080fd5b806301e343db146103ae57806301ffc9a7146103d057806304ea666714610405575b600080fd5b3480156103ba57600080fd5b506103ce6103c9366004612ba9565b610ae9565b005b3480156103dc57600080fd5b506103f06103eb366004612bd8565b610b24565b60405190151581526020015b60405180910390f35b34801561041157600080fd5b5061041b60115481565b6040519081526020016103fc565b34801561043557600080fd5b5061043e610bc1565b6040516103fc9190612c54565b34801561045757600080fd5b5061046b610466366004612ba9565b610c53565b604051600160a060020a0390911681526020016103fc565b34801561048f57600080fd5b506103ce61049e366004612c83565b610cfc565b3480156104af57600080fd5b506103ce6104be366004612d5c565b610e34565b3480156104cf57600080fd5b5061041b6104de366004612d91565b600d6020526000908152604090205481565b3480156104fc57600080fd5b506103ce61050b366004612dac565b610e78565b34801561051c57600080fd5b50610525600281565b60405160ff90911681526020016103fc565b34801561054357600080fd5b506103ce610552366004612e19565b610ea5565b34801561056357600080fd5b5061041b66d529ae9e86000081565b34801561057e57600080fd5b506103ce61058d366004612ba9565b610ed9565b34801561059e57600080fd5b50610525600181565b3480156105b357600080fd5b506105bd61249981565b60405163ffffffff90911681526020016103fc565b3480156105de57600080fd5b506103ce6105ed366004612d5c565b610f0b565b3480156105fe57600080fd5b5061041b61060d366004612d91565b600e6020526000908152604090205481565b34801561062b57600080fd5b5061041b60035481565b34801561064157600080fd5b506103ce610f4b565b34801561065657600080fd5b506103ce610665366004612e19565b610fa8565b34801561067657600080fd5b506103ce610685366004612ba9565b610fc3565b34801561069657600080fd5b5061041b60125481565b3480156106ac57600080fd5b506103ce6106bb366004612ba9565b610ffc565b3480156106cc57600080fd5b5061041b600b5481565b3480156106e257600080fd5b506103ce6106f1366004612d5c565b61102e565b34801561070257600080fd5b506103ce610711366004612e65565b61106e565b6103ce610724366004612ecb565b6110d7565b34801561073557600080fd5b5061046b610744366004612ba9565b6112a6565b34801561075557600080fd5b5061041b610764366004612d91565b611334565b34801561077557600080fd5b5061041b610784366004612d91565b6113dd565b34801561079557600080fd5b506103ce61145d565b3480156107aa57600080fd5b506103ce6107b9366004612ecb565b611496565b3480156107ca57600080fd5b5061041b666a94d74f43000081565b3480156107e557600080fd5b50600c546105259060ff1681565b3480156107ff57600080fd5b50600654600160a060020a031661046b565b34801561081d57600080fd5b5061043e611596565b34801561083257600080fd5b50610525600381565b34801561084757600080fd5b5061046b610856366004612ba9565b600260205260009081526040902054600160a060020a031681565b6103ce61087f366004612f0d565b6115a5565b34801561089057600080fd5b506103ce61089f366004612f59565b6117dd565b3480156108b057600080fd5b5061041b67013fbe85edc9000081565b3480156108cc57600080fd5b50600c546103f090610100900460ff1681565b3480156108eb57600080fd5b5061041b60135481565b34801561090157600080fd5b50600c546103f09062010000900460ff1681565b34801561092157600080fd5b506103ce610930366004612f8c565b6117e8565b34801561094157600080fd5b5061041b610950366004612d91565b60106020526000908152604090205481565b34801561096e57600080fd5b506103ce61097d366004612e65565b611823565b34801561098e57600080fd5b5061041b61099d366004612d91565b600f6020526000908152604090205481565b3480156109bb57600080fd5b506103ce6109ca366004612ba9565b61186c565b3480156109db57600080fd5b5061043e61189e565b3480156109f057600080fd5b5061043e6109ff366004612ba9565b61192c565b348015610a1057600080fd5b5061041b600a5481565b348015610a2657600080fd5b506103ce610a35366004613008565b611bcd565b348015610a4657600080fd5b506103ce610a55366004612ba9565b611c8a565b348015610a6657600080fd5b506103f0610a7536600461302b565b600160a060020a03918216600090815260056020908152604080832093909416825291909152205460ff1690565b6103ce610ab1366004612f0d565b611cbc565b6103ce610ac4366004612ba9565b611ed6565b348015610ad557600080fd5b506103ce610ae4366004612d91565b6120a4565b600654600160a060020a03163314610b1f5760405160e560020a62461bcd028152600401610b1690613055565b60405180910390fd5b600a55565b6000600160e060020a031982167f80ac58cd000000000000000000000000000000000000000000000000000000001480610b875750600160e060020a031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b80610bbb57507f01ffc9a700000000000000000000000000000000000000000000000000000000600160e060020a03198316145b92915050565b606060008054610bd09061308a565b80601f0160208091040260200160405190810160405280929190818152602001828054610bfc9061308a565b8015610c495780601f10610c1e57610100808354040283529160200191610c49565b820191906000526020600020905b815481529060010190602001808311610c2c57829003601f168201915b5050505050905090565b600081815260026020526040812054600160a060020a0316610ce05760405160e560020a62461bcd02815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e00000000000000000000000000000000000000006064820152608401610b16565b50600090815260046020526040902054600160a060020a031690565b6000610d07826112a6565b905080600160a060020a031683600160a060020a03161415610d945760405160e560020a62461bcd02815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f72000000000000000000000000000000000000000000000000000000000000006064820152608401610b16565b33600160a060020a0382161480610db05750610db08133610a75565b610e255760405160e560020a62461bcd02815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610b16565b610e2f8383612159565b505050565b600654600160a060020a03163314610e615760405160e560020a62461bcd028152600401610b1690613055565b8051610e74906009906020840190612b10565b5050565b600654600160a060020a03163314610e2f5760405160e560020a62461bcd028152600401610b1690613055565b610eaf33826121d4565b610ece5760405160e560020a62461bcd028152600401610b16906130c8565b610e2f8383836122df565b600654600160a060020a03163314610f065760405160e560020a62461bcd028152600401610b1690613055565b601255565b600654600160a060020a03163314610f385760405160e560020a62461bcd028152600401610b1690613055565b8051610e74906008906020840190612b10565b600654600160a060020a03163314610f785760405160e560020a62461bcd028152600401610b1690613055565b604051303190339082156108fc029083906000818181858888f19350505050158015610e74573d6000803e3d6000fd5b610e2f838383604051806020016040528060008152506117e8565b600654600160a060020a03163314610ff05760405160e560020a62461bcd028152600401610b1690613055565b610ff981612463565b50565b600654600160a060020a031633146110295760405160e560020a62461bcd028152600401610b1690613055565b601155565b600654600160a060020a0316331461105b5760405160e560020a62461bcd028152600401610b1690613055565b8051610e74906007906020840190612b10565b600654600160a060020a0316331461109b5760405160e560020a62461bcd028152600401610b1690613055565b600a546110bd5760405160e560020a62461bcd028152600401610b1690613125565b600c80549115156101000261ff0019909216919091179055565b600c5462010000900460ff16156111035760405160e560020a62461bcd028152600401610b1690613182565b600c5460019060ff161580159061111f5750600c5460ff168111155b61113e5760405160e560020a62461bcd028152600401610b16906131b9565b6011546040516c0100000000000000000000000033026020820152849084906000906034016040516020818303038152906040528051906020012090506111bb8383808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152508892508591506124dd9050565b6111da5760405160e560020a62461bcd028152600401610b16906131f0565b600161249963ffffffff16816003546111f39190613240565b106112135760405160e560020a62461bcd028152600401610b1690613258565b336000818152600d6020526040902054600181106112465760405160e560020a62461bcd028152600401610b169061328f565b600354600160a060020a0383166000908152600d6020526040902060019055600a5461128b9084906124999061127c9085613240565b61128691906132df565b6124f3565b611296816001613240565b6003555050505050505050505050565b600081815260026020526040812054600160a060020a031680610bbb5760405160e560020a62461bcd02815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e00000000000000000000000000000000000000000000006064820152608401610b16565b6000600160a060020a03821661135f5760405160e560020a62461bcd028152600401610b16906132f3565b600354600090815b818110156113d457600061249963ffffffff1682600a546113889190613240565b61139291906132df565b600081815260026020526040902054909150600160a060020a03878116911614156113c3576113c084613350565b93505b506113cd81613350565b9050611367565b50909392505050565b6000600160a060020a0382166114085760405160e560020a62461bcd028152600401610b16906132f3565b600160a060020a038216600090815260106020908152604080832054600f835281842054600e845282852054600d9094529190932054909161144991613240565b6114539190613240565b610bbb9190613240565b600654600160a060020a0316331461148a5760405160e560020a62461bcd028152600401610b1690613055565b611494600061261a565b565b600654600160a060020a031633146114c35760405160e560020a62461bcd028152600401610b1690613055565b600a546114e55760405160e560020a62461bcd028152600401610b1690613125565b6003548190612499906114f9908390613240565b106115195760405160e560020a62461bcd028152600401610b1690613258565b6003548260005b818110156115815761156f86868381811061153d5761153d61336b565b90506020020160208101906115529190612d91565b600a546124999084906115659088613240565b61127c9190613240565b8061157981613350565b915050611520565b5061158c8183613240565b6003555050505050565b606060018054610bd09061308a565b600c5462010000900460ff16156115d15760405160e560020a62461bcd028152600401610b1690613182565b600c5460029060ff16158015906115ed5750600c5460ff168111155b61160c5760405160e560020a62461bcd028152600401610b16906131b9565b6012546040516c0100000000000000000000000033026020820152849084906000906034016040516020818303038152906040528051906020012090506116898383808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152508892508591506124dd9050565b6116a85760405160e560020a62461bcd028152600401610b16906131f0565b87666a94d74f4300006116bb8282613384565b3410156116dd5760405160e560020a62461bcd028152600401610b16906133a3565b8961249963ffffffff16816003546116f59190613240565b106117155760405160e560020a62461bcd028152600401610b1690613258565b336000818152600e602052604090205460028d118015906117405750600261173d8e83613240565b11155b61175f5760405160e560020a62461bcd028152600401610b169061328f565b60035461176c8e83613240565b600160a060020a0384166000908152600e60205260408120919091555b8e8110156117bf576117ad8461249963ffffffff1683600a54866115659190613240565b806117b781613350565b915050611789565b506117ca8e82613240565b6003555050505050505050505050505050565b610e74338383612679565b6117f233836121d4565b6118115760405160e560020a62461bcd028152600401610b16906130c8565b61181d8484848461274b565b50505050565b600654600160a060020a031633146118505760405160e560020a62461bcd028152600401610b1690613055565b600c8054911515620100000262ff000019909216919091179055565b600654600160a060020a031633146118995760405160e560020a62461bcd028152600401610b1690613055565b600b55565b600980546118ab9061308a565b80601f01602080910402602001604051908101604052809291908181526020018280546118d79061308a565b80156119245780601f106118f957610100808354040283529160200191611924565b820191906000526020600020905b81548152906001019060200180831161190757829003601f168201915b505050505081565b600081815260026020526040902054606090600160a060020a03166119bc5760405160e560020a62461bcd02815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006064820152608401610b16565b600a546000906119cf90612499906132df565b9050600061249963ffffffff16600b54600a546119ec9190613240565b6119f691906132df565b600b5490915082821090611a995760088054611a119061308a565b80601f0160208091040260200160405190810160405280929190818152602001828054611a3d9061308a565b8015611a8a5780601f10611a5f57610100808354040283529160200191611a8a565b820191906000526020600020905b815481529060010190602001808311611a6d57829003601f168201915b50505050509350505050919050565b80158015611ab0575082851080611ab05750818510155b15611ac25760088054611a119061308a565b808015611ad957508285108015611ad95750818510155b15611aeb5760088054611a119061308a565b600060078054611afa9061308a565b80601f0160208091040260200160405190810160405280929190818152602001828054611b269061308a565b8015611b735780601f10611b4857610100808354040283529160200191611b73565b820191906000526020600020905b815481529060010190602001808311611b5657829003601f168201915b505050505090506000815111611b985760405180602001604052806000815250611bc3565b80611ba287612781565b604051602001611bb39291906133da565b6040516020818303038152906040525b9695505050505050565b600654600160a060020a03163314611bfa5760405160e560020a62461bcd028152600401610b1690613055565b8060048160ff1610611c515760405160e560020a62461bcd02815260206004820152601460248201527f43616e6e6f7420736574206261746368203e20330000000000000000000000006044820152606401610b16565b600a54611c735760405160e560020a62461bcd028152600401610b1690613125565b50600c805460ff191660ff92909216919091179055565b600654600160a060020a03163314611cb75760405160e560020a62461bcd028152600401610b1690613055565b601355565b600c5462010000900460ff1615611ce85760405160e560020a62461bcd028152600401610b1690613182565b600c5460039060ff1615801590611d045750600c5460ff168111155b611d235760405160e560020a62461bcd028152600401610b16906131b9565b6013546040516c010000000000000000000000003302602082015284908490600090603401604051602081830303815290604052805190602001209050611da08383808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152508892508591506124dd9050565b611dbf5760405160e560020a62461bcd028152600401610b16906131f0565b8766d529ae9e860000611dd28282613384565b341015611df45760405160e560020a62461bcd028152600401610b16906133a3565b8961249963ffffffff1681600354611e0c9190613240565b10611e2c5760405160e560020a62461bcd028152600401610b1690613258565b336000818152600f602052604090205460038d11801590611e5757506003611e548e83613240565b11155b611e765760405160e560020a62461bcd028152600401610b169061328f565b600354611e838e83613240565b600160a060020a0384166000908152600f60205260408120919091555b8e8110156117bf57611ec48461249963ffffffff1683600a54866115659190613240565b80611ece81613350565b915050611ea0565b600c5462010000900460ff1615611f025760405160e560020a62461bcd028152600401610b1690613182565b600c54610100900460ff16611f5c5760405160e560020a62461bcd02815260206004820152601760248201527f5075626c69632073616c65206973206e6f74206f70656e0000000000000000006044820152606401610b16565b8067013fbe85edc90000611f708282613384565b341015611f925760405160e560020a62461bcd028152600401610b16906133a3565b8261249963ffffffff1681600354611faa9190613240565b10611fca5760405160e560020a62461bcd028152600401610b1690613258565b3360008181526010602052604090205460038611801590611ff557506003611ff28783613240565b11155b6120145760405160e560020a62461bcd028152600401610b169061328f565b6003546120218783613240565b600160a060020a0384166000908152601060205260408120919091555b8781101561208d5761207b8461249963ffffffff1683600a54866120629190613240565b61206c9190613240565b61207691906132df565b6128d2565b8061208581613350565b91505061203e565b506120988782613240565b60035550505050505050565b600654600160a060020a031633146120d15760405160e560020a62461bcd028152600401610b1690613055565b600160a060020a0381166121505760405160e560020a62461bcd02815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610b16565b610ff98161261a565b6000818152600460205260409020805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a038416908117909155819061219b826112a6565b600160a060020a03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600081815260026020526040812054600160a060020a03166122615760405160e560020a62461bcd02815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e00000000000000000000000000000000000000006064820152608401610b16565b600061226c836112a6565b905080600160a060020a031684600160a060020a031614806122a7575083600160a060020a031661229c84610c53565b600160a060020a0316145b806122d75750600160a060020a0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b82600160a060020a03166122f2826112a6565b600160a060020a0316146123715760405160e560020a62461bcd02815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e00000000000000000000000000000000000000000000006064820152608401610b16565b600160a060020a0382166123ef5760405160e560020a62461bcd028152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610b16565b6123fa600082612159565b600081815260026020526040808220805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600061246e826112a6565b905061247b600083612159565b600082815260026020526040808220805473ffffffffffffffffffffffffffffffffffffffff1916905551839190600160a060020a038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b6000826124ea85846128ec565b14949350505050565b600160a060020a03821661254c5760405160e560020a62461bcd02815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610b16565b600081815260026020526040902054600160a060020a0316156125b45760405160e560020a62461bcd02815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610b16565b600081815260026020526040808220805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60068054600160a060020a0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b81600160a060020a031683600160a060020a031614156126de5760405160e560020a62461bcd02815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610b16565b600160a060020a03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6127568484846122df565b61276284848484612998565b61181d5760405160e560020a62461bcd028152600401610b169061345c565b6060816127c157505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b81156127eb57806127d581613350565b91506127e49050600a836134b9565b91506127c5565b60008167ffffffffffffffff81111561280657612806612cad565b6040519080825280601f01601f191660200182016040528015612830576020820181803683370190505b5090505b84156122d7576128456001836134cd565b9150612852600a866132df565b61285d906030613240565b7f0100000000000000000000000000000000000000000000000000000000000000028183815181106128915761289161336b565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506128cb600a866134b9565b9450612834565b610e74828260405180602001604052806000815250612ada565b600081815b845181101561299057600085828151811061290e5761290e61336b565b6020026020010151905080831161295057604080516020810185905290810182905260600160405160208183030381529060405280519060200120925061297d565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b508061298881613350565b9150506128f1565b509392505050565b6000600160a060020a0384163b15612acf576040517f150b7a02000000000000000000000000000000000000000000000000000000008152600160a060020a0385169063150b7a02906129f59033908990889088906004016134e4565b602060405180830381600087803b158015612a0f57600080fd5b505af1925050508015612a3f575060408051601f3d908101601f19168201909252612a3c91810190613516565b60015b612a9c573d808015612a6d576040519150601f19603f3d011682016040523d82523d6000602084013e612a72565b606091505b508051612a945760405160e560020a62461bcd028152600401610b169061345c565b805181602001fd5b600160e060020a0319167f150b7a02000000000000000000000000000000000000000000000000000000001490506122d7565b506001949350505050565b612ae483836124f3565b612af16000848484612998565b610e2f5760405160e560020a62461bcd028152600401610b169061345c565b828054612b1c9061308a565b90600052602060002090601f016020900481019282612b3e5760008555612b84565b82601f10612b5757805160ff1916838001178555612b84565b82800160010185558215612b84579182015b82811115612b84578251825591602001919060010190612b69565b50612b90929150612b94565b5090565b5b80821115612b905760008155600101612b95565b600060208284031215612bbb57600080fd5b5035919050565b600160e060020a031981168114610ff957600080fd5b600060208284031215612bea57600080fd5b8135612bf581612bc2565b9392505050565b60005b83811015612c17578181015183820152602001612bff565b8381111561181d5750506000910152565b60008151808452612c40816020860160208601612bfc565b601f01601f19169290920160200192915050565b602081526000612bf56020830184612c28565b8035600160a060020a0381168114612c7e57600080fd5b919050565b60008060408385031215612c9657600080fd5b612c9f83612c67565b946020939093013593505050565b60e060020a634e487b7102600052604160045260246000fd5b600067ffffffffffffffff80841115612ce157612ce1612cad565b604051601f8501601f19908116603f01168101908282118183101715612d0957612d09612cad565b81604052809350858152868686011115612d2257600080fd5b858560208301376000602087830101525050509392505050565b600082601f830112612d4d57600080fd5b612bf583833560208501612cc6565b600060208284031215612d6e57600080fd5b813567ffffffffffffffff811115612d8557600080fd5b6122d784828501612d3c565b600060208284031215612da357600080fd5b612bf582612c67565b600080600060608486031215612dc157600080fd5b83359250602084013567ffffffffffffffff80821115612de057600080fd5b612dec87838801612d3c565b93506040860135915080821115612e0257600080fd5b50612e0f86828701612d3c565b9150509250925092565b600080600060608486031215612e2e57600080fd5b612e3784612c67565b9250612e4560208501612c67565b9150604084013590509250925092565b80358015158114612c7e57600080fd5b600060208284031215612e7757600080fd5b612bf582612e55565b60008083601f840112612e9257600080fd5b50813567ffffffffffffffff811115612eaa57600080fd5b6020830191508360208083028501011115612ec457600080fd5b9250929050565b60008060208385031215612ede57600080fd5b823567ffffffffffffffff811115612ef557600080fd5b612f0185828601612e80565b90969095509350505050565b600080600060408486031215612f2257600080fd5b83359250602084013567ffffffffffffffff811115612f4057600080fd5b612f4c86828701612e80565b9497909650939450505050565b60008060408385031215612f6c57600080fd5b612f7583612c67565b9150612f8360208401612e55565b90509250929050565b60008060008060808587031215612fa257600080fd5b612fab85612c67565b9350612fb960208601612c67565b925060408501359150606085013567ffffffffffffffff811115612fdc57600080fd5b8501601f81018713612fed57600080fd5b612ffc87823560208401612cc6565b91505092959194509250565b60006020828403121561301a57600080fd5b813560ff81168114612bf557600080fd5b6000806040838503121561303e57600080fd5b61304783612c67565b9150612f8360208401612c67565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60028104600182168061309e57607f821691505b602082108114156130c25760e060020a634e487b7102600052602260045260246000fd5b50919050565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60408201527f776e6572206e6f7220617070726f766564000000000000000000000000000000606082015260800190565b60208082526023908201527f43616e6e6f742072756e2073616c6520756e74696c206f66667365742069732060408201527f7365740000000000000000000000000000000000000000000000000000000000606082015260800190565b6020808252600e908201527f53616c6520697320706175736564000000000000000000000000000000000000604082015260600190565b60208082526017908201527f53616c65206e6f74206f70656e20666f72206261746368000000000000000000604082015260600190565b6020808252601e908201527f496e76616c69642077686974656c69737420766572696669636174696f6e0000604082015260600190565b60e060020a634e487b7102600052601160045260246000fd5b6000821982111561325357613253613227565b500190565b60208082526018908201527f4e6f7420656e6f7567682053756e67656e732065786973740000000000000000604082015260600190565b60208082526010908201527f546f6f206d616e792053756e67656e7300000000000000000000000000000000604082015260600190565b60e060020a634e487b7102600052601260045260246000fd5b6000826132ee576132ee6132c6565b500690565b6020808252602a908201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560408201527f726f206164647265737300000000000000000000000000000000000000000000606082015260800190565b600060001982141561336457613364613227565b5060010190565b60e060020a634e487b7102600052603260045260246000fd5b600081600019048311821515161561339e5761339e613227565b500290565b6020808252600e908201527f4e6f7420656e6f75676820455448000000000000000000000000000000000000604082015260600190565b600083516133ec818460208801612bfc565b7f2f000000000000000000000000000000000000000000000000000000000000009083019081528351613426816001840160208801612bfc565b7f2e6a736f6e00000000000000000000000000000000000000000000000000000060019290910191820152600601949350505050565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527f63656976657220696d706c656d656e7465720000000000000000000000000000606082015260800190565b6000826134c8576134c86132c6565b500490565b6000828210156134df576134df613227565b500390565b6000600160a060020a03808716835280861660208401525083604083015260806060830152611bc36080830184612c28565b60006020828403121561352857600080fd5b8151612bf581612bc256fea2646970667358221220ec35e63ab0f12dd1cc15135e1d226b9a1509fa7d2ae8641909a2bdf79b60343064736f6c63430008090033
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.