ERC-721
Overview
Max Total Supply
206 GRIM
Holders
191
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
0 GRIMLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Grim
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"; /* ββββββββ βββββββββ ββ βββββββββββ βββ βββ βββ βββ βββ βββββββββββββββ βββ ββ βββ βββ ββββ βββ βββ βββ ββββ βββββββββββ ββββ βββ βββ βββ βββββ βββββ ββββββββββ ββββ βββ βββ βββ βββ βββ ββββββββββββ βββ βββ βββ βββ βββ βββ βββ βββ βββ βββ βββ βββ βββββββββ βββ βββ ββ ββ βββ ββ βββ βββ */ contract Grim is ERC721, Ownable, Pausable { using ECDSA for bytes32; using Strings for uint256; uint256 public constant MAX_SUPPLY = 300; uint256 public constant MAX_SUPPLY_PER_TYPE = 100; uint256 public constant MAX_PER_WALLET = 1; IGrimMetadata public metadataAddress; address signatureVerifier; uint256 public totalSupply; mapping(address => uint256) public addressToNumMinted; uint256 public elementalMintCount; uint256 public decayMintCount; uint256 public sacrificeMintCount; uint256 constant DECAY_OFFSET = 100; uint256 constant SACRIFICE_OFFSET = 200; enum MintType { ELEMENTAL, DECAY, SACRIFICIAL } constructor() { __ERC721_init("Grim", "GRIM"); _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, address _mintTo, MintType _type) public whenNotPaused payable hasValidSignature(_signature, abi.encodePacked(_mintTo)) { if(addressToNumMinted[_mintTo] + 1 > MAX_PER_WALLET) revert MaxTokensPerWalletAlreadyMinted(); if(totalSupply + 1 > MAX_SUPPLY ) revert ExceedsMaxSupply(); _mint(_mintTo, _type, 1); addressToNumMinted[_mintTo]++; totalSupply++; } function _mint(address _to, MintType _type, uint256 num) internal { if(_type == MintType.ELEMENTAL) { if(elementalMintCount + num > MAX_SUPPLY_PER_TYPE ) revert ExceedsMaxMintTypeSupply(); for(uint256 i; i < num; i++) { _mint(_to, elementalMintCount); elementalMintCount++; } } else if (_type == MintType.DECAY) { if(decayMintCount + num > MAX_SUPPLY_PER_TYPE ) revert ExceedsMaxMintTypeSupply(); for(uint256 i; i < num; i++) { _mint(_to, decayMintCount + DECAY_OFFSET); decayMintCount++; } } else if (_type == MintType.SACRIFICIAL) { if(sacrificeMintCount + num > MAX_SUPPLY_PER_TYPE ) revert ExceedsMaxMintTypeSupply(); for(uint256 i; i < num; i++) { _mint(_to, sacrificeMintCount + SACRIFICE_OFFSET); sacrificeMintCount++; } } else { revert InvalidMintType(); } } function tokenURI(uint256 _tokenId) public view virtual override returns (string memory) { return metadataAddress.getMetadata(_tokenId); } /*** Owner functions ***/ function ownerMintToAddress(address _mintTo, MintType _mintType, uint256 _numTokens) external onlyOwner { if(totalSupply + _numTokens > MAX_SUPPLY ) revert ExceedsMaxSupply(); _mint(_mintTo, _mintType, _numTokens); } function setMetadataAddress(address _address) external onlyOwner { metadataAddress = IGrimMetadata(_address); } function setSignatureVerifier(address _signatureVerifier) external onlyOwner { signatureVerifier = _signatureVerifier; } function pause() external onlyOwner { _pause(); } function unpause() external onlyOwner { _unpause(); } } interface IGrimMetadata{ function getMetadata(uint256 _tokenId) external view returns (string memory); } error ExceedsMaxMintTypeSupply(); error InvalidMintType(); error ExceedsMaxSupply(); error UnrecognizableHash(); 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: 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; } }
{ "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":"ExceedsMaxMintTypeSupply","type":"error"},{"inputs":[],"name":"ExceedsMaxSupply","type":"error"},{"inputs":[],"name":"InvalidMintType","type":"error"},{"inputs":[],"name":"MaxTokensPerWalletAlreadyMinted","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":"MAX_SUPPLY_PER_TYPE","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":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"id","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":"decayMintCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"elementalMintCount","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":"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 IGrimMetadata","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes","name":"_signature","type":"bytes"},{"internalType":"address","name":"_mintTo","type":"address"},{"internalType":"enum Grim.MintType","name":"_type","type":"uint8"}],"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":"_mintTo","type":"address"},{"internalType":"enum Grim.MintType","name":"_mintType","type":"uint8"},{"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":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sacrificeMintCount","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":"id","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":"address","name":"_address","type":"address"}],"name":"setMetadataAddress","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":"_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":"id","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"}]
Contract Creation Code
60806040523480156200001157600080fd5b506200003262000026620000df60201b60201c565b620000e760201b60201c565b6000600660146101000a81548160ff021916908315150217905550620000c96040518060400160405280600481526020017f4772696d000000000000000000000000000000000000000000000000000000008152506040518060400160405280600481526020017f4752494d00000000000000000000000000000000000000000000000000000000815250620001ad60201b60201c565b620000d9620001d560201b60201c565b620006fc565b600033905090565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8160009081620001be919062000530565b508060019081620001d0919062000530565b505050565b620001e56200024a60201b60201c565b6001600660146101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25862000231620000df60201b60201c565b6040516200024091906200065c565b60405180910390a1565b6200025a6200029f60201b60201c565b156200029d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200029490620006da565b60405180910390fd5b565b6000600660149054906101000a900460ff16905090565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200033857607f821691505b6020821081036200034e576200034d620002f0565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620003b87fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8262000379565b620003c4868362000379565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b6000620004116200040b6200040584620003dc565b620003e6565b620003dc565b9050919050565b6000819050919050565b6200042d83620003f0565b620004456200043c8262000418565b84845462000386565b825550505050565b600090565b6200045c6200044d565b6200046981848462000422565b505050565b5b8181101562000491576200048560008262000452565b6001810190506200046f565b5050565b601f821115620004e057620004aa8162000354565b620004b58462000369565b81016020851015620004c5578190505b620004dd620004d48562000369565b8301826200046e565b50505b505050565b600082821c905092915050565b60006200050560001984600802620004e5565b1980831691505092915050565b6000620005208383620004f2565b9150826002028217905092915050565b6200053b82620002b6565b67ffffffffffffffff811115620005575762000556620002c1565b5b6200056382546200031f565b6200057082828562000495565b600060209050601f831160018114620005a8576000841562000593578287015190505b6200059f858262000512565b8655506200060f565b601f198416620005b88662000354565b60005b82811015620005e257848901518255600182019150602085019450602081019050620005bb565b86831015620006025784890151620005fe601f891682620004f2565b8355505b6001600288020188555050505b505050505050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620006448262000617565b9050919050565b620006568162000637565b82525050565b60006020820190506200067360008301846200064b565b92915050565b600082825260208201905092915050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b6000620006c260108362000679565b9150620006cf826200068a565b602082019050919050565b60006020820190508181036000830152620006f581620006b3565b9050919050565b613a07806200070c6000396000f3fe6080604052600436106101ee5760003560e01c8063715018a61161010d578063b10d55c9116100a0578063d38391d51161006f578063d38391d5146106bc578063e08a6605146106e5578063e17b25af1461070e578063e985e9c514610737578063f2fde38b14610774576101ee565b8063b10d55c9146105fd578063b88d4fde14610619578063c87b56dd14610642578063ce0785ee1461067f576101ee565b806395d89b41116100dc57806395d89b4114610555578063a19554a314610580578063a22cb465146105a9578063a757f031146105d2576101ee565b8063715018a6146104d15780638456cb59146104e85780638bc439de146104ff5780638da5cb5b1461052a576101ee565b806332cb6b0c116101855780635c975abb116101545780635c975abb146104015780636352211e1461042c5780636eb3500d1461046957806370a0823114610494576101ee565b806332cb6b0c1461036b5780633f4ba83a14610396578063408b34db146103ad57806342842e0e146103d8576101ee565b80630e51ed30116101c15780630e51ed30146102c15780630f2cdd6c146102ec57806318160ddd1461031757806323b872dd14610342576101ee565b806301ffc9a7146101f357806306fdde0314610230578063081812fc1461025b578063095ea7b314610298575b600080fd5b3480156101ff57600080fd5b5061021a60048036038101906102159190612450565b61079d565b6040516102279190612498565b60405180910390f35b34801561023c57600080fd5b5061024561082f565b6040516102529190612543565b60405180910390f35b34801561026757600080fd5b50610282600480360381019061027d919061259b565b6108bd565b60405161028f9190612609565b60405180910390f35b3480156102a457600080fd5b506102bf60048036038101906102ba9190612650565b6108f0565b005b3480156102cd57600080fd5b506102d6610ad9565b6040516102e3919061269f565b60405180910390f35b3480156102f857600080fd5b50610301610adf565b60405161030e919061269f565b60405180910390f35b34801561032357600080fd5b5061032c610ae4565b604051610339919061269f565b60405180910390f35b34801561034e57600080fd5b50610369600480360381019061036491906126ba565b610aea565b005b34801561037757600080fd5b50610380610ee9565b60405161038d919061269f565b60405180910390f35b3480156103a257600080fd5b506103ab610eef565b005b3480156103b957600080fd5b506103c2610f01565b6040516103cf919061269f565b60405180910390f35b3480156103e457600080fd5b506103ff60048036038101906103fa91906126ba565b610f07565b005b34801561040d57600080fd5b5061041661103f565b6040516104239190612498565b60405180910390f35b34801561043857600080fd5b50610453600480360381019061044e919061259b565b611056565b6040516104609190612609565b60405180910390f35b34801561047557600080fd5b5061047e611101565b60405161048b919061276c565b60405180910390f35b3480156104a057600080fd5b506104bb60048036038101906104b69190612787565b611127565b6040516104c8919061269f565b60405180910390f35b3480156104dd57600080fd5b506104e66111de565b005b3480156104f457600080fd5b506104fd6111f2565b005b34801561050b57600080fd5b50610514611204565b604051610521919061269f565b60405180910390f35b34801561053657600080fd5b5061053f611209565b60405161054c9190612609565b60405180910390f35b34801561056157600080fd5b5061056a611233565b6040516105779190612543565b60405180910390f35b34801561058c57600080fd5b506105a760048036038101906105a291906128e9565b6112c1565b005b3480156105b557600080fd5b506105d060048036038101906105cb919061298d565b6112e5565b005b3480156105de57600080fd5b506105e76113e2565b6040516105f4919061269f565b60405180910390f35b61061760048036038101906106129190612a93565b6113e8565b005b34801561062557600080fd5b50610640600480360381019061063b9190612b62565b61160e565b005b34801561064e57600080fd5b506106696004803603810190610664919061259b565b61174c565b6040516106769190612543565b60405180910390f35b34801561068b57600080fd5b506106a660048036038101906106a19190612787565b6117f6565b6040516106b3919061269f565b60405180910390f35b3480156106c857600080fd5b506106e360048036038101906106de9190612bea565b61180e565b005b3480156106f157600080fd5b5061070c60048036038101906107079190612787565b61186f565b005b34801561071a57600080fd5b5061073560048036038101906107309190612787565b6118bb565b005b34801561074357600080fd5b5061075e60048036038101906107599190612c3d565b611907565b60405161076b9190612498565b60405180910390f35b34801561078057600080fd5b5061079b60048036038101906107969190612787565b611936565b005b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806107f857506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806108285750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b6000805461083c90612cac565b80601f016020809104026020016040519081016040528092919081815260200182805461086890612cac565b80156108b55780601f1061088a576101008083540402835291602001916108b5565b820191906000526020600020905b81548152906001019060200180831161089857829003601f168201915b505050505081565b60046020528060005260406000206000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60006002600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806109e85750600560008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b610a27576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a1e90612d29565b60405180910390fd5b826004600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600d5481565b600181565b60095481565b6002600082815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614610b8b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b8290612d95565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610bfa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bf190612e01565b60405180910390fd5b8273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480610cba5750600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b80610d2357506004600082815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b610d62576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d5990612d29565b60405180910390fd5b600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815480929190600190039190505550600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154809291906001019190505550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506004600082815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff0219169055808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b61012c81565b610ef76119b9565b610eff611a37565b565b600c5481565b610f12838383610aea565b60008273ffffffffffffffffffffffffffffffffffffffff163b1480610ffb575063150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19168273ffffffffffffffffffffffffffffffffffffffff1663150b7a023386856040518463ffffffff1660e01b8152600401610f9793929190612e58565b6020604051808303816000875af1158015610fb6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fda9190612eb7565b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b61103a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161103190612f30565b60405180910390fd5b505050565b6000600660149054906101000a900460ff16905090565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1691508173ffffffffffffffffffffffffffffffffffffffff16036110fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110f390612f9c565b60405180910390fd5b919050565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611197576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161118e90613008565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6111e66119b9565b6111f06000611a9a565b565b6111fa6119b9565b611202611b60565b565b606481565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6001805461124090612cac565b80601f016020809104026020016040519081016040528092919081815260200182805461126c90612cac565b80156112b95780601f1061128e576101008083540402835291602001916112b9565b820191906000526020600020905b81548152906001019060200180831161129c57829003601f168201915b505050505081565b81600090816112d091906131ca565b5080600190816112e091906131ca565b505050565b80600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516113d69190612498565b60405180910390a35050565b600b5481565b6113f0611bc3565b828260405160200161140291906132e4565b60405160208183030381529060405260006114238280519060200120611c0d565b9050600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166114718483611c3d90919063ffffffff16565b73ffffffffffffffffffffffffffffffffffffffff16146114be576040517f65879c4a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600180600a60008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461150b919061332e565b1115611543576040517f38ac905a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61012c6001600954611555919061332e565b111561158d576040517fc30436e900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61159985856001611c64565b600a60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154809291906115e990613362565b91905055506009600081548092919061160190613362565b9190505550505050505050565b611619858585610aea565b60008473ffffffffffffffffffffffffffffffffffffffff163b1480611706575063150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19168473ffffffffffffffffffffffffffffffffffffffff1663150b7a0233888787876040518663ffffffff1660e01b81526004016116a29594939291906133d7565b6020604051808303816000875af11580156116c1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116e59190612eb7565b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b611745576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161173c90612f30565b60405180910390fd5b5050505050565b6060600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a574cea4836040518263ffffffff1660e01b81526004016117a9919061269f565b600060405180830381865afa1580156117c6573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906117ef9190613495565b9050919050565b600a6020528060005260406000206000915090505481565b6118166119b9565b61012c81600954611827919061332e565b111561185f576040517fc30436e900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61186a838383611c64565b505050565b6118776119b9565b80600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6118c36119b9565b80600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60056020528160005260406000206020528060005260406000206000915091509054906101000a900460ff1681565b61193e6119b9565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036119ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119a490613550565b60405180910390fd5b6119b681611a9a565b50565b6119c1611ee8565b73ffffffffffffffffffffffffffffffffffffffff166119df611209565b73ffffffffffffffffffffffffffffffffffffffff1614611a35576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a2c906135bc565b60405180910390fd5b565b611a3f611ef0565b6000600660146101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa611a83611ee8565b604051611a909190612609565b60405180910390a1565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b611b68611bc3565b6001600660146101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611bac611ee8565b604051611bb99190612609565b60405180910390a1565b611bcb61103f565b15611c0b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c0290613628565b60405180910390fd5b565b600081604051602001611c2091906136ca565b604051602081830303815290604052805190602001209050919050565b6000806000611c4c8585611f39565b91509150611c5981611f8a565b819250505092915050565b60006002811115611c7857611c776136f0565b5b826002811115611c8b57611c8a6136f0565b5b03611d2057606481600b54611ca0919061332e565b1115611cd8576040517fac073da400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005b81811015611d1a57611cef84600b546120f0565b600b6000815480929190611d0290613362565b91905055508080611d1290613362565b915050611cdb565b50611ee3565b60016002811115611d3457611d336136f0565b5b826002811115611d4757611d466136f0565b5b03611de857606481600c54611d5c919061332e565b1115611d94576040517fac073da400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005b81811015611de257611db7846064600c54611db2919061332e565b6120f0565b600c6000815480929190611dca90613362565b91905055508080611dda90613362565b915050611d97565b50611ee2565b600280811115611dfb57611dfa6136f0565b5b826002811115611e0e57611e0d6136f0565b5b03611eaf57606481600d54611e23919061332e565b1115611e5b576040517fac073da400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005b81811015611ea957611e7e8460c8600d54611e79919061332e565b6120f0565b600d6000815480929190611e9190613362565b91905055508080611ea190613362565b915050611e5e565b50611ee1565b6040517f94460fa800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b5b505050565b600033905090565b611ef861103f565b611f37576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f2e9061376b565b60405180910390fd5b565b6000806041835103611f7a5760008060006020860151925060408601519150606086015160001a9050611f6e87828585612302565b94509450505050611f83565b60006002915091505b9250929050565b60006004811115611f9e57611f9d6136f0565b5b816004811115611fb157611fb06136f0565b5b03156120ed5760016004811115611fcb57611fca6136f0565b5b816004811115611fde57611fdd6136f0565b5b0361201e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612015906137d7565b60405180910390fd5b60026004811115612032576120316136f0565b5b816004811115612045576120446136f0565b5b03612085576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161207c90613843565b60405180910390fd5b60036004811115612099576120986136f0565b5b8160048111156120ac576120ab6136f0565b5b036120ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120e3906138d5565b60405180910390fd5b5b50565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361215f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161215690612e01565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff166002600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612201576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121f890613941565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154809291906001019190505550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c111561233d5760006003915091506123db565b600060018787878760405160008152602001604052604051612362949392919061398c565b6020604051602081039080840390855afa158015612384573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036123d2576000600192509250506123db565b80600092509250505b94509492505050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61242d816123f8565b811461243857600080fd5b50565b60008135905061244a81612424565b92915050565b600060208284031215612466576124656123ee565b5b60006124748482850161243b565b91505092915050565b60008115159050919050565b6124928161247d565b82525050565b60006020820190506124ad6000830184612489565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156124ed5780820151818401526020810190506124d2565b60008484015250505050565b6000601f19601f8301169050919050565b6000612515826124b3565b61251f81856124be565b935061252f8185602086016124cf565b612538816124f9565b840191505092915050565b6000602082019050818103600083015261255d818461250a565b905092915050565b6000819050919050565b61257881612565565b811461258357600080fd5b50565b6000813590506125958161256f565b92915050565b6000602082840312156125b1576125b06123ee565b5b60006125bf84828501612586565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006125f3826125c8565b9050919050565b612603816125e8565b82525050565b600060208201905061261e60008301846125fa565b92915050565b61262d816125e8565b811461263857600080fd5b50565b60008135905061264a81612624565b92915050565b60008060408385031215612667576126666123ee565b5b60006126758582860161263b565b925050602061268685828601612586565b9150509250929050565b61269981612565565b82525050565b60006020820190506126b46000830184612690565b92915050565b6000806000606084860312156126d3576126d26123ee565b5b60006126e18682870161263b565b93505060206126f28682870161263b565b925050604061270386828701612586565b9150509250925092565b6000819050919050565b600061273261272d612728846125c8565b61270d565b6125c8565b9050919050565b600061274482612717565b9050919050565b600061275682612739565b9050919050565b6127668161274b565b82525050565b6000602082019050612781600083018461275d565b92915050565b60006020828403121561279d5761279c6123ee565b5b60006127ab8482850161263b565b91505092915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6127f6826124f9565b810181811067ffffffffffffffff82111715612815576128146127be565b5b80604052505050565b60006128286123e4565b905061283482826127ed565b919050565b600067ffffffffffffffff821115612854576128536127be565b5b61285d826124f9565b9050602081019050919050565b82818337600083830152505050565b600061288c61288784612839565b61281e565b9050828152602081018484840111156128a8576128a76127b9565b5b6128b384828561286a565b509392505050565b600082601f8301126128d0576128cf6127b4565b5b81356128e0848260208601612879565b91505092915050565b60008060408385031215612900576128ff6123ee565b5b600083013567ffffffffffffffff81111561291e5761291d6123f3565b5b61292a858286016128bb565b925050602083013567ffffffffffffffff81111561294b5761294a6123f3565b5b612957858286016128bb565b9150509250929050565b61296a8161247d565b811461297557600080fd5b50565b60008135905061298781612961565b92915050565b600080604083850312156129a4576129a36123ee565b5b60006129b28582860161263b565b92505060206129c385828601612978565b9150509250929050565b600067ffffffffffffffff8211156129e8576129e76127be565b5b6129f1826124f9565b9050602081019050919050565b6000612a11612a0c846129cd565b61281e565b905082815260208101848484011115612a2d57612a2c6127b9565b5b612a3884828561286a565b509392505050565b600082601f830112612a5557612a546127b4565b5b8135612a658482602086016129fe565b91505092915050565b60038110612a7b57600080fd5b50565b600081359050612a8d81612a6e565b92915050565b600080600060608486031215612aac57612aab6123ee565b5b600084013567ffffffffffffffff811115612aca57612ac96123f3565b5b612ad686828701612a40565b9350506020612ae78682870161263b565b9250506040612af886828701612a7e565b9150509250925092565b600080fd5b600080fd5b60008083601f840112612b2257612b216127b4565b5b8235905067ffffffffffffffff811115612b3f57612b3e612b02565b5b602083019150836001820283011115612b5b57612b5a612b07565b5b9250929050565b600080600080600060808688031215612b7e57612b7d6123ee565b5b6000612b8c8882890161263b565b9550506020612b9d8882890161263b565b9450506040612bae88828901612586565b935050606086013567ffffffffffffffff811115612bcf57612bce6123f3565b5b612bdb88828901612b0c565b92509250509295509295909350565b600080600060608486031215612c0357612c026123ee565b5b6000612c118682870161263b565b9350506020612c2286828701612a7e565b9250506040612c3386828701612586565b9150509250925092565b60008060408385031215612c5457612c536123ee565b5b6000612c628582860161263b565b9250506020612c738582860161263b565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680612cc457607f821691505b602082108103612cd757612cd6612c7d565b5b50919050565b7f4e4f545f415554484f52495a4544000000000000000000000000000000000000600082015250565b6000612d13600e836124be565b9150612d1e82612cdd565b602082019050919050565b60006020820190508181036000830152612d4281612d06565b9050919050565b7f57524f4e475f46524f4d00000000000000000000000000000000000000000000600082015250565b6000612d7f600a836124be565b9150612d8a82612d49565b602082019050919050565b60006020820190508181036000830152612dae81612d72565b9050919050565b7f494e56414c49445f524543495049454e54000000000000000000000000000000600082015250565b6000612deb6011836124be565b9150612df682612db5565b602082019050919050565b60006020820190508181036000830152612e1a81612dde565b9050919050565b600082825260208201905092915050565b50565b6000612e42600083612e21565b9150612e4d82612e32565b600082019050919050565b6000608082019050612e6d60008301866125fa565b612e7a60208301856125fa565b612e876040830184612690565b8181036060830152612e9881612e35565b9050949350505050565b600081519050612eb181612424565b92915050565b600060208284031215612ecd57612ecc6123ee565b5b6000612edb84828501612ea2565b91505092915050565b7f554e534146455f524543495049454e5400000000000000000000000000000000600082015250565b6000612f1a6010836124be565b9150612f2582612ee4565b602082019050919050565b60006020820190508181036000830152612f4981612f0d565b9050919050565b7f4e4f545f4d494e54454400000000000000000000000000000000000000000000600082015250565b6000612f86600a836124be565b9150612f9182612f50565b602082019050919050565b60006020820190508181036000830152612fb581612f79565b9050919050565b7f5a45524f5f414444524553530000000000000000000000000000000000000000600082015250565b6000612ff2600c836124be565b9150612ffd82612fbc565b602082019050919050565b6000602082019050818103600083015261302181612fe5565b9050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b60006008830261308a7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8261304d565b613094868361304d565b95508019841693508086168417925050509392505050565b60006130c76130c26130bd84612565565b61270d565b612565565b9050919050565b6000819050919050565b6130e1836130ac565b6130f56130ed826130ce565b84845461305a565b825550505050565b600090565b61310a6130fd565b6131158184846130d8565b505050565b5b818110156131395761312e600082613102565b60018101905061311b565b5050565b601f82111561317e5761314f81613028565b6131588461303d565b81016020851015613167578190505b61317b6131738561303d565b83018261311a565b50505b505050565b600082821c905092915050565b60006131a160001984600802613183565b1980831691505092915050565b60006131ba8383613190565b9150826002028217905092915050565b6131d3826124b3565b67ffffffffffffffff8111156131ec576131eb6127be565b5b6131f68254612cac565b61320182828561313d565b600060209050601f8311600181146132345760008415613222578287015190505b61322c85826131ae565b865550613294565b601f19841661324286613028565b60005b8281101561326a57848901518255600182019150602085019450602081019050613245565b868310156132875784890151613283601f891682613190565b8355505b6001600288020188555050505b505050505050565b60008160601b9050919050565b60006132b48261329c565b9050919050565b60006132c6826132a9565b9050919050565b6132de6132d9826125e8565b6132bb565b82525050565b60006132f082846132cd565b60148201915081905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061333982612565565b915061334483612565565b925082820190508082111561335c5761335b6132ff565b5b92915050565b600061336d82612565565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361339f5761339e6132ff565b5b600182019050919050565b60006133b68385612e21565b93506133c383858461286a565b6133cc836124f9565b840190509392505050565b60006080820190506133ec60008301886125fa565b6133f960208301876125fa565b6134066040830186612690565b81810360608301526134198184866133aa565b90509695505050505050565b600061343861343384612839565b61281e565b905082815260208101848484011115613454576134536127b9565b5b61345f8482856124cf565b509392505050565b600082601f83011261347c5761347b6127b4565b5b815161348c848260208601613425565b91505092915050565b6000602082840312156134ab576134aa6123ee565b5b600082015167ffffffffffffffff8111156134c9576134c86123f3565b5b6134d584828501613467565b91505092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061353a6026836124be565b9150613545826134de565b604082019050919050565b600060208201905081810360008301526135698161352d565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006135a66020836124be565b91506135b182613570565b602082019050919050565b600060208201905081810360008301526135d581613599565b9050919050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b60006136126010836124be565b915061361d826135dc565b602082019050919050565b6000602082019050818103600083015261364181613605565b9050919050565b600081905092915050565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b6000613689601c83613648565b915061369482613653565b601c82019050919050565b6000819050919050565b6000819050919050565b6136c46136bf8261369f565b6136a9565b82525050565b60006136d58261367c565b91506136e182846136b3565b60208201915081905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b60006137556014836124be565b91506137608261371f565b602082019050919050565b6000602082019050818103600083015261378481613748565b9050919050565b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b60006137c16018836124be565b91506137cc8261378b565b602082019050919050565b600060208201905081810360008301526137f0816137b4565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b600061382d601f836124be565b9150613838826137f7565b602082019050919050565b6000602082019050818103600083015261385c81613820565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b60006138bf6022836124be565b91506138ca82613863565b604082019050919050565b600060208201905081810360008301526138ee816138b2565b9050919050565b7f414c52454144595f4d494e544544000000000000000000000000000000000000600082015250565b600061392b600e836124be565b9150613936826138f5565b602082019050919050565b6000602082019050818103600083015261395a8161391e565b9050919050565b61396a8161369f565b82525050565b600060ff82169050919050565b61398681613970565b82525050565b60006080820190506139a16000830187613961565b6139ae602083018661397d565b6139bb6040830185613961565b6139c86060830184613961565b9594505050505056fea2646970667358221220c86d8109ddad002dff4bef631bf6dd7092231613dbb54fa0d38a1623154cdd8c64736f6c63430008110033
Deployed Bytecode
0x6080604052600436106101ee5760003560e01c8063715018a61161010d578063b10d55c9116100a0578063d38391d51161006f578063d38391d5146106bc578063e08a6605146106e5578063e17b25af1461070e578063e985e9c514610737578063f2fde38b14610774576101ee565b8063b10d55c9146105fd578063b88d4fde14610619578063c87b56dd14610642578063ce0785ee1461067f576101ee565b806395d89b41116100dc57806395d89b4114610555578063a19554a314610580578063a22cb465146105a9578063a757f031146105d2576101ee565b8063715018a6146104d15780638456cb59146104e85780638bc439de146104ff5780638da5cb5b1461052a576101ee565b806332cb6b0c116101855780635c975abb116101545780635c975abb146104015780636352211e1461042c5780636eb3500d1461046957806370a0823114610494576101ee565b806332cb6b0c1461036b5780633f4ba83a14610396578063408b34db146103ad57806342842e0e146103d8576101ee565b80630e51ed30116101c15780630e51ed30146102c15780630f2cdd6c146102ec57806318160ddd1461031757806323b872dd14610342576101ee565b806301ffc9a7146101f357806306fdde0314610230578063081812fc1461025b578063095ea7b314610298575b600080fd5b3480156101ff57600080fd5b5061021a60048036038101906102159190612450565b61079d565b6040516102279190612498565b60405180910390f35b34801561023c57600080fd5b5061024561082f565b6040516102529190612543565b60405180910390f35b34801561026757600080fd5b50610282600480360381019061027d919061259b565b6108bd565b60405161028f9190612609565b60405180910390f35b3480156102a457600080fd5b506102bf60048036038101906102ba9190612650565b6108f0565b005b3480156102cd57600080fd5b506102d6610ad9565b6040516102e3919061269f565b60405180910390f35b3480156102f857600080fd5b50610301610adf565b60405161030e919061269f565b60405180910390f35b34801561032357600080fd5b5061032c610ae4565b604051610339919061269f565b60405180910390f35b34801561034e57600080fd5b50610369600480360381019061036491906126ba565b610aea565b005b34801561037757600080fd5b50610380610ee9565b60405161038d919061269f565b60405180910390f35b3480156103a257600080fd5b506103ab610eef565b005b3480156103b957600080fd5b506103c2610f01565b6040516103cf919061269f565b60405180910390f35b3480156103e457600080fd5b506103ff60048036038101906103fa91906126ba565b610f07565b005b34801561040d57600080fd5b5061041661103f565b6040516104239190612498565b60405180910390f35b34801561043857600080fd5b50610453600480360381019061044e919061259b565b611056565b6040516104609190612609565b60405180910390f35b34801561047557600080fd5b5061047e611101565b60405161048b919061276c565b60405180910390f35b3480156104a057600080fd5b506104bb60048036038101906104b69190612787565b611127565b6040516104c8919061269f565b60405180910390f35b3480156104dd57600080fd5b506104e66111de565b005b3480156104f457600080fd5b506104fd6111f2565b005b34801561050b57600080fd5b50610514611204565b604051610521919061269f565b60405180910390f35b34801561053657600080fd5b5061053f611209565b60405161054c9190612609565b60405180910390f35b34801561056157600080fd5b5061056a611233565b6040516105779190612543565b60405180910390f35b34801561058c57600080fd5b506105a760048036038101906105a291906128e9565b6112c1565b005b3480156105b557600080fd5b506105d060048036038101906105cb919061298d565b6112e5565b005b3480156105de57600080fd5b506105e76113e2565b6040516105f4919061269f565b60405180910390f35b61061760048036038101906106129190612a93565b6113e8565b005b34801561062557600080fd5b50610640600480360381019061063b9190612b62565b61160e565b005b34801561064e57600080fd5b506106696004803603810190610664919061259b565b61174c565b6040516106769190612543565b60405180910390f35b34801561068b57600080fd5b506106a660048036038101906106a19190612787565b6117f6565b6040516106b3919061269f565b60405180910390f35b3480156106c857600080fd5b506106e360048036038101906106de9190612bea565b61180e565b005b3480156106f157600080fd5b5061070c60048036038101906107079190612787565b61186f565b005b34801561071a57600080fd5b5061073560048036038101906107309190612787565b6118bb565b005b34801561074357600080fd5b5061075e60048036038101906107599190612c3d565b611907565b60405161076b9190612498565b60405180910390f35b34801561078057600080fd5b5061079b60048036038101906107969190612787565b611936565b005b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806107f857506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806108285750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b6000805461083c90612cac565b80601f016020809104026020016040519081016040528092919081815260200182805461086890612cac565b80156108b55780601f1061088a576101008083540402835291602001916108b5565b820191906000526020600020905b81548152906001019060200180831161089857829003601f168201915b505050505081565b60046020528060005260406000206000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60006002600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806109e85750600560008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b610a27576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a1e90612d29565b60405180910390fd5b826004600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600d5481565b600181565b60095481565b6002600082815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614610b8b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b8290612d95565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610bfa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bf190612e01565b60405180910390fd5b8273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480610cba5750600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b80610d2357506004600082815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b610d62576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d5990612d29565b60405180910390fd5b600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815480929190600190039190505550600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154809291906001019190505550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506004600082815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff0219169055808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b61012c81565b610ef76119b9565b610eff611a37565b565b600c5481565b610f12838383610aea565b60008273ffffffffffffffffffffffffffffffffffffffff163b1480610ffb575063150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19168273ffffffffffffffffffffffffffffffffffffffff1663150b7a023386856040518463ffffffff1660e01b8152600401610f9793929190612e58565b6020604051808303816000875af1158015610fb6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fda9190612eb7565b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b61103a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161103190612f30565b60405180910390fd5b505050565b6000600660149054906101000a900460ff16905090565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1691508173ffffffffffffffffffffffffffffffffffffffff16036110fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110f390612f9c565b60405180910390fd5b919050565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611197576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161118e90613008565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6111e66119b9565b6111f06000611a9a565b565b6111fa6119b9565b611202611b60565b565b606481565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6001805461124090612cac565b80601f016020809104026020016040519081016040528092919081815260200182805461126c90612cac565b80156112b95780601f1061128e576101008083540402835291602001916112b9565b820191906000526020600020905b81548152906001019060200180831161129c57829003601f168201915b505050505081565b81600090816112d091906131ca565b5080600190816112e091906131ca565b505050565b80600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516113d69190612498565b60405180910390a35050565b600b5481565b6113f0611bc3565b828260405160200161140291906132e4565b60405160208183030381529060405260006114238280519060200120611c0d565b9050600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166114718483611c3d90919063ffffffff16565b73ffffffffffffffffffffffffffffffffffffffff16146114be576040517f65879c4a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600180600a60008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461150b919061332e565b1115611543576040517f38ac905a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61012c6001600954611555919061332e565b111561158d576040517fc30436e900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61159985856001611c64565b600a60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154809291906115e990613362565b91905055506009600081548092919061160190613362565b9190505550505050505050565b611619858585610aea565b60008473ffffffffffffffffffffffffffffffffffffffff163b1480611706575063150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19168473ffffffffffffffffffffffffffffffffffffffff1663150b7a0233888787876040518663ffffffff1660e01b81526004016116a29594939291906133d7565b6020604051808303816000875af11580156116c1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116e59190612eb7565b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b611745576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161173c90612f30565b60405180910390fd5b5050505050565b6060600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a574cea4836040518263ffffffff1660e01b81526004016117a9919061269f565b600060405180830381865afa1580156117c6573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906117ef9190613495565b9050919050565b600a6020528060005260406000206000915090505481565b6118166119b9565b61012c81600954611827919061332e565b111561185f576040517fc30436e900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61186a838383611c64565b505050565b6118776119b9565b80600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6118c36119b9565b80600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60056020528160005260406000206020528060005260406000206000915091509054906101000a900460ff1681565b61193e6119b9565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036119ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119a490613550565b60405180910390fd5b6119b681611a9a565b50565b6119c1611ee8565b73ffffffffffffffffffffffffffffffffffffffff166119df611209565b73ffffffffffffffffffffffffffffffffffffffff1614611a35576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a2c906135bc565b60405180910390fd5b565b611a3f611ef0565b6000600660146101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa611a83611ee8565b604051611a909190612609565b60405180910390a1565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b611b68611bc3565b6001600660146101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611bac611ee8565b604051611bb99190612609565b60405180910390a1565b611bcb61103f565b15611c0b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c0290613628565b60405180910390fd5b565b600081604051602001611c2091906136ca565b604051602081830303815290604052805190602001209050919050565b6000806000611c4c8585611f39565b91509150611c5981611f8a565b819250505092915050565b60006002811115611c7857611c776136f0565b5b826002811115611c8b57611c8a6136f0565b5b03611d2057606481600b54611ca0919061332e565b1115611cd8576040517fac073da400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005b81811015611d1a57611cef84600b546120f0565b600b6000815480929190611d0290613362565b91905055508080611d1290613362565b915050611cdb565b50611ee3565b60016002811115611d3457611d336136f0565b5b826002811115611d4757611d466136f0565b5b03611de857606481600c54611d5c919061332e565b1115611d94576040517fac073da400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005b81811015611de257611db7846064600c54611db2919061332e565b6120f0565b600c6000815480929190611dca90613362565b91905055508080611dda90613362565b915050611d97565b50611ee2565b600280811115611dfb57611dfa6136f0565b5b826002811115611e0e57611e0d6136f0565b5b03611eaf57606481600d54611e23919061332e565b1115611e5b576040517fac073da400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005b81811015611ea957611e7e8460c8600d54611e79919061332e565b6120f0565b600d6000815480929190611e9190613362565b91905055508080611ea190613362565b915050611e5e565b50611ee1565b6040517f94460fa800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b5b505050565b600033905090565b611ef861103f565b611f37576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f2e9061376b565b60405180910390fd5b565b6000806041835103611f7a5760008060006020860151925060408601519150606086015160001a9050611f6e87828585612302565b94509450505050611f83565b60006002915091505b9250929050565b60006004811115611f9e57611f9d6136f0565b5b816004811115611fb157611fb06136f0565b5b03156120ed5760016004811115611fcb57611fca6136f0565b5b816004811115611fde57611fdd6136f0565b5b0361201e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612015906137d7565b60405180910390fd5b60026004811115612032576120316136f0565b5b816004811115612045576120446136f0565b5b03612085576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161207c90613843565b60405180910390fd5b60036004811115612099576120986136f0565b5b8160048111156120ac576120ab6136f0565b5b036120ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120e3906138d5565b60405180910390fd5b5b50565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361215f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161215690612e01565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff166002600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612201576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121f890613941565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154809291906001019190505550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c111561233d5760006003915091506123db565b600060018787878760405160008152602001604052604051612362949392919061398c565b6020604051602081039080840390855afa158015612384573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036123d2576000600192509250506123db565b80600092509250505b94509492505050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61242d816123f8565b811461243857600080fd5b50565b60008135905061244a81612424565b92915050565b600060208284031215612466576124656123ee565b5b60006124748482850161243b565b91505092915050565b60008115159050919050565b6124928161247d565b82525050565b60006020820190506124ad6000830184612489565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156124ed5780820151818401526020810190506124d2565b60008484015250505050565b6000601f19601f8301169050919050565b6000612515826124b3565b61251f81856124be565b935061252f8185602086016124cf565b612538816124f9565b840191505092915050565b6000602082019050818103600083015261255d818461250a565b905092915050565b6000819050919050565b61257881612565565b811461258357600080fd5b50565b6000813590506125958161256f565b92915050565b6000602082840312156125b1576125b06123ee565b5b60006125bf84828501612586565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006125f3826125c8565b9050919050565b612603816125e8565b82525050565b600060208201905061261e60008301846125fa565b92915050565b61262d816125e8565b811461263857600080fd5b50565b60008135905061264a81612624565b92915050565b60008060408385031215612667576126666123ee565b5b60006126758582860161263b565b925050602061268685828601612586565b9150509250929050565b61269981612565565b82525050565b60006020820190506126b46000830184612690565b92915050565b6000806000606084860312156126d3576126d26123ee565b5b60006126e18682870161263b565b93505060206126f28682870161263b565b925050604061270386828701612586565b9150509250925092565b6000819050919050565b600061273261272d612728846125c8565b61270d565b6125c8565b9050919050565b600061274482612717565b9050919050565b600061275682612739565b9050919050565b6127668161274b565b82525050565b6000602082019050612781600083018461275d565b92915050565b60006020828403121561279d5761279c6123ee565b5b60006127ab8482850161263b565b91505092915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6127f6826124f9565b810181811067ffffffffffffffff82111715612815576128146127be565b5b80604052505050565b60006128286123e4565b905061283482826127ed565b919050565b600067ffffffffffffffff821115612854576128536127be565b5b61285d826124f9565b9050602081019050919050565b82818337600083830152505050565b600061288c61288784612839565b61281e565b9050828152602081018484840111156128a8576128a76127b9565b5b6128b384828561286a565b509392505050565b600082601f8301126128d0576128cf6127b4565b5b81356128e0848260208601612879565b91505092915050565b60008060408385031215612900576128ff6123ee565b5b600083013567ffffffffffffffff81111561291e5761291d6123f3565b5b61292a858286016128bb565b925050602083013567ffffffffffffffff81111561294b5761294a6123f3565b5b612957858286016128bb565b9150509250929050565b61296a8161247d565b811461297557600080fd5b50565b60008135905061298781612961565b92915050565b600080604083850312156129a4576129a36123ee565b5b60006129b28582860161263b565b92505060206129c385828601612978565b9150509250929050565b600067ffffffffffffffff8211156129e8576129e76127be565b5b6129f1826124f9565b9050602081019050919050565b6000612a11612a0c846129cd565b61281e565b905082815260208101848484011115612a2d57612a2c6127b9565b5b612a3884828561286a565b509392505050565b600082601f830112612a5557612a546127b4565b5b8135612a658482602086016129fe565b91505092915050565b60038110612a7b57600080fd5b50565b600081359050612a8d81612a6e565b92915050565b600080600060608486031215612aac57612aab6123ee565b5b600084013567ffffffffffffffff811115612aca57612ac96123f3565b5b612ad686828701612a40565b9350506020612ae78682870161263b565b9250506040612af886828701612a7e565b9150509250925092565b600080fd5b600080fd5b60008083601f840112612b2257612b216127b4565b5b8235905067ffffffffffffffff811115612b3f57612b3e612b02565b5b602083019150836001820283011115612b5b57612b5a612b07565b5b9250929050565b600080600080600060808688031215612b7e57612b7d6123ee565b5b6000612b8c8882890161263b565b9550506020612b9d8882890161263b565b9450506040612bae88828901612586565b935050606086013567ffffffffffffffff811115612bcf57612bce6123f3565b5b612bdb88828901612b0c565b92509250509295509295909350565b600080600060608486031215612c0357612c026123ee565b5b6000612c118682870161263b565b9350506020612c2286828701612a7e565b9250506040612c3386828701612586565b9150509250925092565b60008060408385031215612c5457612c536123ee565b5b6000612c628582860161263b565b9250506020612c738582860161263b565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680612cc457607f821691505b602082108103612cd757612cd6612c7d565b5b50919050565b7f4e4f545f415554484f52495a4544000000000000000000000000000000000000600082015250565b6000612d13600e836124be565b9150612d1e82612cdd565b602082019050919050565b60006020820190508181036000830152612d4281612d06565b9050919050565b7f57524f4e475f46524f4d00000000000000000000000000000000000000000000600082015250565b6000612d7f600a836124be565b9150612d8a82612d49565b602082019050919050565b60006020820190508181036000830152612dae81612d72565b9050919050565b7f494e56414c49445f524543495049454e54000000000000000000000000000000600082015250565b6000612deb6011836124be565b9150612df682612db5565b602082019050919050565b60006020820190508181036000830152612e1a81612dde565b9050919050565b600082825260208201905092915050565b50565b6000612e42600083612e21565b9150612e4d82612e32565b600082019050919050565b6000608082019050612e6d60008301866125fa565b612e7a60208301856125fa565b612e876040830184612690565b8181036060830152612e9881612e35565b9050949350505050565b600081519050612eb181612424565b92915050565b600060208284031215612ecd57612ecc6123ee565b5b6000612edb84828501612ea2565b91505092915050565b7f554e534146455f524543495049454e5400000000000000000000000000000000600082015250565b6000612f1a6010836124be565b9150612f2582612ee4565b602082019050919050565b60006020820190508181036000830152612f4981612f0d565b9050919050565b7f4e4f545f4d494e54454400000000000000000000000000000000000000000000600082015250565b6000612f86600a836124be565b9150612f9182612f50565b602082019050919050565b60006020820190508181036000830152612fb581612f79565b9050919050565b7f5a45524f5f414444524553530000000000000000000000000000000000000000600082015250565b6000612ff2600c836124be565b9150612ffd82612fbc565b602082019050919050565b6000602082019050818103600083015261302181612fe5565b9050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b60006008830261308a7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8261304d565b613094868361304d565b95508019841693508086168417925050509392505050565b60006130c76130c26130bd84612565565b61270d565b612565565b9050919050565b6000819050919050565b6130e1836130ac565b6130f56130ed826130ce565b84845461305a565b825550505050565b600090565b61310a6130fd565b6131158184846130d8565b505050565b5b818110156131395761312e600082613102565b60018101905061311b565b5050565b601f82111561317e5761314f81613028565b6131588461303d565b81016020851015613167578190505b61317b6131738561303d565b83018261311a565b50505b505050565b600082821c905092915050565b60006131a160001984600802613183565b1980831691505092915050565b60006131ba8383613190565b9150826002028217905092915050565b6131d3826124b3565b67ffffffffffffffff8111156131ec576131eb6127be565b5b6131f68254612cac565b61320182828561313d565b600060209050601f8311600181146132345760008415613222578287015190505b61322c85826131ae565b865550613294565b601f19841661324286613028565b60005b8281101561326a57848901518255600182019150602085019450602081019050613245565b868310156132875784890151613283601f891682613190565b8355505b6001600288020188555050505b505050505050565b60008160601b9050919050565b60006132b48261329c565b9050919050565b60006132c6826132a9565b9050919050565b6132de6132d9826125e8565b6132bb565b82525050565b60006132f082846132cd565b60148201915081905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061333982612565565b915061334483612565565b925082820190508082111561335c5761335b6132ff565b5b92915050565b600061336d82612565565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361339f5761339e6132ff565b5b600182019050919050565b60006133b68385612e21565b93506133c383858461286a565b6133cc836124f9565b840190509392505050565b60006080820190506133ec60008301886125fa565b6133f960208301876125fa565b6134066040830186612690565b81810360608301526134198184866133aa565b90509695505050505050565b600061343861343384612839565b61281e565b905082815260208101848484011115613454576134536127b9565b5b61345f8482856124cf565b509392505050565b600082601f83011261347c5761347b6127b4565b5b815161348c848260208601613425565b91505092915050565b6000602082840312156134ab576134aa6123ee565b5b600082015167ffffffffffffffff8111156134c9576134c86123f3565b5b6134d584828501613467565b91505092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061353a6026836124be565b9150613545826134de565b604082019050919050565b600060208201905081810360008301526135698161352d565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006135a66020836124be565b91506135b182613570565b602082019050919050565b600060208201905081810360008301526135d581613599565b9050919050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b60006136126010836124be565b915061361d826135dc565b602082019050919050565b6000602082019050818103600083015261364181613605565b9050919050565b600081905092915050565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b6000613689601c83613648565b915061369482613653565b601c82019050919050565b6000819050919050565b6000819050919050565b6136c46136bf8261369f565b6136a9565b82525050565b60006136d58261367c565b91506136e182846136b3565b60208201915081905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b60006137556014836124be565b91506137608261371f565b602082019050919050565b6000602082019050818103600083015261378481613748565b9050919050565b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b60006137c16018836124be565b91506137cc8261378b565b602082019050919050565b600060208201905081810360008301526137f0816137b4565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b600061382d601f836124be565b9150613838826137f7565b602082019050919050565b6000602082019050818103600083015261385c81613820565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b60006138bf6022836124be565b91506138ca82613863565b604082019050919050565b600060208201905081810360008301526138ee816138b2565b9050919050565b7f414c52454144595f4d494e544544000000000000000000000000000000000000600082015250565b600061392b600e836124be565b9150613936826138f5565b602082019050919050565b6000602082019050818103600083015261395a8161391e565b9050919050565b61396a8161369f565b82525050565b600060ff82169050919050565b61398681613970565b82525050565b60006080820190506139a16000830187613961565b6139ae602083018661397d565b6139bb6040830185613961565b6139c86060830184613961565b9594505050505056fea2646970667358221220c86d8109ddad002dff4bef631bf6dd7092231613dbb54fa0d38a1623154cdd8c64736f6c63430008110033
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.