ERC-721
Overview
Max Total Supply
0 ANTIFLOW
Holders
57
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 ANTIFLOWLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
AntiflowOrdinals
Compiler Version
v0.8.19+commit.7dd6d404
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT // Ordinals Manifest: 92999b4c3050547bfdc644ee1c4bb226a5fb843ab00ce27736426587dcb2ffbfi0 // Sub-100k inscriptions original collection // Made by Mudrock, with love. pragma solidity 0.8.19; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; import "operator-filter-registry/src/DefaultOperatorFilterer.sol"; contract AntiflowOrdinals is ERC721, DefaultOperatorFilterer, Ownable { uint256 public constant MAX_SUPPLY = 100; uint256 public constant PUBLIC_SUPPLY = 51; string public baseTokenURI = "ipfs://QmQWYSp5QJUoyY6Xjf4xk6uxzdRt52Entiih1nnn9UhCfw/"; bytes32 public merkleRoot = 0x8ca778716975541347f66b94820a56e3ed5ea265124ba4e8aec07b1135401aea; bool public publicSaleOpen = false; uint256 public publicMinted = 0; uint256 public publicPrice = 0.25 ether; // Public sale will open about a minute after whitelist opens uint256 public whitelistPrice = 0.2 ether; // This will decrease by 0.05 approximately every 5 minutes mapping(address => bool) public whitelistMinted; constructor() ERC721("Antiflow Ordinals", "ANTIFLOW") {} function _baseURI() internal view virtual override returns (string memory) { return baseTokenURI; } function setBaseURI(string memory _baseTokenURI) public onlyOwner { baseTokenURI = _baseTokenURI; } function setMerkleRoot(bytes32 _newRoot) public onlyOwner { merkleRoot = _newRoot; } function setPublicPrice(uint256 _newPrice) public onlyOwner { publicPrice = _newPrice; } function setWhitelistPrice(uint256 _newPrice) public onlyOwner { whitelistPrice = _newPrice; } function setPublicSaleOpen(bool _status) public onlyOwner { publicSaleOpen = _status; } modifier mintCompliance(uint256 _tokenID) { // This guarantees no more than MAX_SUPPLY will be minted require( _tokenID > 0 && _tokenID <= MAX_SUPPLY, "Pick a number between 1 and 100" ); require(!_exists(_tokenID), "That number is already minted SORRY!"); _; } modifier callerIsUser() { require(tx.origin == msg.sender, "The caller is another contract"); _; } // It takes balls to frontrun on a .25 mint dontcha think // I respect balls function mint(uint256 _tokenID) public payable mintCompliance(_tokenID) callerIsUser { require(publicSaleOpen, "You can't mint yet :("); require(publicMinted < PUBLIC_SUPPLY, "Out of public mints SORRY!"); require( msg.value >= publicPrice, "Make sure you're paying the right amount" ); publicMinted++; _mint(msg.sender, _tokenID); } function whitelistMint(uint256 _tokenID, bytes32[] calldata _merkleProof) public payable mintCompliance(_tokenID) { require( !whitelistMinted[msg.sender], "You can't mint again SORRY! Try the paid mint if you really want another." ); require( msg.value >= whitelistPrice, "You probably need to wait a bit to mint for this price." ); require( _checkWhitelisted(msg.sender, merkleRoot, _merkleProof), "Incorrect proof for whitelist." ); whitelistMinted[msg.sender] = true; _mint(msg.sender, _tokenID); } function withdraw() public payable onlyOwner { uint256 balance = address(this).balance; require(balance > 0, "No ether left to withdraw"); (bool success, ) = (msg.sender).call{value: balance}(""); require(success, "Transfer failed."); } function _checkWhitelisted( address _target, bytes32 _root, bytes32[] calldata _merkleProof ) internal pure returns (bool) { bytes32 node = keccak256(abi.encodePacked(_target)); return MerkleProof.verify(_merkleProof, _root, node); } // Operator Filterer Overrides function setApprovalForAll(address operator, bool approved) public override onlyAllowedOperatorApproval(operator) { super.setApprovalForAll(operator, approved); } function approve(address operator, uint256 tokenId) public override onlyAllowedOperatorApproval(operator) { super.approve(operator, tokenId); } function transferFrom( address from, address to, uint256 tokenId ) public override onlyAllowedOperator(from) { super.transferFrom(from, to, tokenId); } function safeTransferFrom( address from, address to, uint256 tokenId ) public override onlyAllowedOperator(from) { super.safeTransferFrom(from, to, tokenId); } function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory data ) public override onlyAllowedOperator(from) { super.safeTransferFrom(from, to, tokenId, data); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; import {OperatorFilterer} from "./OperatorFilterer.sol"; import {CANONICAL_CORI_SUBSCRIPTION} from "./lib/Constants.sol"; /** * @title DefaultOperatorFilterer * @notice Inherits from OperatorFilterer and automatically subscribes to the default OpenSea subscription. * @dev Please note that if your token contract does not provide an owner with EIP-173, it must provide * administration methods on the contract itself to interact with the registry otherwise the subscription * will be locked to the options set during construction. */ abstract contract DefaultOperatorFilterer is OperatorFilterer { /// @dev The constructor that is called when the contract is being deployed. constructor() OperatorFilterer(CANONICAL_CORI_SUBSCRIPTION, true) {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Tree proofs. * * The tree and the proofs can be generated using our * https://github.com/OpenZeppelin/merkle-tree[JavaScript library]. * You will find a quickstart guide in the readme. * * WARNING: You should avoid using leaf values that are 64 bytes long prior to * hashing, or use a hash function other than keccak256 for hashing leaves. * This is because the concatenation of a sorted pair of internal nodes in * the merkle tree could be reinterpreted as a leaf value. * OpenZeppelin's JavaScript library generates merkle trees that are safe * against this attack out of the box. */ 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 Calldata version of {verify} * * _Available since v4.7._ */ function verifyCalldata( bytes32[] calldata proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProofCalldata(proof, leaf) == root; } /** * @dev Returns the rebuilt hash obtained by traversing a Merkle 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++) { computedHash = _hashPair(computedHash, proof[i]); } return computedHash; } /** * @dev Calldata version of {processProof} * * _Available since v4.7._ */ function processProofCalldata(bytes32[] calldata proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { computedHash = _hashPair(computedHash, proof[i]); } return computedHash; } /** * @dev Returns true if the `leaves` can be simultaneously proven to be a part of a merkle tree defined by * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}. * * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details. * * _Available since v4.7._ */ function multiProofVerify( bytes32[] memory proof, bool[] memory proofFlags, bytes32 root, bytes32[] memory leaves ) internal pure returns (bool) { return processMultiProof(proof, proofFlags, leaves) == root; } /** * @dev Calldata version of {multiProofVerify} * * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details. * * _Available since v4.7._ */ function multiProofVerifyCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32 root, bytes32[] memory leaves ) internal pure returns (bool) { return processMultiProofCalldata(proof, proofFlags, leaves) == root; } /** * @dev Returns the root of a tree reconstructed from `leaves` and sibling nodes in `proof`. The reconstruction * proceeds by incrementally reconstructing all inner nodes by combining a leaf/inner node with either another * leaf/inner node or a proof sibling node, depending on whether each `proofFlags` item is true or false * respectively. * * CAUTION: Not all merkle trees admit multiproofs. To use multiproofs, it is sufficient to ensure that: 1) the tree * is complete (but not necessarily perfect), 2) the leaves to be proven are in the opposite order they are in the * tree (i.e., as seen from right to left starting at the deepest layer and continuing at the next layer). * * _Available since v4.7._ */ function processMultiProof( bytes32[] memory proof, bool[] memory proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of // the merkle tree. uint256 leavesLen = leaves.length; uint256 totalHashes = proofFlags.length; // Check proof validity. require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof"); // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop". bytes32[] memory hashes = new bytes32[](totalHashes); uint256 leafPos = 0; uint256 hashPos = 0; uint256 proofPos = 0; // At each step, we compute the next hash using two values: // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we // get the next hash. // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the // `proof` array. for (uint256 i = 0; i < totalHashes; i++) { bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]; bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++]; hashes[i] = _hashPair(a, b); } if (totalHashes > 0) { return hashes[totalHashes - 1]; } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } /** * @dev Calldata version of {processMultiProof}. * * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details. * * _Available since v4.7._ */ function processMultiProofCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of // the merkle tree. uint256 leavesLen = leaves.length; uint256 totalHashes = proofFlags.length; // Check proof validity. require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof"); // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop". bytes32[] memory hashes = new bytes32[](totalHashes); uint256 leafPos = 0; uint256 hashPos = 0; uint256 proofPos = 0; // At each step, we compute the next hash using two values: // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we // get the next hash. // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the // `proof` array. for (uint256 i = 0; i < totalHashes; i++) { bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]; bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++]; hashes[i] = _hashPair(a, b); } if (totalHashes > 0) { return hashes[totalHashes - 1]; } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } function _hashPair(bytes32 a, bytes32 b) private pure returns (bytes32) { return a < b ? _efficientHash(a, b) : _efficientHash(b, a); } function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) { /// @solidity memory-safe-assembly assembly { mstore(0x00, a) mstore(0x20, b) value := keccak256(0x00, 0x40) } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: address zero is not a valid owner"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _ownerOf(tokenId); require(owner != address(0), "ERC721: invalid token ID"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { _requireMinted(tokenId); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not token owner or approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { _requireMinted(tokenId); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner or approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner or 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 the owner of the `tokenId`. Does NOT revert if token doesn't exist */ function _ownerOf(uint256 tokenId) internal view virtual returns (address) { return _owners[tokenId]; } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _ownerOf(tokenId) != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { address owner = ERC721.ownerOf(tokenId); return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId, 1); // Check that tokenId was not minted by `_beforeTokenTransfer` hook require(!_exists(tokenId), "ERC721: token already minted"); unchecked { // Will not overflow unless all 2**256 token ids are minted to the same owner. // Given that tokens are minted one by one, it is impossible in practice that // this ever happens. Might change if we allow batch minting. // The ERC fails to describe this case. _balances[to] += 1; } _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); _afterTokenTransfer(address(0), to, tokenId, 1); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * This is an internal function that does not check if the sender is authorized to operate on the token. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId, 1); // Update ownership in case tokenId was transferred by `_beforeTokenTransfer` hook owner = ERC721.ownerOf(tokenId); // Clear approvals delete _tokenApprovals[tokenId]; unchecked { // Cannot overflow, as that would require more tokens to be burned/transferred // out than the owner initially received through minting and transferring in. _balances[owner] -= 1; } delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); _afterTokenTransfer(owner, address(0), tokenId, 1); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId, 1); // Check that tokenId was not transferred by `_beforeTokenTransfer` hook require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); // Clear approvals from the previous owner delete _tokenApprovals[tokenId]; unchecked { // `_balances[from]` cannot overflow for the same reason as described in `_burn`: // `from`'s balance is the number of token held, which is at least one before the current // transfer. // `_balances[to]` could overflow in the conditions described in `_mint`. That would require // all 2**256 token ids to be minted, which in practice is impossible. _balances[from] -= 1; _balances[to] += 1; } _owners[tokenId] = to; emit Transfer(from, to, tokenId); _afterTokenTransfer(from, to, tokenId, 1); } /** * @dev Approve `to` to operate on `tokenId` * * Emits an {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits an {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Reverts if the `tokenId` has not been minted yet. */ function _requireMinted(uint256 tokenId) internal view virtual { require(_exists(tokenId), "ERC721: invalid token ID"); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { /// @solidity memory-safe-assembly assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting and burning. If {ERC721Consecutive} is * used, the hook may be called as part of a consecutive (batch) mint, as indicated by `batchSize` greater than 1. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s tokens will be transferred to `to`. * - When `from` is zero, the tokens will be minted for `to`. * - When `to` is zero, ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * - `batchSize` is non-zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256, /* firstTokenId */ uint256 batchSize ) internal virtual { if (batchSize > 1) { if (from != address(0)) { _balances[from] -= batchSize; } if (to != address(0)) { _balances[to] += batchSize; } } } /** * @dev Hook that is called after any token transfer. This includes minting and burning. If {ERC721Consecutive} is * used, the hook may be called as part of a consecutive (batch) mint, as indicated by `batchSize` greater than 1. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s tokens were transferred to `to`. * - When `from` is zero, the tokens were minted for `to`. * - When `to` is zero, ``from``'s tokens were burned. * - `from` and `to` are never both zero. * - `batchSize` is non-zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 firstTokenId, uint256 batchSize ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.17; address constant CANONICAL_OPERATOR_FILTER_REGISTRY_ADDRESS = 0x000000000000AAeB6D7670E522A718067333cd4E; address constant CANONICAL_CORI_SUBSCRIPTION = 0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6;
// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; import {IOperatorFilterRegistry} from "./IOperatorFilterRegistry.sol"; import {CANONICAL_OPERATOR_FILTER_REGISTRY_ADDRESS} from "./lib/Constants.sol"; /** * @title OperatorFilterer * @notice Abstract contract whose constructor automatically registers and optionally subscribes to or copies another * registrant's entries in the OperatorFilterRegistry. * @dev This smart contract is meant to be inherited by token contracts so they can use the following: * - `onlyAllowedOperator` modifier for `transferFrom` and `safeTransferFrom` methods. * - `onlyAllowedOperatorApproval` modifier for `approve` and `setApprovalForAll` methods. * Please note that if your token contract does not provide an owner with EIP-173, it must provide * administration methods on the contract itself to interact with the registry otherwise the subscription * will be locked to the options set during construction. */ abstract contract OperatorFilterer { /// @dev Emitted when an operator is not allowed. error OperatorNotAllowed(address operator); IOperatorFilterRegistry public constant OPERATOR_FILTER_REGISTRY = IOperatorFilterRegistry(CANONICAL_OPERATOR_FILTER_REGISTRY_ADDRESS); /// @dev The constructor that is called when the contract is being deployed. constructor(address subscriptionOrRegistrantToCopy, bool subscribe) { // If an inheriting token contract is deployed to a network without the registry deployed, the modifier // will not revert, but the contract will need to be registered with the registry once it is deployed in // order for the modifier to filter addresses. if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) { if (subscribe) { OPERATOR_FILTER_REGISTRY.registerAndSubscribe(address(this), subscriptionOrRegistrantToCopy); } else { if (subscriptionOrRegistrantToCopy != address(0)) { OPERATOR_FILTER_REGISTRY.registerAndCopyEntries(address(this), subscriptionOrRegistrantToCopy); } else { OPERATOR_FILTER_REGISTRY.register(address(this)); } } } } /** * @dev A helper function to check if an operator is allowed. */ modifier onlyAllowedOperator(address from) virtual { // Allow spending tokens from addresses with balance // Note that this still allows listings and marketplaces with escrow to transfer tokens if transferred // from an EOA. if (from != msg.sender) { _checkFilterOperator(msg.sender); } _; } /** * @dev A helper function to check if an operator approval is allowed. */ modifier onlyAllowedOperatorApproval(address operator) virtual { _checkFilterOperator(operator); _; } /** * @dev A helper function to check if an operator is allowed. */ function _checkFilterOperator(address operator) internal view virtual { // Check registry code length to facilitate testing in environments without a deployed registry. if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) { // under normal circumstances, this function will revert rather than return false, but inheriting contracts // may specify their own OperatorFilterRegistry implementations, which may behave differently if (!OPERATOR_FILTER_REGISTRY.isOperatorAllowed(address(this), operator)) { revert OperatorNotAllowed(operator); } } } }
// 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/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 (last updated v4.8.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract. * * _Available since v4.8._ */ function verifyCallResultFromTarget( address target, bool success, bytes memory returndata, string memory errorMessage ) internal view returns (bytes memory) { if (success) { if (returndata.length == 0) { // only check isContract if the call was successful and the return data is empty // otherwise we already know that it was a contract require(isContract(target), "Address: call to non-contract"); } return returndata; } else { _revert(returndata, errorMessage); } } /** * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason or using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { _revert(returndata, errorMessage); } } function _revert(bytes memory returndata, string memory errorMessage) private pure { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721 * or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must * understand this adds an external call which potentially creates a reentrancy vulnerability. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; interface IOperatorFilterRegistry { /** * @notice Returns true if operator is not filtered for a given token, either by address or codeHash. Also returns * true if supplied registrant address is not registered. */ function isOperatorAllowed(address registrant, address operator) external view returns (bool); /** * @notice Registers an address with the registry. May be called by address itself or by EIP-173 owner. */ function register(address registrant) external; /** * @notice Registers an address with the registry and "subscribes" to another address's filtered operators and codeHashes. */ function registerAndSubscribe(address registrant, address subscription) external; /** * @notice Registers an address with the registry and copies the filtered operators and codeHashes from another * address without subscribing. */ function registerAndCopyEntries(address registrant, address registrantToCopy) external; /** * @notice Unregisters an address with the registry and removes its subscription. May be called by address itself or by EIP-173 owner. * Note that this does not remove any filtered addresses or codeHashes. * Also note that any subscriptions to this registrant will still be active and follow the existing filtered addresses and codehashes. */ function unregister(address addr) external; /** * @notice Update an operator address for a registered address - when filtered is true, the operator is filtered. */ function updateOperator(address registrant, address operator, bool filtered) external; /** * @notice Update multiple operators for a registered address - when filtered is true, the operators will be filtered. Reverts on duplicates. */ function updateOperators(address registrant, address[] calldata operators, bool filtered) external; /** * @notice Update a codeHash for a registered address - when filtered is true, the codeHash is filtered. */ function updateCodeHash(address registrant, bytes32 codehash, bool filtered) external; /** * @notice Update multiple codeHashes for a registered address - when filtered is true, the codeHashes will be filtered. Reverts on duplicates. */ function updateCodeHashes(address registrant, bytes32[] calldata codeHashes, bool filtered) external; /** * @notice Subscribe an address to another registrant's filtered operators and codeHashes. Will remove previous * subscription if present. * Note that accounts with subscriptions may go on to subscribe to other accounts - in this case, * subscriptions will not be forwarded. Instead the former subscription's existing entries will still be * used. */ function subscribe(address registrant, address registrantToSubscribe) external; /** * @notice Unsubscribe an address from its current subscribed registrant, and optionally copy its filtered operators and codeHashes. */ function unsubscribe(address registrant, bool copyExistingEntries) external; /** * @notice Get the subscription address of a given registrant, if any. */ function subscriptionOf(address addr) external returns (address registrant); /** * @notice Get the set of addresses subscribed to a given registrant. * Note that order is not guaranteed as updates are made. */ function subscribers(address registrant) external returns (address[] memory); /** * @notice Get the subscriber at a given index in the set of addresses subscribed to a given registrant. * Note that order is not guaranteed as updates are made. */ function subscriberAt(address registrant, uint256 index) external returns (address); /** * @notice Copy filtered operators and codeHashes from a different registrantToCopy to addr. */ function copyEntriesOf(address registrant, address registrantToCopy) external; /** * @notice Returns true if operator is filtered by a given address or its subscription. */ function isOperatorFiltered(address registrant, address operator) external returns (bool); /** * @notice Returns true if the hash of an address's code is filtered by a given address or its subscription. */ function isCodeHashOfFiltered(address registrant, address operatorWithCode) external returns (bool); /** * @notice Returns true if a codeHash is filtered by a given address or its subscription. */ function isCodeHashFiltered(address registrant, bytes32 codeHash) external returns (bool); /** * @notice Returns a list of filtered operators for a given address or its subscription. */ function filteredOperators(address addr) external returns (address[] memory); /** * @notice Returns the set of filtered codeHashes for a given address or its subscription. * Note that order is not guaranteed as updates are made. */ function filteredCodeHashes(address addr) external returns (bytes32[] memory); /** * @notice Returns the filtered operator at the given index of the set of filtered operators for a given address or * its subscription. * Note that order is not guaranteed as updates are made. */ function filteredOperatorAt(address registrant, uint256 index) external returns (address); /** * @notice Returns the filtered codeHash at the given index of the list of filtered codeHashes for a given address or * its subscription. * Note that order is not guaranteed as updates are made. */ function filteredCodeHashAt(address registrant, uint256 index) external returns (bytes32); /** * @notice Returns true if an address has registered */ function isRegistered(address addr) external returns (bool); /** * @dev Convenience method to compute the code hash of an arbitrary contract */ function codeHashOf(address addr) external returns (bytes32); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
{ "optimizer": { "enabled": false, "runs": 200 }, "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"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"OperatorNotAllowed","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OPERATOR_FILTER_REGISTRY","outputs":[{"internalType":"contract IOperatorFilterRegistry","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PUBLIC_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenID","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicSaleOpen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"_baseTokenURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_newRoot","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newPrice","type":"uint256"}],"name":"setPublicPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_status","type":"bool"}],"name":"setPublicSaleOpen","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newPrice","type":"uint256"}],"name":"setWhitelistPrice","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":[{"internalType":"uint256","name":"_tokenID","type":"uint256"},{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"whitelistMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"whitelistMinted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"whitelistPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"}]
Contract Creation Code
608060405260405180606001604052806036815260200162004f6c60369139600790816200002e9190620006aa565b507f8ca778716975541347f66b94820a56e3ed5ea265124ba4e8aec07b1135401aea60001b6008556000600960006101000a81548160ff0219169083151502179055506000600a556703782dace9d90000600b556702c68af0bb140000600c553480156200009b57600080fd5b50733cc6cdda760b79bafa08df41ecfa224f810dceb660016040518060400160405280601181526020017f416e7469666c6f77204f7264696e616c730000000000000000000000000000008152506040518060400160405280600881526020017f414e5449464c4f570000000000000000000000000000000000000000000000008152508160009081620001309190620006aa565b508060019081620001429190620006aa565b50505060006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b11156200033a57801562000200576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff16637d3e3dbe30846040518363ffffffff1660e01b8152600401620001c6929190620007d6565b600060405180830381600087803b158015620001e157600080fd5b505af1158015620001f6573d6000803e3d6000fd5b5050505062000339565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614620002ba576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663a0af290330846040518363ffffffff1660e01b815260040162000280929190620007d6565b600060405180830381600087803b1580156200029b57600080fd5b505af1158015620002b0573d6000803e3d6000fd5b5050505062000338565b6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff16634420e486306040518263ffffffff1660e01b815260040162000303919062000803565b600060405180830381600087803b1580156200031e57600080fd5b505af115801562000333573d6000803e3d6000fd5b505050505b5b5b50506200035c620003506200036260201b60201c565b6200036a60201b60201c565b62000820565b600033905090565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620004b257607f821691505b602082108103620004c857620004c76200046a565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620005327fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82620004f3565b6200053e8683620004f3565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b60006200058b620005856200057f8462000556565b62000560565b62000556565b9050919050565b6000819050919050565b620005a7836200056a565b620005bf620005b68262000592565b84845462000500565b825550505050565b600090565b620005d6620005c7565b620005e38184846200059c565b505050565b5b818110156200060b57620005ff600082620005cc565b600181019050620005e9565b5050565b601f8211156200065a576200062481620004ce565b6200062f84620004e3565b810160208510156200063f578190505b620006576200064e85620004e3565b830182620005e8565b50505b505050565b600082821c905092915050565b60006200067f600019846008026200065f565b1980831691505092915050565b60006200069a83836200066c565b9150826002028217905092915050565b620006b58262000430565b67ffffffffffffffff811115620006d157620006d06200043b565b5b620006dd825462000499565b620006ea8282856200060f565b600060209050601f8311600181146200072257600084156200070d578287015190505b6200071985826200068c565b86555062000789565b601f1984166200073286620004ce565b60005b828110156200075c5784890151825560018201915060208501945060208101905062000735565b868310156200077c578489015162000778601f8916826200066c565b8355505b6001600288020188555050505b505050505050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620007be8262000791565b9050919050565b620007d081620007b1565b82525050565b6000604082019050620007ed6000830185620007c5565b620007fc6020830184620007c5565b9392505050565b60006020820190506200081a6000830184620007c5565b92915050565b61473c80620008306000396000f3fe6080604052600436106101f95760003560e01c80638342083a1161010d578063b88d4fde116100a0578063d547cfb71161006f578063d547cfb7146106e2578063e985e9c51461070d578063f2fde38b1461074a578063f9e2379914610773578063fc1a1c361461079e576101f9565b8063b88d4fde14610637578063c627525514610660578063c87b56dd14610689578063d2cab056146106c6576101f9565b8063a0712d68116100dc578063a0712d681461059c578063a22cb465146105b8578063a4f4f8af146105e1578063a945bf801461060c576101f9565b80638342083a146104de5780638da5cb5b1461050957806395d89b411461053457806398a8cffe1461055f576101f9565b80633ccfd60b116101905780636352211e1161015f5780636352211e146103fb57806370a0823114610438578063715018a614610475578063717d57d31461048c5780637cb64759146104b5576101f9565b80633ccfd60b1461037457806341f434341461037e57806342842e0e146103a957806355f804b3146103d2576101f9565b806323394d99116101cc57806323394d99146102cc57806323b872dd146102f55780632eb4a7ab1461031e57806332cb6b0c14610349576101f9565b806301ffc9a7146101fe57806306fdde031461023b578063081812fc14610266578063095ea7b3146102a3575b600080fd5b34801561020a57600080fd5b5061022560048036038101906102209190612c02565b6107c9565b6040516102329190612c4a565b60405180910390f35b34801561024757600080fd5b506102506108ab565b60405161025d9190612cf5565b60405180910390f35b34801561027257600080fd5b5061028d60048036038101906102889190612d4d565b61093d565b60405161029a9190612dbb565b60405180910390f35b3480156102af57600080fd5b506102ca60048036038101906102c59190612e02565b610983565b005b3480156102d857600080fd5b506102f360048036038101906102ee9190612e6e565b61099c565b005b34801561030157600080fd5b5061031c60048036038101906103179190612e9b565b610a35565b005b34801561032a57600080fd5b50610333610a84565b6040516103409190612f07565b60405180910390f35b34801561035557600080fd5b5061035e610a8a565b60405161036b9190612f31565b60405180910390f35b61037c610a8f565b005b34801561038a57600080fd5b50610393610c03565b6040516103a09190612fab565b60405180910390f35b3480156103b557600080fd5b506103d060048036038101906103cb9190612e9b565b610c15565b005b3480156103de57600080fd5b506103f960048036038101906103f491906130fb565b610c64565b005b34801561040757600080fd5b50610422600480360381019061041d9190612d4d565b610cf3565b60405161042f9190612dbb565b60405180910390f35b34801561044457600080fd5b5061045f600480360381019061045a9190613144565b610d79565b60405161046c9190612f31565b60405180910390f35b34801561048157600080fd5b5061048a610e30565b005b34801561049857600080fd5b506104b360048036038101906104ae9190612d4d565b610eb8565b005b3480156104c157600080fd5b506104dc60048036038101906104d7919061319d565b610f3e565b005b3480156104ea57600080fd5b506104f3610fc4565b6040516105009190612f31565b60405180910390f35b34801561051557600080fd5b5061051e610fc9565b60405161052b9190612dbb565b60405180910390f35b34801561054057600080fd5b50610549610ff3565b6040516105569190612cf5565b60405180910390f35b34801561056b57600080fd5b5061058660048036038101906105819190613144565b611085565b6040516105939190612c4a565b60405180910390f35b6105b660048036038101906105b19190612d4d565b6110a5565b005b3480156105c457600080fd5b506105df60048036038101906105da91906131ca565b6112ac565b005b3480156105ed57600080fd5b506105f66112c5565b6040516106039190612f31565b60405180910390f35b34801561061857600080fd5b506106216112cb565b60405161062e9190612f31565b60405180910390f35b34801561064357600080fd5b5061065e600480360381019061065991906132ab565b6112d1565b005b34801561066c57600080fd5b5061068760048036038101906106829190612d4d565b611322565b005b34801561069557600080fd5b506106b060048036038101906106ab9190612d4d565b6113a8565b6040516106bd9190612cf5565b60405180910390f35b6106e060048036038101906106db919061338e565b611410565b005b3480156106ee57600080fd5b506106f7611631565b6040516107049190612cf5565b60405180910390f35b34801561071957600080fd5b50610734600480360381019061072f91906133ee565b6116bf565b6040516107419190612c4a565b60405180910390f35b34801561075657600080fd5b50610771600480360381019061076c9190613144565b611753565b005b34801561077f57600080fd5b5061078861184a565b6040516107959190612c4a565b60405180910390f35b3480156107aa57600080fd5b506107b361185d565b6040516107c09190612f31565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061089457507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806108a457506108a382611863565b5b9050919050565b6060600080546108ba9061345d565b80601f01602080910402602001604051908101604052809291908181526020018280546108e69061345d565b80156109335780601f1061090857610100808354040283529160200191610933565b820191906000526020600020905b81548152906001019060200180831161091657829003601f168201915b5050505050905090565b6000610948826118cd565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b8161098d81611918565b6109978383611a15565b505050565b6109a4611b2c565b73ffffffffffffffffffffffffffffffffffffffff166109c2610fc9565b73ffffffffffffffffffffffffffffffffffffffff1614610a18576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0f906134da565b60405180910390fd5b80600960006101000a81548160ff02191690831515021790555050565b823373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610a7357610a7233611918565b5b610a7e848484611b34565b50505050565b60085481565b606481565b610a97611b2c565b73ffffffffffffffffffffffffffffffffffffffff16610ab5610fc9565b73ffffffffffffffffffffffffffffffffffffffff1614610b0b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b02906134da565b60405180910390fd5b600047905060008111610b53576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b4a90613546565b60405180910390fd5b60003373ffffffffffffffffffffffffffffffffffffffff1682604051610b7990613597565b60006040518083038185875af1925050503d8060008114610bb6576040519150601f19603f3d011682016040523d82523d6000602084013e610bbb565b606091505b5050905080610bff576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bf6906135f8565b60405180910390fd5b5050565b6daaeb6d7670e522a718067333cd4e81565b823373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610c5357610c5233611918565b5b610c5e848484611b94565b50505050565b610c6c611b2c565b73ffffffffffffffffffffffffffffffffffffffff16610c8a610fc9565b73ffffffffffffffffffffffffffffffffffffffff1614610ce0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cd7906134da565b60405180910390fd5b8060079081610cef91906137ba565b5050565b600080610cff83611bb4565b9050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610d70576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d67906138d8565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610de9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610de09061396a565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610e38611b2c565b73ffffffffffffffffffffffffffffffffffffffff16610e56610fc9565b73ffffffffffffffffffffffffffffffffffffffff1614610eac576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ea3906134da565b60405180910390fd5b610eb66000611bf1565b565b610ec0611b2c565b73ffffffffffffffffffffffffffffffffffffffff16610ede610fc9565b73ffffffffffffffffffffffffffffffffffffffff1614610f34576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f2b906134da565b60405180910390fd5b80600c8190555050565b610f46611b2c565b73ffffffffffffffffffffffffffffffffffffffff16610f64610fc9565b73ffffffffffffffffffffffffffffffffffffffff1614610fba576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fb1906134da565b60405180910390fd5b8060088190555050565b603381565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600180546110029061345d565b80601f016020809104026020016040519081016040528092919081815260200182805461102e9061345d565b801561107b5780601f106110505761010080835404028352916020019161107b565b820191906000526020600020905b81548152906001019060200180831161105e57829003601f168201915b5050505050905090565b600d6020528060005260406000206000915054906101000a900460ff1681565b806000811180156110b7575060648111155b6110f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110ed906139d6565b60405180910390fd5b6110ff81611cb7565b1561113f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161113690613a68565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff16146111ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111a490613ad4565b60405180910390fd5b600960009054906101000a900460ff166111fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111f390613b40565b60405180910390fd5b6033600a5410611241576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161123890613bac565b60405180910390fd5b600b54341015611286576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161127d90613c3e565b60405180910390fd5b600a600081548092919061129990613c8d565b91905055506112a83383611cf8565b5050565b816112b681611918565b6112c08383611f15565b505050565b600a5481565b600b5481565b833373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461130f5761130e33611918565b5b61131b85858585611f2b565b5050505050565b61132a611b2c565b73ffffffffffffffffffffffffffffffffffffffff16611348610fc9565b73ffffffffffffffffffffffffffffffffffffffff161461139e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611395906134da565b60405180910390fd5b80600b8190555050565b60606113b3826118cd565b60006113bd611f8d565b905060008151116113dd5760405180602001604052806000815250611408565b806113e78461201f565b6040516020016113f8929190613d11565b6040516020818303038152906040525b915050919050565b82600081118015611422575060648111155b611461576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611458906139d6565b60405180910390fd5b61146a81611cb7565b156114aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114a190613a68565b60405180910390fd5b600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615611537576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161152e90613dcd565b60405180910390fd5b600c5434101561157c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161157390613e5f565b60405180910390fd5b61158a33600854858561217f565b6115c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115c090613ecb565b60405180910390fd5b6001600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555061162b3385611cf8565b50505050565b6007805461163e9061345d565b80601f016020809104026020016040519081016040528092919081815260200182805461166a9061345d565b80156116b75780601f1061168c576101008083540402835291602001916116b7565b820191906000526020600020905b81548152906001019060200180831161169a57829003601f168201915b505050505081565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61175b611b2c565b73ffffffffffffffffffffffffffffffffffffffff16611779610fc9565b73ffffffffffffffffffffffffffffffffffffffff16146117cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117c6906134da565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361183e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161183590613f5d565b60405180910390fd5b61184781611bf1565b50565b600960009054906101000a900460ff1681565b600c5481565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6118d681611cb7565b611915576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161190c906138d8565b60405180910390fd5b50565b60006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115611a12576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b815260040161198f929190613f7d565b602060405180830381865afa1580156119ac573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119d09190613fbb565b611a1157806040517fede71dcc000000000000000000000000000000000000000000000000000000008152600401611a089190612dbb565b60405180910390fd5b5b50565b6000611a2082610cf3565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611a90576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a879061405a565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16611aaf611b2c565b73ffffffffffffffffffffffffffffffffffffffff161480611ade5750611add81611ad8611b2c565b6116bf565b5b611b1d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b14906140ec565b60405180910390fd5b611b278383612202565b505050565b600033905090565b611b45611b3f611b2c565b826122bb565b611b84576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b7b9061417e565b60405180910390fd5b611b8f838383612350565b505050565b611baf838383604051806020016040528060008152506112d1565b505050565b60006002600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008073ffffffffffffffffffffffffffffffffffffffff16611cd983611bb4565b73ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611d67576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d5e906141ea565b60405180910390fd5b611d7081611cb7565b15611db0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611da790614256565b60405180910390fd5b611dbe600083836001612649565b611dc781611cb7565b15611e07576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dfe90614256565b60405180910390fd5b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611f1160008383600161276f565b5050565b611f27611f20611b2c565b8383612775565b5050565b611f3c611f36611b2c565b836122bb565b611f7b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f729061417e565b60405180910390fd5b611f87848484846128e1565b50505050565b606060078054611f9c9061345d565b80601f0160208091040260200160405190810160405280929190818152602001828054611fc89061345d565b80156120155780601f10611fea57610100808354040283529160200191612015565b820191906000526020600020905b815481529060010190602001808311611ff857829003601f168201915b5050505050905090565b606060008203612066576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061217a565b600082905060005b6000821461209857808061208190613c8d565b915050600a8261209191906142a5565b915061206e565b60008167ffffffffffffffff8111156120b4576120b3612fd0565b5b6040519080825280601f01601f1916602001820160405280156120e65781602001600182028036833780820191505090505b5090505b60008514612173576001826120ff91906142d6565b9150600a8561210e919061430a565b603061211a919061433b565b60f81b8183815181106121305761212f61436f565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561216c91906142a5565b94506120ea565b8093505050505b919050565b6000808560405160200161219391906143e6565b6040516020818303038152906040528051906020012090506121f7848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050868361293d565b915050949350505050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661227583610cf3565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000806122c783610cf3565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612309575061230881856116bf565b5b8061234757508373ffffffffffffffffffffffffffffffffffffffff1661232f8461093d565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661237082610cf3565b73ffffffffffffffffffffffffffffffffffffffff16146123c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123bd90614473565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612435576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161242c90614505565b60405180910390fd5b6124428383836001612649565b8273ffffffffffffffffffffffffffffffffffffffff1661246282610cf3565b73ffffffffffffffffffffffffffffffffffffffff16146124b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124af90614473565b60405180910390fd5b6004600082815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825403925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612644838383600161276f565b505050565b600181111561276957600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16146126dd5780600360008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546126d591906142d6565b925050819055505b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146127685780600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612760919061433b565b925050819055505b5b50505050565b50505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036127e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127da90614571565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516128d49190612c4a565b60405180910390a3505050565b6128ec848484612350565b6128f884848484612954565b612937576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161292e90614603565b60405180910390fd5b50505050565b60008261294a8584612adb565b1490509392505050565b60006129758473ffffffffffffffffffffffffffffffffffffffff16612b31565b15612ace578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261299e611b2c565b8786866040518563ffffffff1660e01b81526004016129c09493929190614678565b6020604051808303816000875af19250505080156129fc57506040513d601f19601f820116820180604052508101906129f991906146d9565b60015b612a7e573d8060008114612a2c576040519150601f19603f3d011682016040523d82523d6000602084013e612a31565b606091505b506000815103612a76576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a6d90614603565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612ad3565b600190505b949350505050565b60008082905060005b8451811015612b2657612b1182868381518110612b0457612b0361436f565b5b6020026020010151612b54565b91508080612b1e90613c8d565b915050612ae4565b508091505092915050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6000818310612b6c57612b678284612b7f565b612b77565b612b768383612b7f565b5b905092915050565b600082600052816020526040600020905092915050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612bdf81612baa565b8114612bea57600080fd5b50565b600081359050612bfc81612bd6565b92915050565b600060208284031215612c1857612c17612ba0565b5b6000612c2684828501612bed565b91505092915050565b60008115159050919050565b612c4481612c2f565b82525050565b6000602082019050612c5f6000830184612c3b565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612c9f578082015181840152602081019050612c84565b60008484015250505050565b6000601f19601f8301169050919050565b6000612cc782612c65565b612cd18185612c70565b9350612ce1818560208601612c81565b612cea81612cab565b840191505092915050565b60006020820190508181036000830152612d0f8184612cbc565b905092915050565b6000819050919050565b612d2a81612d17565b8114612d3557600080fd5b50565b600081359050612d4781612d21565b92915050565b600060208284031215612d6357612d62612ba0565b5b6000612d7184828501612d38565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612da582612d7a565b9050919050565b612db581612d9a565b82525050565b6000602082019050612dd06000830184612dac565b92915050565b612ddf81612d9a565b8114612dea57600080fd5b50565b600081359050612dfc81612dd6565b92915050565b60008060408385031215612e1957612e18612ba0565b5b6000612e2785828601612ded565b9250506020612e3885828601612d38565b9150509250929050565b612e4b81612c2f565b8114612e5657600080fd5b50565b600081359050612e6881612e42565b92915050565b600060208284031215612e8457612e83612ba0565b5b6000612e9284828501612e59565b91505092915050565b600080600060608486031215612eb457612eb3612ba0565b5b6000612ec286828701612ded565b9350506020612ed386828701612ded565b9250506040612ee486828701612d38565b9150509250925092565b6000819050919050565b612f0181612eee565b82525050565b6000602082019050612f1c6000830184612ef8565b92915050565b612f2b81612d17565b82525050565b6000602082019050612f466000830184612f22565b92915050565b6000819050919050565b6000612f71612f6c612f6784612d7a565b612f4c565b612d7a565b9050919050565b6000612f8382612f56565b9050919050565b6000612f9582612f78565b9050919050565b612fa581612f8a565b82525050565b6000602082019050612fc06000830184612f9c565b92915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61300882612cab565b810181811067ffffffffffffffff8211171561302757613026612fd0565b5b80604052505050565b600061303a612b96565b90506130468282612fff565b919050565b600067ffffffffffffffff82111561306657613065612fd0565b5b61306f82612cab565b9050602081019050919050565b82818337600083830152505050565b600061309e6130998461304b565b613030565b9050828152602081018484840111156130ba576130b9612fcb565b5b6130c584828561307c565b509392505050565b600082601f8301126130e2576130e1612fc6565b5b81356130f284826020860161308b565b91505092915050565b60006020828403121561311157613110612ba0565b5b600082013567ffffffffffffffff81111561312f5761312e612ba5565b5b61313b848285016130cd565b91505092915050565b60006020828403121561315a57613159612ba0565b5b600061316884828501612ded565b91505092915050565b61317a81612eee565b811461318557600080fd5b50565b60008135905061319781613171565b92915050565b6000602082840312156131b3576131b2612ba0565b5b60006131c184828501613188565b91505092915050565b600080604083850312156131e1576131e0612ba0565b5b60006131ef85828601612ded565b925050602061320085828601612e59565b9150509250929050565b600067ffffffffffffffff82111561322557613224612fd0565b5b61322e82612cab565b9050602081019050919050565b600061324e6132498461320a565b613030565b90508281526020810184848401111561326a57613269612fcb565b5b61327584828561307c565b509392505050565b600082601f83011261329257613291612fc6565b5b81356132a284826020860161323b565b91505092915050565b600080600080608085870312156132c5576132c4612ba0565b5b60006132d387828801612ded565b94505060206132e487828801612ded565b93505060406132f587828801612d38565b925050606085013567ffffffffffffffff81111561331657613315612ba5565b5b6133228782880161327d565b91505092959194509250565b600080fd5b600080fd5b60008083601f84011261334e5761334d612fc6565b5b8235905067ffffffffffffffff81111561336b5761336a61332e565b5b60208301915083602082028301111561338757613386613333565b5b9250929050565b6000806000604084860312156133a7576133a6612ba0565b5b60006133b586828701612d38565b935050602084013567ffffffffffffffff8111156133d6576133d5612ba5565b5b6133e286828701613338565b92509250509250925092565b6000806040838503121561340557613404612ba0565b5b600061341385828601612ded565b925050602061342485828601612ded565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061347557607f821691505b6020821081036134885761348761342e565b5b50919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006134c4602083612c70565b91506134cf8261348e565b602082019050919050565b600060208201905081810360008301526134f3816134b7565b9050919050565b7f4e6f206574686572206c65667420746f20776974686472617700000000000000600082015250565b6000613530601983612c70565b915061353b826134fa565b602082019050919050565b6000602082019050818103600083015261355f81613523565b9050919050565b600081905092915050565b50565b6000613581600083613566565b915061358c82613571565b600082019050919050565b60006135a282613574565b9150819050919050565b7f5472616e73666572206661696c65642e00000000000000000000000000000000600082015250565b60006135e2601083612c70565b91506135ed826135ac565b602082019050919050565b60006020820190508181036000830152613611816135d5565b9050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b60006008830261367a7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8261363d565b613684868361363d565b95508019841693508086168417925050509392505050565b60006136b76136b26136ad84612d17565b612f4c565b612d17565b9050919050565b6000819050919050565b6136d18361369c565b6136e56136dd826136be565b84845461364a565b825550505050565b600090565b6136fa6136ed565b6137058184846136c8565b505050565b5b818110156137295761371e6000826136f2565b60018101905061370b565b5050565b601f82111561376e5761373f81613618565b6137488461362d565b81016020851015613757578190505b61376b6137638561362d565b83018261370a565b50505b505050565b600082821c905092915050565b600061379160001984600802613773565b1980831691505092915050565b60006137aa8383613780565b9150826002028217905092915050565b6137c382612c65565b67ffffffffffffffff8111156137dc576137db612fd0565b5b6137e6825461345d565b6137f182828561372d565b600060209050601f8311600181146138245760008415613812578287015190505b61381c858261379e565b865550613884565b601f19841661383286613618565b60005b8281101561385a57848901518255600182019150602085019450602081019050613835565b868310156138775784890151613873601f891682613780565b8355505b6001600288020188555050505b505050505050565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b60006138c2601883612c70565b91506138cd8261388c565b602082019050919050565b600060208201905081810360008301526138f1816138b5565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b6000613954602983612c70565b915061395f826138f8565b604082019050919050565b6000602082019050818103600083015261398381613947565b9050919050565b7f5069636b2061206e756d626572206265747765656e203120616e642031303000600082015250565b60006139c0601f83612c70565b91506139cb8261398a565b602082019050919050565b600060208201905081810360008301526139ef816139b3565b9050919050565b7f54686174206e756d62657220697320616c7265616479206d696e74656420534f60008201527f5252592100000000000000000000000000000000000000000000000000000000602082015250565b6000613a52602483612c70565b9150613a5d826139f6565b604082019050919050565b60006020820190508181036000830152613a8181613a45565b9050919050565b7f5468652063616c6c657220697320616e6f7468657220636f6e74726163740000600082015250565b6000613abe601e83612c70565b9150613ac982613a88565b602082019050919050565b60006020820190508181036000830152613aed81613ab1565b9050919050565b7f596f752063616e2774206d696e7420796574203a280000000000000000000000600082015250565b6000613b2a601583612c70565b9150613b3582613af4565b602082019050919050565b60006020820190508181036000830152613b5981613b1d565b9050919050565b7f4f7574206f66207075626c6963206d696e747320534f52525921000000000000600082015250565b6000613b96601a83612c70565b9150613ba182613b60565b602082019050919050565b60006020820190508181036000830152613bc581613b89565b9050919050565b7f4d616b65207375726520796f7527726520706179696e6720746865207269676860008201527f7420616d6f756e74000000000000000000000000000000000000000000000000602082015250565b6000613c28602883612c70565b9150613c3382613bcc565b604082019050919050565b60006020820190508181036000830152613c5781613c1b565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613c9882612d17565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203613cca57613cc9613c5e565b5b600182019050919050565b600081905092915050565b6000613ceb82612c65565b613cf58185613cd5565b9350613d05818560208601612c81565b80840191505092915050565b6000613d1d8285613ce0565b9150613d298284613ce0565b91508190509392505050565b7f596f752063616e2774206d696e7420616761696e20534f52525921205472792060008201527f7468652070616964206d696e7420696620796f75207265616c6c792077616e7460208201527f20616e6f746865722e0000000000000000000000000000000000000000000000604082015250565b6000613db7604983612c70565b9150613dc282613d35565b606082019050919050565b60006020820190508181036000830152613de681613daa565b9050919050565b7f596f752070726f6261626c79206e65656420746f20776169742061206269742060008201527f746f206d696e7420666f7220746869732070726963652e000000000000000000602082015250565b6000613e49603783612c70565b9150613e5482613ded565b604082019050919050565b60006020820190508181036000830152613e7881613e3c565b9050919050565b7f496e636f72726563742070726f6f6620666f722077686974656c6973742e0000600082015250565b6000613eb5601e83612c70565b9150613ec082613e7f565b602082019050919050565b60006020820190508181036000830152613ee481613ea8565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613f47602683612c70565b9150613f5282613eeb565b604082019050919050565b60006020820190508181036000830152613f7681613f3a565b9050919050565b6000604082019050613f926000830185612dac565b613f9f6020830184612dac565b9392505050565b600081519050613fb581612e42565b92915050565b600060208284031215613fd157613fd0612ba0565b5b6000613fdf84828501613fa6565b91505092915050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000614044602183612c70565b915061404f82613fe8565b604082019050919050565b6000602082019050818103600083015261407381614037565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c000000602082015250565b60006140d6603d83612c70565b91506140e18261407a565b604082019050919050565b60006020820190508181036000830152614105816140c9565b9050919050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206f7220617070726f76656400000000000000000000000000000000000000602082015250565b6000614168602d83612c70565b91506141738261410c565b604082019050919050565b600060208201905081810360008301526141978161415b565b9050919050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b60006141d4602083612c70565b91506141df8261419e565b602082019050919050565b60006020820190508181036000830152614203816141c7565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000614240601c83612c70565b915061424b8261420a565b602082019050919050565b6000602082019050818103600083015261426f81614233565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006142b082612d17565b91506142bb83612d17565b9250826142cb576142ca614276565b5b828204905092915050565b60006142e182612d17565b91506142ec83612d17565b925082820390508181111561430457614303613c5e565b5b92915050565b600061431582612d17565b915061432083612d17565b9250826143305761432f614276565b5b828206905092915050565b600061434682612d17565b915061435183612d17565b925082820190508082111561436957614368613c5e565b5b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60008160601b9050919050565b60006143b68261439e565b9050919050565b60006143c8826143ab565b9050919050565b6143e06143db82612d9a565b6143bd565b82525050565b60006143f282846143cf565b60148201915081905092915050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b600061445d602583612c70565b915061446882614401565b604082019050919050565b6000602082019050818103600083015261448c81614450565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006144ef602483612c70565b91506144fa82614493565b604082019050919050565b6000602082019050818103600083015261451e816144e2565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b600061455b601983612c70565b915061456682614525565b602082019050919050565b6000602082019050818103600083015261458a8161454e565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b60006145ed603283612c70565b91506145f882614591565b604082019050919050565b6000602082019050818103600083015261461c816145e0565b9050919050565b600081519050919050565b600082825260208201905092915050565b600061464a82614623565b614654818561462e565b9350614664818560208601612c81565b61466d81612cab565b840191505092915050565b600060808201905061468d6000830187612dac565b61469a6020830186612dac565b6146a76040830185612f22565b81810360608301526146b9818461463f565b905095945050505050565b6000815190506146d381612bd6565b92915050565b6000602082840312156146ef576146ee612ba0565b5b60006146fd848285016146c4565b9150509291505056fea2646970667358221220c9f6e757dbe32f01386988a4c892b86499a2ed7857bcad8613bf0689471d65d564736f6c63430008130033697066733a2f2f516d515759537035514a556f795936586a6634786b3675787a6452743532456e74696968316e6e6e3955684366772f
Deployed Bytecode
0x6080604052600436106101f95760003560e01c80638342083a1161010d578063b88d4fde116100a0578063d547cfb71161006f578063d547cfb7146106e2578063e985e9c51461070d578063f2fde38b1461074a578063f9e2379914610773578063fc1a1c361461079e576101f9565b8063b88d4fde14610637578063c627525514610660578063c87b56dd14610689578063d2cab056146106c6576101f9565b8063a0712d68116100dc578063a0712d681461059c578063a22cb465146105b8578063a4f4f8af146105e1578063a945bf801461060c576101f9565b80638342083a146104de5780638da5cb5b1461050957806395d89b411461053457806398a8cffe1461055f576101f9565b80633ccfd60b116101905780636352211e1161015f5780636352211e146103fb57806370a0823114610438578063715018a614610475578063717d57d31461048c5780637cb64759146104b5576101f9565b80633ccfd60b1461037457806341f434341461037e57806342842e0e146103a957806355f804b3146103d2576101f9565b806323394d99116101cc57806323394d99146102cc57806323b872dd146102f55780632eb4a7ab1461031e57806332cb6b0c14610349576101f9565b806301ffc9a7146101fe57806306fdde031461023b578063081812fc14610266578063095ea7b3146102a3575b600080fd5b34801561020a57600080fd5b5061022560048036038101906102209190612c02565b6107c9565b6040516102329190612c4a565b60405180910390f35b34801561024757600080fd5b506102506108ab565b60405161025d9190612cf5565b60405180910390f35b34801561027257600080fd5b5061028d60048036038101906102889190612d4d565b61093d565b60405161029a9190612dbb565b60405180910390f35b3480156102af57600080fd5b506102ca60048036038101906102c59190612e02565b610983565b005b3480156102d857600080fd5b506102f360048036038101906102ee9190612e6e565b61099c565b005b34801561030157600080fd5b5061031c60048036038101906103179190612e9b565b610a35565b005b34801561032a57600080fd5b50610333610a84565b6040516103409190612f07565b60405180910390f35b34801561035557600080fd5b5061035e610a8a565b60405161036b9190612f31565b60405180910390f35b61037c610a8f565b005b34801561038a57600080fd5b50610393610c03565b6040516103a09190612fab565b60405180910390f35b3480156103b557600080fd5b506103d060048036038101906103cb9190612e9b565b610c15565b005b3480156103de57600080fd5b506103f960048036038101906103f491906130fb565b610c64565b005b34801561040757600080fd5b50610422600480360381019061041d9190612d4d565b610cf3565b60405161042f9190612dbb565b60405180910390f35b34801561044457600080fd5b5061045f600480360381019061045a9190613144565b610d79565b60405161046c9190612f31565b60405180910390f35b34801561048157600080fd5b5061048a610e30565b005b34801561049857600080fd5b506104b360048036038101906104ae9190612d4d565b610eb8565b005b3480156104c157600080fd5b506104dc60048036038101906104d7919061319d565b610f3e565b005b3480156104ea57600080fd5b506104f3610fc4565b6040516105009190612f31565b60405180910390f35b34801561051557600080fd5b5061051e610fc9565b60405161052b9190612dbb565b60405180910390f35b34801561054057600080fd5b50610549610ff3565b6040516105569190612cf5565b60405180910390f35b34801561056b57600080fd5b5061058660048036038101906105819190613144565b611085565b6040516105939190612c4a565b60405180910390f35b6105b660048036038101906105b19190612d4d565b6110a5565b005b3480156105c457600080fd5b506105df60048036038101906105da91906131ca565b6112ac565b005b3480156105ed57600080fd5b506105f66112c5565b6040516106039190612f31565b60405180910390f35b34801561061857600080fd5b506106216112cb565b60405161062e9190612f31565b60405180910390f35b34801561064357600080fd5b5061065e600480360381019061065991906132ab565b6112d1565b005b34801561066c57600080fd5b5061068760048036038101906106829190612d4d565b611322565b005b34801561069557600080fd5b506106b060048036038101906106ab9190612d4d565b6113a8565b6040516106bd9190612cf5565b60405180910390f35b6106e060048036038101906106db919061338e565b611410565b005b3480156106ee57600080fd5b506106f7611631565b6040516107049190612cf5565b60405180910390f35b34801561071957600080fd5b50610734600480360381019061072f91906133ee565b6116bf565b6040516107419190612c4a565b60405180910390f35b34801561075657600080fd5b50610771600480360381019061076c9190613144565b611753565b005b34801561077f57600080fd5b5061078861184a565b6040516107959190612c4a565b60405180910390f35b3480156107aa57600080fd5b506107b361185d565b6040516107c09190612f31565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061089457507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806108a457506108a382611863565b5b9050919050565b6060600080546108ba9061345d565b80601f01602080910402602001604051908101604052809291908181526020018280546108e69061345d565b80156109335780601f1061090857610100808354040283529160200191610933565b820191906000526020600020905b81548152906001019060200180831161091657829003601f168201915b5050505050905090565b6000610948826118cd565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b8161098d81611918565b6109978383611a15565b505050565b6109a4611b2c565b73ffffffffffffffffffffffffffffffffffffffff166109c2610fc9565b73ffffffffffffffffffffffffffffffffffffffff1614610a18576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0f906134da565b60405180910390fd5b80600960006101000a81548160ff02191690831515021790555050565b823373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610a7357610a7233611918565b5b610a7e848484611b34565b50505050565b60085481565b606481565b610a97611b2c565b73ffffffffffffffffffffffffffffffffffffffff16610ab5610fc9565b73ffffffffffffffffffffffffffffffffffffffff1614610b0b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b02906134da565b60405180910390fd5b600047905060008111610b53576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b4a90613546565b60405180910390fd5b60003373ffffffffffffffffffffffffffffffffffffffff1682604051610b7990613597565b60006040518083038185875af1925050503d8060008114610bb6576040519150601f19603f3d011682016040523d82523d6000602084013e610bbb565b606091505b5050905080610bff576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bf6906135f8565b60405180910390fd5b5050565b6daaeb6d7670e522a718067333cd4e81565b823373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610c5357610c5233611918565b5b610c5e848484611b94565b50505050565b610c6c611b2c565b73ffffffffffffffffffffffffffffffffffffffff16610c8a610fc9565b73ffffffffffffffffffffffffffffffffffffffff1614610ce0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cd7906134da565b60405180910390fd5b8060079081610cef91906137ba565b5050565b600080610cff83611bb4565b9050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610d70576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d67906138d8565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610de9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610de09061396a565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610e38611b2c565b73ffffffffffffffffffffffffffffffffffffffff16610e56610fc9565b73ffffffffffffffffffffffffffffffffffffffff1614610eac576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ea3906134da565b60405180910390fd5b610eb66000611bf1565b565b610ec0611b2c565b73ffffffffffffffffffffffffffffffffffffffff16610ede610fc9565b73ffffffffffffffffffffffffffffffffffffffff1614610f34576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f2b906134da565b60405180910390fd5b80600c8190555050565b610f46611b2c565b73ffffffffffffffffffffffffffffffffffffffff16610f64610fc9565b73ffffffffffffffffffffffffffffffffffffffff1614610fba576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fb1906134da565b60405180910390fd5b8060088190555050565b603381565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600180546110029061345d565b80601f016020809104026020016040519081016040528092919081815260200182805461102e9061345d565b801561107b5780601f106110505761010080835404028352916020019161107b565b820191906000526020600020905b81548152906001019060200180831161105e57829003601f168201915b5050505050905090565b600d6020528060005260406000206000915054906101000a900460ff1681565b806000811180156110b7575060648111155b6110f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110ed906139d6565b60405180910390fd5b6110ff81611cb7565b1561113f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161113690613a68565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff16146111ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111a490613ad4565b60405180910390fd5b600960009054906101000a900460ff166111fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111f390613b40565b60405180910390fd5b6033600a5410611241576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161123890613bac565b60405180910390fd5b600b54341015611286576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161127d90613c3e565b60405180910390fd5b600a600081548092919061129990613c8d565b91905055506112a83383611cf8565b5050565b816112b681611918565b6112c08383611f15565b505050565b600a5481565b600b5481565b833373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461130f5761130e33611918565b5b61131b85858585611f2b565b5050505050565b61132a611b2c565b73ffffffffffffffffffffffffffffffffffffffff16611348610fc9565b73ffffffffffffffffffffffffffffffffffffffff161461139e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611395906134da565b60405180910390fd5b80600b8190555050565b60606113b3826118cd565b60006113bd611f8d565b905060008151116113dd5760405180602001604052806000815250611408565b806113e78461201f565b6040516020016113f8929190613d11565b6040516020818303038152906040525b915050919050565b82600081118015611422575060648111155b611461576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611458906139d6565b60405180910390fd5b61146a81611cb7565b156114aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114a190613a68565b60405180910390fd5b600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615611537576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161152e90613dcd565b60405180910390fd5b600c5434101561157c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161157390613e5f565b60405180910390fd5b61158a33600854858561217f565b6115c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115c090613ecb565b60405180910390fd5b6001600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555061162b3385611cf8565b50505050565b6007805461163e9061345d565b80601f016020809104026020016040519081016040528092919081815260200182805461166a9061345d565b80156116b75780601f1061168c576101008083540402835291602001916116b7565b820191906000526020600020905b81548152906001019060200180831161169a57829003601f168201915b505050505081565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61175b611b2c565b73ffffffffffffffffffffffffffffffffffffffff16611779610fc9565b73ffffffffffffffffffffffffffffffffffffffff16146117cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117c6906134da565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361183e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161183590613f5d565b60405180910390fd5b61184781611bf1565b50565b600960009054906101000a900460ff1681565b600c5481565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6118d681611cb7565b611915576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161190c906138d8565b60405180910390fd5b50565b60006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115611a12576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b815260040161198f929190613f7d565b602060405180830381865afa1580156119ac573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119d09190613fbb565b611a1157806040517fede71dcc000000000000000000000000000000000000000000000000000000008152600401611a089190612dbb565b60405180910390fd5b5b50565b6000611a2082610cf3565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611a90576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a879061405a565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16611aaf611b2c565b73ffffffffffffffffffffffffffffffffffffffff161480611ade5750611add81611ad8611b2c565b6116bf565b5b611b1d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b14906140ec565b60405180910390fd5b611b278383612202565b505050565b600033905090565b611b45611b3f611b2c565b826122bb565b611b84576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b7b9061417e565b60405180910390fd5b611b8f838383612350565b505050565b611baf838383604051806020016040528060008152506112d1565b505050565b60006002600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008073ffffffffffffffffffffffffffffffffffffffff16611cd983611bb4565b73ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611d67576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d5e906141ea565b60405180910390fd5b611d7081611cb7565b15611db0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611da790614256565b60405180910390fd5b611dbe600083836001612649565b611dc781611cb7565b15611e07576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dfe90614256565b60405180910390fd5b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611f1160008383600161276f565b5050565b611f27611f20611b2c565b8383612775565b5050565b611f3c611f36611b2c565b836122bb565b611f7b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f729061417e565b60405180910390fd5b611f87848484846128e1565b50505050565b606060078054611f9c9061345d565b80601f0160208091040260200160405190810160405280929190818152602001828054611fc89061345d565b80156120155780601f10611fea57610100808354040283529160200191612015565b820191906000526020600020905b815481529060010190602001808311611ff857829003601f168201915b5050505050905090565b606060008203612066576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061217a565b600082905060005b6000821461209857808061208190613c8d565b915050600a8261209191906142a5565b915061206e565b60008167ffffffffffffffff8111156120b4576120b3612fd0565b5b6040519080825280601f01601f1916602001820160405280156120e65781602001600182028036833780820191505090505b5090505b60008514612173576001826120ff91906142d6565b9150600a8561210e919061430a565b603061211a919061433b565b60f81b8183815181106121305761212f61436f565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561216c91906142a5565b94506120ea565b8093505050505b919050565b6000808560405160200161219391906143e6565b6040516020818303038152906040528051906020012090506121f7848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050868361293d565b915050949350505050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661227583610cf3565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000806122c783610cf3565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612309575061230881856116bf565b5b8061234757508373ffffffffffffffffffffffffffffffffffffffff1661232f8461093d565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661237082610cf3565b73ffffffffffffffffffffffffffffffffffffffff16146123c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123bd90614473565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612435576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161242c90614505565b60405180910390fd5b6124428383836001612649565b8273ffffffffffffffffffffffffffffffffffffffff1661246282610cf3565b73ffffffffffffffffffffffffffffffffffffffff16146124b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124af90614473565b60405180910390fd5b6004600082815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825403925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612644838383600161276f565b505050565b600181111561276957600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16146126dd5780600360008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546126d591906142d6565b925050819055505b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146127685780600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612760919061433b565b925050819055505b5b50505050565b50505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036127e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127da90614571565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516128d49190612c4a565b60405180910390a3505050565b6128ec848484612350565b6128f884848484612954565b612937576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161292e90614603565b60405180910390fd5b50505050565b60008261294a8584612adb565b1490509392505050565b60006129758473ffffffffffffffffffffffffffffffffffffffff16612b31565b15612ace578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261299e611b2c565b8786866040518563ffffffff1660e01b81526004016129c09493929190614678565b6020604051808303816000875af19250505080156129fc57506040513d601f19601f820116820180604052508101906129f991906146d9565b60015b612a7e573d8060008114612a2c576040519150601f19603f3d011682016040523d82523d6000602084013e612a31565b606091505b506000815103612a76576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a6d90614603565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612ad3565b600190505b949350505050565b60008082905060005b8451811015612b2657612b1182868381518110612b0457612b0361436f565b5b6020026020010151612b54565b91508080612b1e90613c8d565b915050612ae4565b508091505092915050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6000818310612b6c57612b678284612b7f565b612b77565b612b768383612b7f565b5b905092915050565b600082600052816020526040600020905092915050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612bdf81612baa565b8114612bea57600080fd5b50565b600081359050612bfc81612bd6565b92915050565b600060208284031215612c1857612c17612ba0565b5b6000612c2684828501612bed565b91505092915050565b60008115159050919050565b612c4481612c2f565b82525050565b6000602082019050612c5f6000830184612c3b565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612c9f578082015181840152602081019050612c84565b60008484015250505050565b6000601f19601f8301169050919050565b6000612cc782612c65565b612cd18185612c70565b9350612ce1818560208601612c81565b612cea81612cab565b840191505092915050565b60006020820190508181036000830152612d0f8184612cbc565b905092915050565b6000819050919050565b612d2a81612d17565b8114612d3557600080fd5b50565b600081359050612d4781612d21565b92915050565b600060208284031215612d6357612d62612ba0565b5b6000612d7184828501612d38565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612da582612d7a565b9050919050565b612db581612d9a565b82525050565b6000602082019050612dd06000830184612dac565b92915050565b612ddf81612d9a565b8114612dea57600080fd5b50565b600081359050612dfc81612dd6565b92915050565b60008060408385031215612e1957612e18612ba0565b5b6000612e2785828601612ded565b9250506020612e3885828601612d38565b9150509250929050565b612e4b81612c2f565b8114612e5657600080fd5b50565b600081359050612e6881612e42565b92915050565b600060208284031215612e8457612e83612ba0565b5b6000612e9284828501612e59565b91505092915050565b600080600060608486031215612eb457612eb3612ba0565b5b6000612ec286828701612ded565b9350506020612ed386828701612ded565b9250506040612ee486828701612d38565b9150509250925092565b6000819050919050565b612f0181612eee565b82525050565b6000602082019050612f1c6000830184612ef8565b92915050565b612f2b81612d17565b82525050565b6000602082019050612f466000830184612f22565b92915050565b6000819050919050565b6000612f71612f6c612f6784612d7a565b612f4c565b612d7a565b9050919050565b6000612f8382612f56565b9050919050565b6000612f9582612f78565b9050919050565b612fa581612f8a565b82525050565b6000602082019050612fc06000830184612f9c565b92915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61300882612cab565b810181811067ffffffffffffffff8211171561302757613026612fd0565b5b80604052505050565b600061303a612b96565b90506130468282612fff565b919050565b600067ffffffffffffffff82111561306657613065612fd0565b5b61306f82612cab565b9050602081019050919050565b82818337600083830152505050565b600061309e6130998461304b565b613030565b9050828152602081018484840111156130ba576130b9612fcb565b5b6130c584828561307c565b509392505050565b600082601f8301126130e2576130e1612fc6565b5b81356130f284826020860161308b565b91505092915050565b60006020828403121561311157613110612ba0565b5b600082013567ffffffffffffffff81111561312f5761312e612ba5565b5b61313b848285016130cd565b91505092915050565b60006020828403121561315a57613159612ba0565b5b600061316884828501612ded565b91505092915050565b61317a81612eee565b811461318557600080fd5b50565b60008135905061319781613171565b92915050565b6000602082840312156131b3576131b2612ba0565b5b60006131c184828501613188565b91505092915050565b600080604083850312156131e1576131e0612ba0565b5b60006131ef85828601612ded565b925050602061320085828601612e59565b9150509250929050565b600067ffffffffffffffff82111561322557613224612fd0565b5b61322e82612cab565b9050602081019050919050565b600061324e6132498461320a565b613030565b90508281526020810184848401111561326a57613269612fcb565b5b61327584828561307c565b509392505050565b600082601f83011261329257613291612fc6565b5b81356132a284826020860161323b565b91505092915050565b600080600080608085870312156132c5576132c4612ba0565b5b60006132d387828801612ded565b94505060206132e487828801612ded565b93505060406132f587828801612d38565b925050606085013567ffffffffffffffff81111561331657613315612ba5565b5b6133228782880161327d565b91505092959194509250565b600080fd5b600080fd5b60008083601f84011261334e5761334d612fc6565b5b8235905067ffffffffffffffff81111561336b5761336a61332e565b5b60208301915083602082028301111561338757613386613333565b5b9250929050565b6000806000604084860312156133a7576133a6612ba0565b5b60006133b586828701612d38565b935050602084013567ffffffffffffffff8111156133d6576133d5612ba5565b5b6133e286828701613338565b92509250509250925092565b6000806040838503121561340557613404612ba0565b5b600061341385828601612ded565b925050602061342485828601612ded565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061347557607f821691505b6020821081036134885761348761342e565b5b50919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006134c4602083612c70565b91506134cf8261348e565b602082019050919050565b600060208201905081810360008301526134f3816134b7565b9050919050565b7f4e6f206574686572206c65667420746f20776974686472617700000000000000600082015250565b6000613530601983612c70565b915061353b826134fa565b602082019050919050565b6000602082019050818103600083015261355f81613523565b9050919050565b600081905092915050565b50565b6000613581600083613566565b915061358c82613571565b600082019050919050565b60006135a282613574565b9150819050919050565b7f5472616e73666572206661696c65642e00000000000000000000000000000000600082015250565b60006135e2601083612c70565b91506135ed826135ac565b602082019050919050565b60006020820190508181036000830152613611816135d5565b9050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b60006008830261367a7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8261363d565b613684868361363d565b95508019841693508086168417925050509392505050565b60006136b76136b26136ad84612d17565b612f4c565b612d17565b9050919050565b6000819050919050565b6136d18361369c565b6136e56136dd826136be565b84845461364a565b825550505050565b600090565b6136fa6136ed565b6137058184846136c8565b505050565b5b818110156137295761371e6000826136f2565b60018101905061370b565b5050565b601f82111561376e5761373f81613618565b6137488461362d565b81016020851015613757578190505b61376b6137638561362d565b83018261370a565b50505b505050565b600082821c905092915050565b600061379160001984600802613773565b1980831691505092915050565b60006137aa8383613780565b9150826002028217905092915050565b6137c382612c65565b67ffffffffffffffff8111156137dc576137db612fd0565b5b6137e6825461345d565b6137f182828561372d565b600060209050601f8311600181146138245760008415613812578287015190505b61381c858261379e565b865550613884565b601f19841661383286613618565b60005b8281101561385a57848901518255600182019150602085019450602081019050613835565b868310156138775784890151613873601f891682613780565b8355505b6001600288020188555050505b505050505050565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b60006138c2601883612c70565b91506138cd8261388c565b602082019050919050565b600060208201905081810360008301526138f1816138b5565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b6000613954602983612c70565b915061395f826138f8565b604082019050919050565b6000602082019050818103600083015261398381613947565b9050919050565b7f5069636b2061206e756d626572206265747765656e203120616e642031303000600082015250565b60006139c0601f83612c70565b91506139cb8261398a565b602082019050919050565b600060208201905081810360008301526139ef816139b3565b9050919050565b7f54686174206e756d62657220697320616c7265616479206d696e74656420534f60008201527f5252592100000000000000000000000000000000000000000000000000000000602082015250565b6000613a52602483612c70565b9150613a5d826139f6565b604082019050919050565b60006020820190508181036000830152613a8181613a45565b9050919050565b7f5468652063616c6c657220697320616e6f7468657220636f6e74726163740000600082015250565b6000613abe601e83612c70565b9150613ac982613a88565b602082019050919050565b60006020820190508181036000830152613aed81613ab1565b9050919050565b7f596f752063616e2774206d696e7420796574203a280000000000000000000000600082015250565b6000613b2a601583612c70565b9150613b3582613af4565b602082019050919050565b60006020820190508181036000830152613b5981613b1d565b9050919050565b7f4f7574206f66207075626c6963206d696e747320534f52525921000000000000600082015250565b6000613b96601a83612c70565b9150613ba182613b60565b602082019050919050565b60006020820190508181036000830152613bc581613b89565b9050919050565b7f4d616b65207375726520796f7527726520706179696e6720746865207269676860008201527f7420616d6f756e74000000000000000000000000000000000000000000000000602082015250565b6000613c28602883612c70565b9150613c3382613bcc565b604082019050919050565b60006020820190508181036000830152613c5781613c1b565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613c9882612d17565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203613cca57613cc9613c5e565b5b600182019050919050565b600081905092915050565b6000613ceb82612c65565b613cf58185613cd5565b9350613d05818560208601612c81565b80840191505092915050565b6000613d1d8285613ce0565b9150613d298284613ce0565b91508190509392505050565b7f596f752063616e2774206d696e7420616761696e20534f52525921205472792060008201527f7468652070616964206d696e7420696620796f75207265616c6c792077616e7460208201527f20616e6f746865722e0000000000000000000000000000000000000000000000604082015250565b6000613db7604983612c70565b9150613dc282613d35565b606082019050919050565b60006020820190508181036000830152613de681613daa565b9050919050565b7f596f752070726f6261626c79206e65656420746f20776169742061206269742060008201527f746f206d696e7420666f7220746869732070726963652e000000000000000000602082015250565b6000613e49603783612c70565b9150613e5482613ded565b604082019050919050565b60006020820190508181036000830152613e7881613e3c565b9050919050565b7f496e636f72726563742070726f6f6620666f722077686974656c6973742e0000600082015250565b6000613eb5601e83612c70565b9150613ec082613e7f565b602082019050919050565b60006020820190508181036000830152613ee481613ea8565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613f47602683612c70565b9150613f5282613eeb565b604082019050919050565b60006020820190508181036000830152613f7681613f3a565b9050919050565b6000604082019050613f926000830185612dac565b613f9f6020830184612dac565b9392505050565b600081519050613fb581612e42565b92915050565b600060208284031215613fd157613fd0612ba0565b5b6000613fdf84828501613fa6565b91505092915050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000614044602183612c70565b915061404f82613fe8565b604082019050919050565b6000602082019050818103600083015261407381614037565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c000000602082015250565b60006140d6603d83612c70565b91506140e18261407a565b604082019050919050565b60006020820190508181036000830152614105816140c9565b9050919050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206f7220617070726f76656400000000000000000000000000000000000000602082015250565b6000614168602d83612c70565b91506141738261410c565b604082019050919050565b600060208201905081810360008301526141978161415b565b9050919050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b60006141d4602083612c70565b91506141df8261419e565b602082019050919050565b60006020820190508181036000830152614203816141c7565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000614240601c83612c70565b915061424b8261420a565b602082019050919050565b6000602082019050818103600083015261426f81614233565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006142b082612d17565b91506142bb83612d17565b9250826142cb576142ca614276565b5b828204905092915050565b60006142e182612d17565b91506142ec83612d17565b925082820390508181111561430457614303613c5e565b5b92915050565b600061431582612d17565b915061432083612d17565b9250826143305761432f614276565b5b828206905092915050565b600061434682612d17565b915061435183612d17565b925082820190508082111561436957614368613c5e565b5b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60008160601b9050919050565b60006143b68261439e565b9050919050565b60006143c8826143ab565b9050919050565b6143e06143db82612d9a565b6143bd565b82525050565b60006143f282846143cf565b60148201915081905092915050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b600061445d602583612c70565b915061446882614401565b604082019050919050565b6000602082019050818103600083015261448c81614450565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006144ef602483612c70565b91506144fa82614493565b604082019050919050565b6000602082019050818103600083015261451e816144e2565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b600061455b601983612c70565b915061456682614525565b602082019050919050565b6000602082019050818103600083015261458a8161454e565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b60006145ed603283612c70565b91506145f882614591565b604082019050919050565b6000602082019050818103600083015261461c816145e0565b9050919050565b600081519050919050565b600082825260208201905092915050565b600061464a82614623565b614654818561462e565b9350614664818560208601612c81565b61466d81612cab565b840191505092915050565b600060808201905061468d6000830187612dac565b61469a6020830186612dac565b6146a76040830185612f22565b81810360608301526146b9818461463f565b905095945050505050565b6000815190506146d381612bd6565b92915050565b6000602082840312156146ef576146ee612ba0565b5b60006146fd848285016146c4565b9150509291505056fea2646970667358221220c9f6e757dbe32f01386988a4c892b86499a2ed7857bcad8613bf0689471d65d564736f6c63430008130033
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.