Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
NFT
Overview
Max Total Supply
200 DREAMEXE
Holders
89
Market
Volume (24H)
0.0199 ETH
Min Price (24H)
$72.85 @ 0.019900 ETH
Max Price (24H)
$72.85 @ 0.019900 ETH
Other Info
Token Contract
Balance
1 DREAMEXELoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
DreamExe
Compiler Version
v0.8.17+commit.8df45f5f
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT // base64.tech pragma solidity ^0.8.13; import "./solmate/ERC721.sol"; import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/security/Pausable.sol"; import "operator-filter-registry/src/DefaultOperatorFilterer.sol"; import "./Base64.sol"; /* ██▄ █▄▄▄▄ ▄███▄ ██ █▀▄▀█ ▄███▄ ▄ ▄███▄ █ █ █ ▄▀ █▀ ▀ █ █ █ █ █ █▀ ▀ ▀▄ █ █▀ ▀ █ █ █▀▀▌ ██▄▄ █▄▄█ █ ▄ █ ██▄▄ █ ▀ ██▄▄ █ █ █ █ █▄ ▄▀ █ █ █ █ █▄ ▄▀ ▄ █ █▄ ▄▀ ███▀ █ ▀███▀ █ █ █ ▀███▀ █ ▀▄ ▀███▀ ▀ █ ▀ ▀ ▀ */ contract DreamExe is DefaultOperatorFilterer, ERC721, Ownable, Pausable { using ECDSA for bytes32; using Strings for uint256; uint256 public constant MAX_SUPPLY = 200; uint256 public constant TOKEN_PRICE = .035 ether; uint256 public constant MAX_PER_WALLET = 2; bytes32 public provenanceHash; IDreamsExeMetadata public metadataAddress; address signatureVerifier; uint256 public totalSupply; struct Ordinal { uint256 inscriptionNum; string inscriptionId; } mapping(uint256 => address) public allowList; mapping(uint256 => uint256) public tokenIdToInscriptionNum; mapping(uint256 => string) public tokenIdToInscriptionId; mapping(uint256 => bool) public inscriptionNumMinted; mapping(string => bool) public inscriptionIdMinted; mapping(address => uint256) public addressToNumMinted; constructor() { __ERC721_init("DreamExe", "DREAMEXE"); _pause(); } modifier hasValidSignature(bytes memory _signature, bytes memory message) { bytes32 messageHash = ECDSA.toEthSignedMessageHash(keccak256(message)); if(messageHash.recover(_signature) != signatureVerifier) revert UnrecognizableHash(); _; } function mint(bytes memory _signature, Ordinal memory _ordinal) public whenNotPaused payable hasValidSignature(_signature, abi.encodePacked(msg.sender, _ordinal.inscriptionNum, _ordinal.inscriptionId)) { if(msg.value < TOKEN_PRICE) revert NotEnoughEthSent(); if(inscriptionNumMinted[_ordinal.inscriptionNum]) revert InscriptionNumAlreadyMinted(); if(inscriptionIdMinted[_ordinal.inscriptionId]) revert InscriptionIdAlreadyMinted(); if(addressToNumMinted[msg.sender] + 1 > MAX_PER_WALLET) revert MaxTokensPerWalletAlreadyMinted(); if(totalSupply + 1 > MAX_SUPPLY ) revert ExceedsMaxSupply(); tokenIdToInscriptionNum[totalSupply] = _ordinal.inscriptionNum; tokenIdToInscriptionId[totalSupply] = _ordinal.inscriptionId; inscriptionNumMinted[_ordinal.inscriptionNum] = true; inscriptionIdMinted[_ordinal.inscriptionId] = true; _mint(msg.sender, totalSupply); addressToNumMinted[msg.sender]++; totalSupply++; } function tokenURI(uint256 _tokenId) public view virtual override returns (string memory) { if (_tokenId >= totalSupply) revert ("URIQueryForNonexistentToken"); return metadataAddress.getMetadata(_tokenId, tokenIdToInscriptionNum[_tokenId], tokenIdToInscriptionId[_tokenId]); } function getAllInscriptionNumMinted() public view returns(uint256[] memory) { uint256[] memory allInscriptionNumMinted = new uint256[](totalSupply); for (uint256 i; i < totalSupply; i++) { allInscriptionNumMinted[i] = tokenIdToInscriptionNum[i]; } return allInscriptionNumMinted; } function getAllInscriptionIdMinted() public view returns(string[] memory) { string[] memory allInscriptionIdMinted = new string[](totalSupply); for (uint256 i; i < totalSupply; i++) { allInscriptionIdMinted[i] = tokenIdToInscriptionId[i]; } return allInscriptionIdMinted; } /** Override for operator filter registy */ function setApprovalForAll(address operator, bool approved) public override onlyAllowedOperatorApproval(operator) { super.setApprovalForAll(operator, approved); } function approve(address operator, uint256 tokenId) public override onlyAllowedOperatorApproval(operator) { super.approve(operator, tokenId); } function transferFrom(address from, address to, uint256 tokenId) public override onlyAllowedOperator(from) { super.transferFrom(from, to, tokenId); } function safeTransferFrom(address from, address to, uint256 tokenId) public override onlyAllowedOperator(from) { super.safeTransferFrom(from, to, tokenId); } function safeTransferFrom(address from, address to, uint256 id, bytes calldata data) public override onlyAllowedOperator(from) { super.safeTransferFrom(from, to, id, data); } /*** Owner functions ***/ function ownerMintToAddress(address _recipient, uint256 _numTokens) external onlyOwner { if(totalSupply + _numTokens > MAX_SUPPLY ) revert ExceedsMaxSupply(); for(uint256 i; i < _numTokens; i++) { _mint(_recipient, totalSupply); totalSupply++; } } function setInscriptionNumToTokenId(uint256 _inscriptionNum, uint256 _tokenId) external onlyOwner { if(tokenIdToInscriptionNum[_tokenId] != 0) revert CantSetIfMappingAlreadyExists(); tokenIdToInscriptionNum[_tokenId] = _inscriptionNum; } function setInscriptionIdToTokenId(string memory _inscriptionId, uint256 _tokenId) external onlyOwner { if(bytes(tokenIdToInscriptionId[_tokenId]).length != 0) revert CantSetIfMappingAlreadyExists(); tokenIdToInscriptionId[_tokenId] = _inscriptionId; } function setMetadataAddress(address _address) external onlyOwner { metadataAddress = IDreamsExeMetadata(_address); } function setSignatureVerifier(address _signatureVerifier) external onlyOwner { signatureVerifier = _signatureVerifier; } function withdrawFunds() external onlyOwner { (bool success, ) = msg.sender.call{value: address(this).balance}(""); require(success, "Transfer failed."); } function withdrawFundsToAddress(address _address, uint256 amount) external onlyOwner { (bool success, ) =_address.call{value: amount}(""); require(success, "Transfer failed."); } function setProvenanceHash(bytes32 _provenanceHash) external onlyOwner { provenanceHash = _provenanceHash; } function pause() external onlyOwner { _pause(); } function unpause() external onlyOwner { _unpause(); } } interface IDreamsExeMetadata{ function getMetadata(uint256 _tokenId, uint256 inscriptionNum, string memory _inscriptionId) external view returns (string memory); } error ExceedsMaxSupply(); error UnrecognizableHash(); error InscriptionNumAlreadyMinted(); error CantSetIfMappingAlreadyExists(); error InscriptionIdAlreadyMinted(); error NotEnoughEthSent(); error MaxTokensPerWalletAlreadyMinted();
// 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.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 v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (utils/cryptography/ECDSA.sol) pragma solidity ^0.8.0; import "../Strings.sol"; /** * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations. * * These functions can be used to verify that a message was signed by the holder * of the private keys of a given address. */ library ECDSA { enum RecoverError { NoError, InvalidSignature, InvalidSignatureLength, InvalidSignatureS, InvalidSignatureV // Deprecated in v4.8 } function _throwError(RecoverError error) private pure { if (error == RecoverError.NoError) { return; // no error: do nothing } else if (error == RecoverError.InvalidSignature) { revert("ECDSA: invalid signature"); } else if (error == RecoverError.InvalidSignatureLength) { revert("ECDSA: invalid signature length"); } else if (error == RecoverError.InvalidSignatureS) { revert("ECDSA: invalid signature 's' value"); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature` or error string. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. * * Documentation for signature generation: * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js] * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers] * * _Available since v4.3._ */ function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) { if (signature.length == 65) { bytes32 r; bytes32 s; uint8 v; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. /// @solidity memory-safe-assembly assembly { r := mload(add(signature, 0x20)) s := mload(add(signature, 0x40)) v := byte(0, mload(add(signature, 0x60))) } return tryRecover(hash, v, r, s); } else { return (address(0), RecoverError.InvalidSignatureLength); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature`. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. */ function recover(bytes32 hash, bytes memory signature) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, signature); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately. * * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures] * * _Available since v4.3._ */ function tryRecover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address, RecoverError) { bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff); uint8 v = uint8((uint256(vs) >> 255) + 27); return tryRecover(hash, v, r, s); } /** * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately. * * _Available since v4.2._ */ function recover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, r, vs); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `v`, * `r` and `s` signature fields separately. * * _Available since v4.3._ */ function tryRecover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address, RecoverError) { // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most // signatures from current libraries generate a unique signature with an s-value in the lower half order. // // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept // these malleable signatures as well. if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) { return (address(0), RecoverError.InvalidSignatureS); } // If the signature is valid (and not malleable), return the signer address address signer = ecrecover(hash, v, r, s); if (signer == address(0)) { return (address(0), RecoverError.InvalidSignature); } return (signer, RecoverError.NoError); } /** * @dev Overload of {ECDSA-recover} that receives the `v`, * `r` and `s` signature fields separately. */ function recover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, v, r, s); _throwError(error); return recovered; } /** * @dev Returns an Ethereum Signed Message, created from a `hash`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) { // 32 is the length in bytes of hash, // enforced by the type signature above return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash)); } /** * @dev Returns an Ethereum Signed Message, created from `s`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s)); } /** * @dev Returns an Ethereum Signed Typed Data, created from a * `domainSeparator` and a `structHash`. This produces hash corresponding * to the one signed with the * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`] * JSON-RPC method as part of EIP-712. * * See {recover}. */ function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash)); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (utils/math/Math.sol) pragma solidity ^0.8.0; /** * @dev Standard math utilities missing in the Solidity language. */ library Math { enum Rounding { Down, // Toward negative infinity Up, // Toward infinity Zero // Toward zero } /** * @dev Returns the largest of two numbers. */ function max(uint256 a, uint256 b) internal pure returns (uint256) { return a > b ? a : b; } /** * @dev Returns the smallest of two numbers. */ function min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } /** * @dev Returns the average of two numbers. The result is rounded towards * zero. */ function average(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b) / 2 can overflow. return (a & b) + (a ^ b) / 2; } /** * @dev Returns the ceiling of the division of two numbers. * * This differs from standard division with `/` in that it rounds up instead * of rounding down. */ function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b - 1) / b can overflow on addition, so we distribute. return a == 0 ? 0 : (a - 1) / b + 1; } /** * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0 * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv) * with further edits by Uniswap Labs also under MIT license. */ function mulDiv( uint256 x, uint256 y, uint256 denominator ) internal pure returns (uint256 result) { unchecked { // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256 // variables such that product = prod1 * 2^256 + prod0. uint256 prod0; // Least significant 256 bits of the product uint256 prod1; // Most significant 256 bits of the product assembly { let mm := mulmod(x, y, not(0)) prod0 := mul(x, y) prod1 := sub(sub(mm, prod0), lt(mm, prod0)) } // Handle non-overflow cases, 256 by 256 division. if (prod1 == 0) { return prod0 / denominator; } // Make sure the result is less than 2^256. Also prevents denominator == 0. require(denominator > prod1); /////////////////////////////////////////////// // 512 by 256 division. /////////////////////////////////////////////// // Make division exact by subtracting the remainder from [prod1 prod0]. uint256 remainder; assembly { // Compute remainder using mulmod. remainder := mulmod(x, y, denominator) // Subtract 256 bit number from 512 bit number. prod1 := sub(prod1, gt(remainder, prod0)) prod0 := sub(prod0, remainder) } // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1. // See https://cs.stackexchange.com/q/138556/92363. // Does not overflow because the denominator cannot be zero at this stage in the function. uint256 twos = denominator & (~denominator + 1); assembly { // Divide denominator by twos. denominator := div(denominator, twos) // Divide [prod1 prod0] by twos. prod0 := div(prod0, twos) // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one. twos := add(div(sub(0, twos), twos), 1) } // Shift in bits from prod1 into prod0. prod0 |= prod1 * twos; // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for // four bits. That is, denominator * inv = 1 mod 2^4. uint256 inverse = (3 * denominator) ^ 2; // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works // in modular arithmetic, doubling the correct bits in each step. inverse *= 2 - denominator * inverse; // inverse mod 2^8 inverse *= 2 - denominator * inverse; // inverse mod 2^16 inverse *= 2 - denominator * inverse; // inverse mod 2^32 inverse *= 2 - denominator * inverse; // inverse mod 2^64 inverse *= 2 - denominator * inverse; // inverse mod 2^128 inverse *= 2 - denominator * inverse; // inverse mod 2^256 // Because the division is now exact we can divide by multiplying with the modular inverse of denominator. // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1 // is no longer required. result = prod0 * inverse; return result; } } /** * @notice Calculates x * y / denominator with full precision, following the selected rounding direction. */ function mulDiv( uint256 x, uint256 y, uint256 denominator, Rounding rounding ) internal pure returns (uint256) { uint256 result = mulDiv(x, y, denominator); if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) { result += 1; } return result; } /** * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down. * * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11). */ function sqrt(uint256 a) internal pure returns (uint256) { if (a == 0) { return 0; } // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target. // // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`. // // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)` // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))` // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)` // // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit. uint256 result = 1 << (log2(a) >> 1); // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128, // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision // into the expected uint128 result. unchecked { result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; return min(result, a / result); } } /** * @notice Calculates sqrt(a), following the selected rounding direction. */ function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = sqrt(a); return result + (rounding == Rounding.Up && result * result < a ? 1 : 0); } } /** * @dev Return the log in base 2, rounded down, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 128; } if (value >> 64 > 0) { value >>= 64; result += 64; } if (value >> 32 > 0) { value >>= 32; result += 32; } if (value >> 16 > 0) { value >>= 16; result += 16; } if (value >> 8 > 0) { value >>= 8; result += 8; } if (value >> 4 > 0) { value >>= 4; result += 4; } if (value >> 2 > 0) { value >>= 2; result += 2; } if (value >> 1 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 2, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log2(value); return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0); } } /** * @dev Return the log in base 10, rounded down, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >= 10**64) { value /= 10**64; result += 64; } if (value >= 10**32) { value /= 10**32; result += 32; } if (value >= 10**16) { value /= 10**16; result += 16; } if (value >= 10**8) { value /= 10**8; result += 8; } if (value >= 10**4) { value /= 10**4; result += 4; } if (value >= 10**2) { value /= 10**2; result += 2; } if (value >= 10**1) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log10(value); return result + (rounding == Rounding.Up && 10**result < value ? 1 : 0); } } /** * @dev Return the log in base 256, rounded down, of a positive value. * Returns 0 if given 0. * * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string. */ function log256(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 16; } if (value >> 64 > 0) { value >>= 64; result += 8; } if (value >> 32 > 0) { value >>= 32; result += 4; } if (value >> 16 > 0) { value >>= 16; result += 2; } if (value >> 8 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log256(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log256(value); return result + (rounding == Rounding.Up && 1 << (result * 8) < value ? 1 : 0); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (utils/Strings.sol) pragma solidity ^0.8.0; import "./math/Math.sol"; /** * @dev String operations. */ library Strings { bytes16 private constant _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) { unchecked { uint256 length = Math.log10(value) + 1; string memory buffer = new string(length); uint256 ptr; /// @solidity memory-safe-assembly assembly { ptr := add(buffer, add(32, length)) } while (true) { ptr--; /// @solidity memory-safe-assembly assembly { mstore8(ptr, byte(mod(value, 10), _SYMBOLS)) } value /= 10; if (value == 0) break; } return buffer; } } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { unchecked { return toHexString(value, Math.log256(value) + 1); } } /** * @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] = _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 pragma solidity ^0.8.13; library Base64 { bytes internal constant TABLE = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; /// @notice Encodes some bytes to the base64 representation function encode(bytes memory data) internal pure returns (string memory) { uint256 len = data.length; if (len == 0) return ""; // multiply by 4/3 rounded up uint256 encodedLen = 4 * ((len + 2) / 3); // Add some extra buffer at the end bytes memory result = new bytes(encodedLen + 32); bytes memory table = TABLE; assembly { let tablePtr := add(table, 1) let resultPtr := add(result, 32) for { let i := 0 } lt(i, len) { } { i := add(i, 3) let input := and(mload(add(data, i)), 0xffffff) let out := mload(add(tablePtr, and(shr(18, input), 0x3F))) out := shl(8, out) out := add( out, and(mload(add(tablePtr, and(shr(12, input), 0x3F))), 0xFF) ) out := shl(8, out) out := add( out, and(mload(add(tablePtr, and(shr(6, input), 0x3F))), 0xFF) ) out := shl(8, out) out := add( out, and(mload(add(tablePtr, and(input, 0x3F))), 0xFF) ) out := shl(224, out) mstore(resultPtr, out) resultPtr := add(resultPtr, 4) } switch mod(len, 3) case 1 { mstore(sub(resultPtr, 2), shl(240, 0x3d3d)) } case 2 { mstore(sub(resultPtr, 1), shl(248, 0x3d)) } mstore(result, encodedLen) } return string(result); } }
// SPDX-License-Identifier: AGPL-3.0-only pragma solidity >=0.8.0; /// @notice Modern, minimalist, and gas efficient ERC-721 implementation. /// @author Solmate (https://github.com/transmissions11/solmate/blob/main/src/tokens/ERC721.sol) abstract contract ERC721 { /*////////////////////////////////////////////////////////////// EVENTS //////////////////////////////////////////////////////////////*/ event Transfer(address indexed from, address indexed to, uint256 indexed id); event Approval(address indexed owner, address indexed spender, uint256 indexed id); event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /*////////////////////////////////////////////////////////////// METADATA STORAGE/LOGIC //////////////////////////////////////////////////////////////*/ string public name; string public symbol; function tokenURI(uint256 id) public view virtual returns (string memory); /*////////////////////////////////////////////////////////////// ERC721 BALANCE/OWNER STORAGE //////////////////////////////////////////////////////////////*/ mapping(uint256 => address) internal _ownerOf; mapping(address => uint256) internal _balanceOf; function ownerOf(uint256 id) public view virtual returns (address owner) { require((owner = _ownerOf[id]) != address(0), "NOT_MINTED"); } function balanceOf(address owner) public view virtual returns (uint256) { require(owner != address(0), "ZERO_ADDRESS"); return _balanceOf[owner]; } /*////////////////////////////////////////////////////////////// ERC721 APPROVAL STORAGE //////////////////////////////////////////////////////////////*/ mapping(uint256 => address) public getApproved; mapping(address => mapping(address => bool)) public isApprovedForAll; /*////////////////////////////////////////////////////////////// INITALIZE //////////////////////////////////////////////////////////////*/ function __ERC721_init(string memory _name, string memory _symbol) public { name = _name; symbol = _symbol; } /*////////////////////////////////////////////////////////////// ERC721 LOGIC //////////////////////////////////////////////////////////////*/ function approve(address spender, uint256 id) public virtual { address owner = _ownerOf[id]; require(msg.sender == owner || isApprovedForAll[owner][msg.sender], "NOT_AUTHORIZED"); getApproved[id] = spender; emit Approval(owner, spender, id); } function setApprovalForAll(address operator, bool approved) public virtual { isApprovedForAll[msg.sender][operator] = approved; emit ApprovalForAll(msg.sender, operator, approved); } function transferFrom( address from, address to, uint256 id ) public virtual { require(from == _ownerOf[id], "WRONG_FROM"); require(to != address(0), "INVALID_RECIPIENT"); require( msg.sender == from || isApprovedForAll[from][msg.sender] || msg.sender == getApproved[id], "NOT_AUTHORIZED" ); // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. unchecked { _balanceOf[from]--; _balanceOf[to]++; } _ownerOf[id] = to; delete getApproved[id]; emit Transfer(from, to, id); } function safeTransferFrom( address from, address to, uint256 id ) public virtual { transferFrom(from, to, id); require( to.code.length == 0 || ERC721TokenReceiver(to).onERC721Received(msg.sender, from, id, "") == ERC721TokenReceiver.onERC721Received.selector, "UNSAFE_RECIPIENT" ); } function safeTransferFrom( address from, address to, uint256 id, bytes calldata data ) public virtual { transferFrom(from, to, id); require( to.code.length == 0 || ERC721TokenReceiver(to).onERC721Received(msg.sender, from, id, data) == ERC721TokenReceiver.onERC721Received.selector, "UNSAFE_RECIPIENT" ); } /*////////////////////////////////////////////////////////////// ERC165 LOGIC //////////////////////////////////////////////////////////////*/ function supportsInterface(bytes4 interfaceId) public view virtual returns (bool) { return interfaceId == 0x01ffc9a7 || // ERC165 Interface ID for ERC165 interfaceId == 0x80ac58cd || // ERC165 Interface ID for ERC721 interfaceId == 0x5b5e139f; // ERC165 Interface ID for ERC721Metadata } /*////////////////////////////////////////////////////////////// INTERNAL MINT/BURN LOGIC //////////////////////////////////////////////////////////////*/ function _mint(address to, uint256 id) internal virtual { require(to != address(0), "INVALID_RECIPIENT"); require(_ownerOf[id] == address(0), "ALREADY_MINTED"); // Counter overflow is incredibly unrealistic. unchecked { _balanceOf[to]++; } _ownerOf[id] = to; emit Transfer(address(0), to, id); } function _burn(uint256 id) internal virtual { address owner = _ownerOf[id]; require(owner != address(0), "NOT_MINTED"); // Ownership check above ensures no underflow. unchecked { _balanceOf[owner]--; } delete _ownerOf[id]; delete getApproved[id]; emit Transfer(owner, address(0), id); } /*////////////////////////////////////////////////////////////// INTERNAL SAFE MINT LOGIC //////////////////////////////////////////////////////////////*/ function _safeMint(address to, uint256 id) internal virtual { _mint(to, id); require( to.code.length == 0 || ERC721TokenReceiver(to).onERC721Received(msg.sender, address(0), id, "") == ERC721TokenReceiver.onERC721Received.selector, "UNSAFE_RECIPIENT" ); } function _safeMint( address to, uint256 id, bytes memory data ) internal virtual { _mint(to, id); require( to.code.length == 0 || ERC721TokenReceiver(to).onERC721Received(msg.sender, address(0), id, data) == ERC721TokenReceiver.onERC721Received.selector, "UNSAFE_RECIPIENT" ); } } /// @notice A generic interface for a contract which properly accepts ERC721 tokens. /// @author Solmate (https://github.com/transmissions11/solmate/blob/main/src/tokens/ERC721.sol) abstract contract ERC721TokenReceiver { function onERC721Received( address, address, uint256, bytes calldata ) external virtual returns (bytes4) { return ERC721TokenReceiver.onERC721Received.selector; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; import {OperatorFilterer} from "./OperatorFilterer.sol"; import {CANONICAL_CORI_SUBSCRIPTION} from "./lib/Constants.sol"; /** * @title DefaultOperatorFilterer * @notice Inherits from OperatorFilterer and automatically subscribes to the default OpenSea subscription. * @dev Please note that if your token contract does not provide an owner with EIP-173, it must provide * administration methods on the contract itself to interact with the registry otherwise the subscription * will be locked to the options set during construction. */ abstract contract DefaultOperatorFilterer is OperatorFilterer { /// @dev The constructor that is called when the contract is being deployed. constructor() OperatorFilterer(CANONICAL_CORI_SUBSCRIPTION, true) {} }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; interface IOperatorFilterRegistry { /** * @notice Returns true if operator is not filtered for a given token, either by address or codeHash. Also returns * true if supplied registrant address is not registered. */ function isOperatorAllowed(address registrant, address operator) external view returns (bool); /** * @notice Registers an address with the registry. May be called by address itself or by EIP-173 owner. */ function register(address registrant) external; /** * @notice Registers an address with the registry and "subscribes" to another address's filtered operators and codeHashes. */ function registerAndSubscribe(address registrant, address subscription) external; /** * @notice Registers an address with the registry and copies the filtered operators and codeHashes from another * address without subscribing. */ function registerAndCopyEntries(address registrant, address registrantToCopy) external; /** * @notice Unregisters an address with the registry and removes its subscription. May be called by address itself or by EIP-173 owner. * Note that this does not remove any filtered addresses or codeHashes. * Also note that any subscriptions to this registrant will still be active and follow the existing filtered addresses and codehashes. */ function unregister(address addr) external; /** * @notice Update an operator address for a registered address - when filtered is true, the operator is filtered. */ function updateOperator(address registrant, address operator, bool filtered) external; /** * @notice Update multiple operators for a registered address - when filtered is true, the operators will be filtered. Reverts on duplicates. */ function updateOperators(address registrant, address[] calldata operators, bool filtered) external; /** * @notice Update a codeHash for a registered address - when filtered is true, the codeHash is filtered. */ function updateCodeHash(address registrant, bytes32 codehash, bool filtered) external; /** * @notice Update multiple codeHashes for a registered address - when filtered is true, the codeHashes will be filtered. Reverts on duplicates. */ function updateCodeHashes(address registrant, bytes32[] calldata codeHashes, bool filtered) external; /** * @notice Subscribe an address to another registrant's filtered operators and codeHashes. Will remove previous * subscription if present. * Note that accounts with subscriptions may go on to subscribe to other accounts - in this case, * subscriptions will not be forwarded. Instead the former subscription's existing entries will still be * used. */ function subscribe(address registrant, address registrantToSubscribe) external; /** * @notice Unsubscribe an address from its current subscribed registrant, and optionally copy its filtered operators and codeHashes. */ function unsubscribe(address registrant, bool copyExistingEntries) external; /** * @notice Get the subscription address of a given registrant, if any. */ function subscriptionOf(address addr) external returns (address registrant); /** * @notice Get the set of addresses subscribed to a given registrant. * Note that order is not guaranteed as updates are made. */ function subscribers(address registrant) external returns (address[] memory); /** * @notice Get the subscriber at a given index in the set of addresses subscribed to a given registrant. * Note that order is not guaranteed as updates are made. */ function subscriberAt(address registrant, uint256 index) external returns (address); /** * @notice Copy filtered operators and codeHashes from a different registrantToCopy to addr. */ function copyEntriesOf(address registrant, address registrantToCopy) external; /** * @notice Returns true if operator is filtered by a given address or its subscription. */ function isOperatorFiltered(address registrant, address operator) external returns (bool); /** * @notice Returns true if the hash of an address's code is filtered by a given address or its subscription. */ function isCodeHashOfFiltered(address registrant, address operatorWithCode) external returns (bool); /** * @notice Returns true if a codeHash is filtered by a given address or its subscription. */ function isCodeHashFiltered(address registrant, bytes32 codeHash) external returns (bool); /** * @notice Returns a list of filtered operators for a given address or its subscription. */ function filteredOperators(address addr) external returns (address[] memory); /** * @notice Returns the set of filtered codeHashes for a given address or its subscription. * Note that order is not guaranteed as updates are made. */ function filteredCodeHashes(address addr) external returns (bytes32[] memory); /** * @notice Returns the filtered operator at the given index of the set of filtered operators for a given address or * its subscription. * Note that order is not guaranteed as updates are made. */ function filteredOperatorAt(address registrant, uint256 index) external returns (address); /** * @notice Returns the filtered codeHash at the given index of the list of filtered codeHashes for a given address or * its subscription. * Note that order is not guaranteed as updates are made. */ function filteredCodeHashAt(address registrant, uint256 index) external returns (bytes32); /** * @notice Returns true if an address has registered */ function isRegistered(address addr) external returns (bool); /** * @dev Convenience method to compute the code hash of an arbitrary contract */ function codeHashOf(address addr) external returns (bytes32); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.17; address constant CANONICAL_OPERATOR_FILTER_REGISTRY_ADDRESS = 0x000000000000AAeB6D7670E522A718067333cd4E; address constant CANONICAL_CORI_SUBSCRIPTION = 0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6;
// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; import {IOperatorFilterRegistry} from "./IOperatorFilterRegistry.sol"; import {CANONICAL_OPERATOR_FILTER_REGISTRY_ADDRESS} from "./lib/Constants.sol"; /** * @title OperatorFilterer * @notice Abstract contract whose constructor automatically registers and optionally subscribes to or copies another * registrant's entries in the OperatorFilterRegistry. * @dev This smart contract is meant to be inherited by token contracts so they can use the following: * - `onlyAllowedOperator` modifier for `transferFrom` and `safeTransferFrom` methods. * - `onlyAllowedOperatorApproval` modifier for `approve` and `setApprovalForAll` methods. * Please note that if your token contract does not provide an owner with EIP-173, it must provide * administration methods on the contract itself to interact with the registry otherwise the subscription * will be locked to the options set during construction. */ abstract contract OperatorFilterer { /// @dev Emitted when an operator is not allowed. error OperatorNotAllowed(address operator); IOperatorFilterRegistry public constant OPERATOR_FILTER_REGISTRY = IOperatorFilterRegistry(CANONICAL_OPERATOR_FILTER_REGISTRY_ADDRESS); /// @dev The constructor that is called when the contract is being deployed. constructor(address subscriptionOrRegistrantToCopy, bool subscribe) { // If an inheriting token contract is deployed to a network without the registry deployed, the modifier // will not revert, but the contract will need to be registered with the registry once it is deployed in // order for the modifier to filter addresses. if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) { if (subscribe) { OPERATOR_FILTER_REGISTRY.registerAndSubscribe(address(this), subscriptionOrRegistrantToCopy); } else { if (subscriptionOrRegistrantToCopy != address(0)) { OPERATOR_FILTER_REGISTRY.registerAndCopyEntries(address(this), subscriptionOrRegistrantToCopy); } else { OPERATOR_FILTER_REGISTRY.register(address(this)); } } } } /** * @dev A helper function to check if an operator is allowed. */ modifier onlyAllowedOperator(address from) virtual { // Allow spending tokens from addresses with balance // Note that this still allows listings and marketplaces with escrow to transfer tokens if transferred // from an EOA. if (from != msg.sender) { _checkFilterOperator(msg.sender); } _; } /** * @dev A helper function to check if an operator approval is allowed. */ modifier onlyAllowedOperatorApproval(address operator) virtual { _checkFilterOperator(operator); _; } /** * @dev A helper function to check if an operator is allowed. */ function _checkFilterOperator(address operator) internal view virtual { // Check registry code length to facilitate testing in environments without a deployed registry. if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) { // under normal circumstances, this function will revert rather than return false, but inheriting contracts // may specify their own OperatorFilterRegistry implementations, which may behave differently if (!OPERATOR_FILTER_REGISTRY.isOperatorAllowed(address(this), operator)) { revert OperatorNotAllowed(operator); } } } }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "metadata": { "useLiteralContent": true }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"CantSetIfMappingAlreadyExists","type":"error"},{"inputs":[],"name":"ExceedsMaxSupply","type":"error"},{"inputs":[],"name":"InscriptionIdAlreadyMinted","type":"error"},{"inputs":[],"name":"InscriptionNumAlreadyMinted","type":"error"},{"inputs":[],"name":"MaxTokensPerWalletAlreadyMinted","type":"error"},{"inputs":[],"name":"NotEnoughEthSent","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"OperatorNotAllowed","type":"error"},{"inputs":[],"name":"UnrecognizableHash","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","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":"id","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"MAX_PER_WALLET","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OPERATOR_FILTER_REGISTRY","outputs":[{"internalType":"contract IOperatorFilterRegistry","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TOKEN_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"}],"name":"__ERC721_init","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"addressToNumMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"allowList","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getAllInscriptionIdMinted","outputs":[{"internalType":"string[]","name":"","type":"string[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getAllInscriptionNumMinted","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"","type":"string"}],"name":"inscriptionIdMinted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"inscriptionNumMinted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"metadataAddress","outputs":[{"internalType":"contract IDreamsExeMetadata","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes","name":"_signature","type":"bytes"},{"components":[{"internalType":"uint256","name":"inscriptionNum","type":"uint256"},{"internalType":"string","name":"inscriptionId","type":"string"}],"internalType":"struct DreamExe.Ordinal","name":"_ordinal","type":"tuple"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_recipient","type":"address"},{"internalType":"uint256","name":"_numTokens","type":"uint256"}],"name":"ownerMintToAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"owner","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"provenanceHash","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_inscriptionId","type":"string"},{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"setInscriptionIdToTokenId","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_inscriptionNum","type":"uint256"},{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"setInscriptionNumToTokenId","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"setMetadataAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_provenanceHash","type":"bytes32"}],"name":"setProvenanceHash","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_signatureVerifier","type":"address"}],"name":"setSignatureVerifier","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":"","type":"uint256"}],"name":"tokenIdToInscriptionId","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"tokenIdToInscriptionNum","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawFunds","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdrawFundsToAddress","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b50733cc6cdda760b79bafa08df41ecfa224f810dceb6600160006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b11156200021e578015620000e4576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff16637d3e3dbe30846040518363ffffffff1660e01b8152600401620000aa92919062000509565b600060405180830381600087803b158015620000c557600080fd5b505af1158015620000da573d6000803e3d6000fd5b505050506200021d565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146200019e576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663a0af290330846040518363ffffffff1660e01b81526004016200016492919062000509565b600060405180830381600087803b1580156200017f57600080fd5b505af115801562000194573d6000803e3d6000fd5b505050506200021c565b6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff16634420e486306040518263ffffffff1660e01b8152600401620001e7919062000536565b600060405180830381600087803b1580156200020257600080fd5b505af115801562000217573d6000803e3d6000fd5b505050505b5b5b50506200024062000234620002ed60201b60201c565b620002f560201b60201c565b6000600660146101000a81548160ff021916908315150217905550620002d76040518060400160405280600881526020017f447265616d4578650000000000000000000000000000000000000000000000008152506040518060400160405280600881526020017f445245414d455845000000000000000000000000000000000000000000000000815250620003bb60201b60201c565b620002e7620003e360201b60201c565b62000937565b600033905090565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8160009081620003cc9190620007cd565b508060019081620003de9190620007cd565b505050565b620003f36200045860201b60201c565b6001600660146101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586200043f620002ed60201b60201c565b6040516200044e919062000536565b60405180910390a1565b62000468620004ad60201b60201c565b15620004ab576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620004a29062000915565b60405180910390fd5b565b6000600660149054906101000a900460ff16905090565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620004f182620004c4565b9050919050565b6200050381620004e4565b82525050565b6000604082019050620005206000830185620004f8565b6200052f6020830184620004f8565b9392505050565b60006020820190506200054d6000830184620004f8565b92915050565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620005d557607f821691505b602082108103620005eb57620005ea6200058d565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620006557fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8262000616565b62000661868362000616565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b6000620006ae620006a8620006a28462000679565b62000683565b62000679565b9050919050565b6000819050919050565b620006ca836200068d565b620006e2620006d982620006b5565b84845462000623565b825550505050565b600090565b620006f9620006ea565b62000706818484620006bf565b505050565b5b818110156200072e5762000722600082620006ef565b6001810190506200070c565b5050565b601f8211156200077d576200074781620005f1565b620007528462000606565b8101602085101562000762578190505b6200077a620007718562000606565b8301826200070b565b50505b505050565b600082821c905092915050565b6000620007a26000198460080262000782565b1980831691505092915050565b6000620007bd83836200078f565b9150826002028217905092915050565b620007d88262000553565b67ffffffffffffffff811115620007f457620007f36200055e565b5b620008008254620005bc565b6200080d82828562000732565b600060209050601f83116001811462000845576000841562000830578287015190505b6200083c8582620007af565b865550620008ac565b601f1984166200085586620005f1565b60005b828110156200087f5784890151825560018201915060208501945060208101905062000858565b868310156200089f57848901516200089b601f8916826200078f565b8355505b6001600288020188555050505b505050505050565b600082825260208201905092915050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b6000620008fd601083620008b4565b91506200090a82620008c5565b602082019050919050565b600060208201905081810360008301526200093081620008ee565b9050919050565b614ae680620009476000396000f3fe6080604052600436106102675760003560e01c80638456cb5911610144578063ce0785ee116100b6578063e08a66051161007a578063e08a660514610923578063e14999fb1461094c578063e17b25af14610975578063e985e9c51461099e578063f2fde38b146109db578063f393ea2414610a0457610267565b8063ce0785ee14610837578063cf306ea514610874578063d2d8cb67146108b1578063d540aff0146108dc578063d9415ffd1461090757610267565b8063a22cb46511610108578063a22cb46514610703578063b88d4fde1461072c578063b9901ecc14610755578063c6ab67a314610792578063c6c2511b146107bd578063c87b56dd146107fa57610267565b80638456cb59146106445780638da5cb5b1461065b57806395d89b41146106865780639aaf21f4146106b1578063a19554a3146106da57610267565b80633f4ba83a116101dd5780635c975abb116101a15780635c975abb1461052057806362a6d1971461054b5780636352211e146105885780636eb3500d146105c557806370a08231146105f0578063715018a61461062d57610267565b80633f4ba83a1461044f57806341f434341461046657806342842e0e1461049157806343694e16146104ba5780634f7f8976146104f757610267565b8063099b6bfa1161022f578063099b6bfa146103655780630f2cdd6c1461038e57806318160ddd146103b957806323b872dd146103e457806324600fc31461040d57806332cb6b0c1461042457610267565b806301ffc9a71461026c57806306fdde03146102a95780630722270a146102d4578063081812fc146102ff578063095ea7b31461033c575b600080fd5b34801561027857600080fd5b50610293600480360381019061028e9190612e87565b610a2d565b6040516102a09190612ecf565b60405180910390f35b3480156102b557600080fd5b506102be610abf565b6040516102cb9190612f7a565b60405180910390f35b3480156102e057600080fd5b506102e9610b4d565b6040516102f691906130a8565b60405180910390f35b34801561030b57600080fd5b5061032660048036038101906103219190613100565b610c85565b604051610333919061316e565b60405180910390f35b34801561034857600080fd5b50610363600480360381019061035e91906131b5565b610cb8565b005b34801561037157600080fd5b5061038c6004803603810190610387919061322b565b610cd1565b005b34801561039a57600080fd5b506103a3610ce3565b6040516103b09190613267565b60405180910390f35b3480156103c557600080fd5b506103ce610ce8565b6040516103db9190613267565b60405180910390f35b3480156103f057600080fd5b5061040b60048036038101906104069190613282565b610cee565b005b34801561041957600080fd5b50610422610d3d565b005b34801561043057600080fd5b50610439610df4565b6040516104469190613267565b60405180910390f35b34801561045b57600080fd5b50610464610df9565b005b34801561047257600080fd5b5061047b610e0b565b6040516104889190613334565b60405180910390f35b34801561049d57600080fd5b506104b860048036038101906104b39190613282565b610e1d565b005b3480156104c657600080fd5b506104e160048036038101906104dc9190613100565b610e6c565b6040516104ee9190612f7a565b60405180910390f35b34801561050357600080fd5b5061051e600480360381019061051991906131b5565b610f0c565b005b34801561052c57600080fd5b50610535610fc5565b6040516105429190612ecf565b60405180910390f35b34801561055757600080fd5b50610572600480360381019061056d9190613100565b610fdc565b60405161057f919061316e565b60405180910390f35b34801561059457600080fd5b506105af60048036038101906105aa9190613100565b61100f565b6040516105bc919061316e565b60405180910390f35b3480156105d157600080fd5b506105da6110ba565b6040516105e79190613370565b60405180910390f35b3480156105fc57600080fd5b506106176004803603810190610612919061338b565b6110e0565b6040516106249190613267565b60405180910390f35b34801561063957600080fd5b50610642611197565b005b34801561065057600080fd5b506106596111ab565b005b34801561066757600080fd5b506106706111bd565b60405161067d919061316e565b60405180910390f35b34801561069257600080fd5b5061069b6111e7565b6040516106a89190612f7a565b60405180910390f35b3480156106bd57600080fd5b506106d860048036038101906106d391906131b5565b611275565b005b3480156106e657600080fd5b5061070160048036038101906106fc91906134ed565b61130c565b005b34801561070f57600080fd5b5061072a60048036038101906107259190613591565b611330565b005b34801561073857600080fd5b50610753600480360381019061074e9190613631565b611349565b005b34801561076157600080fd5b5061077c60048036038101906107779190613100565b61139c565b6040516107899190612ecf565b60405180910390f35b34801561079e57600080fd5b506107a76113bc565b6040516107b491906136c8565b60405180910390f35b3480156107c957600080fd5b506107e460048036038101906107df9190613100565b6113c2565b6040516107f19190613267565b60405180910390f35b34801561080657600080fd5b50610821600480360381019061081c9190613100565b6113da565b60405161082e9190612f7a565b60405180910390f35b34801561084357600080fd5b5061085e6004803603810190610859919061338b565b6114f1565b60405161086b9190613267565b60405180910390f35b34801561088057600080fd5b5061089b600480360381019061089691906136e3565b611509565b6040516108a89190612ecf565b60405180910390f35b3480156108bd57600080fd5b506108c661153f565b6040516108d39190613267565b60405180910390f35b3480156108e857600080fd5b506108f161154a565b6040516108fe91906137ea565b60405180910390f35b610921600480360381019061091c9190613923565b6115f6565b005b34801561092f57600080fd5b5061094a6004803603810190610945919061338b565b6119db565b005b34801561095857600080fd5b50610973600480360381019061096e919061399b565b611a27565b005b34801561098157600080fd5b5061099c6004803603810190610997919061338b565b611a98565b005b3480156109aa57600080fd5b506109c560048036038101906109c091906139db565b611ae4565b6040516109d29190612ecf565b60405180910390f35b3480156109e757600080fd5b50610a0260048036038101906109fd919061338b565b611b13565b005b348015610a1057600080fd5b50610a2b6004803603810190610a269190613a1b565b611b96565b005b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610a8857506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610ab85750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b60008054610acc90613aa6565b80601f0160208091040260200160405190810160405280929190818152602001828054610af890613aa6565b8015610b455780601f10610b1a57610100808354040283529160200191610b45565b820191906000526020600020905b815481529060010190602001808311610b2857829003601f168201915b505050505081565b60606000600a5467ffffffffffffffff811115610b6d57610b6c6133c2565b5b604051908082528060200260200182016040528015610ba057816020015b6060815260200190600190039081610b8b5790505b50905060005b600a54811015610c7d57600d60008281526020019081526020016000208054610bce90613aa6565b80601f0160208091040260200160405190810160405280929190818152602001828054610bfa90613aa6565b8015610c475780601f10610c1c57610100808354040283529160200191610c47565b820191906000526020600020905b815481529060010190602001808311610c2a57829003601f168201915b5050505050828281518110610c5f57610c5e613ad7565b5b60200260200101819052508080610c7590613b35565b915050610ba6565b508091505090565b60046020528060005260406000206000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b81610cc281611c1c565b610ccc8383611d19565b505050565b610cd9611f02565b8060078190555050565b600281565b600a5481565b823373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610d2c57610d2b33611c1c565b5b610d37848484611f80565b50505050565b610d45611f02565b60003373ffffffffffffffffffffffffffffffffffffffff1647604051610d6b90613bae565b60006040518083038185875af1925050503d8060008114610da8576040519150601f19603f3d011682016040523d82523d6000602084013e610dad565b606091505b5050905080610df1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610de890613c0f565b60405180910390fd5b50565b60c881565b610e01611f02565b610e0961237f565b565b6daaeb6d7670e522a718067333cd4e81565b823373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610e5b57610e5a33611c1c565b5b610e668484846123e2565b50505050565b600d6020528060005260406000206000915090508054610e8b90613aa6565b80601f0160208091040260200160405190810160405280929190818152602001828054610eb790613aa6565b8015610f045780601f10610ed957610100808354040283529160200191610f04565b820191906000526020600020905b815481529060010190602001808311610ee757829003601f168201915b505050505081565b610f14611f02565b60008273ffffffffffffffffffffffffffffffffffffffff1682604051610f3a90613bae565b60006040518083038185875af1925050503d8060008114610f77576040519150601f19603f3d011682016040523d82523d6000602084013e610f7c565b606091505b5050905080610fc0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fb790613c0f565b60405180910390fd5b505050565b6000600660149054906101000a900460ff16905090565b600b6020528060005260406000206000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1691508173ffffffffffffffffffffffffffffffffffffffff16036110b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110ac90613c7b565b60405180910390fd5b919050565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611150576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161114790613ce7565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61119f611f02565b6111a9600061251a565b565b6111b3611f02565b6111bb6125e0565b565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600180546111f490613aa6565b80601f016020809104026020016040519081016040528092919081815260200182805461122090613aa6565b801561126d5780601f106112425761010080835404028352916020019161126d565b820191906000526020600020905b81548152906001019060200180831161125057829003601f168201915b505050505081565b61127d611f02565b60c881600a5461128d9190613d07565b11156112c5576040517fc30436e900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005b81811015611307576112dc83600a54612643565b600a60008154809291906112ef90613b35565b919050555080806112ff90613b35565b9150506112c8565b505050565b816000908161131b9190613edd565b50806001908161132b9190613edd565b505050565b8161133a81611c1c565b6113448383612855565b505050565b843373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146113875761138633611c1c565b5b6113948686868686612952565b505050505050565b600e6020528060005260406000206000915054906101000a900460ff1681565b60075481565b600c6020528060005260406000206000915090505481565b6060600a548210611420576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161141790613ffb565b60405180910390fd5b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d6ccff1b83600c600086815260200190815260200160002054600d60008781526020019081526020016000206040518463ffffffff1660e01b81526004016114a49392919061409f565b600060405180830381865afa1580156114c1573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906114ea919061414d565b9050919050565b60106020528060005260406000206000915090505481565b600f818051602081018201805184825260208301602085012081835280955050505050506000915054906101000a900460ff1681565b667c58508723800081565b60606000600a5467ffffffffffffffff81111561156a576115696133c2565b5b6040519080825280602002602001820160405280156115985781602001602082028036833780820191505090505b50905060005b600a548110156115ee57600c6000828152602001908152602001600020548282815181106115cf576115ce613ad7565b5b60200260200101818152505080806115e690613b35565b91505061159e565b508091505090565b6115fe612a90565b81338260000151836020015160405160200161161c9392919061423b565b604051602081830303815290604052600061163d8280519060200120612ada565b9050600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661168b8483612b0a90919063ffffffff16565b73ffffffffffffffffffffffffffffffffffffffff16146116d8576040517f65879c4a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b667c585087238000341015611719576040517fe16b18b400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600e60008560000151815260200190815260200160002060009054906101000a900460ff1615611775576040517fa36346d600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600f84602001516040516117899190614274565b908152602001604051809103902060009054906101000a900460ff16156117dc576040517f5939d6de00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60026001601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461182a9190613d07565b1115611862576040517f38ac905a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60c86001600a546118739190613d07565b11156118ab576040517fc30436e900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8360000151600c6000600a548152602001908152602001600020819055508360200151600d6000600a54815260200190815260200160002090816118ef9190613edd565b506001600e60008660000151815260200190815260200160002060006101000a81548160ff0219169083151502179055506001600f85602001516040516119369190614274565b908152602001604051809103902060006101000a81548160ff02191690831515021790555061196733600a54612643565b601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154809291906119b790613b35565b9190505550600a60008154809291906119cf90613b35565b91905055505050505050565b6119e3611f02565b80600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b611a2f611f02565b6000600c60008381526020019081526020016000205414611a7c576040517f5242416800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b81600c6000838152602001908152602001600020819055505050565b611aa0611f02565b80600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60056020528160005260406000206020528060005260406000206000915091509054906101000a900460ff1681565b611b1b611f02565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611b8a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b81906142fd565b60405180910390fd5b611b938161251a565b50565b611b9e611f02565b6000600d60008381526020019081526020016000208054611bbe90613aa6565b905014611bf7576040517f5242416800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b81600d60008381526020019081526020016000209081611c179190613edd565b505050565b60006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115611d16576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b8152600401611c9392919061431d565b602060405180830381865afa158015611cb0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611cd4919061435b565b611d1557806040517fede71dcc000000000000000000000000000000000000000000000000000000008152600401611d0c919061316e565b60405180910390fd5b5b50565b60006002600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480611e115750600560008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b611e50576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e47906143d4565b60405180910390fd5b826004600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b611f0a612b31565b73ffffffffffffffffffffffffffffffffffffffff16611f286111bd565b73ffffffffffffffffffffffffffffffffffffffff1614611f7e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f7590614440565b60405180910390fd5b565b6002600082815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612021576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612018906144ac565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612090576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161208790614518565b60405180910390fd5b8273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806121505750600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b806121b957506004600082815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b6121f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121ef906143d4565b60405180910390fd5b600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815480929190600190039190505550600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154809291906001019190505550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506004600082815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff0219169055808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b612387612b39565b6000600660146101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa6123cb612b31565b6040516123d8919061316e565b60405180910390a1565b6123ed838383610cee565b60008273ffffffffffffffffffffffffffffffffffffffff163b14806124d6575063150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19168273ffffffffffffffffffffffffffffffffffffffff1663150b7a023386856040518463ffffffff1660e01b81526004016124729392919061456c565b6020604051808303816000875af1158015612491573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124b591906145cb565b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b612515576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161250c90614644565b60405180910390fd5b505050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6125e8612a90565b6001600660146101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25861262c612b31565b604051612639919061316e565b60405180910390a1565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036126b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126a990614518565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff166002600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612754576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161274b906146b0565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154809291906001019190505550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b80600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516129469190612ecf565b60405180910390a35050565b61295d858585610cee565b60008473ffffffffffffffffffffffffffffffffffffffff163b1480612a4a575063150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19168473ffffffffffffffffffffffffffffffffffffffff1663150b7a0233888787876040518663ffffffff1660e01b81526004016129e69594939291906146fd565b6020604051808303816000875af1158015612a05573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a2991906145cb565b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b612a89576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a8090614644565b60405180910390fd5b5050505050565b612a98610fc5565b15612ad8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612acf90614797565b60405180910390fd5b565b600081604051602001612aed9190614824565b604051602081830303815290604052805190602001209050919050565b6000806000612b198585612b82565b91509150612b2681612bd3565b819250505092915050565b600033905090565b612b41610fc5565b612b80576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b7790614896565b60405180910390fd5b565b6000806041835103612bc35760008060006020860151925060408601519150606086015160001a9050612bb787828585612d39565b94509450505050612bcc565b60006002915091505b9250929050565b60006004811115612be757612be66148b6565b5b816004811115612bfa57612bf96148b6565b5b0315612d365760016004811115612c1457612c136148b6565b5b816004811115612c2757612c266148b6565b5b03612c67576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c5e90614931565b60405180910390fd5b60026004811115612c7b57612c7a6148b6565b5b816004811115612c8e57612c8d6148b6565b5b03612cce576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cc59061499d565b60405180910390fd5b60036004811115612ce257612ce16148b6565b5b816004811115612cf557612cf46148b6565b5b03612d35576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d2c90614a2f565b60405180910390fd5b5b50565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c1115612d74576000600391509150612e12565b600060018787878760405160008152602001604052604051612d999493929190614a6b565b6020604051602081039080840390855afa158015612dbb573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603612e0957600060019250925050612e12565b80600092509250505b94509492505050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612e6481612e2f565b8114612e6f57600080fd5b50565b600081359050612e8181612e5b565b92915050565b600060208284031215612e9d57612e9c612e25565b5b6000612eab84828501612e72565b91505092915050565b60008115159050919050565b612ec981612eb4565b82525050565b6000602082019050612ee46000830184612ec0565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612f24578082015181840152602081019050612f09565b60008484015250505050565b6000601f19601f8301169050919050565b6000612f4c82612eea565b612f568185612ef5565b9350612f66818560208601612f06565b612f6f81612f30565b840191505092915050565b60006020820190508181036000830152612f948184612f41565b905092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b600082825260208201905092915050565b6000612fe482612eea565b612fee8185612fc8565b9350612ffe818560208601612f06565b61300781612f30565b840191505092915050565b600061301e8383612fd9565b905092915050565b6000602082019050919050565b600061303e82612f9c565b6130488185612fa7565b93508360208202850161305a85612fb8565b8060005b8581101561309657848403895281516130778582613012565b945061308283613026565b925060208a0199505060018101905061305e565b50829750879550505050505092915050565b600060208201905081810360008301526130c28184613033565b905092915050565b6000819050919050565b6130dd816130ca565b81146130e857600080fd5b50565b6000813590506130fa816130d4565b92915050565b60006020828403121561311657613115612e25565b5b6000613124848285016130eb565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006131588261312d565b9050919050565b6131688161314d565b82525050565b6000602082019050613183600083018461315f565b92915050565b6131928161314d565b811461319d57600080fd5b50565b6000813590506131af81613189565b92915050565b600080604083850312156131cc576131cb612e25565b5b60006131da858286016131a0565b92505060206131eb858286016130eb565b9150509250929050565b6000819050919050565b613208816131f5565b811461321357600080fd5b50565b600081359050613225816131ff565b92915050565b60006020828403121561324157613240612e25565b5b600061324f84828501613216565b91505092915050565b613261816130ca565b82525050565b600060208201905061327c6000830184613258565b92915050565b60008060006060848603121561329b5761329a612e25565b5b60006132a9868287016131a0565b93505060206132ba868287016131a0565b92505060406132cb868287016130eb565b9150509250925092565b6000819050919050565b60006132fa6132f56132f08461312d565b6132d5565b61312d565b9050919050565b600061330c826132df565b9050919050565b600061331e82613301565b9050919050565b61332e81613313565b82525050565b60006020820190506133496000830184613325565b92915050565b600061335a82613301565b9050919050565b61336a8161334f565b82525050565b60006020820190506133856000830184613361565b92915050565b6000602082840312156133a1576133a0612e25565b5b60006133af848285016131a0565b91505092915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6133fa82612f30565b810181811067ffffffffffffffff82111715613419576134186133c2565b5b80604052505050565b600061342c612e1b565b905061343882826133f1565b919050565b600067ffffffffffffffff821115613458576134576133c2565b5b61346182612f30565b9050602081019050919050565b82818337600083830152505050565b600061349061348b8461343d565b613422565b9050828152602081018484840111156134ac576134ab6133bd565b5b6134b784828561346e565b509392505050565b600082601f8301126134d4576134d36133b8565b5b81356134e484826020860161347d565b91505092915050565b6000806040838503121561350457613503612e25565b5b600083013567ffffffffffffffff81111561352257613521612e2a565b5b61352e858286016134bf565b925050602083013567ffffffffffffffff81111561354f5761354e612e2a565b5b61355b858286016134bf565b9150509250929050565b61356e81612eb4565b811461357957600080fd5b50565b60008135905061358b81613565565b92915050565b600080604083850312156135a8576135a7612e25565b5b60006135b6858286016131a0565b92505060206135c78582860161357c565b9150509250929050565b600080fd5b600080fd5b60008083601f8401126135f1576135f06133b8565b5b8235905067ffffffffffffffff81111561360e5761360d6135d1565b5b60208301915083600182028301111561362a576136296135d6565b5b9250929050565b60008060008060006080868803121561364d5761364c612e25565b5b600061365b888289016131a0565b955050602061366c888289016131a0565b945050604061367d888289016130eb565b935050606086013567ffffffffffffffff81111561369e5761369d612e2a565b5b6136aa888289016135db565b92509250509295509295909350565b6136c2816131f5565b82525050565b60006020820190506136dd60008301846136b9565b92915050565b6000602082840312156136f9576136f8612e25565b5b600082013567ffffffffffffffff81111561371757613716612e2a565b5b613723848285016134bf565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b613761816130ca565b82525050565b60006137738383613758565b60208301905092915050565b6000602082019050919050565b60006137978261372c565b6137a18185613737565b93506137ac83613748565b8060005b838110156137dd5781516137c48882613767565b97506137cf8361377f565b9250506001810190506137b0565b5085935050505092915050565b60006020820190508181036000830152613804818461378c565b905092915050565b600067ffffffffffffffff821115613827576138266133c2565b5b61383082612f30565b9050602081019050919050565b600061385061384b8461380c565b613422565b90508281526020810184848401111561386c5761386b6133bd565b5b61387784828561346e565b509392505050565b600082601f830112613894576138936133b8565b5b81356138a484826020860161383d565b91505092915050565b600080fd5b600080fd5b6000604082840312156138cd576138cc6138ad565b5b6138d76040613422565b905060006138e7848285016130eb565b600083015250602082013567ffffffffffffffff81111561390b5761390a6138b2565b5b613917848285016134bf565b60208301525092915050565b6000806040838503121561393a57613939612e25565b5b600083013567ffffffffffffffff81111561395857613957612e2a565b5b6139648582860161387f565b925050602083013567ffffffffffffffff81111561398557613984612e2a565b5b613991858286016138b7565b9150509250929050565b600080604083850312156139b2576139b1612e25565b5b60006139c0858286016130eb565b92505060206139d1858286016130eb565b9150509250929050565b600080604083850312156139f2576139f1612e25565b5b6000613a00858286016131a0565b9250506020613a11858286016131a0565b9150509250929050565b60008060408385031215613a3257613a31612e25565b5b600083013567ffffffffffffffff811115613a5057613a4f612e2a565b5b613a5c858286016134bf565b9250506020613a6d858286016130eb565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613abe57607f821691505b602082108103613ad157613ad0613a77565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613b40826130ca565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203613b7257613b71613b06565b5b600182019050919050565b600081905092915050565b50565b6000613b98600083613b7d565b9150613ba382613b88565b600082019050919050565b6000613bb982613b8b565b9150819050919050565b7f5472616e73666572206661696c65642e00000000000000000000000000000000600082015250565b6000613bf9601083612ef5565b9150613c0482613bc3565b602082019050919050565b60006020820190508181036000830152613c2881613bec565b9050919050565b7f4e4f545f4d494e54454400000000000000000000000000000000000000000000600082015250565b6000613c65600a83612ef5565b9150613c7082613c2f565b602082019050919050565b60006020820190508181036000830152613c9481613c58565b9050919050565b7f5a45524f5f414444524553530000000000000000000000000000000000000000600082015250565b6000613cd1600c83612ef5565b9150613cdc82613c9b565b602082019050919050565b60006020820190508181036000830152613d0081613cc4565b9050919050565b6000613d12826130ca565b9150613d1d836130ca565b9250828201905080821115613d3557613d34613b06565b5b92915050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302613d9d7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82613d60565b613da78683613d60565b95508019841693508086168417925050509392505050565b6000613dda613dd5613dd0846130ca565b6132d5565b6130ca565b9050919050565b6000819050919050565b613df483613dbf565b613e08613e0082613de1565b848454613d6d565b825550505050565b600090565b613e1d613e10565b613e28818484613deb565b505050565b5b81811015613e4c57613e41600082613e15565b600181019050613e2e565b5050565b601f821115613e9157613e6281613d3b565b613e6b84613d50565b81016020851015613e7a578190505b613e8e613e8685613d50565b830182613e2d565b50505b505050565b600082821c905092915050565b6000613eb460001984600802613e96565b1980831691505092915050565b6000613ecd8383613ea3565b9150826002028217905092915050565b613ee682612eea565b67ffffffffffffffff811115613eff57613efe6133c2565b5b613f098254613aa6565b613f14828285613e50565b600060209050601f831160018114613f475760008415613f35578287015190505b613f3f8582613ec1565b865550613fa7565b601f198416613f5586613d3b565b60005b82811015613f7d57848901518255600182019150602085019450602081019050613f58565b86831015613f9a5784890151613f96601f891682613ea3565b8355505b6001600288020188555050505b505050505050565b7f5552495175657279466f724e6f6e6578697374656e74546f6b656e0000000000600082015250565b6000613fe5601b83612ef5565b9150613ff082613faf565b602082019050919050565b6000602082019050818103600083015261401481613fd8565b9050919050565b6000815461402881613aa6565b6140328186612ef5565b9450600182166000811461404d576001811461406357614096565b60ff198316865281151560200286019350614096565b61406c85613d3b565b60005b8381101561408e5781548189015260018201915060208101905061406f565b808801955050505b50505092915050565b60006060820190506140b46000830186613258565b6140c16020830185613258565b81810360408301526140d3818461401b565b9050949350505050565b60006140f06140eb8461343d565b613422565b90508281526020810184848401111561410c5761410b6133bd565b5b614117848285612f06565b509392505050565b600082601f830112614134576141336133b8565b5b81516141448482602086016140dd565b91505092915050565b60006020828403121561416357614162612e25565b5b600082015167ffffffffffffffff81111561418157614180612e2a565b5b61418d8482850161411f565b91505092915050565b60008160601b9050919050565b60006141ae82614196565b9050919050565b60006141c0826141a3565b9050919050565b6141d86141d38261314d565b6141b5565b82525050565b6000819050919050565b6141f96141f4826130ca565b6141de565b82525050565b600081905092915050565b600061421582612eea565b61421f81856141ff565b935061422f818560208601612f06565b80840191505092915050565b600061424782866141c7565b60148201915061425782856141e8565b602082019150614267828461420a565b9150819050949350505050565b6000614280828461420a565b915081905092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006142e7602683612ef5565b91506142f28261428b565b604082019050919050565b60006020820190508181036000830152614316816142da565b9050919050565b6000604082019050614332600083018561315f565b61433f602083018461315f565b9392505050565b60008151905061435581613565565b92915050565b60006020828403121561437157614370612e25565b5b600061437f84828501614346565b91505092915050565b7f4e4f545f415554484f52495a4544000000000000000000000000000000000000600082015250565b60006143be600e83612ef5565b91506143c982614388565b602082019050919050565b600060208201905081810360008301526143ed816143b1565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061442a602083612ef5565b9150614435826143f4565b602082019050919050565b600060208201905081810360008301526144598161441d565b9050919050565b7f57524f4e475f46524f4d00000000000000000000000000000000000000000000600082015250565b6000614496600a83612ef5565b91506144a182614460565b602082019050919050565b600060208201905081810360008301526144c581614489565b9050919050565b7f494e56414c49445f524543495049454e54000000000000000000000000000000600082015250565b6000614502601183612ef5565b915061450d826144cc565b602082019050919050565b60006020820190508181036000830152614531816144f5565b9050919050565b600082825260208201905092915050565b6000614556600083614538565b915061456182613b88565b600082019050919050565b6000608082019050614581600083018661315f565b61458e602083018561315f565b61459b6040830184613258565b81810360608301526145ac81614549565b9050949350505050565b6000815190506145c581612e5b565b92915050565b6000602082840312156145e1576145e0612e25565b5b60006145ef848285016145b6565b91505092915050565b7f554e534146455f524543495049454e5400000000000000000000000000000000600082015250565b600061462e601083612ef5565b9150614639826145f8565b602082019050919050565b6000602082019050818103600083015261465d81614621565b9050919050565b7f414c52454144595f4d494e544544000000000000000000000000000000000000600082015250565b600061469a600e83612ef5565b91506146a582614664565b602082019050919050565b600060208201905081810360008301526146c98161468d565b9050919050565b60006146dc8385614538565b93506146e983858461346e565b6146f283612f30565b840190509392505050565b6000608082019050614712600083018861315f565b61471f602083018761315f565b61472c6040830186613258565b818103606083015261473f8184866146d0565b90509695505050505050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b6000614781601083612ef5565b915061478c8261474b565b602082019050919050565b600060208201905081810360008301526147b081614774565b9050919050565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b60006147ed601c836141ff565b91506147f8826147b7565b601c82019050919050565b6000819050919050565b61481e614819826131f5565b614803565b82525050565b600061482f826147e0565b915061483b828461480d565b60208201915081905092915050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b6000614880601483612ef5565b915061488b8261484a565b602082019050919050565b600060208201905081810360008301526148af81614873565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b600061491b601883612ef5565b9150614926826148e5565b602082019050919050565b6000602082019050818103600083015261494a8161490e565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b6000614987601f83612ef5565b915061499282614951565b602082019050919050565b600060208201905081810360008301526149b68161497a565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b6000614a19602283612ef5565b9150614a24826149bd565b604082019050919050565b60006020820190508181036000830152614a4881614a0c565b9050919050565b600060ff82169050919050565b614a6581614a4f565b82525050565b6000608082019050614a8060008301876136b9565b614a8d6020830186614a5c565b614a9a60408301856136b9565b614aa760608301846136b9565b9594505050505056fea2646970667358221220a38fadab18a30f84e13e19ed96e535f5cbc34383662ea7852df9ddcb27d3677164736f6c63430008110033
Deployed Bytecode
0x6080604052600436106102675760003560e01c80638456cb5911610144578063ce0785ee116100b6578063e08a66051161007a578063e08a660514610923578063e14999fb1461094c578063e17b25af14610975578063e985e9c51461099e578063f2fde38b146109db578063f393ea2414610a0457610267565b8063ce0785ee14610837578063cf306ea514610874578063d2d8cb67146108b1578063d540aff0146108dc578063d9415ffd1461090757610267565b8063a22cb46511610108578063a22cb46514610703578063b88d4fde1461072c578063b9901ecc14610755578063c6ab67a314610792578063c6c2511b146107bd578063c87b56dd146107fa57610267565b80638456cb59146106445780638da5cb5b1461065b57806395d89b41146106865780639aaf21f4146106b1578063a19554a3146106da57610267565b80633f4ba83a116101dd5780635c975abb116101a15780635c975abb1461052057806362a6d1971461054b5780636352211e146105885780636eb3500d146105c557806370a08231146105f0578063715018a61461062d57610267565b80633f4ba83a1461044f57806341f434341461046657806342842e0e1461049157806343694e16146104ba5780634f7f8976146104f757610267565b8063099b6bfa1161022f578063099b6bfa146103655780630f2cdd6c1461038e57806318160ddd146103b957806323b872dd146103e457806324600fc31461040d57806332cb6b0c1461042457610267565b806301ffc9a71461026c57806306fdde03146102a95780630722270a146102d4578063081812fc146102ff578063095ea7b31461033c575b600080fd5b34801561027857600080fd5b50610293600480360381019061028e9190612e87565b610a2d565b6040516102a09190612ecf565b60405180910390f35b3480156102b557600080fd5b506102be610abf565b6040516102cb9190612f7a565b60405180910390f35b3480156102e057600080fd5b506102e9610b4d565b6040516102f691906130a8565b60405180910390f35b34801561030b57600080fd5b5061032660048036038101906103219190613100565b610c85565b604051610333919061316e565b60405180910390f35b34801561034857600080fd5b50610363600480360381019061035e91906131b5565b610cb8565b005b34801561037157600080fd5b5061038c6004803603810190610387919061322b565b610cd1565b005b34801561039a57600080fd5b506103a3610ce3565b6040516103b09190613267565b60405180910390f35b3480156103c557600080fd5b506103ce610ce8565b6040516103db9190613267565b60405180910390f35b3480156103f057600080fd5b5061040b60048036038101906104069190613282565b610cee565b005b34801561041957600080fd5b50610422610d3d565b005b34801561043057600080fd5b50610439610df4565b6040516104469190613267565b60405180910390f35b34801561045b57600080fd5b50610464610df9565b005b34801561047257600080fd5b5061047b610e0b565b6040516104889190613334565b60405180910390f35b34801561049d57600080fd5b506104b860048036038101906104b39190613282565b610e1d565b005b3480156104c657600080fd5b506104e160048036038101906104dc9190613100565b610e6c565b6040516104ee9190612f7a565b60405180910390f35b34801561050357600080fd5b5061051e600480360381019061051991906131b5565b610f0c565b005b34801561052c57600080fd5b50610535610fc5565b6040516105429190612ecf565b60405180910390f35b34801561055757600080fd5b50610572600480360381019061056d9190613100565b610fdc565b60405161057f919061316e565b60405180910390f35b34801561059457600080fd5b506105af60048036038101906105aa9190613100565b61100f565b6040516105bc919061316e565b60405180910390f35b3480156105d157600080fd5b506105da6110ba565b6040516105e79190613370565b60405180910390f35b3480156105fc57600080fd5b506106176004803603810190610612919061338b565b6110e0565b6040516106249190613267565b60405180910390f35b34801561063957600080fd5b50610642611197565b005b34801561065057600080fd5b506106596111ab565b005b34801561066757600080fd5b506106706111bd565b60405161067d919061316e565b60405180910390f35b34801561069257600080fd5b5061069b6111e7565b6040516106a89190612f7a565b60405180910390f35b3480156106bd57600080fd5b506106d860048036038101906106d391906131b5565b611275565b005b3480156106e657600080fd5b5061070160048036038101906106fc91906134ed565b61130c565b005b34801561070f57600080fd5b5061072a60048036038101906107259190613591565b611330565b005b34801561073857600080fd5b50610753600480360381019061074e9190613631565b611349565b005b34801561076157600080fd5b5061077c60048036038101906107779190613100565b61139c565b6040516107899190612ecf565b60405180910390f35b34801561079e57600080fd5b506107a76113bc565b6040516107b491906136c8565b60405180910390f35b3480156107c957600080fd5b506107e460048036038101906107df9190613100565b6113c2565b6040516107f19190613267565b60405180910390f35b34801561080657600080fd5b50610821600480360381019061081c9190613100565b6113da565b60405161082e9190612f7a565b60405180910390f35b34801561084357600080fd5b5061085e6004803603810190610859919061338b565b6114f1565b60405161086b9190613267565b60405180910390f35b34801561088057600080fd5b5061089b600480360381019061089691906136e3565b611509565b6040516108a89190612ecf565b60405180910390f35b3480156108bd57600080fd5b506108c661153f565b6040516108d39190613267565b60405180910390f35b3480156108e857600080fd5b506108f161154a565b6040516108fe91906137ea565b60405180910390f35b610921600480360381019061091c9190613923565b6115f6565b005b34801561092f57600080fd5b5061094a6004803603810190610945919061338b565b6119db565b005b34801561095857600080fd5b50610973600480360381019061096e919061399b565b611a27565b005b34801561098157600080fd5b5061099c6004803603810190610997919061338b565b611a98565b005b3480156109aa57600080fd5b506109c560048036038101906109c091906139db565b611ae4565b6040516109d29190612ecf565b60405180910390f35b3480156109e757600080fd5b50610a0260048036038101906109fd919061338b565b611b13565b005b348015610a1057600080fd5b50610a2b6004803603810190610a269190613a1b565b611b96565b005b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610a8857506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610ab85750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b60008054610acc90613aa6565b80601f0160208091040260200160405190810160405280929190818152602001828054610af890613aa6565b8015610b455780601f10610b1a57610100808354040283529160200191610b45565b820191906000526020600020905b815481529060010190602001808311610b2857829003601f168201915b505050505081565b60606000600a5467ffffffffffffffff811115610b6d57610b6c6133c2565b5b604051908082528060200260200182016040528015610ba057816020015b6060815260200190600190039081610b8b5790505b50905060005b600a54811015610c7d57600d60008281526020019081526020016000208054610bce90613aa6565b80601f0160208091040260200160405190810160405280929190818152602001828054610bfa90613aa6565b8015610c475780601f10610c1c57610100808354040283529160200191610c47565b820191906000526020600020905b815481529060010190602001808311610c2a57829003601f168201915b5050505050828281518110610c5f57610c5e613ad7565b5b60200260200101819052508080610c7590613b35565b915050610ba6565b508091505090565b60046020528060005260406000206000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b81610cc281611c1c565b610ccc8383611d19565b505050565b610cd9611f02565b8060078190555050565b600281565b600a5481565b823373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610d2c57610d2b33611c1c565b5b610d37848484611f80565b50505050565b610d45611f02565b60003373ffffffffffffffffffffffffffffffffffffffff1647604051610d6b90613bae565b60006040518083038185875af1925050503d8060008114610da8576040519150601f19603f3d011682016040523d82523d6000602084013e610dad565b606091505b5050905080610df1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610de890613c0f565b60405180910390fd5b50565b60c881565b610e01611f02565b610e0961237f565b565b6daaeb6d7670e522a718067333cd4e81565b823373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610e5b57610e5a33611c1c565b5b610e668484846123e2565b50505050565b600d6020528060005260406000206000915090508054610e8b90613aa6565b80601f0160208091040260200160405190810160405280929190818152602001828054610eb790613aa6565b8015610f045780601f10610ed957610100808354040283529160200191610f04565b820191906000526020600020905b815481529060010190602001808311610ee757829003601f168201915b505050505081565b610f14611f02565b60008273ffffffffffffffffffffffffffffffffffffffff1682604051610f3a90613bae565b60006040518083038185875af1925050503d8060008114610f77576040519150601f19603f3d011682016040523d82523d6000602084013e610f7c565b606091505b5050905080610fc0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fb790613c0f565b60405180910390fd5b505050565b6000600660149054906101000a900460ff16905090565b600b6020528060005260406000206000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1691508173ffffffffffffffffffffffffffffffffffffffff16036110b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110ac90613c7b565b60405180910390fd5b919050565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611150576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161114790613ce7565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61119f611f02565b6111a9600061251a565b565b6111b3611f02565b6111bb6125e0565b565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600180546111f490613aa6565b80601f016020809104026020016040519081016040528092919081815260200182805461122090613aa6565b801561126d5780601f106112425761010080835404028352916020019161126d565b820191906000526020600020905b81548152906001019060200180831161125057829003601f168201915b505050505081565b61127d611f02565b60c881600a5461128d9190613d07565b11156112c5576040517fc30436e900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005b81811015611307576112dc83600a54612643565b600a60008154809291906112ef90613b35565b919050555080806112ff90613b35565b9150506112c8565b505050565b816000908161131b9190613edd565b50806001908161132b9190613edd565b505050565b8161133a81611c1c565b6113448383612855565b505050565b843373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146113875761138633611c1c565b5b6113948686868686612952565b505050505050565b600e6020528060005260406000206000915054906101000a900460ff1681565b60075481565b600c6020528060005260406000206000915090505481565b6060600a548210611420576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161141790613ffb565b60405180910390fd5b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d6ccff1b83600c600086815260200190815260200160002054600d60008781526020019081526020016000206040518463ffffffff1660e01b81526004016114a49392919061409f565b600060405180830381865afa1580156114c1573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906114ea919061414d565b9050919050565b60106020528060005260406000206000915090505481565b600f818051602081018201805184825260208301602085012081835280955050505050506000915054906101000a900460ff1681565b667c58508723800081565b60606000600a5467ffffffffffffffff81111561156a576115696133c2565b5b6040519080825280602002602001820160405280156115985781602001602082028036833780820191505090505b50905060005b600a548110156115ee57600c6000828152602001908152602001600020548282815181106115cf576115ce613ad7565b5b60200260200101818152505080806115e690613b35565b91505061159e565b508091505090565b6115fe612a90565b81338260000151836020015160405160200161161c9392919061423b565b604051602081830303815290604052600061163d8280519060200120612ada565b9050600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661168b8483612b0a90919063ffffffff16565b73ffffffffffffffffffffffffffffffffffffffff16146116d8576040517f65879c4a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b667c585087238000341015611719576040517fe16b18b400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600e60008560000151815260200190815260200160002060009054906101000a900460ff1615611775576040517fa36346d600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600f84602001516040516117899190614274565b908152602001604051809103902060009054906101000a900460ff16156117dc576040517f5939d6de00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60026001601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461182a9190613d07565b1115611862576040517f38ac905a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60c86001600a546118739190613d07565b11156118ab576040517fc30436e900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8360000151600c6000600a548152602001908152602001600020819055508360200151600d6000600a54815260200190815260200160002090816118ef9190613edd565b506001600e60008660000151815260200190815260200160002060006101000a81548160ff0219169083151502179055506001600f85602001516040516119369190614274565b908152602001604051809103902060006101000a81548160ff02191690831515021790555061196733600a54612643565b601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154809291906119b790613b35565b9190505550600a60008154809291906119cf90613b35565b91905055505050505050565b6119e3611f02565b80600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b611a2f611f02565b6000600c60008381526020019081526020016000205414611a7c576040517f5242416800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b81600c6000838152602001908152602001600020819055505050565b611aa0611f02565b80600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60056020528160005260406000206020528060005260406000206000915091509054906101000a900460ff1681565b611b1b611f02565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611b8a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b81906142fd565b60405180910390fd5b611b938161251a565b50565b611b9e611f02565b6000600d60008381526020019081526020016000208054611bbe90613aa6565b905014611bf7576040517f5242416800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b81600d60008381526020019081526020016000209081611c179190613edd565b505050565b60006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115611d16576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b8152600401611c9392919061431d565b602060405180830381865afa158015611cb0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611cd4919061435b565b611d1557806040517fede71dcc000000000000000000000000000000000000000000000000000000008152600401611d0c919061316e565b60405180910390fd5b5b50565b60006002600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480611e115750600560008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b611e50576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e47906143d4565b60405180910390fd5b826004600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b611f0a612b31565b73ffffffffffffffffffffffffffffffffffffffff16611f286111bd565b73ffffffffffffffffffffffffffffffffffffffff1614611f7e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f7590614440565b60405180910390fd5b565b6002600082815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612021576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612018906144ac565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612090576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161208790614518565b60405180910390fd5b8273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806121505750600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b806121b957506004600082815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b6121f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121ef906143d4565b60405180910390fd5b600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815480929190600190039190505550600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154809291906001019190505550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506004600082815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff0219169055808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b612387612b39565b6000600660146101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa6123cb612b31565b6040516123d8919061316e565b60405180910390a1565b6123ed838383610cee565b60008273ffffffffffffffffffffffffffffffffffffffff163b14806124d6575063150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19168273ffffffffffffffffffffffffffffffffffffffff1663150b7a023386856040518463ffffffff1660e01b81526004016124729392919061456c565b6020604051808303816000875af1158015612491573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124b591906145cb565b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b612515576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161250c90614644565b60405180910390fd5b505050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6125e8612a90565b6001600660146101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25861262c612b31565b604051612639919061316e565b60405180910390a1565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036126b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126a990614518565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff166002600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612754576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161274b906146b0565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154809291906001019190505550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b80600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516129469190612ecf565b60405180910390a35050565b61295d858585610cee565b60008473ffffffffffffffffffffffffffffffffffffffff163b1480612a4a575063150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19168473ffffffffffffffffffffffffffffffffffffffff1663150b7a0233888787876040518663ffffffff1660e01b81526004016129e69594939291906146fd565b6020604051808303816000875af1158015612a05573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a2991906145cb565b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b612a89576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a8090614644565b60405180910390fd5b5050505050565b612a98610fc5565b15612ad8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612acf90614797565b60405180910390fd5b565b600081604051602001612aed9190614824565b604051602081830303815290604052805190602001209050919050565b6000806000612b198585612b82565b91509150612b2681612bd3565b819250505092915050565b600033905090565b612b41610fc5565b612b80576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b7790614896565b60405180910390fd5b565b6000806041835103612bc35760008060006020860151925060408601519150606086015160001a9050612bb787828585612d39565b94509450505050612bcc565b60006002915091505b9250929050565b60006004811115612be757612be66148b6565b5b816004811115612bfa57612bf96148b6565b5b0315612d365760016004811115612c1457612c136148b6565b5b816004811115612c2757612c266148b6565b5b03612c67576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c5e90614931565b60405180910390fd5b60026004811115612c7b57612c7a6148b6565b5b816004811115612c8e57612c8d6148b6565b5b03612cce576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cc59061499d565b60405180910390fd5b60036004811115612ce257612ce16148b6565b5b816004811115612cf557612cf46148b6565b5b03612d35576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d2c90614a2f565b60405180910390fd5b5b50565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c1115612d74576000600391509150612e12565b600060018787878760405160008152602001604052604051612d999493929190614a6b565b6020604051602081039080840390855afa158015612dbb573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603612e0957600060019250925050612e12565b80600092509250505b94509492505050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612e6481612e2f565b8114612e6f57600080fd5b50565b600081359050612e8181612e5b565b92915050565b600060208284031215612e9d57612e9c612e25565b5b6000612eab84828501612e72565b91505092915050565b60008115159050919050565b612ec981612eb4565b82525050565b6000602082019050612ee46000830184612ec0565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612f24578082015181840152602081019050612f09565b60008484015250505050565b6000601f19601f8301169050919050565b6000612f4c82612eea565b612f568185612ef5565b9350612f66818560208601612f06565b612f6f81612f30565b840191505092915050565b60006020820190508181036000830152612f948184612f41565b905092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b600082825260208201905092915050565b6000612fe482612eea565b612fee8185612fc8565b9350612ffe818560208601612f06565b61300781612f30565b840191505092915050565b600061301e8383612fd9565b905092915050565b6000602082019050919050565b600061303e82612f9c565b6130488185612fa7565b93508360208202850161305a85612fb8565b8060005b8581101561309657848403895281516130778582613012565b945061308283613026565b925060208a0199505060018101905061305e565b50829750879550505050505092915050565b600060208201905081810360008301526130c28184613033565b905092915050565b6000819050919050565b6130dd816130ca565b81146130e857600080fd5b50565b6000813590506130fa816130d4565b92915050565b60006020828403121561311657613115612e25565b5b6000613124848285016130eb565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006131588261312d565b9050919050565b6131688161314d565b82525050565b6000602082019050613183600083018461315f565b92915050565b6131928161314d565b811461319d57600080fd5b50565b6000813590506131af81613189565b92915050565b600080604083850312156131cc576131cb612e25565b5b60006131da858286016131a0565b92505060206131eb858286016130eb565b9150509250929050565b6000819050919050565b613208816131f5565b811461321357600080fd5b50565b600081359050613225816131ff565b92915050565b60006020828403121561324157613240612e25565b5b600061324f84828501613216565b91505092915050565b613261816130ca565b82525050565b600060208201905061327c6000830184613258565b92915050565b60008060006060848603121561329b5761329a612e25565b5b60006132a9868287016131a0565b93505060206132ba868287016131a0565b92505060406132cb868287016130eb565b9150509250925092565b6000819050919050565b60006132fa6132f56132f08461312d565b6132d5565b61312d565b9050919050565b600061330c826132df565b9050919050565b600061331e82613301565b9050919050565b61332e81613313565b82525050565b60006020820190506133496000830184613325565b92915050565b600061335a82613301565b9050919050565b61336a8161334f565b82525050565b60006020820190506133856000830184613361565b92915050565b6000602082840312156133a1576133a0612e25565b5b60006133af848285016131a0565b91505092915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6133fa82612f30565b810181811067ffffffffffffffff82111715613419576134186133c2565b5b80604052505050565b600061342c612e1b565b905061343882826133f1565b919050565b600067ffffffffffffffff821115613458576134576133c2565b5b61346182612f30565b9050602081019050919050565b82818337600083830152505050565b600061349061348b8461343d565b613422565b9050828152602081018484840111156134ac576134ab6133bd565b5b6134b784828561346e565b509392505050565b600082601f8301126134d4576134d36133b8565b5b81356134e484826020860161347d565b91505092915050565b6000806040838503121561350457613503612e25565b5b600083013567ffffffffffffffff81111561352257613521612e2a565b5b61352e858286016134bf565b925050602083013567ffffffffffffffff81111561354f5761354e612e2a565b5b61355b858286016134bf565b9150509250929050565b61356e81612eb4565b811461357957600080fd5b50565b60008135905061358b81613565565b92915050565b600080604083850312156135a8576135a7612e25565b5b60006135b6858286016131a0565b92505060206135c78582860161357c565b9150509250929050565b600080fd5b600080fd5b60008083601f8401126135f1576135f06133b8565b5b8235905067ffffffffffffffff81111561360e5761360d6135d1565b5b60208301915083600182028301111561362a576136296135d6565b5b9250929050565b60008060008060006080868803121561364d5761364c612e25565b5b600061365b888289016131a0565b955050602061366c888289016131a0565b945050604061367d888289016130eb565b935050606086013567ffffffffffffffff81111561369e5761369d612e2a565b5b6136aa888289016135db565b92509250509295509295909350565b6136c2816131f5565b82525050565b60006020820190506136dd60008301846136b9565b92915050565b6000602082840312156136f9576136f8612e25565b5b600082013567ffffffffffffffff81111561371757613716612e2a565b5b613723848285016134bf565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b613761816130ca565b82525050565b60006137738383613758565b60208301905092915050565b6000602082019050919050565b60006137978261372c565b6137a18185613737565b93506137ac83613748565b8060005b838110156137dd5781516137c48882613767565b97506137cf8361377f565b9250506001810190506137b0565b5085935050505092915050565b60006020820190508181036000830152613804818461378c565b905092915050565b600067ffffffffffffffff821115613827576138266133c2565b5b61383082612f30565b9050602081019050919050565b600061385061384b8461380c565b613422565b90508281526020810184848401111561386c5761386b6133bd565b5b61387784828561346e565b509392505050565b600082601f830112613894576138936133b8565b5b81356138a484826020860161383d565b91505092915050565b600080fd5b600080fd5b6000604082840312156138cd576138cc6138ad565b5b6138d76040613422565b905060006138e7848285016130eb565b600083015250602082013567ffffffffffffffff81111561390b5761390a6138b2565b5b613917848285016134bf565b60208301525092915050565b6000806040838503121561393a57613939612e25565b5b600083013567ffffffffffffffff81111561395857613957612e2a565b5b6139648582860161387f565b925050602083013567ffffffffffffffff81111561398557613984612e2a565b5b613991858286016138b7565b9150509250929050565b600080604083850312156139b2576139b1612e25565b5b60006139c0858286016130eb565b92505060206139d1858286016130eb565b9150509250929050565b600080604083850312156139f2576139f1612e25565b5b6000613a00858286016131a0565b9250506020613a11858286016131a0565b9150509250929050565b60008060408385031215613a3257613a31612e25565b5b600083013567ffffffffffffffff811115613a5057613a4f612e2a565b5b613a5c858286016134bf565b9250506020613a6d858286016130eb565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613abe57607f821691505b602082108103613ad157613ad0613a77565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613b40826130ca565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203613b7257613b71613b06565b5b600182019050919050565b600081905092915050565b50565b6000613b98600083613b7d565b9150613ba382613b88565b600082019050919050565b6000613bb982613b8b565b9150819050919050565b7f5472616e73666572206661696c65642e00000000000000000000000000000000600082015250565b6000613bf9601083612ef5565b9150613c0482613bc3565b602082019050919050565b60006020820190508181036000830152613c2881613bec565b9050919050565b7f4e4f545f4d494e54454400000000000000000000000000000000000000000000600082015250565b6000613c65600a83612ef5565b9150613c7082613c2f565b602082019050919050565b60006020820190508181036000830152613c9481613c58565b9050919050565b7f5a45524f5f414444524553530000000000000000000000000000000000000000600082015250565b6000613cd1600c83612ef5565b9150613cdc82613c9b565b602082019050919050565b60006020820190508181036000830152613d0081613cc4565b9050919050565b6000613d12826130ca565b9150613d1d836130ca565b9250828201905080821115613d3557613d34613b06565b5b92915050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302613d9d7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82613d60565b613da78683613d60565b95508019841693508086168417925050509392505050565b6000613dda613dd5613dd0846130ca565b6132d5565b6130ca565b9050919050565b6000819050919050565b613df483613dbf565b613e08613e0082613de1565b848454613d6d565b825550505050565b600090565b613e1d613e10565b613e28818484613deb565b505050565b5b81811015613e4c57613e41600082613e15565b600181019050613e2e565b5050565b601f821115613e9157613e6281613d3b565b613e6b84613d50565b81016020851015613e7a578190505b613e8e613e8685613d50565b830182613e2d565b50505b505050565b600082821c905092915050565b6000613eb460001984600802613e96565b1980831691505092915050565b6000613ecd8383613ea3565b9150826002028217905092915050565b613ee682612eea565b67ffffffffffffffff811115613eff57613efe6133c2565b5b613f098254613aa6565b613f14828285613e50565b600060209050601f831160018114613f475760008415613f35578287015190505b613f3f8582613ec1565b865550613fa7565b601f198416613f5586613d3b565b60005b82811015613f7d57848901518255600182019150602085019450602081019050613f58565b86831015613f9a5784890151613f96601f891682613ea3565b8355505b6001600288020188555050505b505050505050565b7f5552495175657279466f724e6f6e6578697374656e74546f6b656e0000000000600082015250565b6000613fe5601b83612ef5565b9150613ff082613faf565b602082019050919050565b6000602082019050818103600083015261401481613fd8565b9050919050565b6000815461402881613aa6565b6140328186612ef5565b9450600182166000811461404d576001811461406357614096565b60ff198316865281151560200286019350614096565b61406c85613d3b565b60005b8381101561408e5781548189015260018201915060208101905061406f565b808801955050505b50505092915050565b60006060820190506140b46000830186613258565b6140c16020830185613258565b81810360408301526140d3818461401b565b9050949350505050565b60006140f06140eb8461343d565b613422565b90508281526020810184848401111561410c5761410b6133bd565b5b614117848285612f06565b509392505050565b600082601f830112614134576141336133b8565b5b81516141448482602086016140dd565b91505092915050565b60006020828403121561416357614162612e25565b5b600082015167ffffffffffffffff81111561418157614180612e2a565b5b61418d8482850161411f565b91505092915050565b60008160601b9050919050565b60006141ae82614196565b9050919050565b60006141c0826141a3565b9050919050565b6141d86141d38261314d565b6141b5565b82525050565b6000819050919050565b6141f96141f4826130ca565b6141de565b82525050565b600081905092915050565b600061421582612eea565b61421f81856141ff565b935061422f818560208601612f06565b80840191505092915050565b600061424782866141c7565b60148201915061425782856141e8565b602082019150614267828461420a565b9150819050949350505050565b6000614280828461420a565b915081905092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006142e7602683612ef5565b91506142f28261428b565b604082019050919050565b60006020820190508181036000830152614316816142da565b9050919050565b6000604082019050614332600083018561315f565b61433f602083018461315f565b9392505050565b60008151905061435581613565565b92915050565b60006020828403121561437157614370612e25565b5b600061437f84828501614346565b91505092915050565b7f4e4f545f415554484f52495a4544000000000000000000000000000000000000600082015250565b60006143be600e83612ef5565b91506143c982614388565b602082019050919050565b600060208201905081810360008301526143ed816143b1565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061442a602083612ef5565b9150614435826143f4565b602082019050919050565b600060208201905081810360008301526144598161441d565b9050919050565b7f57524f4e475f46524f4d00000000000000000000000000000000000000000000600082015250565b6000614496600a83612ef5565b91506144a182614460565b602082019050919050565b600060208201905081810360008301526144c581614489565b9050919050565b7f494e56414c49445f524543495049454e54000000000000000000000000000000600082015250565b6000614502601183612ef5565b915061450d826144cc565b602082019050919050565b60006020820190508181036000830152614531816144f5565b9050919050565b600082825260208201905092915050565b6000614556600083614538565b915061456182613b88565b600082019050919050565b6000608082019050614581600083018661315f565b61458e602083018561315f565b61459b6040830184613258565b81810360608301526145ac81614549565b9050949350505050565b6000815190506145c581612e5b565b92915050565b6000602082840312156145e1576145e0612e25565b5b60006145ef848285016145b6565b91505092915050565b7f554e534146455f524543495049454e5400000000000000000000000000000000600082015250565b600061462e601083612ef5565b9150614639826145f8565b602082019050919050565b6000602082019050818103600083015261465d81614621565b9050919050565b7f414c52454144595f4d494e544544000000000000000000000000000000000000600082015250565b600061469a600e83612ef5565b91506146a582614664565b602082019050919050565b600060208201905081810360008301526146c98161468d565b9050919050565b60006146dc8385614538565b93506146e983858461346e565b6146f283612f30565b840190509392505050565b6000608082019050614712600083018861315f565b61471f602083018761315f565b61472c6040830186613258565b818103606083015261473f8184866146d0565b90509695505050505050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b6000614781601083612ef5565b915061478c8261474b565b602082019050919050565b600060208201905081810360008301526147b081614774565b9050919050565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b60006147ed601c836141ff565b91506147f8826147b7565b601c82019050919050565b6000819050919050565b61481e614819826131f5565b614803565b82525050565b600061482f826147e0565b915061483b828461480d565b60208201915081905092915050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b6000614880601483612ef5565b915061488b8261484a565b602082019050919050565b600060208201905081810360008301526148af81614873565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b600061491b601883612ef5565b9150614926826148e5565b602082019050919050565b6000602082019050818103600083015261494a8161490e565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b6000614987601f83612ef5565b915061499282614951565b602082019050919050565b600060208201905081810360008301526149b68161497a565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b6000614a19602283612ef5565b9150614a24826149bd565b604082019050919050565b60006020820190508181036000830152614a4881614a0c565b9050919050565b600060ff82169050919050565b614a6581614a4f565b82525050565b6000608082019050614a8060008301876136b9565b614a8d6020830186614a5c565b614a9a60408301856136b9565b614aa760608301846136b9565b9594505050505056fea2646970667358221220a38fadab18a30f84e13e19ed96e535f5cbc34383662ea7852df9ddcb27d3677164736f6c63430008110033
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.