ERC-721
Overview
Max Total Supply
0 EOEV05
Holders
138
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 EOEV05Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
EmpropsTokenContract
Compiler Version
v0.8.18+commit.87f61d96
Optimization Enabled:
No with 200 runs
Other Settings:
paris EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity 0.8.18; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/access/Ownable2Step.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@manifoldxyz/royalty-registry-solidity/contracts/overrides/RoyaltyOverrideCore.sol"; interface IConduitController { function getKey(address conduit) external view returns (bytes32); } contract EmpropsTokenContract is ERC721, Ownable2Step, EIP2981RoyaltyOverrideCore { address[] private _seaports = [0x00000000006c3852cbEf3e08E8dF289169EdE581]; address[] private _conduitControllers = [ 0x00000000F9490004C11Cef243f5400493c00Ad63 ]; bool public enableBlockOpenSea = true; uint256 public _mintCount; string public baseTokenURI; address public minter; uint64 public maxSupply; mapping(uint256 => string) public dm; struct LockTokenMetadata { uint256 tokenId; string metadataLink; } constructor( string memory name, string memory symbol, uint64 newMaxSupply ) ERC721(name, symbol) { maxSupply = newMaxSupply; } function _requireNotOpenSea(address to) internal view { if (enableBlockOpenSea) { for (uint256 i = 0; i < _seaports.length; ) { // Check spender isn't Seaport. require(to != _seaports[i], "OPENSEA NOT ALLOWED"); unchecked { ++i; } } for (uint256 i = 0; i < _conduitControllers.length; ) { // Check spender isn't a conduit. // First we call the controller for the corresponding key: // - if(success) -> the address is a valid conduit // - else -> the address isn't a conduit (bool success, ) = _conduitControllers[i].staticcall( abi.encodeWithSelector( IConduitController.getKey.selector, to ) ); require(!success, "OPENSEA NOT ALLOWED"); unchecked { ++i; } } } } // OVERRIDES function _baseURI() internal view virtual override returns (string memory) { return baseTokenURI; } function tokenURI( uint256 tokenId ) public view virtual override returns (string memory) { _requireMinted(tokenId); string memory baseURI = _baseURI(); if (bytes(dm[tokenId]).length != 0) { return dm[tokenId]; } return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, Strings.toString(tokenId))) : ""; } function approve(address to, uint256 tokenId) public virtual override { _requireNotOpenSea(to); super.approve(to, tokenId); } function setApprovalForAll( address operator, bool approved ) public virtual override { _requireNotOpenSea(operator); super.setApprovalForAll(operator, approved); } // MESSAGES function setOpenSeaports(address[] calldata addresses) external onlyOwner { _seaports = addresses; } function setCoduitControllers( address[] calldata addresses ) external onlyOwner { _conduitControllers = addresses; } function setBlockOpenSea(bool blockOpenSea) external onlyOwner { enableBlockOpenSea = blockOpenSea; } function lockMetadata( uint256 tokenId, string memory metadataLink ) external { require( _ownerOf(tokenId) == msg.sender, "ERC721: sender is not the owner" ); dm[tokenId] = metadataLink; } function batchLockMetadata(LockTokenMetadata[] calldata tokens) external { uint256 length = tokens.length; for (uint256 i = 0; i < length; ) { uint256 tokenId = tokens[i].tokenId; require( _ownerOf(tokenId) == msg.sender, "ERC721: sender is not the owner" ); dm[tokenId] = tokens[i].metadataLink; unchecked { ++i; } } } function updateMaxSupply(uint64 newMaxSupply) external onlyOwner { maxSupply = newMaxSupply; } function setBaseTokenURI(string memory newBaseUri) external onlyOwner { baseTokenURI = newBaseUri; } function setMinter(address newMinter) external onlyOwner { minter = newMinter; } function mint( address owner, uint256 tokenId, address author, uint16 bps ) external { require(msg.sender == minter, "Sender not minter"); require(_mintCount < maxSupply, "Max supply exceeded"); _safeMint(owner, tokenId); // Increment counter _mintCount = _mintCount + 1; // Set royalties TokenRoyaltyConfig[] memory royaltyConfigs = new TokenRoyaltyConfig[]( 1 ); royaltyConfigs[0] = TokenRoyaltyConfig(tokenId, author, bps); _setTokenRoyalties(royaltyConfigs); } // ROYALTIES function setTokenRoyalties( TokenRoyaltyConfig[] calldata royaltyConfigs ) external override onlyOwner { _setTokenRoyalties(royaltyConfigs); } function setDefaultRoyalty( TokenRoyalty calldata royalty ) external override onlyOwner { _setDefaultRoyalty(royalty); } function supportsInterface( bytes4 interfaceId ) public view virtual override(ERC721, EIP2981RoyaltyOverrideCore) returns (bool) { return ERC721.supportsInterface(interfaceId) || EIP2981RoyaltyOverrideCore.supportsInterface(interfaceId); } // Queries function getTokensOf( address _owner, uint256 _collectionId, uint256 _maxSupply ) public view returns (uint256[] memory) { uint256 m = 1e6; uint256 ownerTokenCount = balanceOf(_owner); uint256[] memory ownerTokens = new uint256[](ownerTokenCount); uint256 ownerTokenIdx = 0; uint256 maxTokenAvailable = (_collectionId * m) + _maxSupply; for ( uint256 tokenIdx = _collectionId * m; tokenIdx <= maxTokenAvailable; ) { if (_ownerOf(tokenIdx) == _owner) { ownerTokens[ownerTokenIdx] = tokenIdx; unchecked { ++ownerTokenIdx; } } unchecked { ++tokenIdx; } } return ownerTokens; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (utils/structs/EnumerableSet.sol) // This file was procedurally generated from scripts/generate/templates/EnumerableSet.js. pragma solidity ^0.8.0; /** * @dev Library for managing * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive * types. * * Sets have the following properties: * * - Elements are added, removed, and checked for existence in constant time * (O(1)). * - Elements are enumerated in O(n). No guarantees are made on the ordering. * * ``` * contract Example { * // Add the library methods * using EnumerableSet for EnumerableSet.AddressSet; * * // Declare a set state variable * EnumerableSet.AddressSet private mySet; * } * ``` * * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`) * and `uint256` (`UintSet`) are supported. * * [WARNING] * ==== * Trying to delete such a structure from storage will likely result in data corruption, rendering the structure * unusable. * See https://github.com/ethereum/solidity/pull/11843[ethereum/solidity#11843] for more info. * * In order to clean an EnumerableSet, you can either remove all elements one by one or create a fresh instance using an * array of EnumerableSet. * ==== */ library EnumerableSet { // To implement this library for multiple types with as little code // repetition as possible, we write it in terms of a generic Set type with // bytes32 values. // The Set implementation uses private functions, and user-facing // implementations (such as AddressSet) are just wrappers around the // underlying Set. // This means that we can only create new EnumerableSets for types that fit // in bytes32. struct Set { // Storage of set values bytes32[] _values; // Position of the value in the `values` array, plus 1 because index 0 // means a value is not in the set. mapping(bytes32 => uint256) _indexes; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function _add(Set storage set, bytes32 value) private returns (bool) { if (!_contains(set, value)) { set._values.push(value); // The value is stored at length-1, but we add 1 to all indexes // and use 0 as a sentinel value set._indexes[value] = set._values.length; return true; } else { return false; } } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function _remove(Set storage set, bytes32 value) private returns (bool) { // We read and store the value's index to prevent multiple reads from the same storage slot uint256 valueIndex = set._indexes[value]; if (valueIndex != 0) { // Equivalent to contains(set, value) // To delete an element from the _values array in O(1), we swap the element to delete with the last one in // the array, and then remove the last element (sometimes called as 'swap and pop'). // This modifies the order of the array, as noted in {at}. uint256 toDeleteIndex = valueIndex - 1; uint256 lastIndex = set._values.length - 1; if (lastIndex != toDeleteIndex) { bytes32 lastValue = set._values[lastIndex]; // Move the last value to the index where the value to delete is set._values[toDeleteIndex] = lastValue; // Update the index for the moved value set._indexes[lastValue] = valueIndex; // Replace lastValue's index to valueIndex } // Delete the slot where the moved value was stored set._values.pop(); // Delete the index for the deleted slot delete set._indexes[value]; return true; } else { return false; } } /** * @dev Returns true if the value is in the set. O(1). */ function _contains(Set storage set, bytes32 value) private view returns (bool) { return set._indexes[value] != 0; } /** * @dev Returns the number of values on the set. O(1). */ function _length(Set storage set) private view returns (uint256) { return set._values.length; } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function _at(Set storage set, uint256 index) private view returns (bytes32) { return set._values[index]; } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function _values(Set storage set) private view returns (bytes32[] memory) { return set._values; } // Bytes32Set struct Bytes32Set { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(Bytes32Set storage set, bytes32 value) internal returns (bool) { return _add(set._inner, value); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) { return _remove(set._inner, value); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) { return _contains(set._inner, value); } /** * @dev Returns the number of values in the set. O(1). */ function length(Bytes32Set storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) { return _at(set._inner, index); } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function values(Bytes32Set storage set) internal view returns (bytes32[] memory) { bytes32[] memory store = _values(set._inner); bytes32[] memory result; /// @solidity memory-safe-assembly assembly { result := store } return result; } // AddressSet struct AddressSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(AddressSet storage set, address value) internal returns (bool) { return _add(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(AddressSet storage set, address value) internal returns (bool) { return _remove(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(AddressSet storage set, address value) internal view returns (bool) { return _contains(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Returns the number of values in the set. O(1). */ function length(AddressSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(AddressSet storage set, uint256 index) internal view returns (address) { return address(uint160(uint256(_at(set._inner, index)))); } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function values(AddressSet storage set) internal view returns (address[] memory) { bytes32[] memory store = _values(set._inner); address[] memory result; /// @solidity memory-safe-assembly assembly { result := store } return result; } // UintSet struct UintSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(UintSet storage set, uint256 value) internal returns (bool) { return _add(set._inner, bytes32(value)); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(UintSet storage set, uint256 value) internal returns (bool) { return _remove(set._inner, bytes32(value)); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(UintSet storage set, uint256 value) internal view returns (bool) { return _contains(set._inner, bytes32(value)); } /** * @dev Returns the number of values in the set. O(1). */ function length(UintSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(UintSet storage set, uint256 index) internal view returns (uint256) { return uint256(_at(set._inner, index)); } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function values(UintSet storage set) internal view returns (uint256[] memory) { bytes32[] memory store = _values(set._inner); uint256[] memory result; /// @solidity memory-safe-assembly assembly { result := store } return result; } }
// 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 v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (utils/Strings.sol) pragma solidity ^0.8.0; import "./math/Math.sol"; /** * @dev String operations. */ library Strings { bytes16 private constant _SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { unchecked { uint256 length = Math.log10(value) + 1; string memory buffer = new string(length); uint256 ptr; /// @solidity memory-safe-assembly assembly { ptr := add(buffer, add(32, length)) } while (true) { ptr--; /// @solidity memory-safe-assembly assembly { mstore8(ptr, byte(mod(value, 10), _SYMBOLS)) } value /= 10; if (value == 0) break; } return buffer; } } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { unchecked { return toHexString(value, Math.log256(value) + 1); } } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract. * * _Available since v4.8._ */ function verifyCallResultFromTarget( address target, bool success, bytes memory returndata, string memory errorMessage ) internal view returns (bytes memory) { if (success) { if (returndata.length == 0) { // only check isContract if the call was successful and the return data is empty // otherwise we already know that it was a contract require(isContract(target), "Address: call to non-contract"); } return returndata; } else { _revert(returndata, errorMessage); } } /** * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason or using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { _revert(returndata, errorMessage); } } function _revert(bytes memory returndata, string memory errorMessage) private pure { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721 * or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must * understand this adds an external call which potentially creates a reentrancy vulnerability. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: address zero is not a valid owner"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _ownerOf(tokenId); require(owner != address(0), "ERC721: invalid token ID"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { _requireMinted(tokenId); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not token owner or approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { _requireMinted(tokenId); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner or approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner or approved"); _safeTransfer(from, to, tokenId, data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns the owner of the `tokenId`. Does NOT revert if token doesn't exist */ function _ownerOf(uint256 tokenId) internal view virtual returns (address) { return _owners[tokenId]; } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _ownerOf(tokenId) != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { address owner = ERC721.ownerOf(tokenId); return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId, 1); // Check that tokenId was not minted by `_beforeTokenTransfer` hook require(!_exists(tokenId), "ERC721: token already minted"); unchecked { // Will not overflow unless all 2**256 token ids are minted to the same owner. // Given that tokens are minted one by one, it is impossible in practice that // this ever happens. Might change if we allow batch minting. // The ERC fails to describe this case. _balances[to] += 1; } _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); _afterTokenTransfer(address(0), to, tokenId, 1); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * This is an internal function that does not check if the sender is authorized to operate on the token. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId, 1); // Update ownership in case tokenId was transferred by `_beforeTokenTransfer` hook owner = ERC721.ownerOf(tokenId); // Clear approvals delete _tokenApprovals[tokenId]; unchecked { // Cannot overflow, as that would require more tokens to be burned/transferred // out than the owner initially received through minting and transferring in. _balances[owner] -= 1; } delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); _afterTokenTransfer(owner, address(0), tokenId, 1); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId, 1); // Check that tokenId was not transferred by `_beforeTokenTransfer` hook require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); // Clear approvals from the previous owner delete _tokenApprovals[tokenId]; unchecked { // `_balances[from]` cannot overflow for the same reason as described in `_burn`: // `from`'s balance is the number of token held, which is at least one before the current // transfer. // `_balances[to]` could overflow in the conditions described in `_mint`. That would require // all 2**256 token ids to be minted, which in practice is impossible. _balances[from] -= 1; _balances[to] += 1; } _owners[tokenId] = to; emit Transfer(from, to, tokenId); _afterTokenTransfer(from, to, tokenId, 1); } /** * @dev Approve `to` to operate on `tokenId` * * Emits an {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits an {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Reverts if the `tokenId` has not been minted yet. */ function _requireMinted(uint256 tokenId) internal view virtual { require(_exists(tokenId), "ERC721: invalid token ID"); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { /// @solidity memory-safe-assembly assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting and burning. If {ERC721Consecutive} is * used, the hook may be called as part of a consecutive (batch) mint, as indicated by `batchSize` greater than 1. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s tokens will be transferred to `to`. * - When `from` is zero, the tokens will be minted for `to`. * - When `to` is zero, ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * - `batchSize` is non-zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256, /* firstTokenId */ uint256 batchSize ) internal virtual { if (batchSize > 1) { if (from != address(0)) { _balances[from] -= batchSize; } if (to != address(0)) { _balances[to] += batchSize; } } } /** * @dev Hook that is called after any token transfer. This includes minting and burning. If {ERC721Consecutive} is * used, the hook may be called as part of a consecutive (batch) mint, as indicated by `batchSize` greater than 1. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s tokens were transferred to `to`. * - When `from` is zero, the tokens were minted for `to`. * - When `to` is zero, ``from``'s tokens were burned. * - `from` and `to` are never both zero. * - `batchSize` is non-zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 firstTokenId, uint256 batchSize ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (access/Ownable2Step.sol) pragma solidity ^0.8.0; import "./Ownable.sol"; /** * @dev Contract module which provides 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} and {acceptOwnership}. * * This module is used through inheritance. It will make available all functions * from parent (Ownable). */ abstract contract Ownable2Step is Ownable { address private _pendingOwner; event OwnershipTransferStarted(address indexed previousOwner, address indexed newOwner); /** * @dev Returns the address of the pending owner. */ function pendingOwner() public view virtual returns (address) { return _pendingOwner; } /** * @dev Starts the ownership transfer of the contract to a new account. Replaces the pending transfer if there is one. * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual override onlyOwner { _pendingOwner = newOwner; emit OwnershipTransferStarted(owner(), newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`) and deletes any pending owner. * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual override { delete _pendingOwner; super._transferOwnership(newOwner); } /** * @dev The new owner accepts the ownership transfer. */ function acceptOwnership() external { address sender = _msgSender(); require(pendingOwner() == sender, "Ownable2Step: caller is not the new owner"); _transferOwnership(sender); } }
// 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 pragma solidity ^0.8.0; /** * EIP-2981 */ interface IEIP2981 { /** * bytes4(keccak256("royaltyInfo(uint256,uint256)")) == 0x2a55205a * * => 0x2a55205a = 0x2a55205a */ function royaltyInfo(uint256 tokenId, uint256 value) external view returns (address, uint256); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /// @author: manifold.xyz import "@openzeppelin/contracts/utils/introspection/ERC165.sol"; import "@openzeppelin/contracts/utils/structs/EnumerableSet.sol"; import "./IRoyaltyOverride.sol"; import "../specs/IEIP2981.sol"; /** * Simple EIP2981 reference override implementation */ abstract contract EIP2981RoyaltyOverrideCore is IEIP2981, IEIP2981RoyaltyOverride, ERC165 { using EnumerableSet for EnumerableSet.UintSet; TokenRoyalty public defaultRoyalty; mapping(uint256 => TokenRoyalty) private _tokenRoyalties; EnumerableSet.UintSet private _tokensWithRoyalties; function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IEIP2981).interfaceId || interfaceId == type(IEIP2981RoyaltyOverride).interfaceId || super.supportsInterface(interfaceId); } /** * @dev Sets token royalties. When you override this in the implementation contract * ensure that you access restrict it to the contract owner or admin */ function _setTokenRoyalties(TokenRoyaltyConfig[] memory royaltyConfigs) internal { for (uint i = 0; i < royaltyConfigs.length; i++) { TokenRoyaltyConfig memory royaltyConfig = royaltyConfigs[i]; require(royaltyConfig.bps < 10000, "Invalid bps"); if (royaltyConfig.recipient == address(0)) { delete _tokenRoyalties[royaltyConfig.tokenId]; _tokensWithRoyalties.remove(royaltyConfig.tokenId); emit TokenRoyaltyRemoved(royaltyConfig.tokenId); } else { _tokenRoyalties[royaltyConfig.tokenId] = TokenRoyalty(royaltyConfig.recipient, royaltyConfig.bps); _tokensWithRoyalties.add(royaltyConfig.tokenId); emit TokenRoyaltySet(royaltyConfig.tokenId, royaltyConfig.recipient, royaltyConfig.bps); } } } /** * @dev Sets default royalty. When you override this in the implementation contract * ensure that you access restrict it to the contract owner or admin */ function _setDefaultRoyalty(TokenRoyalty memory royalty) internal { require(royalty.bps < 10000, "Invalid bps"); defaultRoyalty = TokenRoyalty(royalty.recipient, royalty.bps); emit DefaultRoyaltySet(royalty.recipient, royalty.bps); } /** * @dev See {IEIP2981RoyaltyOverride-getTokenRoyaltiesCount}. */ function getTokenRoyaltiesCount() external override view returns(uint256) { return _tokensWithRoyalties.length(); } /** * @dev See {IEIP2981RoyaltyOverride-getTokenRoyaltyByIndex}. */ function getTokenRoyaltyByIndex(uint256 index) external override view returns(TokenRoyaltyConfig memory) { uint256 tokenId = _tokensWithRoyalties.at(index); TokenRoyalty memory royalty = _tokenRoyalties[tokenId]; return TokenRoyaltyConfig(tokenId, royalty.recipient, royalty.bps); } /** * @dev See {IEIP2981RoyaltyOverride-royaltyInfo}. */ function royaltyInfo(uint256 tokenId, uint256 value) public override view returns (address, uint256) { if (_tokenRoyalties[tokenId].recipient != address(0)) { return (_tokenRoyalties[tokenId].recipient, value*_tokenRoyalties[tokenId].bps/10000); } if (defaultRoyalty.recipient != address(0) && defaultRoyalty.bps != 0) { return (defaultRoyalty.recipient, value*defaultRoyalty.bps/10000); } return (address(0), 0); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /// @author: manifold.xyz import "@openzeppelin/contracts/utils/introspection/IERC165.sol"; /** * Simple EIP2981 reference override implementation */ interface IEIP2981RoyaltyOverride is IERC165 { event TokenRoyaltyRemoved(uint256 tokenId); event TokenRoyaltySet(uint256 tokenId, address recipient, uint16 bps); event DefaultRoyaltySet(address recipient, uint16 bps); struct TokenRoyalty { address recipient; uint16 bps; } struct TokenRoyaltyConfig { uint256 tokenId; address recipient; uint16 bps; } /** * @dev Set per token royalties. Passing a recipient of address(0) will delete any existing configuration */ function setTokenRoyalties(TokenRoyaltyConfig[] calldata royalties) external; /** * @dev Get the number of token specific overrides. Used to enumerate over all configurations */ function getTokenRoyaltiesCount() external view returns(uint256); /** * @dev Get a token royalty configuration by index. Use in conjunction with getTokenRoyaltiesCount to get all per token configurations */ function getTokenRoyaltyByIndex(uint256 index) external view returns(TokenRoyaltyConfig memory); /** * @dev Set a default royalty configuration. Will be used if no token specific configuration is set */ function setDefaultRoyalty(TokenRoyalty calldata royalty) external; }
{ "remappings": [], "optimizer": { "enabled": false, "runs": 200 }, "evmVersion": "paris", "libraries": {}, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"uint64","name":"newMaxSupply","type":"uint64"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"recipient","type":"address"},{"indexed":false,"internalType":"uint16","name":"bps","type":"uint16"}],"name":"DefaultRoyaltySet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferStarted","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":"uint256","name":"tokenId","type":"uint256"}],"name":"TokenRoyaltyRemoved","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"address","name":"recipient","type":"address"},{"indexed":false,"internalType":"uint16","name":"bps","type":"uint16"}],"name":"TokenRoyaltySet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"_mintCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"acceptOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"components":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"string","name":"metadataLink","type":"string"}],"internalType":"struct EmpropsTokenContract.LockTokenMetadata[]","name":"tokens","type":"tuple[]"}],"name":"batchLockMetadata","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"defaultRoyalty","outputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint16","name":"bps","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"dm","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"enableBlockOpenSea","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTokenRoyaltiesCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"getTokenRoyaltyByIndex","outputs":[{"components":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint16","name":"bps","type":"uint16"}],"internalType":"struct IEIP2981RoyaltyOverride.TokenRoyaltyConfig","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"},{"internalType":"uint256","name":"_collectionId","type":"uint256"},{"internalType":"uint256","name":"_maxSupply","type":"uint256"}],"name":"getTokensOf","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"string","name":"metadataLink","type":"string"}],"name":"lockMetadata","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"address","name":"author","type":"address"},{"internalType":"uint16","name":"bps","type":"uint16"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"minter","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pendingOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newBaseUri","type":"string"}],"name":"setBaseTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"blockOpenSea","type":"bool"}],"name":"setBlockOpenSea","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"addresses","type":"address[]"}],"name":"setCoduitControllers","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint16","name":"bps","type":"uint16"}],"internalType":"struct IEIP2981RoyaltyOverride.TokenRoyalty","name":"royalty","type":"tuple"}],"name":"setDefaultRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newMinter","type":"address"}],"name":"setMinter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"addresses","type":"address[]"}],"name":"setOpenSeaports","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint16","name":"bps","type":"uint16"}],"internalType":"struct IEIP2981RoyaltyOverride.TokenRoyaltyConfig[]","name":"royaltyConfigs","type":"tuple[]"}],"name":"setTokenRoyalties","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint64","name":"newMaxSupply","type":"uint64"}],"name":"updateMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
608060405260405180602001604052806e6c3852cbef3e08e8df289169ede58173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815250600c9060016200006092919062000293565b5060405180602001604052806ff9490004c11cef243f5400493c00ad6373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815250600d906001620000be92919062000293565b506001600e60006101000a81548160ff021916908315150217905550348015620000e757600080fd5b5060405162005eb438038062005eb483398181016040528101906200010d919062000519565b82828160009081620001209190620007fe565b508060019081620001329190620007fe565b50505062000155620001496200018760201b60201c565b6200018f60201b60201c565b80601160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550505050620008e5565b600033905090565b600760006101000a81549073ffffffffffffffffffffffffffffffffffffffff0219169055620001ca81620001cd60201b620019851760201c565b50565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280548282559060005260206000209081019282156200030f579160200282015b828111156200030e5782518260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555091602001919060010190620002b4565b5b5090506200031e919062000322565b5090565b5b808211156200033d57600081600090555060010162000323565b5090565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b620003aa826200035f565b810181811067ffffffffffffffff82111715620003cc57620003cb62000370565b5b80604052505050565b6000620003e162000341565b9050620003ef82826200039f565b919050565b600067ffffffffffffffff82111562000412576200041162000370565b5b6200041d826200035f565b9050602081019050919050565b60005b838110156200044a5780820151818401526020810190506200042d565b60008484015250505050565b60006200046d6200046784620003f4565b620003d5565b9050828152602081018484840111156200048c576200048b6200035a565b5b620004998482856200042a565b509392505050565b600082601f830112620004b957620004b862000355565b5b8151620004cb84826020860162000456565b91505092915050565b600067ffffffffffffffff82169050919050565b620004f381620004d4565b8114620004ff57600080fd5b50565b6000815190506200051381620004e8565b92915050565b6000806000606084860312156200053557620005346200034b565b5b600084015167ffffffffffffffff81111562000556576200055562000350565b5b6200056486828701620004a1565b935050602084015167ffffffffffffffff81111562000588576200058762000350565b5b6200059686828701620004a1565b9250506040620005a98682870162000502565b9150509250925092565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200060657607f821691505b6020821081036200061c576200061b620005be565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620006867fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8262000647565b62000692868362000647565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b6000620006df620006d9620006d384620006aa565b620006b4565b620006aa565b9050919050565b6000819050919050565b620006fb83620006be565b620007136200070a82620006e6565b84845462000654565b825550505050565b600090565b6200072a6200071b565b62000737818484620006f0565b505050565b5b818110156200075f576200075360008262000720565b6001810190506200073d565b5050565b601f821115620007ae57620007788162000622565b620007838462000637565b8101602085101562000793578190505b620007ab620007a28562000637565b8301826200073c565b50505b505050565b600082821c905092915050565b6000620007d360001984600802620007b3565b1980831691505092915050565b6000620007ee8383620007c0565b9150826002028217905092915050565b6200080982620005b3565b67ffffffffffffffff81111562000825576200082462000370565b5b620008318254620005ed565b6200083e82828562000763565b600060209050601f83116001811462000876576000841562000861578287015190505b6200086d8582620007e0565b865550620008dd565b601f198416620008868662000622565b60005b82811015620008b05784890151825560018201915060208501945060208101905062000889565b86831015620008d05784890151620008cc601f891682620007c0565b8355505b6001600288020188555050505b505050505050565b6155bf80620008f56000396000f3fe608060405234801561001057600080fd5b50600436106102485760003560e01c80637885fdc71161013b578063d5abeb01116100b8578063ef60ceaf1161007c578063ef60ceaf146106c9578063f148b4b2146106e5578063f2fde38b14610715578063f855904414610731578063fca3b5aa1461074d57610248565b8063d5abeb0114610623578063e242397914610641578063e30c39781461065d578063e3d259811461067b578063e985e9c51461069957610248565b806395d89b41116100ff57806395d89b411461057f578063a22cb4651461059d578063b88d4fde146105b9578063c87b56dd146105d5578063d547cfb71461060557610248565b80637885fdc7146104fe57806379ba50971461051d5780637e9803421461052757806387dce435146105455780638da5cb5b1461056157610248565b80633cc8402c116101c95780635df5ee821161018d5780635df5ee82146104485780636352211e1461046457806366a3adbd1461049457806370a08231146104c4578063715018a6146104f457610248565b80633cc8402c146103ba5780633d7b313e146103d657806342842e0e146103f45780635136dcc7146104105780635df250a01461042c57610248565b8063095ea7b311610210578063095ea7b31461031957806323b872dd146103355780632a55205a146103515780632f6196b71461038257806330176e131461039e57610248565b806301ffc9a71461024d5780630653aca51461027d57806306fdde03146102ad57806307546172146102cb578063081812fc146102e9575b600080fd5b61026760048036038101906102629190613723565b610769565b604051610274919061376b565b60405180910390f35b610297600480360381019061029291906137bc565b61078b565b6040516102a49190613898565b60405180910390f35b6102b5610889565b6040516102c29190613943565b60405180910390f35b6102d361091b565b6040516102e09190613974565b60405180910390f35b61030360048036038101906102fe91906137bc565b610941565b6040516103109190613974565b60405180910390f35b610333600480360381019061032e91906139bb565b610987565b005b61034f600480360381019061034a91906139fb565b61099e565b005b61036b60048036038101906103669190613a4e565b6109fe565b604051610379929190613a9d565b60405180910390f35b61039c60048036038101906103979190613af2565b610bd9565b005b6103b860048036038101906103b39190613c8e565b610da9565b005b6103d460048036038101906103cf9190613d17565b610dc4565b005b6103de610df8565b6040516103eb9190613d44565b60405180910390f35b61040e600480360381019061040991906139fb565b610dfe565b005b61042a60048036038101906104259190613dbf565b610e1e565b005b61044660048036038101906104419190613e62565b610e89565b005b610462600480360381019061045d9190613e62565b610ea7565b005b61047e600480360381019061047991906137bc565b610ec5565b60405161048b9190613974565b60405180910390f35b6104ae60048036038101906104a99190613eaf565b610f4b565b6040516104bb9190613fb1565b60405180910390f35b6104de60048036038101906104d99190613fd3565b611060565b6040516104eb9190613d44565b60405180910390f35b6104fc611117565b005b61050661112b565b60405161051492919061400f565b60405180910390f35b61052561116b565b005b61052f6111f8565b60405161053c9190613d44565b60405180910390f35b61055f600480360381019061055a9190614038565b611209565b005b6105696112a4565b6040516105769190613974565b60405180910390f35b6105876112ce565b6040516105949190613943565b60405180910390f35b6105b760048036038101906105b291906140c0565b611360565b005b6105d360048036038101906105ce91906141a1565b611377565b005b6105ef60048036038101906105ea91906137bc565b6113d9565b6040516105fc9190613943565b60405180910390f35b61060d61150d565b60405161061a9190613943565b60405180910390f35b61062b61159b565b6040516106389190614233565b60405180910390f35b61065b600480360381019061065691906142a4565b6115b5565b005b6106656116d2565b6040516106729190613974565b60405180910390f35b6106836116fc565b604051610690919061376b565b60405180910390f35b6106b360048036038101906106ae91906142f1565b61170f565b6040516106c0919061376b565b60405180910390f35b6106e360048036038101906106de9190614355565b6117a3565b005b6106ff60048036038101906106fa91906137bc565b6117c7565b60405161070c9190613943565b60405180910390f35b61072f600480360381019061072a9190613fd3565b611867565b005b61074b60048036038101906107469190614382565b611914565b005b61076760048036038101906107629190613fd3565b611939565b005b600061077482611a4b565b80610784575061078382611b2d565b5b9050919050565b6107936135bf565b60006107a983600a611c0f90919063ffffffff16565b90506000600960008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900461ffff1661ffff1661ffff168152505090506040518060600160405280838152602001826000015173ffffffffffffffffffffffffffffffffffffffff168152602001826020015161ffff1681525092505050919050565b606060008054610898906143de565b80601f01602080910402602001604051908101604052809291908181526020018280546108c4906143de565b80156109115780601f106108e657610100808354040283529160200191610911565b820191906000526020600020905b8154815290600101906020018083116108f457829003601f168201915b5050505050905090565b601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600061094c82611c29565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b61099082611c74565b61099a8282611ed1565b5050565b6109af6109a9611fe8565b82611ff0565b6109ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109e590614481565b60405180910390fd5b6109f9838383612085565b505050565b600080600073ffffffffffffffffffffffffffffffffffffffff166009600086815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610aec576009600085815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166127106009600087815260200190815260200160002060000160149054906101000a900461ffff1661ffff1685610ad991906144d0565b610ae39190614541565b91509150610bd2565b600073ffffffffffffffffffffffffffffffffffffffff16600860000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614158015610b6657506000600860000160149054906101000a900461ffff1661ffff1614155b15610bca57600860000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16612710600860000160149054906101000a900461ffff1661ffff1685610bb791906144d0565b610bc19190614541565b91509150610bd2565b600080915091505b9250929050565b601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610c69576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c60906145be565b60405180910390fd5b601160149054906101000a900467ffffffffffffffff1667ffffffffffffffff16600f5410610ccd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cc49061462a565b60405180910390fd5b610cd7848461237e565b6001600f54610ce6919061464a565b600f819055506000600167ffffffffffffffff811115610d0957610d08613b63565b5b604051908082528060200260200182016040528015610d4257816020015b610d2f6135bf565b815260200190600190039081610d275790505b50905060405180606001604052808581526020018473ffffffffffffffffffffffffffffffffffffffff1681526020018361ffff1681525081600081518110610d8e57610d8d61467e565b5b6020026020010181905250610da28161239c565b5050505050565b610db161262e565b8060109081610dc09190614859565b5050565b610dcc61262e565b80601160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555050565b600f5481565b610e1983838360405180602001604052806000815250611377565b505050565b610e2661262e565b610e858282808060200260200160405190810160405280939291908181526020016000905b82821015610e7b57848483905060600201803603810190610e6c9190614994565b81526020019060010190610e4b565b505050505061239c565b5050565b610e9161262e565b8181600d9190610ea29291906135fa565b505050565b610eaf61262e565b8181600c9190610ec09291906135fa565b505050565b600080610ed1836126ac565b9050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610f42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f3990614a0d565b60405180910390fd5b80915050919050565b60606000620f424090506000610f6086611060565b905060008167ffffffffffffffff811115610f7e57610f7d613b63565b5b604051908082528060200260200182016040528015610fac5781602001602082028036833780820191505090505b509050600080868589610fbf91906144d0565b610fc9919061464a565b905060008589610fd991906144d0565b90505b818111611050578973ffffffffffffffffffffffffffffffffffffffff16611003826126ac565b73ffffffffffffffffffffffffffffffffffffffff160361104557808484815181106110325761103161467e565b5b6020026020010181815250508260010192505b806001019050610fdc565b5082955050505050509392505050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036110d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110c790614a9f565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61111f61262e565b61112960006126e9565b565b60088060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060000160149054906101000a900461ffff16905082565b6000611175611fe8565b90508073ffffffffffffffffffffffffffffffffffffffff166111966116d2565b73ffffffffffffffffffffffffffffffffffffffff16146111ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111e390614b31565b60405180910390fd5b6111f5816126e9565b50565b6000611204600a61271a565b905090565b3373ffffffffffffffffffffffffffffffffffffffff16611229836126ac565b73ffffffffffffffffffffffffffffffffffffffff161461127f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161127690614b9d565b60405180910390fd5b8060126000848152602001908152602001600020908161129f9190614859565b505050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600180546112dd906143de565b80601f0160208091040260200160405190810160405280929190818152602001828054611309906143de565b80156113565780601f1061132b57610100808354040283529160200191611356565b820191906000526020600020905b81548152906001019060200180831161133957829003601f168201915b5050505050905090565b61136982611c74565b611373828261272f565b5050565b611388611382611fe8565b83611ff0565b6113c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113be90614481565b60405180910390fd5b6113d384848484612745565b50505050565b60606113e482611c29565b60006113ee6127a1565b90506000601260008581526020019081526020016000208054611410906143de565b9050146114bb57601260008481526020019081526020016000208054611435906143de565b80601f0160208091040260200160405190810160405280929190818152602001828054611461906143de565b80156114ae5780601f10611483576101008083540402835291602001916114ae565b820191906000526020600020905b81548152906001019060200180831161149157829003601f168201915b5050505050915050611508565b60008151036114d95760405180602001604052806000815250611504565b806114e384612833565b6040516020016114f4929190614bf9565b6040516020818303038152906040525b9150505b919050565b6010805461151a906143de565b80601f0160208091040260200160405190810160405280929190818152602001828054611546906143de565b80156115935780601f1061156857610100808354040283529160200191611593565b820191906000526020600020905b81548152906001019060200180831161157657829003601f168201915b505050505081565b601160149054906101000a900467ffffffffffffffff1681565b600082829050905060005b818110156116cc5760008484838181106115dd576115dc61467e565b5b90506020028101906115ef9190614c2c565b6000013590503373ffffffffffffffffffffffffffffffffffffffff16611615826126ac565b73ffffffffffffffffffffffffffffffffffffffff161461166b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161166290614b9d565b60405180910390fd5b84848381811061167e5761167d61467e565b5b90506020028101906116909190614c2c565b806020019061169f9190614c54565b6012600084815260200190815260200160002091826116bf929190614cc2565b50816001019150506115c0565b50505050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600e60009054906101000a900460ff1681565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6117ab61262e565b6117c4818036038101906117bf9190614de2565b612901565b50565b601260205280600052604060002060009150905080546117e6906143de565b80601f0160208091040260200160405190810160405280929190818152602001828054611812906143de565b801561185f5780601f106118345761010080835404028352916020019161185f565b820191906000526020600020905b81548152906001019060200180831161184257829003601f168201915b505050505081565b61186f61262e565b80600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff166118cf6112a4565b73ffffffffffffffffffffffffffffffffffffffff167f38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e2270060405160405180910390a350565b61191c61262e565b80600e60006101000a81548160ff02191690831515021790555050565b61194161262e565b80601160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611b1657507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611b265750611b2582612a37565b5b9050919050565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611bf857507fc69dbd8f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611c085750611c0782611a4b565b5b9050919050565b6000611c1e8360000183612aa1565b60001c905092915050565b611c3281612acc565b611c71576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c6890614a0d565b60405180910390fd5b50565b600e60009054906101000a900460ff1615611ece5760005b600c80549050811015611d5057600c8181548110611cad57611cac61467e565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611d45576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d3c90614e5b565b60405180910390fd5b806001019050611c8c565b5060005b600d80549050811015611ecc576000600d8281548110611d7757611d7661467e565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166393790f4460e01b84604051602401611dd19190613974565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050604051611e3b9190614ec2565b600060405180830381855afa9150503d8060008114611e76576040519150601f19603f3d011682016040523d82523d6000602084013e611e7b565b606091505b505090508015611ec0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eb790614e5b565b60405180910390fd5b81600101915050611d54565b505b50565b6000611edc82610ec5565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611f4c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f4390614f4b565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16611f6b611fe8565b73ffffffffffffffffffffffffffffffffffffffff161480611f9a5750611f9981611f94611fe8565b61170f565b5b611fd9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fd090614fdd565b60405180910390fd5b611fe38383612b0d565b505050565b600033905090565b600080611ffc83610ec5565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061203e575061203d818561170f565b5b8061207c57508373ffffffffffffffffffffffffffffffffffffffff1661206484610941565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166120a582610ec5565b73ffffffffffffffffffffffffffffffffffffffff16146120fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120f29061506f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361216a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161216190615101565b60405180910390fd5b6121778383836001612bc6565b8273ffffffffffffffffffffffffffffffffffffffff1661219782610ec5565b73ffffffffffffffffffffffffffffffffffffffff16146121ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121e49061506f565b60405180910390fd5b6004600082815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825403925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46123798383836001612cec565b505050565b612398828260405180602001604052806000815250612cf2565b5050565b60005b815181101561262a5760008282815181106123bd576123bc61467e565b5b60200260200101519050612710816040015161ffff1610612413576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161240a9061516d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16816020015173ffffffffffffffffffffffffffffffffffffffff16036124fa576009600082600001518152602001908152602001600020600080820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556000820160146101000a81549061ffff021916905550506124b98160000151600a612d4d90919063ffffffff16565b507fa2870857763bd9ae76c957f869f16b31c18dd3bb4c7b4d3a4496dc5c57c657f981600001516040516124ed9190613d44565b60405180910390a1612616565b6040518060400160405280826020015173ffffffffffffffffffffffffffffffffffffffff168152602001826040015161ffff16815250600960008360000151815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548161ffff021916908361ffff1602179055509050506125cd8160000151600a612d6790919063ffffffff16565b507f389b70fb0887f01e83784eb1c4c589f740eca53b00ed0f45e41db5d079719abb81600001518260200151836040015160405161260d9392919061518d565b60405180910390a15b508080612622906151c4565b91505061239f565b5050565b612636611fe8565b73ffffffffffffffffffffffffffffffffffffffff166126546112a4565b73ffffffffffffffffffffffffffffffffffffffff16146126aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126a190615258565b60405180910390fd5b565b60006002600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600760006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905561271781611985565b50565b600061272882600001612d81565b9050919050565b61274161273a611fe8565b8383612d92565b5050565b612750848484612085565b61275c84848484612efe565b61279b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612792906152ea565b60405180910390fd5b50505050565b6060601080546127b0906143de565b80601f01602080910402602001604051908101604052809291908181526020018280546127dc906143de565b80156128295780601f106127fe57610100808354040283529160200191612829565b820191906000526020600020905b81548152906001019060200180831161280c57829003601f168201915b5050505050905090565b60606000600161284284613085565b01905060008167ffffffffffffffff81111561286157612860613b63565b5b6040519080825280601f01601f1916602001820160405280156128935781602001600182028036833780820191505090505b509050600082602001820190505b6001156128f6578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a85816128ea576128e9614512565b5b049450600085036128a1575b819350505050919050565b612710816020015161ffff161061294d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129449061516d565b60405180910390fd5b6040518060400160405280826000015173ffffffffffffffffffffffffffffffffffffffff168152602001826020015161ffff16815250600860008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548161ffff021916908361ffff1602179055509050507f2c5ea6e4103e78cb101e796fb2dace540362fc542cbff5145eaa24af7dd8fe4181600001518260200151604051612a2c92919061400f565b60405180910390a150565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000826000018281548110612ab957612ab861467e565b5b9060005260206000200154905092915050565b60008073ffffffffffffffffffffffffffffffffffffffff16612aee836126ac565b73ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612b8083610ec5565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6001811115612ce657600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614612c5a5780600360008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612c52919061530a565b925050819055505b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612ce55780600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612cdd919061464a565b925050819055505b5b50505050565b50505050565b612cfc83836131d8565b612d096000848484612efe565b612d48576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d3f906152ea565b60405180910390fd5b505050565b6000612d5f836000018360001b6133f5565b905092915050565b6000612d79836000018360001b613509565b905092915050565b600081600001805490509050919050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612e00576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612df79061538a565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612ef1919061376b565b60405180910390a3505050565b6000612f1f8473ffffffffffffffffffffffffffffffffffffffff16613579565b15613078578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612f48611fe8565b8786866040518563ffffffff1660e01b8152600401612f6a94939291906153f4565b6020604051808303816000875af1925050508015612fa657506040513d601f19601f82011682018060405250810190612fa39190615455565b60015b613028573d8060008114612fd6576040519150601f19603f3d011682016040523d82523d6000602084013e612fdb565b606091505b506000815103613020576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613017906152ea565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061307d565b600190505b949350505050565b600080600090507a184f03e93ff9f4daa797ed6e38ed64bf6a1f01000000000000000083106130e3577a184f03e93ff9f4daa797ed6e38ed64bf6a1f01000000000000000083816130d9576130d8614512565b5b0492506040810190505b6d04ee2d6d415b85acef81000000008310613120576d04ee2d6d415b85acef8100000000838161311657613115614512565b5b0492506020810190505b662386f26fc10000831061314f57662386f26fc10000838161314557613144614512565b5b0492506010810190505b6305f5e1008310613178576305f5e100838161316e5761316d614512565b5b0492506008810190505b612710831061319d57612710838161319357613192614512565b5b0492506004810190505b606483106131c057606483816131b6576131b5614512565b5b0492506002810190505b600a83106131cf576001810190505b80915050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603613247576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161323e906154ce565b60405180910390fd5b61325081612acc565b15613290576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132879061553a565b60405180910390fd5b61329e600083836001612bc6565b6132a781612acc565b156132e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132de9061553a565b60405180910390fd5b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46133f1600083836001612cec565b5050565b600080836001016000848152602001908152602001600020549050600081146134fd576000600182613427919061530a565b905060006001866000018054905061343f919061530a565b90508181146134ae5760008660000182815481106134605761345f61467e565b5b90600052602060002001549050808760000184815481106134845761348361467e565b5b90600052602060002001819055508387600101600083815260200190815260200160002081905550505b856000018054806134c2576134c161555a565b5b600190038181906000526020600020016000905590558560010160008681526020019081526020016000206000905560019350505050613503565b60009150505b92915050565b6000613515838361359c565b61356e578260000182908060018154018082558091505060019003906000526020600020016000909190919091505582600001805490508360010160008481526020019081526020016000208190555060019050613573565b600090505b92915050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600080836001016000848152602001908152602001600020541415905092915050565b604051806060016040528060008152602001600073ffffffffffffffffffffffffffffffffffffffff168152602001600061ffff1681525090565b828054828255906000526020600020908101928215613689579160200282015b8281111561368857823573ffffffffffffffffffffffffffffffffffffffff168260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055509160200191906001019061361a565b5b509050613696919061369a565b5090565b5b808211156136b357600081600090555060010161369b565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613700816136cb565b811461370b57600080fd5b50565b60008135905061371d816136f7565b92915050565b600060208284031215613739576137386136c1565b5b60006137478482850161370e565b91505092915050565b60008115159050919050565b61376581613750565b82525050565b6000602082019050613780600083018461375c565b92915050565b6000819050919050565b61379981613786565b81146137a457600080fd5b50565b6000813590506137b681613790565b92915050565b6000602082840312156137d2576137d16136c1565b5b60006137e0848285016137a7565b91505092915050565b6137f281613786565b82525050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613823826137f8565b9050919050565b61383381613818565b82525050565b600061ffff82169050919050565b61385081613839565b82525050565b60608201600082015161386c60008501826137e9565b50602082015161387f602085018261382a565b5060408201516138926040850182613847565b50505050565b60006060820190506138ad6000830184613856565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156138ed5780820151818401526020810190506138d2565b60008484015250505050565b6000601f19601f8301169050919050565b6000613915826138b3565b61391f81856138be565b935061392f8185602086016138cf565b613938816138f9565b840191505092915050565b6000602082019050818103600083015261395d818461390a565b905092915050565b61396e81613818565b82525050565b60006020820190506139896000830184613965565b92915050565b61399881613818565b81146139a357600080fd5b50565b6000813590506139b58161398f565b92915050565b600080604083850312156139d2576139d16136c1565b5b60006139e0858286016139a6565b92505060206139f1858286016137a7565b9150509250929050565b600080600060608486031215613a1457613a136136c1565b5b6000613a22868287016139a6565b9350506020613a33868287016139a6565b9250506040613a44868287016137a7565b9150509250925092565b60008060408385031215613a6557613a646136c1565b5b6000613a73858286016137a7565b9250506020613a84858286016137a7565b9150509250929050565b613a9781613786565b82525050565b6000604082019050613ab26000830185613965565b613abf6020830184613a8e565b9392505050565b613acf81613839565b8114613ada57600080fd5b50565b600081359050613aec81613ac6565b92915050565b60008060008060808587031215613b0c57613b0b6136c1565b5b6000613b1a878288016139a6565b9450506020613b2b878288016137a7565b9350506040613b3c878288016139a6565b9250506060613b4d87828801613add565b91505092959194509250565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613b9b826138f9565b810181811067ffffffffffffffff82111715613bba57613bb9613b63565b5b80604052505050565b6000613bcd6136b7565b9050613bd98282613b92565b919050565b600067ffffffffffffffff821115613bf957613bf8613b63565b5b613c02826138f9565b9050602081019050919050565b82818337600083830152505050565b6000613c31613c2c84613bde565b613bc3565b905082815260208101848484011115613c4d57613c4c613b5e565b5b613c58848285613c0f565b509392505050565b600082601f830112613c7557613c74613b59565b5b8135613c85848260208601613c1e565b91505092915050565b600060208284031215613ca457613ca36136c1565b5b600082013567ffffffffffffffff811115613cc257613cc16136c6565b5b613cce84828501613c60565b91505092915050565b600067ffffffffffffffff82169050919050565b613cf481613cd7565b8114613cff57600080fd5b50565b600081359050613d1181613ceb565b92915050565b600060208284031215613d2d57613d2c6136c1565b5b6000613d3b84828501613d02565b91505092915050565b6000602082019050613d596000830184613a8e565b92915050565b600080fd5b600080fd5b60008083601f840112613d7f57613d7e613b59565b5b8235905067ffffffffffffffff811115613d9c57613d9b613d5f565b5b602083019150836060820283011115613db857613db7613d64565b5b9250929050565b60008060208385031215613dd657613dd56136c1565b5b600083013567ffffffffffffffff811115613df457613df36136c6565b5b613e0085828601613d69565b92509250509250929050565b60008083601f840112613e2257613e21613b59565b5b8235905067ffffffffffffffff811115613e3f57613e3e613d5f565b5b602083019150836020820283011115613e5b57613e5a613d64565b5b9250929050565b60008060208385031215613e7957613e786136c1565b5b600083013567ffffffffffffffff811115613e9757613e966136c6565b5b613ea385828601613e0c565b92509250509250929050565b600080600060608486031215613ec857613ec76136c1565b5b6000613ed6868287016139a6565b9350506020613ee7868287016137a7565b9250506040613ef8868287016137a7565b9150509250925092565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6000613f3a83836137e9565b60208301905092915050565b6000602082019050919050565b6000613f5e82613f02565b613f688185613f0d565b9350613f7383613f1e565b8060005b83811015613fa4578151613f8b8882613f2e565b9750613f9683613f46565b925050600181019050613f77565b5085935050505092915050565b60006020820190508181036000830152613fcb8184613f53565b905092915050565b600060208284031215613fe957613fe86136c1565b5b6000613ff7848285016139a6565b91505092915050565b61400981613839565b82525050565b60006040820190506140246000830185613965565b6140316020830184614000565b9392505050565b6000806040838503121561404f5761404e6136c1565b5b600061405d858286016137a7565b925050602083013567ffffffffffffffff81111561407e5761407d6136c6565b5b61408a85828601613c60565b9150509250929050565b61409d81613750565b81146140a857600080fd5b50565b6000813590506140ba81614094565b92915050565b600080604083850312156140d7576140d66136c1565b5b60006140e5858286016139a6565b92505060206140f6858286016140ab565b9150509250929050565b600067ffffffffffffffff82111561411b5761411a613b63565b5b614124826138f9565b9050602081019050919050565b600061414461413f84614100565b613bc3565b9050828152602081018484840111156141605761415f613b5e565b5b61416b848285613c0f565b509392505050565b600082601f83011261418857614187613b59565b5b8135614198848260208601614131565b91505092915050565b600080600080608085870312156141bb576141ba6136c1565b5b60006141c9878288016139a6565b94505060206141da878288016139a6565b93505060406141eb878288016137a7565b925050606085013567ffffffffffffffff81111561420c5761420b6136c6565b5b61421887828801614173565b91505092959194509250565b61422d81613cd7565b82525050565b60006020820190506142486000830184614224565b92915050565b60008083601f84011261426457614263613b59565b5b8235905067ffffffffffffffff81111561428157614280613d5f565b5b60208301915083602082028301111561429d5761429c613d64565b5b9250929050565b600080602083850312156142bb576142ba6136c1565b5b600083013567ffffffffffffffff8111156142d9576142d86136c6565b5b6142e58582860161424e565b92509250509250929050565b60008060408385031215614308576143076136c1565b5b6000614316858286016139a6565b9250506020614327858286016139a6565b9150509250929050565b600080fd5b60006040828403121561434c5761434b614331565b5b81905092915050565b60006040828403121561436b5761436a6136c1565b5b600061437984828501614336565b91505092915050565b600060208284031215614398576143976136c1565b5b60006143a6848285016140ab565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806143f657607f821691505b602082108103614409576144086143af565b5b50919050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206f7220617070726f76656400000000000000000000000000000000000000602082015250565b600061446b602d836138be565b91506144768261440f565b604082019050919050565b6000602082019050818103600083015261449a8161445e565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006144db82613786565b91506144e683613786565b92508282026144f481613786565b9150828204841483151761450b5761450a6144a1565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061454c82613786565b915061455783613786565b92508261456757614566614512565b5b828204905092915050565b7f53656e646572206e6f74206d696e746572000000000000000000000000000000600082015250565b60006145a86011836138be565b91506145b382614572565b602082019050919050565b600060208201905081810360008301526145d78161459b565b9050919050565b7f4d617820737570706c7920657863656564656400000000000000000000000000600082015250565b60006146146013836138be565b915061461f826145de565b602082019050919050565b6000602082019050818103600083015261464381614607565b9050919050565b600061465582613786565b915061466083613786565b9250828201905080821115614678576146776144a1565b5b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b60006008830261470f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826146d2565b61471986836146d2565b95508019841693508086168417925050509392505050565b6000819050919050565b600061475661475161474c84613786565b614731565b613786565b9050919050565b6000819050919050565b6147708361473b565b61478461477c8261475d565b8484546146df565b825550505050565b600090565b61479961478c565b6147a4818484614767565b505050565b5b818110156147c8576147bd600082614791565b6001810190506147aa565b5050565b601f82111561480d576147de816146ad565b6147e7846146c2565b810160208510156147f6578190505b61480a614802856146c2565b8301826147a9565b50505b505050565b600082821c905092915050565b600061483060001984600802614812565b1980831691505092915050565b6000614849838361481f565b9150826002028217905092915050565b614862826138b3565b67ffffffffffffffff81111561487b5761487a613b63565b5b61488582546143de565b6148908282856147cc565b600060209050601f8311600181146148c357600084156148b1578287015190505b6148bb858261483d565b865550614923565b601f1984166148d1866146ad565b60005b828110156148f9578489015182556001820191506020850194506020810190506148d4565b868310156149165784890151614912601f89168261481f565b8355505b6001600288020188555050505b505050505050565b600080fd5b6000606082840312156149465761494561492b565b5b6149506060613bc3565b90506000614960848285016137a7565b6000830152506020614974848285016139a6565b602083015250604061498884828501613add565b60408301525092915050565b6000606082840312156149aa576149a96136c1565b5b60006149b884828501614930565b91505092915050565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b60006149f76018836138be565b9150614a02826149c1565b602082019050919050565b60006020820190508181036000830152614a26816149ea565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b6000614a896029836138be565b9150614a9482614a2d565b604082019050919050565b60006020820190508181036000830152614ab881614a7c565b9050919050565b7f4f776e61626c6532537465703a2063616c6c6572206973206e6f74207468652060008201527f6e6577206f776e65720000000000000000000000000000000000000000000000602082015250565b6000614b1b6029836138be565b9150614b2682614abf565b604082019050919050565b60006020820190508181036000830152614b4a81614b0e565b9050919050565b7f4552433732313a2073656e646572206973206e6f7420746865206f776e657200600082015250565b6000614b87601f836138be565b9150614b9282614b51565b602082019050919050565b60006020820190508181036000830152614bb681614b7a565b9050919050565b600081905092915050565b6000614bd3826138b3565b614bdd8185614bbd565b9350614bed8185602086016138cf565b80840191505092915050565b6000614c058285614bc8565b9150614c118284614bc8565b91508190509392505050565b600080fd5b600080fd5b600080fd5b600082356001604003833603038112614c4857614c47614c1d565b5b80830191505092915050565b60008083356001602003843603038112614c7157614c70614c1d565b5b80840192508235915067ffffffffffffffff821115614c9357614c92614c22565b5b602083019250600182023603831315614caf57614cae614c27565b5b509250929050565b600082905092915050565b614ccc8383614cb7565b67ffffffffffffffff811115614ce557614ce4613b63565b5b614cef82546143de565b614cfa8282856147cc565b6000601f831160018114614d295760008415614d17578287013590505b614d21858261483d565b865550614d89565b601f198416614d37866146ad565b60005b82811015614d5f57848901358255600182019150602085019450602081019050614d3a565b86831015614d7c5784890135614d78601f89168261481f565b8355505b6001600288020188555050505b50505050505050565b600060408284031215614da857614da761492b565b5b614db26040613bc3565b90506000614dc2848285016139a6565b6000830152506020614dd684828501613add565b60208301525092915050565b600060408284031215614df857614df76136c1565b5b6000614e0684828501614d92565b91505092915050565b7f4f50454e534541204e4f5420414c4c4f57454400000000000000000000000000600082015250565b6000614e456013836138be565b9150614e5082614e0f565b602082019050919050565b60006020820190508181036000830152614e7481614e38565b9050919050565b600081519050919050565b600081905092915050565b6000614e9c82614e7b565b614ea68185614e86565b9350614eb68185602086016138cf565b80840191505092915050565b6000614ece8284614e91565b915081905092915050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000614f356021836138be565b9150614f4082614ed9565b604082019050919050565b60006020820190508181036000830152614f6481614f28565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c000000602082015250565b6000614fc7603d836138be565b9150614fd282614f6b565b604082019050919050565b60006020820190508181036000830152614ff681614fba565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b60006150596025836138be565b915061506482614ffd565b604082019050919050565b600060208201905081810360008301526150888161504c565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006150eb6024836138be565b91506150f68261508f565b604082019050919050565b6000602082019050818103600083015261511a816150de565b9050919050565b7f496e76616c696420627073000000000000000000000000000000000000000000600082015250565b6000615157600b836138be565b915061516282615121565b602082019050919050565b600060208201905081810360008301526151868161514a565b9050919050565b60006060820190506151a26000830186613a8e565b6151af6020830185613965565b6151bc6040830184614000565b949350505050565b60006151cf82613786565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203615201576152006144a1565b5b600182019050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006152426020836138be565b915061524d8261520c565b602082019050919050565b6000602082019050818103600083015261527181615235565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b60006152d46032836138be565b91506152df82615278565b604082019050919050565b60006020820190508181036000830152615303816152c7565b9050919050565b600061531582613786565b915061532083613786565b9250828203905081811115615338576153376144a1565b5b92915050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b60006153746019836138be565b915061537f8261533e565b602082019050919050565b600060208201905081810360008301526153a381615367565b9050919050565b600082825260208201905092915050565b60006153c682614e7b565b6153d081856153aa565b93506153e08185602086016138cf565b6153e9816138f9565b840191505092915050565b60006080820190506154096000830187613965565b6154166020830186613965565b6154236040830185613a8e565b818103606083015261543581846153bb565b905095945050505050565b60008151905061544f816136f7565b92915050565b60006020828403121561546b5761546a6136c1565b5b600061547984828501615440565b91505092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b60006154b86020836138be565b91506154c382615482565b602082019050919050565b600060208201905081810360008301526154e7816154ab565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000615524601c836138be565b915061552f826154ee565b602082019050919050565b6000602082019050818103600083015261555381615517565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fdfea26469706673582212201b30772b25c33330c4eea186095327a5d64c7c88028834324220219aa6bd953764736f6c63430008120033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000003b9ac9ff0000000000000000000000000000000000000000000000000000000000000012456d50726f7073204f70656e53747564696f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006454f455630350000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106102485760003560e01c80637885fdc71161013b578063d5abeb01116100b8578063ef60ceaf1161007c578063ef60ceaf146106c9578063f148b4b2146106e5578063f2fde38b14610715578063f855904414610731578063fca3b5aa1461074d57610248565b8063d5abeb0114610623578063e242397914610641578063e30c39781461065d578063e3d259811461067b578063e985e9c51461069957610248565b806395d89b41116100ff57806395d89b411461057f578063a22cb4651461059d578063b88d4fde146105b9578063c87b56dd146105d5578063d547cfb71461060557610248565b80637885fdc7146104fe57806379ba50971461051d5780637e9803421461052757806387dce435146105455780638da5cb5b1461056157610248565b80633cc8402c116101c95780635df5ee821161018d5780635df5ee82146104485780636352211e1461046457806366a3adbd1461049457806370a08231146104c4578063715018a6146104f457610248565b80633cc8402c146103ba5780633d7b313e146103d657806342842e0e146103f45780635136dcc7146104105780635df250a01461042c57610248565b8063095ea7b311610210578063095ea7b31461031957806323b872dd146103355780632a55205a146103515780632f6196b71461038257806330176e131461039e57610248565b806301ffc9a71461024d5780630653aca51461027d57806306fdde03146102ad57806307546172146102cb578063081812fc146102e9575b600080fd5b61026760048036038101906102629190613723565b610769565b604051610274919061376b565b60405180910390f35b610297600480360381019061029291906137bc565b61078b565b6040516102a49190613898565b60405180910390f35b6102b5610889565b6040516102c29190613943565b60405180910390f35b6102d361091b565b6040516102e09190613974565b60405180910390f35b61030360048036038101906102fe91906137bc565b610941565b6040516103109190613974565b60405180910390f35b610333600480360381019061032e91906139bb565b610987565b005b61034f600480360381019061034a91906139fb565b61099e565b005b61036b60048036038101906103669190613a4e565b6109fe565b604051610379929190613a9d565b60405180910390f35b61039c60048036038101906103979190613af2565b610bd9565b005b6103b860048036038101906103b39190613c8e565b610da9565b005b6103d460048036038101906103cf9190613d17565b610dc4565b005b6103de610df8565b6040516103eb9190613d44565b60405180910390f35b61040e600480360381019061040991906139fb565b610dfe565b005b61042a60048036038101906104259190613dbf565b610e1e565b005b61044660048036038101906104419190613e62565b610e89565b005b610462600480360381019061045d9190613e62565b610ea7565b005b61047e600480360381019061047991906137bc565b610ec5565b60405161048b9190613974565b60405180910390f35b6104ae60048036038101906104a99190613eaf565b610f4b565b6040516104bb9190613fb1565b60405180910390f35b6104de60048036038101906104d99190613fd3565b611060565b6040516104eb9190613d44565b60405180910390f35b6104fc611117565b005b61050661112b565b60405161051492919061400f565b60405180910390f35b61052561116b565b005b61052f6111f8565b60405161053c9190613d44565b60405180910390f35b61055f600480360381019061055a9190614038565b611209565b005b6105696112a4565b6040516105769190613974565b60405180910390f35b6105876112ce565b6040516105949190613943565b60405180910390f35b6105b760048036038101906105b291906140c0565b611360565b005b6105d360048036038101906105ce91906141a1565b611377565b005b6105ef60048036038101906105ea91906137bc565b6113d9565b6040516105fc9190613943565b60405180910390f35b61060d61150d565b60405161061a9190613943565b60405180910390f35b61062b61159b565b6040516106389190614233565b60405180910390f35b61065b600480360381019061065691906142a4565b6115b5565b005b6106656116d2565b6040516106729190613974565b60405180910390f35b6106836116fc565b604051610690919061376b565b60405180910390f35b6106b360048036038101906106ae91906142f1565b61170f565b6040516106c0919061376b565b60405180910390f35b6106e360048036038101906106de9190614355565b6117a3565b005b6106ff60048036038101906106fa91906137bc565b6117c7565b60405161070c9190613943565b60405180910390f35b61072f600480360381019061072a9190613fd3565b611867565b005b61074b60048036038101906107469190614382565b611914565b005b61076760048036038101906107629190613fd3565b611939565b005b600061077482611a4b565b80610784575061078382611b2d565b5b9050919050565b6107936135bf565b60006107a983600a611c0f90919063ffffffff16565b90506000600960008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900461ffff1661ffff1661ffff168152505090506040518060600160405280838152602001826000015173ffffffffffffffffffffffffffffffffffffffff168152602001826020015161ffff1681525092505050919050565b606060008054610898906143de565b80601f01602080910402602001604051908101604052809291908181526020018280546108c4906143de565b80156109115780601f106108e657610100808354040283529160200191610911565b820191906000526020600020905b8154815290600101906020018083116108f457829003601f168201915b5050505050905090565b601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600061094c82611c29565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b61099082611c74565b61099a8282611ed1565b5050565b6109af6109a9611fe8565b82611ff0565b6109ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109e590614481565b60405180910390fd5b6109f9838383612085565b505050565b600080600073ffffffffffffffffffffffffffffffffffffffff166009600086815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610aec576009600085815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166127106009600087815260200190815260200160002060000160149054906101000a900461ffff1661ffff1685610ad991906144d0565b610ae39190614541565b91509150610bd2565b600073ffffffffffffffffffffffffffffffffffffffff16600860000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614158015610b6657506000600860000160149054906101000a900461ffff1661ffff1614155b15610bca57600860000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16612710600860000160149054906101000a900461ffff1661ffff1685610bb791906144d0565b610bc19190614541565b91509150610bd2565b600080915091505b9250929050565b601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610c69576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c60906145be565b60405180910390fd5b601160149054906101000a900467ffffffffffffffff1667ffffffffffffffff16600f5410610ccd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cc49061462a565b60405180910390fd5b610cd7848461237e565b6001600f54610ce6919061464a565b600f819055506000600167ffffffffffffffff811115610d0957610d08613b63565b5b604051908082528060200260200182016040528015610d4257816020015b610d2f6135bf565b815260200190600190039081610d275790505b50905060405180606001604052808581526020018473ffffffffffffffffffffffffffffffffffffffff1681526020018361ffff1681525081600081518110610d8e57610d8d61467e565b5b6020026020010181905250610da28161239c565b5050505050565b610db161262e565b8060109081610dc09190614859565b5050565b610dcc61262e565b80601160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555050565b600f5481565b610e1983838360405180602001604052806000815250611377565b505050565b610e2661262e565b610e858282808060200260200160405190810160405280939291908181526020016000905b82821015610e7b57848483905060600201803603810190610e6c9190614994565b81526020019060010190610e4b565b505050505061239c565b5050565b610e9161262e565b8181600d9190610ea29291906135fa565b505050565b610eaf61262e565b8181600c9190610ec09291906135fa565b505050565b600080610ed1836126ac565b9050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610f42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f3990614a0d565b60405180910390fd5b80915050919050565b60606000620f424090506000610f6086611060565b905060008167ffffffffffffffff811115610f7e57610f7d613b63565b5b604051908082528060200260200182016040528015610fac5781602001602082028036833780820191505090505b509050600080868589610fbf91906144d0565b610fc9919061464a565b905060008589610fd991906144d0565b90505b818111611050578973ffffffffffffffffffffffffffffffffffffffff16611003826126ac565b73ffffffffffffffffffffffffffffffffffffffff160361104557808484815181106110325761103161467e565b5b6020026020010181815250508260010192505b806001019050610fdc565b5082955050505050509392505050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036110d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110c790614a9f565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61111f61262e565b61112960006126e9565b565b60088060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060000160149054906101000a900461ffff16905082565b6000611175611fe8565b90508073ffffffffffffffffffffffffffffffffffffffff166111966116d2565b73ffffffffffffffffffffffffffffffffffffffff16146111ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111e390614b31565b60405180910390fd5b6111f5816126e9565b50565b6000611204600a61271a565b905090565b3373ffffffffffffffffffffffffffffffffffffffff16611229836126ac565b73ffffffffffffffffffffffffffffffffffffffff161461127f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161127690614b9d565b60405180910390fd5b8060126000848152602001908152602001600020908161129f9190614859565b505050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600180546112dd906143de565b80601f0160208091040260200160405190810160405280929190818152602001828054611309906143de565b80156113565780601f1061132b57610100808354040283529160200191611356565b820191906000526020600020905b81548152906001019060200180831161133957829003601f168201915b5050505050905090565b61136982611c74565b611373828261272f565b5050565b611388611382611fe8565b83611ff0565b6113c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113be90614481565b60405180910390fd5b6113d384848484612745565b50505050565b60606113e482611c29565b60006113ee6127a1565b90506000601260008581526020019081526020016000208054611410906143de565b9050146114bb57601260008481526020019081526020016000208054611435906143de565b80601f0160208091040260200160405190810160405280929190818152602001828054611461906143de565b80156114ae5780601f10611483576101008083540402835291602001916114ae565b820191906000526020600020905b81548152906001019060200180831161149157829003601f168201915b5050505050915050611508565b60008151036114d95760405180602001604052806000815250611504565b806114e384612833565b6040516020016114f4929190614bf9565b6040516020818303038152906040525b9150505b919050565b6010805461151a906143de565b80601f0160208091040260200160405190810160405280929190818152602001828054611546906143de565b80156115935780601f1061156857610100808354040283529160200191611593565b820191906000526020600020905b81548152906001019060200180831161157657829003601f168201915b505050505081565b601160149054906101000a900467ffffffffffffffff1681565b600082829050905060005b818110156116cc5760008484838181106115dd576115dc61467e565b5b90506020028101906115ef9190614c2c565b6000013590503373ffffffffffffffffffffffffffffffffffffffff16611615826126ac565b73ffffffffffffffffffffffffffffffffffffffff161461166b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161166290614b9d565b60405180910390fd5b84848381811061167e5761167d61467e565b5b90506020028101906116909190614c2c565b806020019061169f9190614c54565b6012600084815260200190815260200160002091826116bf929190614cc2565b50816001019150506115c0565b50505050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600e60009054906101000a900460ff1681565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6117ab61262e565b6117c4818036038101906117bf9190614de2565b612901565b50565b601260205280600052604060002060009150905080546117e6906143de565b80601f0160208091040260200160405190810160405280929190818152602001828054611812906143de565b801561185f5780601f106118345761010080835404028352916020019161185f565b820191906000526020600020905b81548152906001019060200180831161184257829003601f168201915b505050505081565b61186f61262e565b80600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff166118cf6112a4565b73ffffffffffffffffffffffffffffffffffffffff167f38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e2270060405160405180910390a350565b61191c61262e565b80600e60006101000a81548160ff02191690831515021790555050565b61194161262e565b80601160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611b1657507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611b265750611b2582612a37565b5b9050919050565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611bf857507fc69dbd8f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611c085750611c0782611a4b565b5b9050919050565b6000611c1e8360000183612aa1565b60001c905092915050565b611c3281612acc565b611c71576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c6890614a0d565b60405180910390fd5b50565b600e60009054906101000a900460ff1615611ece5760005b600c80549050811015611d5057600c8181548110611cad57611cac61467e565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611d45576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d3c90614e5b565b60405180910390fd5b806001019050611c8c565b5060005b600d80549050811015611ecc576000600d8281548110611d7757611d7661467e565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166393790f4460e01b84604051602401611dd19190613974565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050604051611e3b9190614ec2565b600060405180830381855afa9150503d8060008114611e76576040519150601f19603f3d011682016040523d82523d6000602084013e611e7b565b606091505b505090508015611ec0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eb790614e5b565b60405180910390fd5b81600101915050611d54565b505b50565b6000611edc82610ec5565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611f4c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f4390614f4b565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16611f6b611fe8565b73ffffffffffffffffffffffffffffffffffffffff161480611f9a5750611f9981611f94611fe8565b61170f565b5b611fd9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fd090614fdd565b60405180910390fd5b611fe38383612b0d565b505050565b600033905090565b600080611ffc83610ec5565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061203e575061203d818561170f565b5b8061207c57508373ffffffffffffffffffffffffffffffffffffffff1661206484610941565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166120a582610ec5565b73ffffffffffffffffffffffffffffffffffffffff16146120fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120f29061506f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361216a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161216190615101565b60405180910390fd5b6121778383836001612bc6565b8273ffffffffffffffffffffffffffffffffffffffff1661219782610ec5565b73ffffffffffffffffffffffffffffffffffffffff16146121ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121e49061506f565b60405180910390fd5b6004600082815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825403925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46123798383836001612cec565b505050565b612398828260405180602001604052806000815250612cf2565b5050565b60005b815181101561262a5760008282815181106123bd576123bc61467e565b5b60200260200101519050612710816040015161ffff1610612413576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161240a9061516d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16816020015173ffffffffffffffffffffffffffffffffffffffff16036124fa576009600082600001518152602001908152602001600020600080820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556000820160146101000a81549061ffff021916905550506124b98160000151600a612d4d90919063ffffffff16565b507fa2870857763bd9ae76c957f869f16b31c18dd3bb4c7b4d3a4496dc5c57c657f981600001516040516124ed9190613d44565b60405180910390a1612616565b6040518060400160405280826020015173ffffffffffffffffffffffffffffffffffffffff168152602001826040015161ffff16815250600960008360000151815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548161ffff021916908361ffff1602179055509050506125cd8160000151600a612d6790919063ffffffff16565b507f389b70fb0887f01e83784eb1c4c589f740eca53b00ed0f45e41db5d079719abb81600001518260200151836040015160405161260d9392919061518d565b60405180910390a15b508080612622906151c4565b91505061239f565b5050565b612636611fe8565b73ffffffffffffffffffffffffffffffffffffffff166126546112a4565b73ffffffffffffffffffffffffffffffffffffffff16146126aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126a190615258565b60405180910390fd5b565b60006002600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600760006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905561271781611985565b50565b600061272882600001612d81565b9050919050565b61274161273a611fe8565b8383612d92565b5050565b612750848484612085565b61275c84848484612efe565b61279b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612792906152ea565b60405180910390fd5b50505050565b6060601080546127b0906143de565b80601f01602080910402602001604051908101604052809291908181526020018280546127dc906143de565b80156128295780601f106127fe57610100808354040283529160200191612829565b820191906000526020600020905b81548152906001019060200180831161280c57829003601f168201915b5050505050905090565b60606000600161284284613085565b01905060008167ffffffffffffffff81111561286157612860613b63565b5b6040519080825280601f01601f1916602001820160405280156128935781602001600182028036833780820191505090505b509050600082602001820190505b6001156128f6578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a85816128ea576128e9614512565b5b049450600085036128a1575b819350505050919050565b612710816020015161ffff161061294d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129449061516d565b60405180910390fd5b6040518060400160405280826000015173ffffffffffffffffffffffffffffffffffffffff168152602001826020015161ffff16815250600860008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548161ffff021916908361ffff1602179055509050507f2c5ea6e4103e78cb101e796fb2dace540362fc542cbff5145eaa24af7dd8fe4181600001518260200151604051612a2c92919061400f565b60405180910390a150565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000826000018281548110612ab957612ab861467e565b5b9060005260206000200154905092915050565b60008073ffffffffffffffffffffffffffffffffffffffff16612aee836126ac565b73ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612b8083610ec5565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6001811115612ce657600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614612c5a5780600360008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612c52919061530a565b925050819055505b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612ce55780600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612cdd919061464a565b925050819055505b5b50505050565b50505050565b612cfc83836131d8565b612d096000848484612efe565b612d48576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d3f906152ea565b60405180910390fd5b505050565b6000612d5f836000018360001b6133f5565b905092915050565b6000612d79836000018360001b613509565b905092915050565b600081600001805490509050919050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612e00576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612df79061538a565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612ef1919061376b565b60405180910390a3505050565b6000612f1f8473ffffffffffffffffffffffffffffffffffffffff16613579565b15613078578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612f48611fe8565b8786866040518563ffffffff1660e01b8152600401612f6a94939291906153f4565b6020604051808303816000875af1925050508015612fa657506040513d601f19601f82011682018060405250810190612fa39190615455565b60015b613028573d8060008114612fd6576040519150601f19603f3d011682016040523d82523d6000602084013e612fdb565b606091505b506000815103613020576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613017906152ea565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061307d565b600190505b949350505050565b600080600090507a184f03e93ff9f4daa797ed6e38ed64bf6a1f01000000000000000083106130e3577a184f03e93ff9f4daa797ed6e38ed64bf6a1f01000000000000000083816130d9576130d8614512565b5b0492506040810190505b6d04ee2d6d415b85acef81000000008310613120576d04ee2d6d415b85acef8100000000838161311657613115614512565b5b0492506020810190505b662386f26fc10000831061314f57662386f26fc10000838161314557613144614512565b5b0492506010810190505b6305f5e1008310613178576305f5e100838161316e5761316d614512565b5b0492506008810190505b612710831061319d57612710838161319357613192614512565b5b0492506004810190505b606483106131c057606483816131b6576131b5614512565b5b0492506002810190505b600a83106131cf576001810190505b80915050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603613247576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161323e906154ce565b60405180910390fd5b61325081612acc565b15613290576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132879061553a565b60405180910390fd5b61329e600083836001612bc6565b6132a781612acc565b156132e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132de9061553a565b60405180910390fd5b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46133f1600083836001612cec565b5050565b600080836001016000848152602001908152602001600020549050600081146134fd576000600182613427919061530a565b905060006001866000018054905061343f919061530a565b90508181146134ae5760008660000182815481106134605761345f61467e565b5b90600052602060002001549050808760000184815481106134845761348361467e565b5b90600052602060002001819055508387600101600083815260200190815260200160002081905550505b856000018054806134c2576134c161555a565b5b600190038181906000526020600020016000905590558560010160008681526020019081526020016000206000905560019350505050613503565b60009150505b92915050565b6000613515838361359c565b61356e578260000182908060018154018082558091505060019003906000526020600020016000909190919091505582600001805490508360010160008481526020019081526020016000208190555060019050613573565b600090505b92915050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600080836001016000848152602001908152602001600020541415905092915050565b604051806060016040528060008152602001600073ffffffffffffffffffffffffffffffffffffffff168152602001600061ffff1681525090565b828054828255906000526020600020908101928215613689579160200282015b8281111561368857823573ffffffffffffffffffffffffffffffffffffffff168260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055509160200191906001019061361a565b5b509050613696919061369a565b5090565b5b808211156136b357600081600090555060010161369b565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613700816136cb565b811461370b57600080fd5b50565b60008135905061371d816136f7565b92915050565b600060208284031215613739576137386136c1565b5b60006137478482850161370e565b91505092915050565b60008115159050919050565b61376581613750565b82525050565b6000602082019050613780600083018461375c565b92915050565b6000819050919050565b61379981613786565b81146137a457600080fd5b50565b6000813590506137b681613790565b92915050565b6000602082840312156137d2576137d16136c1565b5b60006137e0848285016137a7565b91505092915050565b6137f281613786565b82525050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613823826137f8565b9050919050565b61383381613818565b82525050565b600061ffff82169050919050565b61385081613839565b82525050565b60608201600082015161386c60008501826137e9565b50602082015161387f602085018261382a565b5060408201516138926040850182613847565b50505050565b60006060820190506138ad6000830184613856565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156138ed5780820151818401526020810190506138d2565b60008484015250505050565b6000601f19601f8301169050919050565b6000613915826138b3565b61391f81856138be565b935061392f8185602086016138cf565b613938816138f9565b840191505092915050565b6000602082019050818103600083015261395d818461390a565b905092915050565b61396e81613818565b82525050565b60006020820190506139896000830184613965565b92915050565b61399881613818565b81146139a357600080fd5b50565b6000813590506139b58161398f565b92915050565b600080604083850312156139d2576139d16136c1565b5b60006139e0858286016139a6565b92505060206139f1858286016137a7565b9150509250929050565b600080600060608486031215613a1457613a136136c1565b5b6000613a22868287016139a6565b9350506020613a33868287016139a6565b9250506040613a44868287016137a7565b9150509250925092565b60008060408385031215613a6557613a646136c1565b5b6000613a73858286016137a7565b9250506020613a84858286016137a7565b9150509250929050565b613a9781613786565b82525050565b6000604082019050613ab26000830185613965565b613abf6020830184613a8e565b9392505050565b613acf81613839565b8114613ada57600080fd5b50565b600081359050613aec81613ac6565b92915050565b60008060008060808587031215613b0c57613b0b6136c1565b5b6000613b1a878288016139a6565b9450506020613b2b878288016137a7565b9350506040613b3c878288016139a6565b9250506060613b4d87828801613add565b91505092959194509250565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613b9b826138f9565b810181811067ffffffffffffffff82111715613bba57613bb9613b63565b5b80604052505050565b6000613bcd6136b7565b9050613bd98282613b92565b919050565b600067ffffffffffffffff821115613bf957613bf8613b63565b5b613c02826138f9565b9050602081019050919050565b82818337600083830152505050565b6000613c31613c2c84613bde565b613bc3565b905082815260208101848484011115613c4d57613c4c613b5e565b5b613c58848285613c0f565b509392505050565b600082601f830112613c7557613c74613b59565b5b8135613c85848260208601613c1e565b91505092915050565b600060208284031215613ca457613ca36136c1565b5b600082013567ffffffffffffffff811115613cc257613cc16136c6565b5b613cce84828501613c60565b91505092915050565b600067ffffffffffffffff82169050919050565b613cf481613cd7565b8114613cff57600080fd5b50565b600081359050613d1181613ceb565b92915050565b600060208284031215613d2d57613d2c6136c1565b5b6000613d3b84828501613d02565b91505092915050565b6000602082019050613d596000830184613a8e565b92915050565b600080fd5b600080fd5b60008083601f840112613d7f57613d7e613b59565b5b8235905067ffffffffffffffff811115613d9c57613d9b613d5f565b5b602083019150836060820283011115613db857613db7613d64565b5b9250929050565b60008060208385031215613dd657613dd56136c1565b5b600083013567ffffffffffffffff811115613df457613df36136c6565b5b613e0085828601613d69565b92509250509250929050565b60008083601f840112613e2257613e21613b59565b5b8235905067ffffffffffffffff811115613e3f57613e3e613d5f565b5b602083019150836020820283011115613e5b57613e5a613d64565b5b9250929050565b60008060208385031215613e7957613e786136c1565b5b600083013567ffffffffffffffff811115613e9757613e966136c6565b5b613ea385828601613e0c565b92509250509250929050565b600080600060608486031215613ec857613ec76136c1565b5b6000613ed6868287016139a6565b9350506020613ee7868287016137a7565b9250506040613ef8868287016137a7565b9150509250925092565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6000613f3a83836137e9565b60208301905092915050565b6000602082019050919050565b6000613f5e82613f02565b613f688185613f0d565b9350613f7383613f1e565b8060005b83811015613fa4578151613f8b8882613f2e565b9750613f9683613f46565b925050600181019050613f77565b5085935050505092915050565b60006020820190508181036000830152613fcb8184613f53565b905092915050565b600060208284031215613fe957613fe86136c1565b5b6000613ff7848285016139a6565b91505092915050565b61400981613839565b82525050565b60006040820190506140246000830185613965565b6140316020830184614000565b9392505050565b6000806040838503121561404f5761404e6136c1565b5b600061405d858286016137a7565b925050602083013567ffffffffffffffff81111561407e5761407d6136c6565b5b61408a85828601613c60565b9150509250929050565b61409d81613750565b81146140a857600080fd5b50565b6000813590506140ba81614094565b92915050565b600080604083850312156140d7576140d66136c1565b5b60006140e5858286016139a6565b92505060206140f6858286016140ab565b9150509250929050565b600067ffffffffffffffff82111561411b5761411a613b63565b5b614124826138f9565b9050602081019050919050565b600061414461413f84614100565b613bc3565b9050828152602081018484840111156141605761415f613b5e565b5b61416b848285613c0f565b509392505050565b600082601f83011261418857614187613b59565b5b8135614198848260208601614131565b91505092915050565b600080600080608085870312156141bb576141ba6136c1565b5b60006141c9878288016139a6565b94505060206141da878288016139a6565b93505060406141eb878288016137a7565b925050606085013567ffffffffffffffff81111561420c5761420b6136c6565b5b61421887828801614173565b91505092959194509250565b61422d81613cd7565b82525050565b60006020820190506142486000830184614224565b92915050565b60008083601f84011261426457614263613b59565b5b8235905067ffffffffffffffff81111561428157614280613d5f565b5b60208301915083602082028301111561429d5761429c613d64565b5b9250929050565b600080602083850312156142bb576142ba6136c1565b5b600083013567ffffffffffffffff8111156142d9576142d86136c6565b5b6142e58582860161424e565b92509250509250929050565b60008060408385031215614308576143076136c1565b5b6000614316858286016139a6565b9250506020614327858286016139a6565b9150509250929050565b600080fd5b60006040828403121561434c5761434b614331565b5b81905092915050565b60006040828403121561436b5761436a6136c1565b5b600061437984828501614336565b91505092915050565b600060208284031215614398576143976136c1565b5b60006143a6848285016140ab565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806143f657607f821691505b602082108103614409576144086143af565b5b50919050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206f7220617070726f76656400000000000000000000000000000000000000602082015250565b600061446b602d836138be565b91506144768261440f565b604082019050919050565b6000602082019050818103600083015261449a8161445e565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006144db82613786565b91506144e683613786565b92508282026144f481613786565b9150828204841483151761450b5761450a6144a1565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061454c82613786565b915061455783613786565b92508261456757614566614512565b5b828204905092915050565b7f53656e646572206e6f74206d696e746572000000000000000000000000000000600082015250565b60006145a86011836138be565b91506145b382614572565b602082019050919050565b600060208201905081810360008301526145d78161459b565b9050919050565b7f4d617820737570706c7920657863656564656400000000000000000000000000600082015250565b60006146146013836138be565b915061461f826145de565b602082019050919050565b6000602082019050818103600083015261464381614607565b9050919050565b600061465582613786565b915061466083613786565b9250828201905080821115614678576146776144a1565b5b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b60006008830261470f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826146d2565b61471986836146d2565b95508019841693508086168417925050509392505050565b6000819050919050565b600061475661475161474c84613786565b614731565b613786565b9050919050565b6000819050919050565b6147708361473b565b61478461477c8261475d565b8484546146df565b825550505050565b600090565b61479961478c565b6147a4818484614767565b505050565b5b818110156147c8576147bd600082614791565b6001810190506147aa565b5050565b601f82111561480d576147de816146ad565b6147e7846146c2565b810160208510156147f6578190505b61480a614802856146c2565b8301826147a9565b50505b505050565b600082821c905092915050565b600061483060001984600802614812565b1980831691505092915050565b6000614849838361481f565b9150826002028217905092915050565b614862826138b3565b67ffffffffffffffff81111561487b5761487a613b63565b5b61488582546143de565b6148908282856147cc565b600060209050601f8311600181146148c357600084156148b1578287015190505b6148bb858261483d565b865550614923565b601f1984166148d1866146ad565b60005b828110156148f9578489015182556001820191506020850194506020810190506148d4565b868310156149165784890151614912601f89168261481f565b8355505b6001600288020188555050505b505050505050565b600080fd5b6000606082840312156149465761494561492b565b5b6149506060613bc3565b90506000614960848285016137a7565b6000830152506020614974848285016139a6565b602083015250604061498884828501613add565b60408301525092915050565b6000606082840312156149aa576149a96136c1565b5b60006149b884828501614930565b91505092915050565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b60006149f76018836138be565b9150614a02826149c1565b602082019050919050565b60006020820190508181036000830152614a26816149ea565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b6000614a896029836138be565b9150614a9482614a2d565b604082019050919050565b60006020820190508181036000830152614ab881614a7c565b9050919050565b7f4f776e61626c6532537465703a2063616c6c6572206973206e6f74207468652060008201527f6e6577206f776e65720000000000000000000000000000000000000000000000602082015250565b6000614b1b6029836138be565b9150614b2682614abf565b604082019050919050565b60006020820190508181036000830152614b4a81614b0e565b9050919050565b7f4552433732313a2073656e646572206973206e6f7420746865206f776e657200600082015250565b6000614b87601f836138be565b9150614b9282614b51565b602082019050919050565b60006020820190508181036000830152614bb681614b7a565b9050919050565b600081905092915050565b6000614bd3826138b3565b614bdd8185614bbd565b9350614bed8185602086016138cf565b80840191505092915050565b6000614c058285614bc8565b9150614c118284614bc8565b91508190509392505050565b600080fd5b600080fd5b600080fd5b600082356001604003833603038112614c4857614c47614c1d565b5b80830191505092915050565b60008083356001602003843603038112614c7157614c70614c1d565b5b80840192508235915067ffffffffffffffff821115614c9357614c92614c22565b5b602083019250600182023603831315614caf57614cae614c27565b5b509250929050565b600082905092915050565b614ccc8383614cb7565b67ffffffffffffffff811115614ce557614ce4613b63565b5b614cef82546143de565b614cfa8282856147cc565b6000601f831160018114614d295760008415614d17578287013590505b614d21858261483d565b865550614d89565b601f198416614d37866146ad565b60005b82811015614d5f57848901358255600182019150602085019450602081019050614d3a565b86831015614d7c5784890135614d78601f89168261481f565b8355505b6001600288020188555050505b50505050505050565b600060408284031215614da857614da761492b565b5b614db26040613bc3565b90506000614dc2848285016139a6565b6000830152506020614dd684828501613add565b60208301525092915050565b600060408284031215614df857614df76136c1565b5b6000614e0684828501614d92565b91505092915050565b7f4f50454e534541204e4f5420414c4c4f57454400000000000000000000000000600082015250565b6000614e456013836138be565b9150614e5082614e0f565b602082019050919050565b60006020820190508181036000830152614e7481614e38565b9050919050565b600081519050919050565b600081905092915050565b6000614e9c82614e7b565b614ea68185614e86565b9350614eb68185602086016138cf565b80840191505092915050565b6000614ece8284614e91565b915081905092915050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000614f356021836138be565b9150614f4082614ed9565b604082019050919050565b60006020820190508181036000830152614f6481614f28565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c000000602082015250565b6000614fc7603d836138be565b9150614fd282614f6b565b604082019050919050565b60006020820190508181036000830152614ff681614fba565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b60006150596025836138be565b915061506482614ffd565b604082019050919050565b600060208201905081810360008301526150888161504c565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006150eb6024836138be565b91506150f68261508f565b604082019050919050565b6000602082019050818103600083015261511a816150de565b9050919050565b7f496e76616c696420627073000000000000000000000000000000000000000000600082015250565b6000615157600b836138be565b915061516282615121565b602082019050919050565b600060208201905081810360008301526151868161514a565b9050919050565b60006060820190506151a26000830186613a8e565b6151af6020830185613965565b6151bc6040830184614000565b949350505050565b60006151cf82613786565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203615201576152006144a1565b5b600182019050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006152426020836138be565b915061524d8261520c565b602082019050919050565b6000602082019050818103600083015261527181615235565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b60006152d46032836138be565b91506152df82615278565b604082019050919050565b60006020820190508181036000830152615303816152c7565b9050919050565b600061531582613786565b915061532083613786565b9250828203905081811115615338576153376144a1565b5b92915050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b60006153746019836138be565b915061537f8261533e565b602082019050919050565b600060208201905081810360008301526153a381615367565b9050919050565b600082825260208201905092915050565b60006153c682614e7b565b6153d081856153aa565b93506153e08185602086016138cf565b6153e9816138f9565b840191505092915050565b60006080820190506154096000830187613965565b6154166020830186613965565b6154236040830185613a8e565b818103606083015261543581846153bb565b905095945050505050565b60008151905061544f816136f7565b92915050565b60006020828403121561546b5761546a6136c1565b5b600061547984828501615440565b91505092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b60006154b86020836138be565b91506154c382615482565b602082019050919050565b600060208201905081810360008301526154e7816154ab565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000615524601c836138be565b915061552f826154ee565b602082019050919050565b6000602082019050818103600083015261555381615517565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fdfea26469706673582212201b30772b25c33330c4eea186095327a5d64c7c88028834324220219aa6bd953764736f6c63430008120033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000003b9ac9ff0000000000000000000000000000000000000000000000000000000000000012456d50726f7073204f70656e53747564696f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006454f455630350000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : name (string): EmProps OpenStudio
Arg [1] : symbol (string): EOEV05
Arg [2] : newMaxSupply (uint64): 999999999
-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 000000000000000000000000000000000000000000000000000000003b9ac9ff
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000012
Arg [4] : 456d50726f7073204f70656e53747564696f0000000000000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000006
Arg [6] : 454f455630350000000000000000000000000000000000000000000000000000
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.