Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
1,287 CSE
Holders
412
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
3 CSELoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
CrazySassyExes
Compiler Version
v0.8.17+commit.8df45f5f
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.15; /* * * d888888o. .8. d888888o. d888888o. `8.`8888. ,8' * .`8888:' `88. .888. .`8888:' `88. .`8888:' `88. `8.`8888. ,8' * 8.`8888. Y8 :88888. 8.`8888. Y8 8.`8888. Y8 `8.`8888. ,8' * `8.`8888. . `88888. `8.`8888. `8.`8888. `8.`8888.,8' * `8.`8888. .8. `88888. `8.`8888. `8.`8888. `8.`88888' * `8.`8888. .8`8. `88888. `8.`8888. `8.`8888. `8. 8888 * `8.`8888. .8' `8. `88888. `8.`8888. `8.`8888. `8 8888 * 8b `8.`8888. .8' `8. `88888. 8b `8.`8888. 8b `8.`8888. 8 8888 * `8b. ;8.`8888 .888888888. `88888. `8b. ;8.`8888 `8b. ;8.`8888 8 8888 * `Y8888P ,88P'.8' `8. `88888. `Y8888P ,88P' `Y8888P ,88P' 8 8888 * * FOUNDER: @StudioIrida * ART: @StudioIrida * DEV: @ghooost0x2a ********************************** * @title: Crazy Sassy Exes * @author: @ghooost0x2a ********************************** * ERC721B2FA - Ultra Low Gas - 2 Factor Authentication ***************************************************************** * ERC721B2FA is based on ERC721B low gas contract by @squuebo_nft * and the LockRegistry/Guardian contracts by @OwlOfMoistness ***************************************************************** * .-----. * .' - - '. * / .-. .-. \ * | | | | | | * \ \o/ \o/ / * _/ ^ \_ * | \ '---' / | * / /`--. .--`\ \ * / /'---` `---'\ \ * '.__. .__.' * `| |` * | \ * \ '--. * '. `\ * `'---. | * ,__) / * `..' */ import "./ERC721B2FAEnumLitePausable.sol"; import "./GuardianLiteB2FA.sol"; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; contract CrazySassyExes is ERC721B2FAEnumLitePausable, GuardianLiteB2FA { using MerkleProof for bytes32[]; using Address for address; using Strings for uint256; event Withdrawn(address indexed payee, uint256 weiAmount); uint256 public MAX_SUPPLY = 3333; uint256 public publicPrice = 0.025 ether; uint256 public publicPriceDiscounted = 0.02 ether; uint256 public preSalePrice = 0.015 ether; uint256 public preSalePriceDiscounted = 0.01 ether; string internal baseURI = ""; string internal uriSuffix = ".json"; address public paymentRecipient = 0xA94F799A34887582987eC8C050f080e252B70A21; // dev: public mints uint256 public maxPublicCSEMintsPerWallet = 3; uint256 public maxPreSaleCSEMintsPerWallet = 3; bytes32 private merkleRoot = 0; mapping(address => uint256) public presaleMintedAddys; mapping(address => uint256) public publicMintedAddys; uint256 public mintPhase = 0; //TODO STRUCT FOR STATUS constructor() ERC721B2FAEnumLitePausable("CrazySassyExes", "CSE", 1) {} fallback() external payable {} receive() external payable {} function setMintPhase(uint256 newPhase) external onlyDelegates { mintPhase = newPhase; } function tokenURI(uint256 tokenId) external view override returns (string memory) { require( _exists(tokenId), "ERC721Metadata: URI query for nonexistent token" ); return bytes(baseURI).length > 0 ? string( abi.encodePacked(baseURI, tokenId.toString(), uriSuffix) ) : ""; } //setter fns function togglePause(uint256 pauseIt) external onlyDelegates { if (pauseIt == 0) { _unpause(); } else { _pause(); } } function getMerkleRoot() public view returns (bytes32) { return merkleRoot; } function setMerkleRoot(bytes32 mRoot) external onlyDelegates { merkleRoot = mRoot; } function updateBlackListedApprovals(address[] calldata addys, bool[] calldata blacklisted) external onlyDelegates{ require(addys.length == blacklisted.length, "Nb addys doesn't match nb bools."); for (uint256 i; i < addys.length; ++i) { _updateBlackListedApprovals(addys[i], blacklisted[i]); } } function isvalidMerkleProof(bytes32[] memory proof) public view returns (bool) { if (merkleRoot == 0) { return false; } bool proof_valid = proof.verify( merkleRoot, keccak256(abi.encodePacked(msg.sender)) ); return proof_valid; } function setPublicPrice(uint256 newPrice, uint256 newDiscountedPrice) external onlyDelegates { publicPrice = newPrice; publicPriceDiscounted = newDiscountedPrice; } function setPreSalePrice(uint256 newPrice, uint256 newDiscountedPrice) external onlyDelegates { preSalePrice = newPrice; preSalePriceDiscounted = newDiscountedPrice; } function setBaseSuffixURI( string calldata newBaseURI, string calldata newURISuffix ) external onlyDelegates { baseURI = newBaseURI; uriSuffix = newURISuffix; } function setmaxCSEMintsPerWallet(uint256 maxPresaleMints, uint256 maxPublicMints) external onlyDelegates { maxPublicCSEMintsPerWallet = maxPublicMints; maxPreSaleCSEMintsPerWallet = maxPresaleMints; } function setPaymentRecipient(address addy) external onlyDelegates { paymentRecipient = addy; } function setReducedMaxSupply(uint256 new_max_supply) external onlyDelegates { require(new_max_supply < MAX_SUPPLY, "Can only set a lower size."); require( new_max_supply >= totalSupply(), "New supply lower than current totalSupply" ); MAX_SUPPLY = new_max_supply; } // Mint fns function freeTeamMints(uint256 quantity, address[] memory recipients) external onlyDelegates { if (recipients.length == 1) { for (uint256 i = 0; i < quantity; i++) { _minty(1, recipients[0]); } } else { require(quantity == recipients.length, "Number of recipients doesn't match quantity."); for (uint256 i = 0; i < recipients.length; i++) { _minty(1, recipients[i]); } } } // Pre-sale mint function sassyMint(uint256 quantity, bytes32[] memory proof) external payable { uint256 total_mint_price = preSalePrice; if (quantity > 1) { total_mint_price = quantity * preSalePriceDiscounted; } require( mintPhase == 1 || _isDelegate(_msgSender()), "Pre-Sale mint not open" ); require(msg.value == total_mint_price, "Wrong amount of ETH sent!"); require( presaleMintedAddys[_msgSender()] + quantity <= maxPreSaleCSEMintsPerWallet, "Already minted max during pre-sale." ); require( isvalidMerkleProof(proof), "You are not authorized for pre-sale." ); presaleMintedAddys[_msgSender()] += quantity; _minty(quantity, _msgSender()); } // Public Mint function publicMint(uint256 quantity) external payable { uint256 total_mint_price = publicPrice; if (quantity > 1) { total_mint_price = quantity * publicPriceDiscounted; } require( mintPhase == 2 || _isDelegate(_msgSender()), "Public mint is not open yet!" ); require(msg.value == total_mint_price, "Wrong amount of ETH sent!"); require( publicMintedAddys[_msgSender()] + quantity <= maxPublicCSEMintsPerWallet, "You have minted max during public phase." ); publicMintedAddys[_msgSender()] += quantity; _minty(quantity, _msgSender()); } function _minty(uint256 quantity, address addy) internal { require(quantity > 0, "Can't mint 0 tokens!"); require(quantity + totalSupply() <= MAX_SUPPLY, "Max supply reached!"); for (uint256 i = 0; i < quantity; i++) { _safeMint(addy, next()); } } //Just in case some ETH ends up in the contract so it doesn't remain stuck. function withdraw() external onlyDelegates { uint256 contract_balance = address(this).balance; address payable w_addy = payable(paymentRecipient); (bool success, ) = w_addy.call{value: (contract_balance)}(""); require(success, "Withdrawal failed!"); emit Withdrawn(w_addy, contract_balance); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Tree proofs. * * The proofs can be generated using the JavaScript library * https://github.com/miguelmota/merkletreejs[merkletreejs]. * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled. * * See `test/utils/cryptography/MerkleProof.test.js` for some examples. * * 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. */ 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 proved to be a part of a Merkle tree defined by * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}. * * _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} * * _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 the sibling nodes in `proof`, * consuming from one or the other at each step according to the instructions given by * `proofFlags`. * * _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} * * _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 pragma solidity ^0.8.0; import "./ILockERC721.sol"; contract GuardianLiteB2FA { ILockERC721 public immutable LOCKABLE; mapping(address => address) public guardians; mapping(address => address) public pendingGuardians; event GuardianSet(address indexed guardian, address indexed user); event GuardianRenounce(address indexed guardian, address indexed user); event PendingGuardianSet( address indexed pendingGuardian, address indexed user ); /** * using address(this) when the Guardian is deployed in the same contract as the ERC721B */ constructor() { LOCKABLE = ILockERC721(address(this)); } function proposeGuardian(address _guardian) external { require(guardians[msg.sender] == address(0), "Guardian set"); require(msg.sender != _guardian, "Guardian must be a different wallet"); pendingGuardians[msg.sender] = _guardian; emit PendingGuardianSet(_guardian, msg.sender); } function acceptGuardianship(address _protege) external { require( pendingGuardians[_protege] == msg.sender, "Not the pending guardian" ); pendingGuardians[_protege] = address(0); guardians[_protege] = msg.sender; emit GuardianSet(msg.sender, _protege); } function renounce(address _tokenOwner) external { require(guardians[_tokenOwner] == msg.sender, "!guardian"); guardians[_tokenOwner] = address(0); emit GuardianRenounce(msg.sender, _tokenOwner); } function lockMany(uint256[] calldata _tokenIds) external { address owner; for (uint256 i = 0; i < _tokenIds.length; i++) { owner = LOCKABLE.ownerOf(_tokenIds[i]); require(guardians[owner] == msg.sender, "!guardian"); LOCKABLE.lockId(_tokenIds[i]); } } function unlockMany(uint256[] calldata _tokenIds) external { address owner; for (uint256 i = 0; i < _tokenIds.length; i++) { owner = LOCKABLE.ownerOf(_tokenIds[i]); require(guardians[owner] == msg.sender, "!guardian"); LOCKABLE.unlockId(_tokenIds[i]); } } /** Modified to grant temporary approval on the token, * to the guardian contract, before initiating transfer */ function unlockManyAndTransfer( uint256[] calldata _tokenIds, address _recipient ) external { address owner; for (uint256 i = 0; i < _tokenIds.length; i++) { owner = LOCKABLE.ownerOf(_tokenIds[i]); require(guardians[owner] == msg.sender, "!guardian"); LOCKABLE.temporaryApproval(_tokenIds[i]); LOCKABLE.unlockId(_tokenIds[i]); LOCKABLE.safeTransferFrom(owner, _recipient, _tokenIds[i]); } } }
// SPDX-License-Identifier: BSD-3-Clause pragma solidity ^0.8.14; /*** ************************************************************************* * ERC721B2FA - Ultra Low Gas - 2 Factor Authentication * * @author: @ghooost0x2a * ************************************************************************* * ERC721B2FA is a modified version of EnumerableLite, by @squuebo_nft * * and the LockRegistry/Guardian contracts by @OwlOfMoistness * ************************************************************************* * ::::::: :::::::: ::: * * :+: :+: :+: :+: :+: :+: :+: :+: * * +:+ :+:+ +:+ +:+ +:+ +:+ +:+ * * +#+ + +:+ +#++:+ +#+ +#++:++#++: * * +#+# +#+ +#+ +#+ +#+ +#+ +#+ * * #+# #+# #+# #+# #+# #+# #+# * * ####### ########## ### ### * *************************************************************************/ import "./ERC721BLockRegistry.sol"; import "./IBatch.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol"; import "@openzeppelin/contracts/security/Pausable.sol"; abstract contract ERC721B2FAEnumLitePausable is ERC721BLockRegistry, Pausable, IBatch, IERC721Enumerable { constructor( string memory _name, string memory _symbol, uint256 _offset ) ERC721BLockRegistry(_name, _symbol, _offset) {} function setDefaultRoyalty(address receiver, uint96 feeNumerator) external onlyDelegates { _setDefaultRoyalty(receiver, feeNumerator); } function deleteDefaultRoyalty() external onlyDelegates { _deleteDefaultRoyalty(); } function setTokenRoyalty( uint256 tokenId, address receiver, uint96 feeNumerator ) external onlyDelegates { _setTokenRoyalty(tokenId, receiver, feeNumerator); } function resetTokenRoyalty(uint256 tokenId) external onlyDelegates { _resetTokenRoyalty(tokenId); } function isOwnerOf(address account, uint256[] calldata tokenIds) external view override returns (bool) { for (uint256 i; i < tokenIds.length; ++i) { if (_owners[tokenIds[i]] != account) return false; } return true; } function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721B) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } function tokenOfOwnerByIndex(address owner, uint256 index) public view override returns (uint256 tokenId) { uint256 count; for (uint256 i; i < _owners.length; ++i) { if (owner == _owners[i]) { if (count == index) return i; else ++count; } } require(false, "ERC721Enumerable: owner index out of bounds"); } function tokenByIndex(uint256 index) external view virtual override returns (uint256) { require( index < totalSupply(), "ERC721Enumerable: global index out of bounds" ); return index; } function totalSupply() public view override(ERC721B, IERC721Enumerable) returns (uint256) { return _owners.length - _offset; } // Modified to call ERC721BLockRegistry's safeTransferFrom (to account for 2FA) function transferBatch( address from, address to, uint256[] calldata tokenIds, bytes calldata data ) external override { for (uint256 i; i < tokenIds.length; ++i) { ERC721BLockRegistry.safeTransferFrom(from, to, tokenIds[i], data); } } function walletOfOwner(address account) external view override returns (uint256[] memory) { uint256 quantity = balanceOf(account); uint256[] memory wallet = new uint256[](quantity); for (uint256 i; i < quantity; ++i) { wallet[i] = tokenOfOwnerByIndex(account, i); } return wallet; } }
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.13; import "./ERC721B.sol"; /** * Modified interface to add temporaryApproval for guardian contract */ interface ILockERC721 is IERC721 { function lockId(uint256 _id) external; function unlockId(uint256 _id) external; function freeId(uint256 _id, address _contract) external; function temporaryApproval(uint256 _id) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (security/Pausable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ abstract contract Pausable is Context { /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. */ constructor() { _paused = false; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { _requireNotPaused(); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { _requirePaused(); _; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Throws if the contract is paused. */ function _requireNotPaused() internal view virtual { require(!paused(), "Pausable: paused"); } /** * @dev Throws if the contract is not paused. */ function _requirePaused() internal view virtual { require(paused(), "Pausable: not paused"); } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// SPDX-License-Identifier: BSD-3-Clause pragma solidity ^0.8.13; interface IBatch { function isOwnerOf(address account, uint256[] calldata tokenIds) external view returns (bool); function transferBatch( address from, address to, uint256[] calldata tokenIds, bytes calldata data ) external; function walletOfOwner(address account) external view returns (uint256[] memory); }
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.2; /* * ,_, * (',') * {/"\} * -"-"- */ import "./ERC721B.sol"; import "./LockRegistry.sol"; import "./ILockERC721.sol"; abstract contract ERC721BLockRegistry is ERC721B, LockRegistry, ILockERC721 { constructor( string memory _name, string memory _symbol, uint256 _offset ) ERC721B(_name, _symbol, _offset) {} function transferFrom( address from, address to, uint256 tokenId ) public override(ERC721B, IERC721) { require(isUnlocked(tokenId), "Token is locked"); ERC721B.transferFrom(from, to, tokenId); } function safeTransferFrom( address from, address to, uint256 tokenId ) external override(ERC721B, IERC721) { require(isUnlocked(tokenId), "Token is locked"); ERC721B.safeTransferFrom(from, to, tokenId, ""); } function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public override(ERC721B, IERC721) { require(isUnlocked(tokenId), "Token is locked"); ERC721B.safeTransferFrom(from, to, tokenId, _data); } /** * Added this function to be called (from an approvedContract's unlockManyAndTransfer) * so that the user doesn't need to provide authorization to the guardian contract, in advance */ function temporaryApproval(uint256 tokenId) external { require(_exists(tokenId), "Token !exist"); require(!isUnlocked(tokenId), "Token !locked"); require( LockRegistry.approvedContract[_msgSender()], "Not approved contract" ); ERC721B._approve(_msgSender(), tokenId); } function lockId(uint256 _id) external override { require(_exists(_id), "Token !exist"); _lockId(_id); } function unlockId(uint256 _id) external override { require(_exists(_id), "Token !exist"); _unlockId(_id); } function freeId(uint256 _id, address _contract) external override onlyDelegates { require(_exists(_id), "Token !exist"); _freeId(_id, _contract); } }
// SPDX-License-Identifier: BSD-3-Clause pragma solidity ^0.8.15; /**************************************** * @author: squeebo_nft * * @team: GoldenX * **************************************** * Blimpie-ERC721 provides low-gas * * mints + transfers * ****************************************/ //INTERFACES import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol"; //CONTRACTS import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts/utils/Context.sol"; import "@openzeppelin/contracts/utils/introspection/ERC165.sol"; import "@openzeppelin/contracts/token/common/ERC2981.sol"; abstract contract ERC721B is Context, ERC165, ERC2981, IERC721, IERC721Metadata { using Address for address; event BlacklistUpdate(address indexed addy, bool is_blacklisted); string private _name; string private _symbol; uint256 internal _offset; address[] internal _owners; mapping(uint256 => address) private _tokenApprovals; mapping(address => mapping(address => bool)) private _operatorApprovals; mapping(address => bool) public blacklisted_approvals; constructor( string memory name_, string memory symbol_, uint256 offset ) { _name = name_; _symbol = symbol_; _offset = offset; for (uint256 i; i < _offset; ++i) { _owners.push(address(0)); } } //public function balanceOf(address owner) public view virtual override returns (uint256) { require( owner != address(0), "ERC721: balance query for the zero address" ); uint256 count; for (uint256 i; i < _owners.length; ++i) { if (owner == _owners[i]) ++count; } return count; } function name() external view virtual override returns (string memory) { return _name; } function next() public view returns (uint256) { return _owners.length; } function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require( owner != address(0), "ERC721: owner query for nonexistent token" ); return owner; } function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165, ERC2981) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } function symbol() external view virtual override returns (string memory) { return _symbol; } function totalSupply() public view virtual returns (uint256) { return _owners.length - _offset; } function approve(address to, uint256 tokenId) external virtual override { address owner = ERC721B.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } function getApproved(uint256 tokenId) public view virtual override returns (address) { require( _exists(tokenId), "ERC721: approved query for nonexistent token" ); return _tokenApprovals[tokenId]; } function _updateBlackListedApprovals(address addy, bool blacklisted) internal virtual { blacklisted_approvals[addy]=blacklisted; emit BlacklistUpdate(addy, blacklisted); } function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { if (blacklisted_approvals[operator] == true) { return false; } return _operatorApprovals[owner][operator]; } function setApprovalForAll(address operator, bool approved) external virtual override { require(operator != _msgSender(), "ERC721: approve to caller"); require(!blacklisted_approvals[operator], "This opperator is blacklisted."); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require( _isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved" ); _transfer(from, to, tokenId); } function safeTransferFrom( address from, address to, uint256 tokenId ) external virtual override { safeTransferFrom(from, to, tokenId, ""); } function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require( _isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved" ); _safeTransfer(from, to, tokenId, _data); } //internal 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" ); } function _exists(uint256 tokenId) internal view virtual returns (bool) { return tokenId < _owners.length && _owners[tokenId] != address(0); } function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require( _exists(tokenId), "ERC721: operator query for nonexistent token" ); address owner = ERC721B.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } 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" ); } 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); _owners.push(to); emit Transfer(address(0), to, tokenId); } function _burn(uint256 tokenId) internal virtual { address owner = ERC721B.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _owners[tokenId] = address(0); _resetTokenRoyalty(tokenId); emit Transfer(owner, address(0), tokenId); } function _transfer( address from, address to, uint256 tokenId ) internal virtual { require( ERC721B.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own" ); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _owners[tokenId] = to; emit Transfer(from, to, tokenId); } function _approve(address to, uint256 tokenId) internal virtual { require(!blacklisted_approvals[to], "This opperator is blacklisted."); _tokenApprovals[tokenId] = to; emit Approval(ERC721B.ownerOf(tokenId), to, tokenId); } function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received( _msgSender(), from, tokenId, _data ) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert( "ERC721: transfer to non ERC721Receiver implementer" ); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.2; /* * ,_, * (',') * {/"\} * -"-"- */ import "./Delegated.sol"; abstract contract LockRegistry is Delegated { mapping(address => bool) public approvedContract; mapping(uint256 => uint256) public lockCount; mapping(uint256 => mapping(uint256 => address)) public lockMap; mapping(uint256 => mapping(address => uint256)) public lockMapIndex; event TokenLocked( uint256 indexed tokenId, address indexed approvedContract ); event TokenUnlocked( uint256 indexed tokenId, address indexed approvedContract ); function isUnlocked(uint256 _id) public view returns (bool) { return lockCount[_id] == 0; } function updateApprovedContracts( address[] calldata _contracts, bool[] calldata _values ) external onlyDelegates { require(_contracts.length == _values.length, "!length"); for (uint256 i = 0; i < _contracts.length; i++) approvedContract[_contracts[i]] = _values[i]; } function _lockId(uint256 _id) internal { require(approvedContract[msg.sender], "Cannot update map"); require( lockMapIndex[_id][msg.sender] == 0, "ID already locked by caller" ); uint256 count = lockCount[_id] + 1; lockMap[_id][count] = msg.sender; lockMapIndex[_id][msg.sender] = count; lockCount[_id]++; emit TokenLocked(_id, msg.sender); } function _unlockId(uint256 _id) internal { require(approvedContract[msg.sender], "Cannot update map"); uint256 index = lockMapIndex[_id][msg.sender]; require(index != 0, "ID not locked by caller"); uint256 last = lockCount[_id]; if (index != last) { address lastContract = lockMap[_id][last]; lockMap[_id][index] = lastContract; lockMap[_id][last] = address(0); lockMapIndex[_id][lastContract] = index; } else lockMap[_id][index] = address(0); lockMapIndex[_id][msg.sender] = 0; lockCount[_id]--; emit TokenUnlocked(_id, msg.sender); } function _freeId(uint256 _id, address _contract) internal { require(!approvedContract[_contract], "Cannot update map"); uint256 index = lockMapIndex[_id][_contract]; require(index != 0, "ID not locked"); uint256 last = lockCount[_id]; if (index != last) { address lastContract = lockMap[_id][last]; lockMap[_id][index] = lastContract; lockMap[_id][last] = address(0); lockMapIndex[_id][lastContract] = index; } else lockMap[_id][index] = address(0); lockMapIndex[_id][_contract] = 0; lockCount[_id]--; emit TokenUnlocked(_id, _contract); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts 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 pragma solidity ^0.8.9; import "@openzeppelin/contracts/access/Ownable.sol"; contract Delegated is Ownable { mapping(address => bool) internal _delegates; modifier onlyDelegates() { require(_delegates[msg.sender], "Invalid delegate"); _; } constructor() Ownable() { setDelegate(owner(), true); } //onlyOwner function isDelegate(address addr) external view onlyOwner returns (bool) { return _delegates[addr]; } function _isDelegate(address addr) internal view returns (bool) { return _delegates[addr]; } function setDelegate(address addr, bool isDelegate_) public onlyOwner { _delegates[addr] = isDelegate_; } function transferOwnership(address newOwner) public virtual override onlyOwner { _delegates[newOwner] = true; super.transferOwnership(newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (token/common/ERC2981.sol) pragma solidity ^0.8.0; import "../../interfaces/IERC2981.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of the NFT Royalty Standard, a standardized way to retrieve royalty payment information. * * Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for * specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first. * * Royalty is specified as a fraction of sale price. {_feeDenominator} is overridable but defaults to 10000, meaning the * fee is specified in basis points by default. * * IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See * https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the EIP. Marketplaces are expected to * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported. * * _Available since v4.5._ */ abstract contract ERC2981 is IERC2981, ERC165 { struct RoyaltyInfo { address receiver; uint96 royaltyFraction; } RoyaltyInfo private _defaultRoyaltyInfo; mapping(uint256 => RoyaltyInfo) private _tokenRoyaltyInfo; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC165) returns (bool) { return interfaceId == type(IERC2981).interfaceId || super.supportsInterface(interfaceId); } /** * @inheritdoc IERC2981 */ function royaltyInfo(uint256 _tokenId, uint256 _salePrice) public view virtual override returns (address, uint256) { RoyaltyInfo memory royalty = _tokenRoyaltyInfo[_tokenId]; if (royalty.receiver == address(0)) { royalty = _defaultRoyaltyInfo; } uint256 royaltyAmount = (_salePrice * royalty.royaltyFraction) / _feeDenominator(); return (royalty.receiver, royaltyAmount); } /** * @dev The denominator with which to interpret the fee set in {_setTokenRoyalty} and {_setDefaultRoyalty} as a * fraction of the sale price. Defaults to 10000 so fees are expressed in basis points, but may be customized by an * override. */ function _feeDenominator() internal pure virtual returns (uint96) { return 10000; } /** * @dev Sets the royalty information that all ids in this contract will default to. * * Requirements: * * - `receiver` cannot be the zero address. * - `feeNumerator` cannot be greater than the fee denominator. */ function _setDefaultRoyalty(address receiver, uint96 feeNumerator) internal virtual { require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice"); require(receiver != address(0), "ERC2981: invalid receiver"); _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator); } /** * @dev Removes default royalty information. */ function _deleteDefaultRoyalty() internal virtual { delete _defaultRoyaltyInfo; } /** * @dev Sets the royalty information for a specific token id, overriding the global default. * * Requirements: * * - `receiver` cannot be the zero address. * - `feeNumerator` cannot be greater than the fee denominator. */ function _setTokenRoyalty( uint256 tokenId, address receiver, uint96 feeNumerator ) internal virtual { require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice"); require(receiver != address(0), "ERC2981: Invalid parameters"); _tokenRoyaltyInfo[tokenId] = RoyaltyInfo(receiver, feeNumerator); } /** * @dev Resets royalty information for the token id back to the global default. */ function _resetTokenRoyalty(uint256 tokenId) internal virtual { delete _tokenRoyaltyInfo[tokenId]; } }
// 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 (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 v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (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 Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (interfaces/IERC2981.sol) pragma solidity ^0.8.0; import "../utils/introspection/IERC165.sol"; /** * @dev Interface for the NFT Royalty Standard. * * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal * support for royalty payments across all NFT marketplaces and ecosystem participants. * * _Available since v4.5._ */ interface IERC2981 is IERC165 { /** * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of * exchange. The royalty amount is denominated and should be paid in that same unit of exchange. */ function royaltyInfo(uint256 tokenId, uint256 salePrice) external view returns (address receiver, uint256 royaltyAmount); }
{ "optimizer": { "enabled": true, "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"},{"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":"addy","type":"address"},{"indexed":false,"internalType":"bool","name":"is_blacklisted","type":"bool"}],"name":"BlacklistUpdate","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"guardian","type":"address"},{"indexed":true,"internalType":"address","name":"user","type":"address"}],"name":"GuardianRenounce","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"guardian","type":"address"},{"indexed":true,"internalType":"address","name":"user","type":"address"}],"name":"GuardianSet","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":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"pendingGuardian","type":"address"},{"indexed":true,"internalType":"address","name":"user","type":"address"}],"name":"PendingGuardianSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"approvedContract","type":"address"}],"name":"TokenLocked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"approvedContract","type":"address"}],"name":"TokenUnlocked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"payee","type":"address"},{"indexed":false,"internalType":"uint256","name":"weiAmount","type":"uint256"}],"name":"Withdrawn","type":"event"},{"stateMutability":"payable","type":"fallback"},{"inputs":[],"name":"LOCKABLE","outputs":[{"internalType":"contract ILockERC721","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_protege","type":"address"}],"name":"acceptGuardianship","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"approvedContract","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"blacklisted_approvals","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"deleteDefaultRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"},{"internalType":"address","name":"_contract","type":"address"}],"name":"freeId","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"},{"internalType":"address[]","name":"recipients","type":"address[]"}],"name":"freeTeamMints","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"guardians","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":[{"internalType":"address","name":"addr","type":"address"}],"name":"isDelegate","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"isOwnerOf","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"}],"name":"isUnlocked","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"isvalidMerkleProof","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"lockCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"}],"name":"lockId","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"_tokenIds","type":"uint256[]"}],"name":"lockMany","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"lockMap","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"address","name":"","type":"address"}],"name":"lockMapIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPreSaleCSEMintsPerWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPublicCSEMintsPerWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintPhase","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"next","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paymentRecipient","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"pendingGuardians","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"preSalePrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"preSalePriceDiscounted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"presaleMintedAddys","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_guardian","type":"address"}],"name":"proposeGuardian","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"publicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"publicMintedAddys","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":"publicPriceDiscounted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_tokenOwner","type":"address"}],"name":"renounce","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"resetTokenRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"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":"uint256","name":"quantity","type":"uint256"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"sassyMint","outputs":[],"stateMutability":"payable","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":"newBaseURI","type":"string"},{"internalType":"string","name":"newURISuffix","type":"string"}],"name":"setBaseSuffixURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint96","name":"feeNumerator","type":"uint96"}],"name":"setDefaultRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"bool","name":"isDelegate_","type":"bool"}],"name":"setDelegate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"mRoot","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPhase","type":"uint256"}],"name":"setMintPhase","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"addy","type":"address"}],"name":"setPaymentRecipient","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"},{"internalType":"uint256","name":"newDiscountedPrice","type":"uint256"}],"name":"setPreSalePrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"},{"internalType":"uint256","name":"newDiscountedPrice","type":"uint256"}],"name":"setPublicPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"new_max_supply","type":"uint256"}],"name":"setReducedMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint96","name":"feeNumerator","type":"uint96"}],"name":"setTokenRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"maxPresaleMints","type":"uint256"},{"internalType":"uint256","name":"maxPublicMints","type":"uint256"}],"name":"setmaxCSEMintsPerWallet","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":"temporaryApproval","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"pauseIt","type":"uint256"}],"name":"togglePause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"transferBatch","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":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"}],"name":"unlockId","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"_tokenIds","type":"uint256[]"}],"name":"unlockMany","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"_tokenIds","type":"uint256[]"},{"internalType":"address","name":"_recipient","type":"address"}],"name":"unlockManyAndTransfer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_contracts","type":"address[]"},{"internalType":"bool[]","name":"_values","type":"bool[]"}],"name":"updateApprovedContracts","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"addys","type":"address[]"},{"internalType":"bool[]","name":"blacklisted","type":"bool[]"}],"name":"updateBlackListedApprovals","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
610d056012556658d15e1762800060135566470de4df82000060145566354a6ba7a18000601555662386f26fc1000060165560c0604052600060a09081526017906200004c90826200037c565b50604080518082019091526005815264173539b7b760d91b60208201526018906200007890826200037c565b50601980546001600160a01b03191673a94f799a34887582987ec8c050f080e252b70a211790556003601a819055601b556000601c819055601f55348015620000c057600080fd5b506040518060400160405280600e81526020016d4372617a7953617373794578657360901b8152506040518060400160405280600381526020016243534560e81b815250600182828282828282600290816200011d91906200037c565b5060036200012c83826200037c565b50600481905560005b6004548110156200019357600580546001810182556000919091527f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db00180546001600160a01b03191690556200018b8162000448565b905062000135565b50505050620001b1620001ab620001eb60201b60201c565b620001ef565b620001d0620001c86009546001600160a01b031690565b600162000241565b5050600f805460ff1916905550503060805250620004709050565b3390565b600980546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6200024b62000276565b6001600160a01b03919091166000908152600a60205260409020805460ff1916911515919091179055565b6009546001600160a01b03163314620002d55760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640160405180910390fd5b565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200030257607f821691505b6020821081036200032357634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200037757600081815260208120601f850160051c81016020861015620003525750805b601f850160051c820191505b8181101562000373578281556001016200035e565b5050505b505050565b81516001600160401b03811115620003985762000398620002d7565b620003b081620003a98454620002ed565b8462000329565b602080601f831160018114620003e85760008415620003cf5750858301515b600019600386901b1c1916600185901b17855562000373565b600085815260208120601f198616915b828110156200041957888601518255948401946001909101908401620003f8565b5085821015620004385787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000600182016200046957634e487b7160e01b600052601160045260246000fd5b5060010190565b608051614eb9620004c4600039600081816105b701528181611819015281816118fc01528181611e2601528181611f0901528181612408015281816124eb01528181612583015261261b0152614eb96000f3fe6080604052600436106104315760003560e01c8063650b00f611610227578063ac1855c11161012d578063da059ba7116100b0578063e757c17d11610077578063e757c17d14610de4578063e985e9c514610dfa578063f2fde38b14610e1a578063f7f5326a14610e3a578063fc6576fd14610e5a57005b8063da059ba714610d41578063dab3900f14610d57578063db88125814610d77578063e250fd2314610d97578063e4b1451c14610db757005b8063b7c34a9c116100f4578063b7c34a9c14610ca1578063b88d4fde14610cc1578063c304555f14610ce1578063c87b56dd14610d01578063ca0581dc14610d2157005b8063ac1855c114610bfb578063ac52e64414610c1b578063af180f6a14610c3b578063b1a6505f14610c51578063b534a5c414610c8157005b8063943431bf116101b5578063a22cb4651161017c578063a22cb46514610b7d578063a5c280fd14610b9d578063a945bf8014610bb0578063aa1b103f14610bc6578063abaf1de914610bdb57005b8063943431bf14610ae857806394d216d614610b0857806395207ee114610b2857806395d89b4114610b48578063998af13114610b5d57005b806372abc8b7116101f957806372abc8b714610a2c578063771fd76614610a5a5780637cb6475914610a8a5780638a616bc014610aaa5780638da5cb5b14610aca57005b8063650b00f6146109aa5780636a87601a146109d757806370a08231146109f7578063715018a614610a1757005b80632db11544116103375780634a994eef116102ba5780635944c753116102815780635944c7531461090f5780635c975abb1461092f5780635f618d4514610947578063630bd94b146109745780636352211e1461098a57005b80634a994eef1461087a5780634c8fe5261461089a5780634d44660c146108af5780634f6ccce7146108cf57806351bbf8d8146108ef57005b806342842e0e116102fe57806342842e0e146107d857806343743570146107f8578063438b63001461081857806347028a5c14610845578063495906571461086557005b80632db115441461075a5780632f745c591461076d57806332cb6b0c1461078d5780633ccfd60b146107a357806340a9c8df146107b857005b806317881cbf116103bf5780632983c4b8116103865780632983c4b8146106645780632a55205a146106845780632b1eaf29146106c35780632cba8123146106e35780632d1836f81461072457005b806317881cbf146105d957806318160ddd146105ef5780631f76a7af1461060457806323b872dd146106245780632799cde01461064457005b8063077796271161040357806307779627146104ff578063081812fc1461051f57806309308e5d1461053f578063095ea7b3146105855780630b776690146105a557005b806301ffc9a71461043a57806304634d8d1461046f5780630633b14a1461048f57806306fdde03146104dd57005b3661043857005b005b34801561044657600080fd5b5061045a610455366004614133565b610e70565b60405190151581526020015b60405180910390f35b34801561047b57600080fd5b5061043861048a36600461417c565b610e9b565b34801561049b57600080fd5b506104c56104aa3660046141b1565b6010602052600090815260409020546001600160a01b031681565b6040516001600160a01b039091168152602001610466565b3480156104e957600080fd5b506104f2610ee1565b604051610466919061421e565b34801561050b57600080fd5b5061045a61051a3660046141b1565b610f73565b34801561052b57600080fd5b506104c561053a366004614231565b610fa0565b34801561054b57600080fd5b5061057761055a36600461424a565b600e60209081526000928352604080842090915290825290205481565b604051908152602001610466565b34801561059157600080fd5b506104386105a036600461427a565b611028565b3480156105b157600080fd5b506104c57f000000000000000000000000000000000000000000000000000000000000000081565b3480156105e557600080fd5b50610577601f5481565b3480156105fb57600080fd5b5061057761113d565b34801561061057600080fd5b5061043861061f3660046141b1565b611154565b34801561063057600080fd5b5061043861063f3660046142a6565b6111dd565b34801561065057600080fd5b5061043861065f366004614231565b611214565b34801561067057600080fd5b5061043861067f3660046141b1565b611245565b34801561069057600080fd5b506106a461069f3660046142e7565b611296565b604080516001600160a01b039093168352602083019190915201610466565b3480156106cf57600080fd5b506019546104c5906001600160a01b031681565b3480156106ef57600080fd5b506104c56106fe3660046142e7565b600d6020908152600092835260408084209091529082529020546001600160a01b031681565b34801561073057600080fd5b506104c561073f3660046141b1565b6011602052600090815260409020546001600160a01b031681565b610438610768366004614231565b611344565b34801561077957600080fd5b5061057761078836600461427a565b6114d2565b34801561079957600080fd5b5061057760125481565b3480156107af57600080fd5b5061043861159d565b3480156107c457600080fd5b506104386107d3366004614231565b6116b0565b3480156107e457600080fd5b506104386107f33660046142a6565b6116de565b34801561080457600080fd5b50610438610813366004614231565b611725565b34801561082457600080fd5b506108386108333660046141b1565b61176c565b6040516104669190614309565b34801561085157600080fd5b50610438610860366004614391565b61180b565b34801561087157600080fd5b50601c54610577565b34801561088657600080fd5b506104386108953660046143e2565b6119ab565b3480156108a657600080fd5b50600554610577565b3480156108bb57600080fd5b5061045a6108ca36600461440e565b6119de565b3480156108db57600080fd5b506105776108ea366004614231565b611a60565b3480156108fb57600080fd5b5061045a61090a366004614536565b611ad1565b34801561091b57600080fd5b5061043861092a36600461456a565b611b33565b34801561093b57600080fd5b50600f5460ff1661045a565b34801561095357600080fd5b506105776109623660046141b1565b601e6020526000908152604090205481565b34801561098057600080fd5b5061057760145481565b34801561099657600080fd5b506104c56109a5366004614231565b611b6d565b3480156109b657600080fd5b506105776109c5366004614231565b600c6020526000908152604090205481565b3480156109e357600080fd5b506104386109f23660046142e7565b611bf9565b348015610a0357600080fd5b50610577610a123660046141b1565b611c30565b348015610a2357600080fd5b50610438611cfe565b348015610a3857600080fd5b5061045a610a47366004614231565b6000908152600c60205260409020541590565b348015610a6657600080fd5b5061045a610a753660046141b1565b60086020526000908152604090205460ff1681565b348015610a9657600080fd5b50610438610aa5366004614231565b611d12565b348015610ab657600080fd5b50610438610ac5366004614231565b611d46565b348015610ad657600080fd5b506009546001600160a01b03166104c5565b348015610af457600080fd5b50610438610b03366004614231565b611d86565b348015610b1457600080fd5b50610438610b2336600461424a565b611dba565b348015610b3457600080fd5b50610438610b43366004614391565b611e18565b348015610b5457600080fd5b506104f2611fb2565b348015610b6957600080fd5b50610438610b78366004614231565b611fc1565b348015610b8957600080fd5b50610438610b983660046143e2565b612092565b610438610bab3660046145a8565b6121bf565b348015610bbc57600080fd5b5061057760135481565b348015610bd257600080fd5b50610438612388565b348015610be757600080fd5b50610438610bf63660046142e7565b6123c0565b348015610c0757600080fd5b50610438610c163660046145ee565b6123fa565b348015610c2757600080fd5b50610438610c36366004614644565b6126e5565b348015610c4757600080fd5b50610577601b5481565b348015610c5d57600080fd5b5061045a610c6c3660046141b1565b600b6020526000908152604090205460ff1681565b348015610c8d57600080fd5b50610438610c9c3660046146f0565b6127e4565b348015610cad57600080fd5b50610438610cbc366004614231565b612862565b348015610ccd57600080fd5b50610438610cdc366004614784565b612950565b348015610ced57600080fd5b50610438610cfc3660046141b1565b612988565b348015610d0d57600080fd5b506104f2610d1c366004614231565b612a97565b348015610d2d57600080fd5b50610438610d3c3660046142e7565b612b65565b348015610d4d57600080fd5b5061057760165481565b348015610d6357600080fd5b50610438610d723660046141b1565b612b9f565b348015610d8357600080fd5b50610438610d92366004614847565b612c6e565b348015610da357600080fd5b50610438610db23660046148ec565b612d82565b348015610dc357600080fd5b50610577610dd23660046141b1565b601d6020526000908152604090205481565b348015610df057600080fd5b5061057760155481565b348015610e0657600080fd5b5061045a610e1536600461494b565b612dcc565b348015610e2657600080fd5b50610438610e353660046141b1565b612e28565b348015610e4657600080fd5b50610438610e55366004614644565b612e5c565b348015610e6657600080fd5b50610577601a5481565b60006001600160e01b0319821663780e9d6360e01b1480610e955750610e9582612f4b565b92915050565b336000908152600a602052604090205460ff16610ed35760405162461bcd60e51b8152600401610eca90614979565b60405180910390fd5b610edd8282612f8b565b5050565b606060028054610ef0906149a3565b80601f0160208091040260200160405190810160405280929190818152602001828054610f1c906149a3565b8015610f695780601f10610f3e57610100808354040283529160200191610f69565b820191906000526020600020905b815481529060010190602001808311610f4c57829003601f168201915b5050505050905090565b6000610f7d613045565b506001600160a01b0381166000908152600a602052604090205460ff165b919050565b6000610fab8261309f565b61100c5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610eca565b506000908152600660205260409020546001600160a01b031690565b600061103382611b6d565b9050806001600160a01b0316836001600160a01b0316036110a05760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610eca565b336001600160a01b03821614806110bc57506110bc8133612dcc565b61112e5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610eca565b61113883836130e9565b505050565b60045460055460009161114f916149f3565b905090565b6001600160a01b0381811660009081526010602052604090205416331461118d5760405162461bcd60e51b8152600401610eca90614a06565b6001600160a01b03811660008181526010602052604080822080546001600160a01b03191690555133917f5b8f9622aeb5e504027e0bedd2e6ab42b294a529d87f5ef2ebf1dc0a1fe0f08191a350565b6000818152600c6020526040902054156112095760405162461bcd60e51b8152600401610eca90614a29565b6111388383836131c0565b61121d8161309f565b6112395760405162461bcd60e51b8152600401610eca90614a52565b611242816131f1565b50565b336000908152600a602052604090205460ff166112745760405162461bcd60e51b8152600401610eca90614979565b601980546001600160a01b0319166001600160a01b0392909216919091179055565b60008281526001602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b031692820192909252829161130b5750604080518082019091526000546001600160a01b0381168252600160a01b90046001600160601b031660208201525b60208101516000906127109061132a906001600160601b031687614a78565b6113349190614aa5565b91519350909150505b9250929050565b60135460018211156113605760145461135d9083614a78565b90505b601f546002148061138f575061138f335b6001600160a01b03166000908152600a602052604090205460ff1690565b6113db5760405162461bcd60e51b815260206004820152601c60248201527f5075626c6963206d696e74206973206e6f74206f70656e2079657421000000006044820152606401610eca565b8034146114265760405162461bcd60e51b815260206004820152601960248201527857726f6e6720616d6f756e74206f66204554482073656e742160381b6044820152606401610eca565b601a54336000908152601e6020526040902054611444908490614ab9565b11156114a35760405162461bcd60e51b815260206004820152602860248201527f596f752068617665206d696e746564206d617820647572696e67207075626c696044820152673190383430b9b29760c11b6064820152608401610eca565b336000908152601e6020526040812080548492906114c2908490614ab9565b90915550610edd90508233613331565b60008060005b60055481101561154057600581815481106114f5576114f5614acc565b6000918252602090912001546001600160a01b039081169086160361153057838203611524579150610e959050565b61152d82614ae2565b91505b61153981614ae2565b90506114d8565b5060405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610eca565b336000908152600a602052604090205460ff166115cc5760405162461bcd60e51b8152600401610eca90614979565b60195460405147916001600160a01b031690600090829084908381818185875af1925050503d806000811461161d576040519150601f19603f3d011682016040523d82523d6000602084013e611622565b606091505b50509050806116685760405162461bcd60e51b81526020600482015260126024820152715769746864726177616c206661696c65642160701b6044820152606401610eca565b816001600160a01b03167f7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5846040516116a391815260200190565b60405180910390a2505050565b6116b98161309f565b6116d55760405162461bcd60e51b8152600401610eca90614a52565b61124281613400565b6000818152600c60205260409020541561170a5760405162461bcd60e51b8152600401610eca90614a29565b611138838383604051806020016040528060008152506135a0565b336000908152600a602052604090205460ff166117545760405162461bcd60e51b8152600401610eca90614979565b80600003611764576112426135d2565b611242613624565b6060600061177983611c30565b90506000816001600160401b0381111561179557611795614462565b6040519080825280602002602001820160405280156117be578160200160208202803683370190505b50905060005b82811015611803576117d685826114d2565b8282815181106117e8576117e8614acc565b60209081029190910101526117fc81614ae2565b90506117c4565b509392505050565b6000805b828110156119a5577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316636352211e85858481811061185857611858614acc565b905060200201356040518263ffffffff1660e01b815260040161187d91815260200190565b602060405180830381865afa15801561189a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118be9190614afb565b6001600160a01b038082166000908152601060205260409020549193501633146118fa5760405162461bcd60e51b8152600401610eca90614a06565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166340a9c8df85858481811061193b5761193b614acc565b905060200201356040518263ffffffff1660e01b815260040161196091815260200190565b600060405180830381600087803b15801561197a57600080fd5b505af115801561198e573d6000803e3d6000fd5b50505050808061199d90614ae2565b91505061180f565b50505050565b6119b3613045565b6001600160a01b03919091166000908152600a60205260409020805460ff1916911515919091179055565b6000805b82811015611a5357846001600160a01b03166005858584818110611a0857611a08614acc565b9050602002013581548110611a1f57611a1f614acc565b6000918252602090912001546001600160a01b031614611a43576000915050611a59565b611a4c81614ae2565b90506119e2565b50600190505b9392505050565b6000611a6a61113d565b8210611acd5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610eca565b5090565b601c546000908103611ae557506000919050565b601c546040516bffffffffffffffffffffffff193360601b166020820152600091611a599160340160405160208183030381529060405280519060200120856136619092919063ffffffff16565b336000908152600a602052604090205460ff16611b625760405162461bcd60e51b8152600401610eca90614979565b611138838383613677565b60008060058381548110611b8357611b83614acc565b6000918252602090912001546001600160a01b0316905080610e955760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610eca565b336000908152600a602052604090205460ff16611c285760405162461bcd60e51b8152600401610eca90614979565b601a55601b55565b60006001600160a01b038216611c9b5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610eca565b6000805b600554811015611cf75760058181548110611cbc57611cbc614acc565b6000918252602090912001546001600160a01b0390811690851603611ce757611ce482614ae2565b91505b611cf081614ae2565b9050611c9f565b5092915050565b611d06613045565b611d106000613742565b565b336000908152600a602052604090205460ff16611d415760405162461bcd60e51b8152600401610eca90614979565b601c55565b336000908152600a602052604090205460ff16611d755760405162461bcd60e51b8152600401610eca90614979565b600090815260016020526040812055565b336000908152600a602052604090205460ff16611db55760405162461bcd60e51b8152600401610eca90614979565b601f55565b336000908152600a602052604090205460ff16611de95760405162461bcd60e51b8152600401610eca90614979565b611df28261309f565b611e0e5760405162461bcd60e51b8152600401610eca90614a52565b610edd8282613794565b6000805b828110156119a5577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316636352211e858584818110611e6557611e65614acc565b905060200201356040518263ffffffff1660e01b8152600401611e8a91815260200190565b602060405180830381865afa158015611ea7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ecb9190614afb565b6001600160a01b03808216600090815260106020526040902054919350163314611f075760405162461bcd60e51b8152600401610eca90614a06565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316632799cde0858584818110611f4857611f48614acc565b905060200201356040518263ffffffff1660e01b8152600401611f6d91815260200190565b600060405180830381600087803b158015611f8757600080fd5b505af1158015611f9b573d6000803e3d6000fd5b505050508080611faa90614ae2565b915050611e1c565b606060038054610ef0906149a3565b611fca8161309f565b611fe65760405162461bcd60e51b8152600401610eca90614a52565b6000818152600c60205260409020546120315760405162461bcd60e51b815260206004820152600d60248201526c151bdad95b88085b1bd8dad959609a1b6044820152606401610eca565b336000908152600b602052604090205460ff166120885760405162461bcd60e51b8152602060048201526015602482015274139bdd08185c1c1c9bdd99590818dbdb9d1c9858dd605a1b6044820152606401610eca565b61124233826130e9565b336001600160a01b038316036120ea5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610eca565b6001600160a01b03821660009081526008602052604090205460ff16156121535760405162461bcd60e51b815260206004820152601e60248201527f54686973206f7070657261746f7220697320626c61636b6c69737465642e00006044820152606401610eca565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b60155460018311156121db576016546121d89084614a78565b90505b601f54600114806121f057506121f033611371565b6122355760405162461bcd60e51b815260206004820152601660248201527528393296a9b0b6329036b4b73a103737ba1037b832b760511b6044820152606401610eca565b8034146122805760405162461bcd60e51b815260206004820152601960248201527857726f6e6720616d6f756e74206f66204554482073656e742160381b6044820152606401610eca565b601b54336000908152601d602052604090205461229e908590614ab9565b11156122f85760405162461bcd60e51b815260206004820152602360248201527f416c7265616479206d696e746564206d617820647572696e67207072652d736160448201526236329760e91b6064820152608401610eca565b61230182611ad1565b6123595760405162461bcd60e51b8152602060048201526024808201527f596f7520617265206e6f7420617574686f72697a656420666f72207072652d7360448201526330b6329760e11b6064820152608401610eca565b336000908152601d602052604081208054859290612378908490614ab9565b9091555061113890508333613331565b336000908152600a602052604090205460ff166123b75760405162461bcd60e51b8152600401610eca90614979565b611d1060008055565b336000908152600a602052604090205460ff166123ef5760405162461bcd60e51b8152600401610eca90614979565b601391909155601455565b6000805b838110156126de577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316636352211e86868481811061244757612447614acc565b905060200201356040518263ffffffff1660e01b815260040161246c91815260200190565b602060405180830381865afa158015612489573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124ad9190614afb565b6001600160a01b038082166000908152601060205260409020549193501633146124e95760405162461bcd60e51b8152600401610eca90614a06565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663998af13186868481811061252a5761252a614acc565b905060200201356040518263ffffffff1660e01b815260040161254f91815260200190565b600060405180830381600087803b15801561256957600080fd5b505af115801561257d573d6000803e3d6000fd5b505050507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166340a9c8df8686848181106125c2576125c2614acc565b905060200201356040518263ffffffff1660e01b81526004016125e791815260200190565b600060405180830381600087803b15801561260157600080fd5b505af1158015612615573d6000803e3d6000fd5b505050507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166342842e0e838588888681811061265c5761265c614acc565b6040516001600160e01b031960e088901b1681526001600160a01b03958616600482015294909316602485015250602090910201356044820152606401600060405180830381600087803b1580156126b357600080fd5b505af11580156126c7573d6000803e3d6000fd5b5050505080806126d690614ae2565b9150506123fe565b5050505050565b336000908152600a602052604090205460ff166127145760405162461bcd60e51b8152600401610eca90614979565b82811461274d5760405162461bcd60e51b8152602060048201526007602482015266042d8cadccee8d60cb1b6044820152606401610eca565b60005b838110156126de5782828281811061276a5761276a614acc565b905060200201602081019061277f9190614b18565b600b600087878581811061279557612795614acc565b90506020020160208101906127aa91906141b1565b6001600160a01b031681526020810191909152604001600020805460ff1916911515919091179055806127dc81614ae2565b915050612750565b60005b8381101561285957612849878787878581811061280657612806614acc565b9050602002013586868080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061295092505050565b61285281614ae2565b90506127e7565b50505050505050565b336000908152600a602052604090205460ff166128915760405162461bcd60e51b8152600401610eca90614979565b60125481106128e25760405162461bcd60e51b815260206004820152601a60248201527f43616e206f6e6c79207365742061206c6f7765722073697a652e0000000000006044820152606401610eca565b6128ea61113d565b81101561294b5760405162461bcd60e51b815260206004820152602960248201527f4e657720737570706c79206c6f776572207468616e2063757272656e7420746f60448201526874616c537570706c7960b81b6064820152608401610eca565b601255565b6000828152600c60205260409020541561297c5760405162461bcd60e51b8152600401610eca90614a29565b6119a5848484846135a0565b336000908152601060205260409020546001600160a01b0316156129dd5760405162461bcd60e51b815260206004820152600c60248201526b11dd585c991a585b881cd95d60a21b6044820152606401610eca565b6001600160a01b0381163303612a415760405162461bcd60e51b815260206004820152602360248201527f477561726469616e206d757374206265206120646966666572656e742077616c6044820152621b195d60ea1b6064820152608401610eca565b3360008181526011602052604080822080546001600160a01b0319166001600160a01b038616908117909155905190917f503d1e4f800a36ee58e59b969fc42121ae1ebf3d1a20b558d5248d879427522c91a350565b6060612aa28261309f565b612b065760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610eca565b600060178054612b15906149a3565b905011612b315760405180602001604052806000815250610e95565b6017612b3c8361394a565b6018604051602001612b5093929190614ba6565b60405160208183030381529060405292915050565b336000908152600a602052604090205460ff16612b945760405162461bcd60e51b8152600401610eca90614979565b601591909155601655565b6001600160a01b03818116600090815260116020526040902054163314612c085760405162461bcd60e51b815260206004820152601860248201527f4e6f74207468652070656e64696e6720677561726469616e00000000000000006044820152606401610eca565b6001600160a01b038116600081815260116020908152604080832080546001600160a01b031990811690915560109092528083208054339316831790555190917fc3ce29e3ab42e524b6f6f1b4d3674898d503ee3577a64ac87b555904ebc1413891a350565b336000908152600a602052604090205460ff16612c9d5760405162461bcd60e51b8152600401610eca90614979565b8051600103612ce85760005b8281101561113857612cd6600183600081518110612cc957612cc9614acc565b6020026020010151613331565b80612ce081614ae2565b915050612ca9565b80518214612d4d5760405162461bcd60e51b815260206004820152602c60248201527f4e756d626572206f6620726563697069656e747320646f65736e2774206d617460448201526b31b41038bab0b73a34ba3c9760a11b6064820152608401610eca565b60005b815181101561113857612d706001838381518110612cc957612cc9614acc565b80612d7a81614ae2565b915050612d50565b336000908152600a602052604090205460ff16612db15760405162461bcd60e51b8152600401610eca90614979565b6017612dbe848683614c27565b5060186126de828483614c27565b6001600160a01b03811660009081526008602052604081205460ff161515600103612df957506000610e95565b506001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b612e30613045565b6001600160a01b0381166000908152600a60205260409020805460ff1916600117905561124281613a52565b336000908152600a602052604090205460ff16612e8b5760405162461bcd60e51b8152600401610eca90614979565b828114612eda5760405162461bcd60e51b815260206004820181905260248201527f4e6220616464797320646f65736e2774206d61746368206e6220626f6f6c732e6044820152606401610eca565b60005b838110156126de57612f3b858583818110612efa57612efa614acc565b9050602002016020810190612f0f91906141b1565b848484818110612f2157612f21614acc565b9050602002016020810190612f369190614b18565b613ac8565b612f4481614ae2565b9050612edd565b60006001600160e01b031982166380ac58cd60e01b1480612f7c57506001600160e01b03198216635b5e139f60e01b145b80610e955750610e9582613b27565b6127106001600160601b0382161115612fb65760405162461bcd60e51b8152600401610eca90614ce6565b6001600160a01b03821661300c5760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c6964207265636569766572000000000000006044820152606401610eca565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600055565b6009546001600160a01b03163314611d105760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610eca565b60055460009082108015610e95575060006001600160a01b0316600583815481106130cc576130cc614acc565b6000918252602090912001546001600160a01b0316141592915050565b6001600160a01b03821660009081526008602052604090205460ff16156131525760405162461bcd60e51b815260206004820152601e60248201527f54686973206f7070657261746f7220697320626c61636b6c69737465642e00006044820152606401610eca565b600081815260066020526040902080546001600160a01b0319166001600160a01b038416908117909155819061318782611b6d565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6131ca3382613b5c565b6131e65760405162461bcd60e51b8152600401610eca90614d30565b611138838383613c1e565b336000908152600b602052604090205460ff166132205760405162461bcd60e51b8152600401610eca90614d81565b6000818152600e60209081526040808320338452909152902054156132875760405162461bcd60e51b815260206004820152601b60248201527f494420616c7265616479206c6f636b65642062792063616c6c657200000000006044820152606401610eca565b6000818152600c60205260408120546132a1906001614ab9565b6000838152600d60209081526040808320848452825280832080546001600160a01b03191633908117909155868452600e83528184209084528252808320849055858352600c90915281208054929350906132fb83614ae2565b9091555050604051339083907f9ecfd70e9ff36df72989324a49559383d39f9290d700b10cf5ac10dcb68d264390600090a35050565b600082116133785760405162461bcd60e51b815260206004820152601460248201527343616e2774206d696e74203020746f6b656e732160601b6044820152606401610eca565b60125461338361113d565b61338d9084614ab9565b11156133d15760405162461bcd60e51b81526020600482015260136024820152724d617820737570706c7920726561636865642160681b6044820152606401610eca565b60005b82811015611138576133ee826133e960055490565b613d74565b806133f881614ae2565b9150506133d4565b336000908152600b602052604090205460ff1661342f5760405162461bcd60e51b8152600401610eca90614d81565b6000818152600e60209081526040808320338452909152812054908190036134995760405162461bcd60e51b815260206004820152601760248201527f4944206e6f74206c6f636b65642062792063616c6c65720000000000000000006044820152606401610eca565b6000828152600c602052604090205481811461350f576000838152600d602090815260408083208484528252808320805486855282852080546001600160a01b03199081166001600160a01b03909316928317909155825416909155868452600e83528184209084529091529020829055613537565b6000838152600d60209081526040808320858452909152902080546001600160a01b03191690555b6000838152600e602090815260408083203384528252808320839055858352600c909152812080549161356983614dac565b9091555050604051339084907f0fe7d9801197f79ef3b1595d19379eb58f0fff5f98b0f6d6f34c03cae5306c3790600090a3505050565b6135aa3383613b5c565b6135c65760405162461bcd60e51b8152600401610eca90614d30565b6119a584848484613d8e565b6135da613dc1565b600f805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b61362c613e0a565b600f805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586136073390565b60008261366e8584613e50565b14949350505050565b6127106001600160601b03821611156136a25760405162461bcd60e51b8152600401610eca90614ce6565b6001600160a01b0382166136f85760405162461bcd60e51b815260206004820152601b60248201527f455243323938313a20496e76616c696420706172616d657465727300000000006044820152606401610eca565b6040805180820182526001600160a01b0393841681526001600160601b0392831660208083019182526000968752600190529190942093519051909116600160a01b029116179055565b600980546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0381166000908152600b602052604090205460ff16156137cd5760405162461bcd60e51b8152600401610eca90614d81565b6000828152600e602090815260408083206001600160a01b0385168452909152812054908190036138305760405162461bcd60e51b815260206004820152600d60248201526c1251081b9bdd081b1bd8dad959609a1b6044820152606401610eca565b6000838152600c60205260409020548181146138a6576000848152600d602090815260408083208484528252808320805486855282852080546001600160a01b03199081166001600160a01b03909316928317909155825416909155878452600e835281842090845290915290208290556138ce565b6000848152600d60209081526040808320858452909152902080546001600160a01b03191690555b6000848152600e602090815260408083206001600160a01b03871684528252808320839055868352600c909152812080549161390983614dac565b90915550506040516001600160a01b0384169085907f0fe7d9801197f79ef3b1595d19379eb58f0fff5f98b0f6d6f34c03cae5306c3790600090a350505050565b6060816000036139715750506040805180820190915260018152600360fc1b602082015290565b8160005b811561399b578061398581614ae2565b91506139949050600a83614aa5565b9150613975565b6000816001600160401b038111156139b5576139b5614462565b6040519080825280601f01601f1916602001820160405280156139df576020820181803683370190505b5090505b8415613a4a576139f46001836149f3565b9150613a01600a86614dc3565b613a0c906030614ab9565b60f81b818381518110613a2157613a21614acc565b60200101906001600160f81b031916908160001a905350613a43600a86614aa5565b94506139e3565b949350505050565b613a5a613045565b6001600160a01b038116613abf5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610eca565b61124281613742565b6001600160a01b038216600081815260086020908152604091829020805460ff191685151590811790915591519182527ff8c135050097fab433dee08c659e48cb9abde02b5aac510ce02e618b2569d168910160405180910390a25050565b60006001600160e01b0319821663152a902d60e11b1480610e9557506301ffc9a760e01b6001600160e01b0319831614610e95565b6000613b678261309f565b613bc85760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610eca565b6000613bd383611b6d565b9050806001600160a01b0316846001600160a01b03161480613c0e5750836001600160a01b0316613c0384610fa0565b6001600160a01b0316145b80613a4a5750613a4a8185612dcc565b826001600160a01b0316613c3182611b6d565b6001600160a01b031614613c995760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610eca565b6001600160a01b038216613cfb5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610eca565b613d066000826130e9565b8160058281548110613d1a57613d1a614acc565b6000918252602082200180546001600160a01b0319166001600160a01b03938416179055604051839285811692908716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9190a4505050565b610edd828260405180602001604052806000815250613e95565b613d99848484613c1e565b613da584848484613ec8565b6119a55760405162461bcd60e51b8152600401610eca90614dd7565b600f5460ff16611d105760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606401610eca565b600f5460ff1615611d105760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610eca565b600081815b845181101561180357613e8182868381518110613e7457613e74614acc565b6020026020010151613fc9565b915080613e8d81614ae2565b915050613e55565b613e9f8383613ff5565b613eac6000848484613ec8565b6111385760405162461bcd60e51b8152600401610eca90614dd7565b60006001600160a01b0384163b15613fbe57604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290613f0c903390899088908890600401614e29565b6020604051808303816000875af1925050508015613f47575060408051601f3d908101601f19168201909252613f4491810190614e66565b60015b613fa4573d808015613f75576040519150601f19603f3d011682016040523d82523d6000602084013e613f7a565b606091505b508051600003613f9c5760405162461bcd60e51b8152600401610eca90614dd7565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050613a4a565b506001949350505050565b6000818310613fe5576000828152602084905260409020611a59565b5060009182526020526040902090565b6001600160a01b03821661404b5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610eca565b6140548161309f565b156140a15760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610eca565b6005805460018101825560009182527f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db00180546001600160a01b0319166001600160a01b0385169081179091556040518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6001600160e01b03198116811461124257600080fd5b60006020828403121561414557600080fd5b8135611a598161411d565b6001600160a01b038116811461124257600080fd5b80356001600160601b0381168114610f9b57600080fd5b6000806040838503121561418f57600080fd5b823561419a81614150565b91506141a860208401614165565b90509250929050565b6000602082840312156141c357600080fd5b8135611a5981614150565b60005b838110156141e95781810151838201526020016141d1565b50506000910152565b6000815180845261420a8160208601602086016141ce565b601f01601f19169290920160200192915050565b602081526000611a5960208301846141f2565b60006020828403121561424357600080fd5b5035919050565b6000806040838503121561425d57600080fd5b82359150602083013561426f81614150565b809150509250929050565b6000806040838503121561428d57600080fd5b823561429881614150565b946020939093013593505050565b6000806000606084860312156142bb57600080fd5b83356142c681614150565b925060208401356142d681614150565b929592945050506040919091013590565b600080604083850312156142fa57600080fd5b50508035926020909101359150565b6020808252825182820181905260009190848201906040850190845b8181101561434157835183529284019291840191600101614325565b50909695505050505050565b60008083601f84011261435f57600080fd5b5081356001600160401b0381111561437657600080fd5b6020830191508360208260051b850101111561133d57600080fd5b600080602083850312156143a457600080fd5b82356001600160401b038111156143ba57600080fd5b6143c68582860161434d565b90969095509350505050565b80358015158114610f9b57600080fd5b600080604083850312156143f557600080fd5b823561440081614150565b91506141a8602084016143d2565b60008060006040848603121561442357600080fd5b833561442e81614150565b925060208401356001600160401b0381111561444957600080fd5b6144558682870161434d565b9497909650939450505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b03811182821017156144a0576144a0614462565b604052919050565b60006001600160401b038211156144c1576144c1614462565b5060051b60200190565b600082601f8301126144dc57600080fd5b813560206144f16144ec836144a8565b614478565b82815260059290921b8401810191818101908684111561451057600080fd5b8286015b8481101561452b5780358352918301918301614514565b509695505050505050565b60006020828403121561454857600080fd5b81356001600160401b0381111561455e57600080fd5b613a4a848285016144cb565b60008060006060848603121561457f57600080fd5b83359250602084013561459181614150565b915061459f60408501614165565b90509250925092565b600080604083850312156145bb57600080fd5b8235915060208301356001600160401b038111156145d857600080fd5b6145e4858286016144cb565b9150509250929050565b60008060006040848603121561460357600080fd5b83356001600160401b0381111561461957600080fd5b6146258682870161434d565b909450925050602084013561463981614150565b809150509250925092565b6000806000806040858703121561465a57600080fd5b84356001600160401b038082111561467157600080fd5b61467d8883890161434d565b9096509450602087013591508082111561469657600080fd5b506146a38782880161434d565b95989497509550505050565b60008083601f8401126146c157600080fd5b5081356001600160401b038111156146d857600080fd5b60208301915083602082850101111561133d57600080fd5b6000806000806000806080878903121561470957600080fd5b863561471481614150565b9550602087013561472481614150565b945060408701356001600160401b038082111561474057600080fd5b61474c8a838b0161434d565b9096509450606089013591508082111561476557600080fd5b5061477289828a016146af565b979a9699509497509295939492505050565b6000806000806080858703121561479a57600080fd5b84356147a581614150565b93506020858101356147b681614150565b93506040860135925060608601356001600160401b03808211156147d957600080fd5b818801915088601f8301126147ed57600080fd5b8135818111156147ff576147ff614462565b614811601f8201601f19168501614478565b9150808252898482850101111561482757600080fd5b808484018584013760008482840101525080935050505092959194509250565b6000806040838503121561485a57600080fd5b823591506020808401356001600160401b0381111561487857600080fd5b8401601f8101861361488957600080fd5b80356148976144ec826144a8565b81815260059190911b820183019083810190888311156148b657600080fd5b928401925b828410156148dd5783356148ce81614150565b825292840192908401906148bb565b80955050505050509250929050565b6000806000806040858703121561490257600080fd5b84356001600160401b038082111561491957600080fd5b614925888389016146af565b9096509450602087013591508082111561493e57600080fd5b506146a3878288016146af565b6000806040838503121561495e57600080fd5b823561496981614150565b9150602083013561426f81614150565b60208082526010908201526f496e76616c69642064656c656761746560801b604082015260600190565b600181811c908216806149b757607f821691505b6020821081036149d757634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b81810381811115610e9557610e956149dd565b60208082526009908201526810b3bab0b93234b0b760b91b604082015260600190565b6020808252600f908201526e151bdad95b881a5cc81b1bd8dad959608a1b604082015260600190565b6020808252600c908201526b151bdad95b8808595e1a5cdd60a21b604082015260600190565b8082028115828204841417610e9557610e956149dd565b634e487b7160e01b600052601260045260246000fd5b600082614ab457614ab4614a8f565b500490565b80820180821115610e9557610e956149dd565b634e487b7160e01b600052603260045260246000fd5b600060018201614af457614af46149dd565b5060010190565b600060208284031215614b0d57600080fd5b8151611a5981614150565b600060208284031215614b2a57600080fd5b611a59826143d2565b60008154614b40816149a3565b60018281168015614b585760018114614b6d57614b9c565b60ff1984168752821515830287019450614b9c565b8560005260208060002060005b85811015614b935781548a820152908401908201614b7a565b50505082870194505b5050505092915050565b6000614bb28286614b33565b8451614bc28183602089016141ce565b614bce81830186614b33565b979650505050505050565b601f82111561113857600081815260208120601f850160051c81016020861015614c005750805b601f850160051c820191505b81811015614c1f57828155600101614c0c565b505050505050565b6001600160401b03831115614c3e57614c3e614462565b614c5283614c4c83546149a3565b83614bd9565b6000601f841160018114614c865760008515614c6e5750838201355b600019600387901b1c1916600186901b1783556126de565b600083815260209020601f19861690835b82811015614cb75786850135825560209485019460019092019101614c97565b5086821015614cd45760001960f88860031b161c19848701351681555b505060018560011b0183555050505050565b6020808252602a908201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646040820152692073616c65507269636560b01b606082015260800190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b602080825260119082015270043616e6e6f7420757064617465206d617607c1b604082015260600190565b600081614dbb57614dbb6149dd565b506000190190565b600082614dd257614dd2614a8f565b500690565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090614e5c908301846141f2565b9695505050505050565b600060208284031215614e7857600080fd5b8151611a598161411d56fea2646970667358221220dcd8cbd852936f8b0bed65738fe37664e90e04766f90dfb2a00e909d436be2b164736f6c63430008110033
Deployed Bytecode
0x6080604052600436106104315760003560e01c8063650b00f611610227578063ac1855c11161012d578063da059ba7116100b0578063e757c17d11610077578063e757c17d14610de4578063e985e9c514610dfa578063f2fde38b14610e1a578063f7f5326a14610e3a578063fc6576fd14610e5a57005b8063da059ba714610d41578063dab3900f14610d57578063db88125814610d77578063e250fd2314610d97578063e4b1451c14610db757005b8063b7c34a9c116100f4578063b7c34a9c14610ca1578063b88d4fde14610cc1578063c304555f14610ce1578063c87b56dd14610d01578063ca0581dc14610d2157005b8063ac1855c114610bfb578063ac52e64414610c1b578063af180f6a14610c3b578063b1a6505f14610c51578063b534a5c414610c8157005b8063943431bf116101b5578063a22cb4651161017c578063a22cb46514610b7d578063a5c280fd14610b9d578063a945bf8014610bb0578063aa1b103f14610bc6578063abaf1de914610bdb57005b8063943431bf14610ae857806394d216d614610b0857806395207ee114610b2857806395d89b4114610b48578063998af13114610b5d57005b806372abc8b7116101f957806372abc8b714610a2c578063771fd76614610a5a5780637cb6475914610a8a5780638a616bc014610aaa5780638da5cb5b14610aca57005b8063650b00f6146109aa5780636a87601a146109d757806370a08231146109f7578063715018a614610a1757005b80632db11544116103375780634a994eef116102ba5780635944c753116102815780635944c7531461090f5780635c975abb1461092f5780635f618d4514610947578063630bd94b146109745780636352211e1461098a57005b80634a994eef1461087a5780634c8fe5261461089a5780634d44660c146108af5780634f6ccce7146108cf57806351bbf8d8146108ef57005b806342842e0e116102fe57806342842e0e146107d857806343743570146107f8578063438b63001461081857806347028a5c14610845578063495906571461086557005b80632db115441461075a5780632f745c591461076d57806332cb6b0c1461078d5780633ccfd60b146107a357806340a9c8df146107b857005b806317881cbf116103bf5780632983c4b8116103865780632983c4b8146106645780632a55205a146106845780632b1eaf29146106c35780632cba8123146106e35780632d1836f81461072457005b806317881cbf146105d957806318160ddd146105ef5780631f76a7af1461060457806323b872dd146106245780632799cde01461064457005b8063077796271161040357806307779627146104ff578063081812fc1461051f57806309308e5d1461053f578063095ea7b3146105855780630b776690146105a557005b806301ffc9a71461043a57806304634d8d1461046f5780630633b14a1461048f57806306fdde03146104dd57005b3661043857005b005b34801561044657600080fd5b5061045a610455366004614133565b610e70565b60405190151581526020015b60405180910390f35b34801561047b57600080fd5b5061043861048a36600461417c565b610e9b565b34801561049b57600080fd5b506104c56104aa3660046141b1565b6010602052600090815260409020546001600160a01b031681565b6040516001600160a01b039091168152602001610466565b3480156104e957600080fd5b506104f2610ee1565b604051610466919061421e565b34801561050b57600080fd5b5061045a61051a3660046141b1565b610f73565b34801561052b57600080fd5b506104c561053a366004614231565b610fa0565b34801561054b57600080fd5b5061057761055a36600461424a565b600e60209081526000928352604080842090915290825290205481565b604051908152602001610466565b34801561059157600080fd5b506104386105a036600461427a565b611028565b3480156105b157600080fd5b506104c57f000000000000000000000000eb468abeba82637dd475bb09f4632846cf6e5c9781565b3480156105e557600080fd5b50610577601f5481565b3480156105fb57600080fd5b5061057761113d565b34801561061057600080fd5b5061043861061f3660046141b1565b611154565b34801561063057600080fd5b5061043861063f3660046142a6565b6111dd565b34801561065057600080fd5b5061043861065f366004614231565b611214565b34801561067057600080fd5b5061043861067f3660046141b1565b611245565b34801561069057600080fd5b506106a461069f3660046142e7565b611296565b604080516001600160a01b039093168352602083019190915201610466565b3480156106cf57600080fd5b506019546104c5906001600160a01b031681565b3480156106ef57600080fd5b506104c56106fe3660046142e7565b600d6020908152600092835260408084209091529082529020546001600160a01b031681565b34801561073057600080fd5b506104c561073f3660046141b1565b6011602052600090815260409020546001600160a01b031681565b610438610768366004614231565b611344565b34801561077957600080fd5b5061057761078836600461427a565b6114d2565b34801561079957600080fd5b5061057760125481565b3480156107af57600080fd5b5061043861159d565b3480156107c457600080fd5b506104386107d3366004614231565b6116b0565b3480156107e457600080fd5b506104386107f33660046142a6565b6116de565b34801561080457600080fd5b50610438610813366004614231565b611725565b34801561082457600080fd5b506108386108333660046141b1565b61176c565b6040516104669190614309565b34801561085157600080fd5b50610438610860366004614391565b61180b565b34801561087157600080fd5b50601c54610577565b34801561088657600080fd5b506104386108953660046143e2565b6119ab565b3480156108a657600080fd5b50600554610577565b3480156108bb57600080fd5b5061045a6108ca36600461440e565b6119de565b3480156108db57600080fd5b506105776108ea366004614231565b611a60565b3480156108fb57600080fd5b5061045a61090a366004614536565b611ad1565b34801561091b57600080fd5b5061043861092a36600461456a565b611b33565b34801561093b57600080fd5b50600f5460ff1661045a565b34801561095357600080fd5b506105776109623660046141b1565b601e6020526000908152604090205481565b34801561098057600080fd5b5061057760145481565b34801561099657600080fd5b506104c56109a5366004614231565b611b6d565b3480156109b657600080fd5b506105776109c5366004614231565b600c6020526000908152604090205481565b3480156109e357600080fd5b506104386109f23660046142e7565b611bf9565b348015610a0357600080fd5b50610577610a123660046141b1565b611c30565b348015610a2357600080fd5b50610438611cfe565b348015610a3857600080fd5b5061045a610a47366004614231565b6000908152600c60205260409020541590565b348015610a6657600080fd5b5061045a610a753660046141b1565b60086020526000908152604090205460ff1681565b348015610a9657600080fd5b50610438610aa5366004614231565b611d12565b348015610ab657600080fd5b50610438610ac5366004614231565b611d46565b348015610ad657600080fd5b506009546001600160a01b03166104c5565b348015610af457600080fd5b50610438610b03366004614231565b611d86565b348015610b1457600080fd5b50610438610b2336600461424a565b611dba565b348015610b3457600080fd5b50610438610b43366004614391565b611e18565b348015610b5457600080fd5b506104f2611fb2565b348015610b6957600080fd5b50610438610b78366004614231565b611fc1565b348015610b8957600080fd5b50610438610b983660046143e2565b612092565b610438610bab3660046145a8565b6121bf565b348015610bbc57600080fd5b5061057760135481565b348015610bd257600080fd5b50610438612388565b348015610be757600080fd5b50610438610bf63660046142e7565b6123c0565b348015610c0757600080fd5b50610438610c163660046145ee565b6123fa565b348015610c2757600080fd5b50610438610c36366004614644565b6126e5565b348015610c4757600080fd5b50610577601b5481565b348015610c5d57600080fd5b5061045a610c6c3660046141b1565b600b6020526000908152604090205460ff1681565b348015610c8d57600080fd5b50610438610c9c3660046146f0565b6127e4565b348015610cad57600080fd5b50610438610cbc366004614231565b612862565b348015610ccd57600080fd5b50610438610cdc366004614784565b612950565b348015610ced57600080fd5b50610438610cfc3660046141b1565b612988565b348015610d0d57600080fd5b506104f2610d1c366004614231565b612a97565b348015610d2d57600080fd5b50610438610d3c3660046142e7565b612b65565b348015610d4d57600080fd5b5061057760165481565b348015610d6357600080fd5b50610438610d723660046141b1565b612b9f565b348015610d8357600080fd5b50610438610d92366004614847565b612c6e565b348015610da357600080fd5b50610438610db23660046148ec565b612d82565b348015610dc357600080fd5b50610577610dd23660046141b1565b601d6020526000908152604090205481565b348015610df057600080fd5b5061057760155481565b348015610e0657600080fd5b5061045a610e1536600461494b565b612dcc565b348015610e2657600080fd5b50610438610e353660046141b1565b612e28565b348015610e4657600080fd5b50610438610e55366004614644565b612e5c565b348015610e6657600080fd5b50610577601a5481565b60006001600160e01b0319821663780e9d6360e01b1480610e955750610e9582612f4b565b92915050565b336000908152600a602052604090205460ff16610ed35760405162461bcd60e51b8152600401610eca90614979565b60405180910390fd5b610edd8282612f8b565b5050565b606060028054610ef0906149a3565b80601f0160208091040260200160405190810160405280929190818152602001828054610f1c906149a3565b8015610f695780601f10610f3e57610100808354040283529160200191610f69565b820191906000526020600020905b815481529060010190602001808311610f4c57829003601f168201915b5050505050905090565b6000610f7d613045565b506001600160a01b0381166000908152600a602052604090205460ff165b919050565b6000610fab8261309f565b61100c5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610eca565b506000908152600660205260409020546001600160a01b031690565b600061103382611b6d565b9050806001600160a01b0316836001600160a01b0316036110a05760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610eca565b336001600160a01b03821614806110bc57506110bc8133612dcc565b61112e5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610eca565b61113883836130e9565b505050565b60045460055460009161114f916149f3565b905090565b6001600160a01b0381811660009081526010602052604090205416331461118d5760405162461bcd60e51b8152600401610eca90614a06565b6001600160a01b03811660008181526010602052604080822080546001600160a01b03191690555133917f5b8f9622aeb5e504027e0bedd2e6ab42b294a529d87f5ef2ebf1dc0a1fe0f08191a350565b6000818152600c6020526040902054156112095760405162461bcd60e51b8152600401610eca90614a29565b6111388383836131c0565b61121d8161309f565b6112395760405162461bcd60e51b8152600401610eca90614a52565b611242816131f1565b50565b336000908152600a602052604090205460ff166112745760405162461bcd60e51b8152600401610eca90614979565b601980546001600160a01b0319166001600160a01b0392909216919091179055565b60008281526001602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b031692820192909252829161130b5750604080518082019091526000546001600160a01b0381168252600160a01b90046001600160601b031660208201525b60208101516000906127109061132a906001600160601b031687614a78565b6113349190614aa5565b91519350909150505b9250929050565b60135460018211156113605760145461135d9083614a78565b90505b601f546002148061138f575061138f335b6001600160a01b03166000908152600a602052604090205460ff1690565b6113db5760405162461bcd60e51b815260206004820152601c60248201527f5075626c6963206d696e74206973206e6f74206f70656e2079657421000000006044820152606401610eca565b8034146114265760405162461bcd60e51b815260206004820152601960248201527857726f6e6720616d6f756e74206f66204554482073656e742160381b6044820152606401610eca565b601a54336000908152601e6020526040902054611444908490614ab9565b11156114a35760405162461bcd60e51b815260206004820152602860248201527f596f752068617665206d696e746564206d617820647572696e67207075626c696044820152673190383430b9b29760c11b6064820152608401610eca565b336000908152601e6020526040812080548492906114c2908490614ab9565b90915550610edd90508233613331565b60008060005b60055481101561154057600581815481106114f5576114f5614acc565b6000918252602090912001546001600160a01b039081169086160361153057838203611524579150610e959050565b61152d82614ae2565b91505b61153981614ae2565b90506114d8565b5060405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610eca565b336000908152600a602052604090205460ff166115cc5760405162461bcd60e51b8152600401610eca90614979565b60195460405147916001600160a01b031690600090829084908381818185875af1925050503d806000811461161d576040519150601f19603f3d011682016040523d82523d6000602084013e611622565b606091505b50509050806116685760405162461bcd60e51b81526020600482015260126024820152715769746864726177616c206661696c65642160701b6044820152606401610eca565b816001600160a01b03167f7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5846040516116a391815260200190565b60405180910390a2505050565b6116b98161309f565b6116d55760405162461bcd60e51b8152600401610eca90614a52565b61124281613400565b6000818152600c60205260409020541561170a5760405162461bcd60e51b8152600401610eca90614a29565b611138838383604051806020016040528060008152506135a0565b336000908152600a602052604090205460ff166117545760405162461bcd60e51b8152600401610eca90614979565b80600003611764576112426135d2565b611242613624565b6060600061177983611c30565b90506000816001600160401b0381111561179557611795614462565b6040519080825280602002602001820160405280156117be578160200160208202803683370190505b50905060005b82811015611803576117d685826114d2565b8282815181106117e8576117e8614acc565b60209081029190910101526117fc81614ae2565b90506117c4565b509392505050565b6000805b828110156119a5577f000000000000000000000000eb468abeba82637dd475bb09f4632846cf6e5c976001600160a01b0316636352211e85858481811061185857611858614acc565b905060200201356040518263ffffffff1660e01b815260040161187d91815260200190565b602060405180830381865afa15801561189a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118be9190614afb565b6001600160a01b038082166000908152601060205260409020549193501633146118fa5760405162461bcd60e51b8152600401610eca90614a06565b7f000000000000000000000000eb468abeba82637dd475bb09f4632846cf6e5c976001600160a01b03166340a9c8df85858481811061193b5761193b614acc565b905060200201356040518263ffffffff1660e01b815260040161196091815260200190565b600060405180830381600087803b15801561197a57600080fd5b505af115801561198e573d6000803e3d6000fd5b50505050808061199d90614ae2565b91505061180f565b50505050565b6119b3613045565b6001600160a01b03919091166000908152600a60205260409020805460ff1916911515919091179055565b6000805b82811015611a5357846001600160a01b03166005858584818110611a0857611a08614acc565b9050602002013581548110611a1f57611a1f614acc565b6000918252602090912001546001600160a01b031614611a43576000915050611a59565b611a4c81614ae2565b90506119e2565b50600190505b9392505050565b6000611a6a61113d565b8210611acd5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610eca565b5090565b601c546000908103611ae557506000919050565b601c546040516bffffffffffffffffffffffff193360601b166020820152600091611a599160340160405160208183030381529060405280519060200120856136619092919063ffffffff16565b336000908152600a602052604090205460ff16611b625760405162461bcd60e51b8152600401610eca90614979565b611138838383613677565b60008060058381548110611b8357611b83614acc565b6000918252602090912001546001600160a01b0316905080610e955760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610eca565b336000908152600a602052604090205460ff16611c285760405162461bcd60e51b8152600401610eca90614979565b601a55601b55565b60006001600160a01b038216611c9b5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610eca565b6000805b600554811015611cf75760058181548110611cbc57611cbc614acc565b6000918252602090912001546001600160a01b0390811690851603611ce757611ce482614ae2565b91505b611cf081614ae2565b9050611c9f565b5092915050565b611d06613045565b611d106000613742565b565b336000908152600a602052604090205460ff16611d415760405162461bcd60e51b8152600401610eca90614979565b601c55565b336000908152600a602052604090205460ff16611d755760405162461bcd60e51b8152600401610eca90614979565b600090815260016020526040812055565b336000908152600a602052604090205460ff16611db55760405162461bcd60e51b8152600401610eca90614979565b601f55565b336000908152600a602052604090205460ff16611de95760405162461bcd60e51b8152600401610eca90614979565b611df28261309f565b611e0e5760405162461bcd60e51b8152600401610eca90614a52565b610edd8282613794565b6000805b828110156119a5577f000000000000000000000000eb468abeba82637dd475bb09f4632846cf6e5c976001600160a01b0316636352211e858584818110611e6557611e65614acc565b905060200201356040518263ffffffff1660e01b8152600401611e8a91815260200190565b602060405180830381865afa158015611ea7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ecb9190614afb565b6001600160a01b03808216600090815260106020526040902054919350163314611f075760405162461bcd60e51b8152600401610eca90614a06565b7f000000000000000000000000eb468abeba82637dd475bb09f4632846cf6e5c976001600160a01b0316632799cde0858584818110611f4857611f48614acc565b905060200201356040518263ffffffff1660e01b8152600401611f6d91815260200190565b600060405180830381600087803b158015611f8757600080fd5b505af1158015611f9b573d6000803e3d6000fd5b505050508080611faa90614ae2565b915050611e1c565b606060038054610ef0906149a3565b611fca8161309f565b611fe65760405162461bcd60e51b8152600401610eca90614a52565b6000818152600c60205260409020546120315760405162461bcd60e51b815260206004820152600d60248201526c151bdad95b88085b1bd8dad959609a1b6044820152606401610eca565b336000908152600b602052604090205460ff166120885760405162461bcd60e51b8152602060048201526015602482015274139bdd08185c1c1c9bdd99590818dbdb9d1c9858dd605a1b6044820152606401610eca565b61124233826130e9565b336001600160a01b038316036120ea5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610eca565b6001600160a01b03821660009081526008602052604090205460ff16156121535760405162461bcd60e51b815260206004820152601e60248201527f54686973206f7070657261746f7220697320626c61636b6c69737465642e00006044820152606401610eca565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b60155460018311156121db576016546121d89084614a78565b90505b601f54600114806121f057506121f033611371565b6122355760405162461bcd60e51b815260206004820152601660248201527528393296a9b0b6329036b4b73a103737ba1037b832b760511b6044820152606401610eca565b8034146122805760405162461bcd60e51b815260206004820152601960248201527857726f6e6720616d6f756e74206f66204554482073656e742160381b6044820152606401610eca565b601b54336000908152601d602052604090205461229e908590614ab9565b11156122f85760405162461bcd60e51b815260206004820152602360248201527f416c7265616479206d696e746564206d617820647572696e67207072652d736160448201526236329760e91b6064820152608401610eca565b61230182611ad1565b6123595760405162461bcd60e51b8152602060048201526024808201527f596f7520617265206e6f7420617574686f72697a656420666f72207072652d7360448201526330b6329760e11b6064820152608401610eca565b336000908152601d602052604081208054859290612378908490614ab9565b9091555061113890508333613331565b336000908152600a602052604090205460ff166123b75760405162461bcd60e51b8152600401610eca90614979565b611d1060008055565b336000908152600a602052604090205460ff166123ef5760405162461bcd60e51b8152600401610eca90614979565b601391909155601455565b6000805b838110156126de577f000000000000000000000000eb468abeba82637dd475bb09f4632846cf6e5c976001600160a01b0316636352211e86868481811061244757612447614acc565b905060200201356040518263ffffffff1660e01b815260040161246c91815260200190565b602060405180830381865afa158015612489573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124ad9190614afb565b6001600160a01b038082166000908152601060205260409020549193501633146124e95760405162461bcd60e51b8152600401610eca90614a06565b7f000000000000000000000000eb468abeba82637dd475bb09f4632846cf6e5c976001600160a01b031663998af13186868481811061252a5761252a614acc565b905060200201356040518263ffffffff1660e01b815260040161254f91815260200190565b600060405180830381600087803b15801561256957600080fd5b505af115801561257d573d6000803e3d6000fd5b505050507f000000000000000000000000eb468abeba82637dd475bb09f4632846cf6e5c976001600160a01b03166340a9c8df8686848181106125c2576125c2614acc565b905060200201356040518263ffffffff1660e01b81526004016125e791815260200190565b600060405180830381600087803b15801561260157600080fd5b505af1158015612615573d6000803e3d6000fd5b505050507f000000000000000000000000eb468abeba82637dd475bb09f4632846cf6e5c976001600160a01b03166342842e0e838588888681811061265c5761265c614acc565b6040516001600160e01b031960e088901b1681526001600160a01b03958616600482015294909316602485015250602090910201356044820152606401600060405180830381600087803b1580156126b357600080fd5b505af11580156126c7573d6000803e3d6000fd5b5050505080806126d690614ae2565b9150506123fe565b5050505050565b336000908152600a602052604090205460ff166127145760405162461bcd60e51b8152600401610eca90614979565b82811461274d5760405162461bcd60e51b8152602060048201526007602482015266042d8cadccee8d60cb1b6044820152606401610eca565b60005b838110156126de5782828281811061276a5761276a614acc565b905060200201602081019061277f9190614b18565b600b600087878581811061279557612795614acc565b90506020020160208101906127aa91906141b1565b6001600160a01b031681526020810191909152604001600020805460ff1916911515919091179055806127dc81614ae2565b915050612750565b60005b8381101561285957612849878787878581811061280657612806614acc565b9050602002013586868080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061295092505050565b61285281614ae2565b90506127e7565b50505050505050565b336000908152600a602052604090205460ff166128915760405162461bcd60e51b8152600401610eca90614979565b60125481106128e25760405162461bcd60e51b815260206004820152601a60248201527f43616e206f6e6c79207365742061206c6f7765722073697a652e0000000000006044820152606401610eca565b6128ea61113d565b81101561294b5760405162461bcd60e51b815260206004820152602960248201527f4e657720737570706c79206c6f776572207468616e2063757272656e7420746f60448201526874616c537570706c7960b81b6064820152608401610eca565b601255565b6000828152600c60205260409020541561297c5760405162461bcd60e51b8152600401610eca90614a29565b6119a5848484846135a0565b336000908152601060205260409020546001600160a01b0316156129dd5760405162461bcd60e51b815260206004820152600c60248201526b11dd585c991a585b881cd95d60a21b6044820152606401610eca565b6001600160a01b0381163303612a415760405162461bcd60e51b815260206004820152602360248201527f477561726469616e206d757374206265206120646966666572656e742077616c6044820152621b195d60ea1b6064820152608401610eca565b3360008181526011602052604080822080546001600160a01b0319166001600160a01b038616908117909155905190917f503d1e4f800a36ee58e59b969fc42121ae1ebf3d1a20b558d5248d879427522c91a350565b6060612aa28261309f565b612b065760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610eca565b600060178054612b15906149a3565b905011612b315760405180602001604052806000815250610e95565b6017612b3c8361394a565b6018604051602001612b5093929190614ba6565b60405160208183030381529060405292915050565b336000908152600a602052604090205460ff16612b945760405162461bcd60e51b8152600401610eca90614979565b601591909155601655565b6001600160a01b03818116600090815260116020526040902054163314612c085760405162461bcd60e51b815260206004820152601860248201527f4e6f74207468652070656e64696e6720677561726469616e00000000000000006044820152606401610eca565b6001600160a01b038116600081815260116020908152604080832080546001600160a01b031990811690915560109092528083208054339316831790555190917fc3ce29e3ab42e524b6f6f1b4d3674898d503ee3577a64ac87b555904ebc1413891a350565b336000908152600a602052604090205460ff16612c9d5760405162461bcd60e51b8152600401610eca90614979565b8051600103612ce85760005b8281101561113857612cd6600183600081518110612cc957612cc9614acc565b6020026020010151613331565b80612ce081614ae2565b915050612ca9565b80518214612d4d5760405162461bcd60e51b815260206004820152602c60248201527f4e756d626572206f6620726563697069656e747320646f65736e2774206d617460448201526b31b41038bab0b73a34ba3c9760a11b6064820152608401610eca565b60005b815181101561113857612d706001838381518110612cc957612cc9614acc565b80612d7a81614ae2565b915050612d50565b336000908152600a602052604090205460ff16612db15760405162461bcd60e51b8152600401610eca90614979565b6017612dbe848683614c27565b5060186126de828483614c27565b6001600160a01b03811660009081526008602052604081205460ff161515600103612df957506000610e95565b506001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b612e30613045565b6001600160a01b0381166000908152600a60205260409020805460ff1916600117905561124281613a52565b336000908152600a602052604090205460ff16612e8b5760405162461bcd60e51b8152600401610eca90614979565b828114612eda5760405162461bcd60e51b815260206004820181905260248201527f4e6220616464797320646f65736e2774206d61746368206e6220626f6f6c732e6044820152606401610eca565b60005b838110156126de57612f3b858583818110612efa57612efa614acc565b9050602002016020810190612f0f91906141b1565b848484818110612f2157612f21614acc565b9050602002016020810190612f369190614b18565b613ac8565b612f4481614ae2565b9050612edd565b60006001600160e01b031982166380ac58cd60e01b1480612f7c57506001600160e01b03198216635b5e139f60e01b145b80610e955750610e9582613b27565b6127106001600160601b0382161115612fb65760405162461bcd60e51b8152600401610eca90614ce6565b6001600160a01b03821661300c5760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c6964207265636569766572000000000000006044820152606401610eca565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600055565b6009546001600160a01b03163314611d105760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610eca565b60055460009082108015610e95575060006001600160a01b0316600583815481106130cc576130cc614acc565b6000918252602090912001546001600160a01b0316141592915050565b6001600160a01b03821660009081526008602052604090205460ff16156131525760405162461bcd60e51b815260206004820152601e60248201527f54686973206f7070657261746f7220697320626c61636b6c69737465642e00006044820152606401610eca565b600081815260066020526040902080546001600160a01b0319166001600160a01b038416908117909155819061318782611b6d565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6131ca3382613b5c565b6131e65760405162461bcd60e51b8152600401610eca90614d30565b611138838383613c1e565b336000908152600b602052604090205460ff166132205760405162461bcd60e51b8152600401610eca90614d81565b6000818152600e60209081526040808320338452909152902054156132875760405162461bcd60e51b815260206004820152601b60248201527f494420616c7265616479206c6f636b65642062792063616c6c657200000000006044820152606401610eca565b6000818152600c60205260408120546132a1906001614ab9565b6000838152600d60209081526040808320848452825280832080546001600160a01b03191633908117909155868452600e83528184209084528252808320849055858352600c90915281208054929350906132fb83614ae2565b9091555050604051339083907f9ecfd70e9ff36df72989324a49559383d39f9290d700b10cf5ac10dcb68d264390600090a35050565b600082116133785760405162461bcd60e51b815260206004820152601460248201527343616e2774206d696e74203020746f6b656e732160601b6044820152606401610eca565b60125461338361113d565b61338d9084614ab9565b11156133d15760405162461bcd60e51b81526020600482015260136024820152724d617820737570706c7920726561636865642160681b6044820152606401610eca565b60005b82811015611138576133ee826133e960055490565b613d74565b806133f881614ae2565b9150506133d4565b336000908152600b602052604090205460ff1661342f5760405162461bcd60e51b8152600401610eca90614d81565b6000818152600e60209081526040808320338452909152812054908190036134995760405162461bcd60e51b815260206004820152601760248201527f4944206e6f74206c6f636b65642062792063616c6c65720000000000000000006044820152606401610eca565b6000828152600c602052604090205481811461350f576000838152600d602090815260408083208484528252808320805486855282852080546001600160a01b03199081166001600160a01b03909316928317909155825416909155868452600e83528184209084529091529020829055613537565b6000838152600d60209081526040808320858452909152902080546001600160a01b03191690555b6000838152600e602090815260408083203384528252808320839055858352600c909152812080549161356983614dac565b9091555050604051339084907f0fe7d9801197f79ef3b1595d19379eb58f0fff5f98b0f6d6f34c03cae5306c3790600090a3505050565b6135aa3383613b5c565b6135c65760405162461bcd60e51b8152600401610eca90614d30565b6119a584848484613d8e565b6135da613dc1565b600f805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b61362c613e0a565b600f805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586136073390565b60008261366e8584613e50565b14949350505050565b6127106001600160601b03821611156136a25760405162461bcd60e51b8152600401610eca90614ce6565b6001600160a01b0382166136f85760405162461bcd60e51b815260206004820152601b60248201527f455243323938313a20496e76616c696420706172616d657465727300000000006044820152606401610eca565b6040805180820182526001600160a01b0393841681526001600160601b0392831660208083019182526000968752600190529190942093519051909116600160a01b029116179055565b600980546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0381166000908152600b602052604090205460ff16156137cd5760405162461bcd60e51b8152600401610eca90614d81565b6000828152600e602090815260408083206001600160a01b0385168452909152812054908190036138305760405162461bcd60e51b815260206004820152600d60248201526c1251081b9bdd081b1bd8dad959609a1b6044820152606401610eca565b6000838152600c60205260409020548181146138a6576000848152600d602090815260408083208484528252808320805486855282852080546001600160a01b03199081166001600160a01b03909316928317909155825416909155878452600e835281842090845290915290208290556138ce565b6000848152600d60209081526040808320858452909152902080546001600160a01b03191690555b6000848152600e602090815260408083206001600160a01b03871684528252808320839055868352600c909152812080549161390983614dac565b90915550506040516001600160a01b0384169085907f0fe7d9801197f79ef3b1595d19379eb58f0fff5f98b0f6d6f34c03cae5306c3790600090a350505050565b6060816000036139715750506040805180820190915260018152600360fc1b602082015290565b8160005b811561399b578061398581614ae2565b91506139949050600a83614aa5565b9150613975565b6000816001600160401b038111156139b5576139b5614462565b6040519080825280601f01601f1916602001820160405280156139df576020820181803683370190505b5090505b8415613a4a576139f46001836149f3565b9150613a01600a86614dc3565b613a0c906030614ab9565b60f81b818381518110613a2157613a21614acc565b60200101906001600160f81b031916908160001a905350613a43600a86614aa5565b94506139e3565b949350505050565b613a5a613045565b6001600160a01b038116613abf5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610eca565b61124281613742565b6001600160a01b038216600081815260086020908152604091829020805460ff191685151590811790915591519182527ff8c135050097fab433dee08c659e48cb9abde02b5aac510ce02e618b2569d168910160405180910390a25050565b60006001600160e01b0319821663152a902d60e11b1480610e9557506301ffc9a760e01b6001600160e01b0319831614610e95565b6000613b678261309f565b613bc85760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610eca565b6000613bd383611b6d565b9050806001600160a01b0316846001600160a01b03161480613c0e5750836001600160a01b0316613c0384610fa0565b6001600160a01b0316145b80613a4a5750613a4a8185612dcc565b826001600160a01b0316613c3182611b6d565b6001600160a01b031614613c995760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610eca565b6001600160a01b038216613cfb5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610eca565b613d066000826130e9565b8160058281548110613d1a57613d1a614acc565b6000918252602082200180546001600160a01b0319166001600160a01b03938416179055604051839285811692908716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9190a4505050565b610edd828260405180602001604052806000815250613e95565b613d99848484613c1e565b613da584848484613ec8565b6119a55760405162461bcd60e51b8152600401610eca90614dd7565b600f5460ff16611d105760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606401610eca565b600f5460ff1615611d105760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610eca565b600081815b845181101561180357613e8182868381518110613e7457613e74614acc565b6020026020010151613fc9565b915080613e8d81614ae2565b915050613e55565b613e9f8383613ff5565b613eac6000848484613ec8565b6111385760405162461bcd60e51b8152600401610eca90614dd7565b60006001600160a01b0384163b15613fbe57604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290613f0c903390899088908890600401614e29565b6020604051808303816000875af1925050508015613f47575060408051601f3d908101601f19168201909252613f4491810190614e66565b60015b613fa4573d808015613f75576040519150601f19603f3d011682016040523d82523d6000602084013e613f7a565b606091505b508051600003613f9c5760405162461bcd60e51b8152600401610eca90614dd7565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050613a4a565b506001949350505050565b6000818310613fe5576000828152602084905260409020611a59565b5060009182526020526040902090565b6001600160a01b03821661404b5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610eca565b6140548161309f565b156140a15760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610eca565b6005805460018101825560009182527f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db00180546001600160a01b0319166001600160a01b0385169081179091556040518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6001600160e01b03198116811461124257600080fd5b60006020828403121561414557600080fd5b8135611a598161411d565b6001600160a01b038116811461124257600080fd5b80356001600160601b0381168114610f9b57600080fd5b6000806040838503121561418f57600080fd5b823561419a81614150565b91506141a860208401614165565b90509250929050565b6000602082840312156141c357600080fd5b8135611a5981614150565b60005b838110156141e95781810151838201526020016141d1565b50506000910152565b6000815180845261420a8160208601602086016141ce565b601f01601f19169290920160200192915050565b602081526000611a5960208301846141f2565b60006020828403121561424357600080fd5b5035919050565b6000806040838503121561425d57600080fd5b82359150602083013561426f81614150565b809150509250929050565b6000806040838503121561428d57600080fd5b823561429881614150565b946020939093013593505050565b6000806000606084860312156142bb57600080fd5b83356142c681614150565b925060208401356142d681614150565b929592945050506040919091013590565b600080604083850312156142fa57600080fd5b50508035926020909101359150565b6020808252825182820181905260009190848201906040850190845b8181101561434157835183529284019291840191600101614325565b50909695505050505050565b60008083601f84011261435f57600080fd5b5081356001600160401b0381111561437657600080fd5b6020830191508360208260051b850101111561133d57600080fd5b600080602083850312156143a457600080fd5b82356001600160401b038111156143ba57600080fd5b6143c68582860161434d565b90969095509350505050565b80358015158114610f9b57600080fd5b600080604083850312156143f557600080fd5b823561440081614150565b91506141a8602084016143d2565b60008060006040848603121561442357600080fd5b833561442e81614150565b925060208401356001600160401b0381111561444957600080fd5b6144558682870161434d565b9497909650939450505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b03811182821017156144a0576144a0614462565b604052919050565b60006001600160401b038211156144c1576144c1614462565b5060051b60200190565b600082601f8301126144dc57600080fd5b813560206144f16144ec836144a8565b614478565b82815260059290921b8401810191818101908684111561451057600080fd5b8286015b8481101561452b5780358352918301918301614514565b509695505050505050565b60006020828403121561454857600080fd5b81356001600160401b0381111561455e57600080fd5b613a4a848285016144cb565b60008060006060848603121561457f57600080fd5b83359250602084013561459181614150565b915061459f60408501614165565b90509250925092565b600080604083850312156145bb57600080fd5b8235915060208301356001600160401b038111156145d857600080fd5b6145e4858286016144cb565b9150509250929050565b60008060006040848603121561460357600080fd5b83356001600160401b0381111561461957600080fd5b6146258682870161434d565b909450925050602084013561463981614150565b809150509250925092565b6000806000806040858703121561465a57600080fd5b84356001600160401b038082111561467157600080fd5b61467d8883890161434d565b9096509450602087013591508082111561469657600080fd5b506146a38782880161434d565b95989497509550505050565b60008083601f8401126146c157600080fd5b5081356001600160401b038111156146d857600080fd5b60208301915083602082850101111561133d57600080fd5b6000806000806000806080878903121561470957600080fd5b863561471481614150565b9550602087013561472481614150565b945060408701356001600160401b038082111561474057600080fd5b61474c8a838b0161434d565b9096509450606089013591508082111561476557600080fd5b5061477289828a016146af565b979a9699509497509295939492505050565b6000806000806080858703121561479a57600080fd5b84356147a581614150565b93506020858101356147b681614150565b93506040860135925060608601356001600160401b03808211156147d957600080fd5b818801915088601f8301126147ed57600080fd5b8135818111156147ff576147ff614462565b614811601f8201601f19168501614478565b9150808252898482850101111561482757600080fd5b808484018584013760008482840101525080935050505092959194509250565b6000806040838503121561485a57600080fd5b823591506020808401356001600160401b0381111561487857600080fd5b8401601f8101861361488957600080fd5b80356148976144ec826144a8565b81815260059190911b820183019083810190888311156148b657600080fd5b928401925b828410156148dd5783356148ce81614150565b825292840192908401906148bb565b80955050505050509250929050565b6000806000806040858703121561490257600080fd5b84356001600160401b038082111561491957600080fd5b614925888389016146af565b9096509450602087013591508082111561493e57600080fd5b506146a3878288016146af565b6000806040838503121561495e57600080fd5b823561496981614150565b9150602083013561426f81614150565b60208082526010908201526f496e76616c69642064656c656761746560801b604082015260600190565b600181811c908216806149b757607f821691505b6020821081036149d757634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b81810381811115610e9557610e956149dd565b60208082526009908201526810b3bab0b93234b0b760b91b604082015260600190565b6020808252600f908201526e151bdad95b881a5cc81b1bd8dad959608a1b604082015260600190565b6020808252600c908201526b151bdad95b8808595e1a5cdd60a21b604082015260600190565b8082028115828204841417610e9557610e956149dd565b634e487b7160e01b600052601260045260246000fd5b600082614ab457614ab4614a8f565b500490565b80820180821115610e9557610e956149dd565b634e487b7160e01b600052603260045260246000fd5b600060018201614af457614af46149dd565b5060010190565b600060208284031215614b0d57600080fd5b8151611a5981614150565b600060208284031215614b2a57600080fd5b611a59826143d2565b60008154614b40816149a3565b60018281168015614b585760018114614b6d57614b9c565b60ff1984168752821515830287019450614b9c565b8560005260208060002060005b85811015614b935781548a820152908401908201614b7a565b50505082870194505b5050505092915050565b6000614bb28286614b33565b8451614bc28183602089016141ce565b614bce81830186614b33565b979650505050505050565b601f82111561113857600081815260208120601f850160051c81016020861015614c005750805b601f850160051c820191505b81811015614c1f57828155600101614c0c565b505050505050565b6001600160401b03831115614c3e57614c3e614462565b614c5283614c4c83546149a3565b83614bd9565b6000601f841160018114614c865760008515614c6e5750838201355b600019600387901b1c1916600186901b1783556126de565b600083815260209020601f19861690835b82811015614cb75786850135825560209485019460019092019101614c97565b5086821015614cd45760001960f88860031b161c19848701351681555b505060018560011b0183555050505050565b6020808252602a908201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646040820152692073616c65507269636560b01b606082015260800190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b602080825260119082015270043616e6e6f7420757064617465206d617607c1b604082015260600190565b600081614dbb57614dbb6149dd565b506000190190565b600082614dd257614dd2614a8f565b500690565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090614e5c908301846141f2565b9695505050505050565b600060208284031215614e7857600080fd5b8151611a598161411d56fea2646970667358221220dcd8cbd852936f8b0bed65738fe37664e90e04766f90dfb2a00e909d436be2b164736f6c63430008110033
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.