Overview
TokenID
1023060
Total Transfers
-
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
KOLOMusic
Compiler Version
v0.8.0+commit.c7dfd78e
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "./interface/IKOLOMusic.sol"; import "./base/AccessControlBase.sol"; contract KOLOMusic is IKOLOMusic, ERC721, AccessControlBase { using SafeMath for uint256; mapping(uint256 => MusicContent) public nft2Content; uint256 public totalSupply = 0; string public baseURI; event SafeMintMusic(address to, uint256 tokenId, MusicContent content, uint64 time); constructor(string memory _baseURI) ERC721("KOLO Music", "KLM") { baseURI = _baseURI; } function safeMintMusic(address to, uint256 tokenId, MusicContent memory content) public override onlyMinter { require(!_exists(tokenId), "Already exists"); _safeMint(to, tokenId); nft2Content[tokenId] = content; totalSupply = totalSupply.add(1); emit SafeMintMusic(to, tokenId, content, uint64(block.timestamp)); } function getMusicContent(uint256 tokenId) external view override returns(MusicContent memory) { return nft2Content[tokenId]; } function burnMusic(uint256 tokenId) public override onlyMinter{ _burn(tokenId); totalSupply = totalSupply.sub(1); } function exists(uint256 tokenId) public view returns (bool) { return _exists(tokenId); } function setBaseURI(string memory baseURI_) external onlyAdmin { baseURI = baseURI_; } function _baseURI() internal view override returns (string memory) { return baseURI; } function supportsInterface(bytes4 interfaceId) public view virtual override(ERC721,AccessControlBase) returns (bool) { return super.supportsInterface(interfaceId); } }
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.0; interface IKOLOMusic { struct MusicContent { uint8 musicType; //1-track, 2-work uint256 workId; uint8 trackNo; // track index uint16 trackNum; //track cnt uint256 extendU; string extendS; } function safeMintMusic(address to, uint256 tokenId, MusicContent memory content) external; function getMusicContent(uint256 tokenId) external returns(MusicContent memory); function burnMusic(uint256 tokenId) external; }
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.0; import "@openzeppelin/contracts/access/AccessControlEnumerable.sol"; import "@openzeppelin/contracts/security/Pausable.sol"; contract AccessControlBase is AccessControlEnumerable, Pausable { bytes32 public constant MINTER_ROLE = keccak256("MINTER_ROLE"); bytes32 public constant BUSINESS_ROLE = keccak256("BUSINESS_ROLE"); bytes32 public constant FUNDS_ROLE = keccak256("FUNDS_ROLE"); modifier onlyFunds() { _checkRole(FUNDS_ROLE, msg.sender); _; } modifier onlyAdmin() { _checkRole(DEFAULT_ADMIN_ROLE, msg.sender); _; } modifier onlyMinter() { _checkRole(MINTER_ROLE, msg.sender); _; } modifier onlyBusiness() { _checkRole(BUSINESS_ROLE, msg.sender); _; } constructor() { _init_admin_role(); } // init creator as admin role function _init_admin_role() internal virtual { _setupRole(DEFAULT_ADMIN_ROLE, msg.sender); _setupRole(MINTER_ROLE, msg.sender); _setupRole(BUSINESS_ROLE, msg.sender); _setupRole(FUNDS_ROLE, msg.sender); } function pause() public virtual onlyRole(getRoleAdmin(DEFAULT_ADMIN_ROLE)) { _pause(); } function unpause() public virtual onlyRole(getRoleAdmin(DEFAULT_ADMIN_ROLE)) { _unpause(); } function supportsInterface(bytes4 interfaceId) public view virtual override(AccessControlEnumerable) returns (bool) { return super.supportsInterface(interfaceId); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/structs/EnumerableSet.sol) 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. */ 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) { return _values(set._inner); } // 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; 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 on 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; assembly { result := store } return result; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/math/SafeMath.sol) pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } }
// 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 v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol) pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly 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 v4.4.1 (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 `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (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`, 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 be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @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 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); /** * @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; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.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: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @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) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); 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 overriden 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 owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); 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: transfer caller is not owner nor 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: transfer caller is not owner nor 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 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 _owners[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) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, 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); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); _afterTokenTransfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); _afterTokenTransfer(owner, address(0), tokenId); } /** * @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); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); _afterTokenTransfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {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 a {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 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 { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (security/Pausable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ abstract contract Pausable is Context { /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. */ constructor() { _paused = false; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { require(!paused(), "Pausable: paused"); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { require(paused(), "Pausable: not paused"); _; } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/IAccessControlEnumerable.sol) pragma solidity ^0.8.0; import "./IAccessControl.sol"; /** * @dev External interface of AccessControlEnumerable declared to support ERC165 detection. */ interface IAccessControlEnumerable is IAccessControl { /** * @dev Returns one of the accounts that have `role`. `index` must be a * value between 0 and {getRoleMemberCount}, non-inclusive. * * Role bearers are not sorted in any particular way, and their ordering may * change at any point. * * WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure * you perform all queries on the same block. See the following * https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post] * for more information. */ function getRoleMember(bytes32 role, uint256 index) external view returns (address); /** * @dev Returns the number of accounts that have `role`. Can be used * together with {getRoleMember} to enumerate all bearers of a role. */ function getRoleMemberCount(bytes32 role) external view returns (uint256); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/IAccessControl.sol) pragma solidity ^0.8.0; /** * @dev External interface of AccessControl declared to support ERC165 detection. */ interface IAccessControl { /** * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole` * * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite * {RoleAdminChanged} not being emitted signaling this. * * _Available since v3.1._ */ event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole); /** * @dev Emitted when `account` is granted `role`. * * `sender` is the account that originated the contract call, an admin role * bearer except when using {AccessControl-_setupRole}. */ event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Emitted when `account` is revoked `role`. * * `sender` is the account that originated the contract call: * - if using `revokeRole`, it is the admin role bearer * - if using `renounceRole`, it is the role bearer (i.e. `account`) */ event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Returns `true` if `account` has been granted `role`. */ function hasRole(bytes32 role, address account) external view returns (bool); /** * @dev Returns the admin role that controls `role`. See {grantRole} and * {revokeRole}. * * To change a role's admin, use {AccessControl-_setRoleAdmin}. */ function getRoleAdmin(bytes32 role) external view returns (bytes32); /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function grantRole(bytes32 role, address account) external; /** * @dev Revokes `role` from `account`. * * If `account` had been granted `role`, emits a {RoleRevoked} event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function revokeRole(bytes32 role, address account) external; /** * @dev Revokes `role` from the calling account. * * Roles are often managed via {grantRole} and {revokeRole}: this function's * purpose is to provide a mechanism for accounts to lose their privileges * if they are compromised (such as when a trusted device is misplaced). * * If the calling account had been granted `role`, emits a {RoleRevoked} * event. * * Requirements: * * - the caller must be `account`. */ function renounceRole(bytes32 role, address account) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (access/AccessControlEnumerable.sol) pragma solidity ^0.8.0; import "./IAccessControlEnumerable.sol"; import "./AccessControl.sol"; import "../utils/structs/EnumerableSet.sol"; /** * @dev Extension of {AccessControl} that allows enumerating the members of each role. */ abstract contract AccessControlEnumerable is IAccessControlEnumerable, AccessControl { using EnumerableSet for EnumerableSet.AddressSet; mapping(bytes32 => EnumerableSet.AddressSet) private _roleMembers; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IAccessControlEnumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev Returns one of the accounts that have `role`. `index` must be a * value between 0 and {getRoleMemberCount}, non-inclusive. * * Role bearers are not sorted in any particular way, and their ordering may * change at any point. * * WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure * you perform all queries on the same block. See the following * https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post] * for more information. */ function getRoleMember(bytes32 role, uint256 index) public view virtual override returns (address) { return _roleMembers[role].at(index); } /** * @dev Returns the number of accounts that have `role`. Can be used * together with {getRoleMember} to enumerate all bearers of a role. */ function getRoleMemberCount(bytes32 role) public view virtual override returns (uint256) { return _roleMembers[role].length(); } /** * @dev Overload {_grantRole} to track enumerable memberships */ function _grantRole(bytes32 role, address account) internal virtual override { super._grantRole(role, account); _roleMembers[role].add(account); } /** * @dev Overload {_revokeRole} to track enumerable memberships */ function _revokeRole(bytes32 role, address account) internal virtual override { super._revokeRole(role, account); _roleMembers[role].remove(account); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (access/AccessControl.sol) pragma solidity ^0.8.0; import "./IAccessControl.sol"; import "../utils/Context.sol"; import "../utils/Strings.sol"; import "../utils/introspection/ERC165.sol"; /** * @dev Contract module that allows children to implement role-based access * control mechanisms. This is a lightweight version that doesn't allow enumerating role * members except through off-chain means by accessing the contract event logs. Some * applications may benefit from on-chain enumerability, for those cases see * {AccessControlEnumerable}. * * Roles are referred to by their `bytes32` identifier. These should be exposed * in the external API and be unique. The best way to achieve this is by * using `public constant` hash digests: * * ``` * bytes32 public constant MY_ROLE = keccak256("MY_ROLE"); * ``` * * Roles can be used to represent a set of permissions. To restrict access to a * function call, use {hasRole}: * * ``` * function foo() public { * require(hasRole(MY_ROLE, msg.sender)); * ... * } * ``` * * Roles can be granted and revoked dynamically via the {grantRole} and * {revokeRole} functions. Each role has an associated admin role, and only * accounts that have a role's admin role can call {grantRole} and {revokeRole}. * * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means * that only accounts with this role will be able to grant or revoke other * roles. More complex role relationships can be created by using * {_setRoleAdmin}. * * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to * grant and revoke this role. Extra precautions should be taken to secure * accounts that have been granted it. */ abstract contract AccessControl is Context, IAccessControl, ERC165 { struct RoleData { mapping(address => bool) members; bytes32 adminRole; } mapping(bytes32 => RoleData) private _roles; bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00; /** * @dev Modifier that checks that an account has a specific role. Reverts * with a standardized message including the required role. * * The format of the revert reason is given by the following regular expression: * * /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/ * * _Available since v4.1._ */ modifier onlyRole(bytes32 role) { _checkRole(role, _msgSender()); _; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IAccessControl).interfaceId || super.supportsInterface(interfaceId); } /** * @dev Returns `true` if `account` has been granted `role`. */ function hasRole(bytes32 role, address account) public view virtual override returns (bool) { return _roles[role].members[account]; } /** * @dev Revert with a standard message if `account` is missing `role`. * * The format of the revert reason is given by the following regular expression: * * /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/ */ function _checkRole(bytes32 role, address account) internal view virtual { if (!hasRole(role, account)) { revert( string( abi.encodePacked( "AccessControl: account ", Strings.toHexString(uint160(account), 20), " is missing role ", Strings.toHexString(uint256(role), 32) ) ) ); } } /** * @dev Returns the admin role that controls `role`. See {grantRole} and * {revokeRole}. * * To change a role's admin, use {_setRoleAdmin}. */ function getRoleAdmin(bytes32 role) public view virtual override returns (bytes32) { return _roles[role].adminRole; } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) { _grantRole(role, account); } /** * @dev Revokes `role` from `account`. * * If `account` had been granted `role`, emits a {RoleRevoked} event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) { _revokeRole(role, account); } /** * @dev Revokes `role` from the calling account. * * Roles are often managed via {grantRole} and {revokeRole}: this function's * purpose is to provide a mechanism for accounts to lose their privileges * if they are compromised (such as when a trusted device is misplaced). * * If the calling account had been revoked `role`, emits a {RoleRevoked} * event. * * Requirements: * * - the caller must be `account`. */ function renounceRole(bytes32 role, address account) public virtual override { require(account == _msgSender(), "AccessControl: can only renounce roles for self"); _revokeRole(role, account); } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. Note that unlike {grantRole}, this function doesn't perform any * checks on the calling account. * * [WARNING] * ==== * This function should only be called from the constructor when setting * up the initial roles for the system. * * Using this function in any other way is effectively circumventing the admin * system imposed by {AccessControl}. * ==== * * NOTE: This function is deprecated in favor of {_grantRole}. */ function _setupRole(bytes32 role, address account) internal virtual { _grantRole(role, account); } /** * @dev Sets `adminRole` as ``role``'s admin role. * * Emits a {RoleAdminChanged} event. */ function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual { bytes32 previousAdminRole = getRoleAdmin(role); _roles[role].adminRole = adminRole; emit RoleAdminChanged(role, previousAdminRole, adminRole); } /** * @dev Grants `role` to `account`. * * Internal function without access restriction. */ function _grantRole(bytes32 role, address account) internal virtual { if (!hasRole(role, account)) { _roles[role].members[account] = true; emit RoleGranted(role, account, _msgSender()); } } /** * @dev Revokes `role` from `account`. * * Internal function without access restriction. */ function _revokeRole(bytes32 role, address account) internal virtual { if (hasRole(role, account)) { _roles[role].members[account] = false; emit RoleRevoked(role, account, _msgSender()); } } }
{ "remappings": [], "optimizer": { "enabled": false, "runs": 200 }, "evmVersion": "istanbul", "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":"_baseURI","type":"string"}],"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":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"},{"components":[{"internalType":"uint8","name":"musicType","type":"uint8"},{"internalType":"uint256","name":"workId","type":"uint256"},{"internalType":"uint8","name":"trackNo","type":"uint8"},{"internalType":"uint16","name":"trackNum","type":"uint16"},{"internalType":"uint256","name":"extendU","type":"uint256"},{"internalType":"string","name":"extendS","type":"string"}],"indexed":false,"internalType":"struct IKOLOMusic.MusicContent","name":"content","type":"tuple"},{"indexed":false,"internalType":"uint64","name":"time","type":"uint64"}],"name":"SafeMintMusic","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"BUSINESS_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"FUNDS_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINTER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","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":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burnMusic","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"exists","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":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getMusicContent","outputs":[{"components":[{"internalType":"uint8","name":"musicType","type":"uint8"},{"internalType":"uint256","name":"workId","type":"uint256"},{"internalType":"uint8","name":"trackNo","type":"uint8"},{"internalType":"uint16","name":"trackNum","type":"uint16"},{"internalType":"uint256","name":"extendU","type":"uint256"},{"internalType":"string","name":"extendS","type":"string"}],"internalType":"struct IKOLOMusic.MusicContent","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"getRoleMember","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleMemberCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"nft2Content","outputs":[{"internalType":"uint8","name":"musicType","type":"uint8"},{"internalType":"uint256","name":"workId","type":"uint256"},{"internalType":"uint8","name":"trackNo","type":"uint8"},{"internalType":"uint16","name":"trackNum","type":"uint16"},{"internalType":"uint256","name":"extendU","type":"uint256"},{"internalType":"string","name":"extendS","type":"string"}],"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":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"components":[{"internalType":"uint8","name":"musicType","type":"uint8"},{"internalType":"uint256","name":"workId","type":"uint256"},{"internalType":"uint8","name":"trackNo","type":"uint8"},{"internalType":"uint16","name":"trackNum","type":"uint16"},{"internalType":"uint256","name":"extendU","type":"uint256"},{"internalType":"string","name":"extendS","type":"string"}],"internalType":"struct IKOLOMusic.MusicContent","name":"content","type":"tuple"}],"name":"safeMintMusic","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI_","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526000600a553480156200001657600080fd5b5060405162004f5938038062004f5983398181016040528101906200003c91906200058e565b6040518060400160405280600a81526020017f4b4f4c4f204d75736963000000000000000000000000000000000000000000008152506040518060400160405280600381526020017f4b4c4d00000000000000000000000000000000000000000000000000000000008152508160009080519060200190620000c09291906200046c565b508060019080519060200190620000d99291906200046c565b5050506000600860006101000a81548160ff021916908315150217905550620001076200012760201b60201c565b80600b90805190602001906200011f9291906200046c565b505062000704565b6200013c6000801b33620001d460201b60201c565b6200016e7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a633620001d460201b60201c565b620001a07f966a00e53c991954f9346cf783097be60911b589dd69ff02c7a9fd1c7921502933620001d460201b60201c565b620001d27f7840a44bf6bbc1b45786ad46ece0694a9179b33e609d4ac4a51e6466e1f664c233620001d460201b60201c565b565b620001e68282620001ea60201b60201c565b5050565b6200020182826200023260201b6200149e1760201c565b6200022d81600760008581526020019081526020016000206200032460201b6200157f1790919060201c565b505050565b6200024482826200035c60201b60201c565b620003205760016006600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550620002c5620003c760201b60201c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b600062000354836000018373ffffffffffffffffffffffffffffffffffffffff1660001b620003cf60201b60201c565b905092915050565b60006006600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600033905090565b6000620003e383836200044960201b60201c565b6200043e57826000018290806001815401808255809150506001900390600052602060002001600090919091909150558260000180549050836001016000848152602001908152602001600020819055506001905062000443565b600090505b92915050565b600080836001016000848152602001908152602001600020541415905092915050565b8280546200047a9062000670565b90600052602060002090601f0160209004810192826200049e5760008555620004ea565b82601f10620004b957805160ff1916838001178555620004ea565b82800160010185558215620004ea579182015b82811115620004e9578251825591602001919060010190620004cc565b5b509050620004f99190620004fd565b5090565b5b8082111562000518576000816000905550600101620004fe565b5090565b6000620005336200052d8462000607565b620005d3565b9050828152602081018484840111156200054c57600080fd5b620005598482856200063a565b509392505050565b600082601f8301126200057357600080fd5b8151620005858482602086016200051c565b91505092915050565b600060208284031215620005a157600080fd5b600082015167ffffffffffffffff811115620005bc57600080fd5b620005ca8482850162000561565b91505092915050565b6000604051905081810181811067ffffffffffffffff82111715620005fd57620005fc620006d5565b5b8060405250919050565b600067ffffffffffffffff821115620006255762000624620006d5565b5b601f19601f8301169050602081019050919050565b60005b838110156200065a5780820151818401526020810190506200063d565b838111156200066a576000848401525b50505050565b600060028204905060018216806200068957607f821691505b60208210811415620006a0576200069f620006a6565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61484580620007146000396000f3fe608060405234801561001057600080fd5b50600436106102115760003560e01c80635c975abb11610125578063a217fddf116100ad578063ca15c8731161007c578063ca15c8731461062b578063d53913931461065b578063d547741f14610679578063e985e9c514610695578063f252bd8b146106c557610211565b8063a217fddf146105a5578063a22cb465146105c3578063b88d4fde146105df578063c87b56dd146105fb57610211565b80638456cb59116100f45780638456cb59146104ff5780639010d07c1461050957806391d148541461053957806395d89b41146105695780639b87ab6d1461058757610211565b80635c975abb146104635780636352211e146104815780636c0360eb146104b157806370a08231146104cf57610211565b80632f2ff15d116101a85780633f4ba83a116101775780633f4ba83a146103c157806342842e0e146103cb5780634f558e79146103e757806355f804b314610417578063565529b81461043357610211565b80632f2ff15d1461033657806331229da9146103525780633207247b1461038757806336568abe146103a557610211565b80630ba138c6116101e45780630ba138c6146102b057806318160ddd146102cc57806323b872dd146102ea578063248a9ca31461030657610211565b806301ffc9a71461021657806306fdde0314610246578063081812fc14610264578063095ea7b314610294575b600080fd5b610230600480360381019061022b91906134b5565b6106e1565b60405161023d9190613f85565b60405180910390f35b61024e6106f3565b60405161025b9190613fbb565b60405180910390f35b61027e60048036038101906102799190613548565b610785565b60405161028b9190613ed2565b60405180910390f35b6102ae60048036038101906102a99190613371565b61080a565b005b6102ca60048036038101906102c59190613548565b610922565b005b6102d4610974565b6040516102e1919061425f565b60405180910390f35b61030460048036038101906102ff919061326b565b61097a565b005b610320600480360381019061031b9190613414565b6109da565b60405161032d9190613fa0565b60405180910390f35b610350600480360381019061034b919061343d565b6109fa565b005b61036c60048036038101906103679190613548565b610a23565b60405161037e9695949392919061427a565b60405180910390f35b61038f610b0f565b60405161039c9190613fa0565b60405180910390f35b6103bf60048036038101906103ba919061343d565b610b33565b005b6103c9610bb6565b005b6103e560048036038101906103e0919061326b565b610bde565b005b61040160048036038101906103fc9190613548565b610bfe565b60405161040e9190613f85565b60405180910390f35b610431600480360381019061042c9190613507565b610c10565b005b61044d60048036038101906104489190613548565b610c37565b60405161045a919061423d565b60405180910390f35b61046b610d64565b6040516104789190613f85565b60405180910390f35b61049b60048036038101906104969190613548565b610d7b565b6040516104a89190613ed2565b60405180910390f35b6104b9610e2d565b6040516104c69190613fbb565b60405180910390f35b6104e960048036038101906104e49190613206565b610ebb565b6040516104f6919061425f565b60405180910390f35b610507610f73565b005b610523600480360381019061051e9190613479565b610f9b565b6040516105309190613ed2565b60405180910390f35b610553600480360381019061054e919061343d565b610fca565b6040516105609190613f85565b60405180910390f35b610571611035565b60405161057e9190613fbb565b60405180910390f35b61058f6110c7565b60405161059c9190613fa0565b60405180910390f35b6105ad6110eb565b6040516105ba9190613fa0565b60405180910390f35b6105dd60048036038101906105d89190613335565b6110f2565b005b6105f960048036038101906105f491906132ba565b611108565b005b61061560048036038101906106109190613548565b61116a565b6040516106229190613fbb565b60405180910390f35b61064560048036038101906106409190613414565b611211565b604051610652919061425f565b60405180910390f35b610663611235565b6040516106709190613fa0565b60405180910390f35b610693600480360381019061068e919061343d565b611259565b005b6106af60048036038101906106aa919061322f565b611282565b6040516106bc9190613f85565b60405180910390f35b6106df60048036038101906106da91906133ad565b611316565b005b60006106ec826115af565b9050919050565b606060008054610702906145f5565b80601f016020809104026020016040519081016040528092919081815260200182805461072e906145f5565b801561077b5780601f106107505761010080835404028352916020019161077b565b820191906000526020600020905b81548152906001019060200180831161075e57829003601f168201915b5050505050905090565b6000610790826115c1565b6107cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107c69061419d565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061081582610d7b565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610886576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161087d906141dd565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166108a561162d565b73ffffffffffffffffffffffffffffffffffffffff1614806108d457506108d3816108ce61162d565b611282565b5b610913576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161090a9061411d565b60405180910390fd5b61091d8383611635565b505050565b61094c7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6336116ee565b6109558161178b565b61096b6001600a546118a890919063ffffffff16565b600a8190555050565b600a5481565b61098b61098561162d565b826118be565b6109ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109c1906141fd565b60405180910390fd5b6109d583838361199c565b505050565b600060066000838152602001908152602001600020600101549050919050565b610a03826109da565b610a1481610a0f61162d565b6116ee565b610a1e8383611c03565b505050565b60096020528060005260406000206000915090508060000160009054906101000a900460ff16908060010154908060020160009054906101000a900460ff16908060020160019054906101000a900461ffff1690806003015490806004018054610a8c906145f5565b80601f0160208091040260200160405190810160405280929190818152602001828054610ab8906145f5565b8015610b055780601f10610ada57610100808354040283529160200191610b05565b820191906000526020600020905b815481529060010190602001808311610ae857829003601f168201915b5050505050905086565b7f966a00e53c991954f9346cf783097be60911b589dd69ff02c7a9fd1c7921502981565b610b3b61162d565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610ba8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b9f9061421d565b60405180910390fd5b610bb28282611c37565b5050565b610bc26000801b6109da565b610bd381610bce61162d565b6116ee565b610bdb611c6b565b50565b610bf983838360405180602001604052806000815250611108565b505050565b6000610c09826115c1565b9050919050565b610c1d6000801b336116ee565b80600b9080519060200190610c33929190612ef7565b5050565b610c3f612f7d565b600960008381526020019081526020016000206040518060c00160405290816000820160009054906101000a900460ff1660ff1660ff168152602001600182015481526020016002820160009054906101000a900460ff1660ff1660ff1681526020016002820160019054906101000a900461ffff1661ffff1661ffff16815260200160038201548152602001600482018054610cdb906145f5565b80601f0160208091040260200160405190810160405280929190818152602001828054610d07906145f5565b8015610d545780601f10610d2957610100808354040283529160200191610d54565b820191906000526020600020905b815481529060010190602001808311610d3757829003601f168201915b5050505050815250509050919050565b6000600860009054906101000a900460ff16905090565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610e24576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e1b9061415d565b60405180910390fd5b80915050919050565b600b8054610e3a906145f5565b80601f0160208091040260200160405190810160405280929190818152602001828054610e66906145f5565b8015610eb35780601f10610e8857610100808354040283529160200191610eb3565b820191906000526020600020905b815481529060010190602001808311610e9657829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610f2c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f239061413d565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610f7f6000801b6109da565b610f9081610f8b61162d565b6116ee565b610f98611d0d565b50565b6000610fc28260076000868152602001908152602001600020611db090919063ffffffff16565b905092915050565b60006006600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b606060018054611044906145f5565b80601f0160208091040260200160405190810160405280929190818152602001828054611070906145f5565b80156110bd5780601f10611092576101008083540402835291602001916110bd565b820191906000526020600020905b8154815290600101906020018083116110a057829003601f168201915b5050505050905090565b7f7840a44bf6bbc1b45786ad46ece0694a9179b33e609d4ac4a51e6466e1f664c281565b6000801b81565b6111046110fd61162d565b8383611dca565b5050565b61111961111361162d565b836118be565b611158576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161114f906141fd565b60405180910390fd5b61116484848484611f37565b50505050565b6060611175826115c1565b6111b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111ab906141bd565b60405180910390fd5b60006111be611f93565b905060008151116111de5760405180602001604052806000815250611209565b806111e884612025565b6040516020016111f9929190613e74565b6040516020818303038152906040525b915050919050565b600061122e600760008481526020019081526020016000206121d2565b9050919050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b611262826109da565b6112738161126e61162d565b6116ee565b61127d8383611c37565b505050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6113407f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6336116ee565b611349826115c1565b15611389576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611380906140bd565b60405180910390fd5b61139383836121e7565b806009600084815260200190815260200160002060008201518160000160006101000a81548160ff021916908360ff1602179055506020820151816001015560408201518160020160006101000a81548160ff021916908360ff16021790555060608201518160020160016101000a81548161ffff021916908361ffff1602179055506080820151816003015560a082015181600401908051906020019061143c929190612ef7565b509050506114566001600a5461220590919063ffffffff16565b600a819055507f7e7b8488eb779409589d5fb0503188a4e7181ceb5babf14586708db4698f1984838383426040516114919493929190613f39565b60405180910390a1505050565b6114a88282610fca565b61157b5760016006600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555061152061162d565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b60006115a7836000018373ffffffffffffffffffffffffffffffffffffffff1660001b61221b565b905092915050565b60006115ba8261228b565b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166116a883610d7b565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6116f88282610fca565b6117875761171d8173ffffffffffffffffffffffffffffffffffffffff166014612305565b61172b8360001c6020612305565b60405160200161173c929190613e98565b6040516020818303038152906040526040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161177e9190613fbb565b60405180910390fd5b5050565b600061179682610d7b565b90506117a4816000846125ff565b6117af600083611635565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546117ff91906144a8565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46118a481600084612604565b5050565b600081836118b691906144a8565b905092915050565b60006118c9826115c1565b611908576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118ff906140dd565b60405180910390fd5b600061191383610d7b565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061198257508373ffffffffffffffffffffffffffffffffffffffff1661196a84610785565b73ffffffffffffffffffffffffffffffffffffffff16145b8061199357506119928185611282565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166119bc82610d7b565b73ffffffffffffffffffffffffffffffffffffffff1614611a12576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a099061403d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611a82576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a799061407d565b60405180910390fd5b611a8d8383836125ff565b611a98600082611635565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611ae891906144a8565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611b3f91906143c7565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611bfe838383612604565b505050565b611c0d828261149e565b611c32816007600085815260200190815260200160002061157f90919063ffffffff16565b505050565b611c418282612609565b611c6681600760008581526020019081526020016000206126eb90919063ffffffff16565b505050565b611c73610d64565b611cb2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ca990613ffd565b60405180910390fd5b6000600860006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa611cf661162d565b604051611d039190613ed2565b60405180910390a1565b611d15610d64565b15611d55576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d4c906140fd565b60405180910390fd5b6001600860006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611d9961162d565b604051611da69190613ed2565b60405180910390a1565b6000611dbf836000018361271b565b60001c905092915050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611e39576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e309061409d565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611f2a9190613f85565b60405180910390a3505050565b611f4284848461199c565b611f4e8484848461276c565b611f8d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f849061401d565b60405180910390fd5b50505050565b6060600b8054611fa2906145f5565b80601f0160208091040260200160405190810160405280929190818152602001828054611fce906145f5565b801561201b5780601f10611ff05761010080835404028352916020019161201b565b820191906000526020600020905b815481529060010190602001808311611ffe57829003601f168201915b5050505050905090565b6060600082141561206d576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506121cd565b600082905060005b6000821461209f57808061208890614627565b915050600a82612098919061441d565b9150612075565b60008167ffffffffffffffff8111156120e1577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156121135781602001600182028036833780820191505090505b5090505b600085146121c65760018261212c91906144a8565b9150600a8561213b9190614670565b603061214791906143c7565b60f81b818381518110612183577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856121bf919061441d565b9450612117565b8093505050505b919050565b60006121e082600001612903565b9050919050565b612201828260405180602001604052806000815250612914565b5050565b6000818361221391906143c7565b905092915050565b6000612227838361296f565b612280578260000182908060018154018082558091505060019003906000526020600020016000909190919091505582600001805490508360010160008481526020019081526020016000208190555060019050612285565b600090505b92915050565b60007f5a05180f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806122fe57506122fd82612992565b5b9050919050565b606060006002836002612318919061444e565b61232291906143c7565b67ffffffffffffffff811115612361577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156123935781602001600182028036833780820191505090505b5090507f3000000000000000000000000000000000000000000000000000000000000000816000815181106123f1577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f78000000000000000000000000000000000000000000000000000000000000008160018151811061247b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600060018460026124bb919061444e565b6124c591906143c7565b90505b60018111156125b1577f3031323334353637383961626364656600000000000000000000000000000000600f86166010811061252d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b1a60f81b82828151811061256a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c9450806125aa906145cb565b90506124c8565b50600084146125f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125ec90613fdd565b60405180910390fd5b8091505092915050565b505050565b505050565b6126138282610fca565b156126e75760006006600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555061268c61162d565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b6000612713836000018373ffffffffffffffffffffffffffffffffffffffff1660001b612a0c565b905092915050565b6000826000018281548110612759577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200154905092915050565b600061278d8473ffffffffffffffffffffffffffffffffffffffff16612b92565b156128f6578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026127b661162d565b8786866040518563ffffffff1660e01b81526004016127d89493929190613eed565b602060405180830381600087803b1580156127f257600080fd5b505af192505050801561282357506040513d601f19601f8201168201806040525081019061282091906134de565b60015b6128a6573d8060008114612853576040519150601f19603f3d011682016040523d82523d6000602084013e612858565b606091505b5060008151141561289e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128959061401d565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506128fb565b600190505b949350505050565b600081600001805490509050919050565b61291e8383612bd1565b61292b600084848461276c565b61296a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129619061401d565b60405180910390fd5b505050565b600080836001016000848152602001908152602001600020541415905092915050565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612a055750612a0482612dab565b5b9050919050565b60008083600101600084815260200190815260200160002054905060008114612b86576000600182612a3e91906144a8565b9050600060018660000180549050612a5691906144a8565b9050818114612b11576000866000018281548110612a9d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200154905080876000018481548110612ae7577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001819055508387600101600083815260200190815260200160002081905550505b85600001805480612b4b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b600190038181906000526020600020016000905590558560010160008681526020019081526020016000206000905560019350505050612b8c565b60009150505b92915050565b6000808273ffffffffffffffffffffffffffffffffffffffff16803b806020016040519081016040528181526000908060200190933c51119050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612c41576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c389061417d565b60405180910390fd5b612c4a816115c1565b15612c8a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c819061405d565b60405180910390fd5b612c96600083836125ff565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612ce691906143c7565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612da760008383612604565b5050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612e7657507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612e865750612e8582612e8d565b5b9050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b828054612f03906145f5565b90600052602060002090601f016020900481019282612f255760008555612f6c565b82601f10612f3e57805160ff1916838001178555612f6c565b82800160010185558215612f6c579182015b82811115612f6b578251825591602001919060010190612f50565b5b509050612f799190612fbd565b5090565b6040518060c00160405280600060ff16815260200160008152602001600060ff168152602001600061ffff16815260200160008152602001606081525090565b5b80821115612fd6576000816000905550600101612fbe565b5090565b6000612fed612fe884614313565b6142e2565b90508281526020810184848401111561300557600080fd5b613010848285614589565b509392505050565b600061302b61302684614343565b6142e2565b90508281526020810184848401111561304357600080fd5b61304e848285614589565b509392505050565b6000813590506130658161476e565b92915050565b60008135905061307a81614785565b92915050565b60008135905061308f8161479c565b92915050565b6000813590506130a4816147b3565b92915050565b6000815190506130b9816147b3565b92915050565b600082601f8301126130d057600080fd5b81356130e0848260208601612fda565b91505092915050565b600082601f8301126130fa57600080fd5b813561310a848260208601613018565b91505092915050565b600060c0828403121561312557600080fd5b61312f60c06142e2565b9050600061313f848285016131f1565b6000830152506020613153848285016131dc565b6020830152506040613167848285016131f1565b604083015250606061317b848285016131c7565b606083015250608061318f848285016131dc565b60808301525060a082013567ffffffffffffffff8111156131af57600080fd5b6131bb848285016130e9565b60a08301525092915050565b6000813590506131d6816147ca565b92915050565b6000813590506131eb816147e1565b92915050565b600081359050613200816147f8565b92915050565b60006020828403121561321857600080fd5b600061322684828501613056565b91505092915050565b6000806040838503121561324257600080fd5b600061325085828601613056565b925050602061326185828601613056565b9150509250929050565b60008060006060848603121561328057600080fd5b600061328e86828701613056565b935050602061329f86828701613056565b92505060406132b0868287016131dc565b9150509250925092565b600080600080608085870312156132d057600080fd5b60006132de87828801613056565b94505060206132ef87828801613056565b9350506040613300878288016131dc565b925050606085013567ffffffffffffffff81111561331d57600080fd5b613329878288016130bf565b91505092959194509250565b6000806040838503121561334857600080fd5b600061335685828601613056565b92505060206133678582860161306b565b9150509250929050565b6000806040838503121561338457600080fd5b600061339285828601613056565b92505060206133a3858286016131dc565b9150509250929050565b6000806000606084860312156133c257600080fd5b60006133d086828701613056565b93505060206133e1868287016131dc565b925050604084013567ffffffffffffffff8111156133fe57600080fd5b61340a86828701613113565b9150509250925092565b60006020828403121561342657600080fd5b600061343484828501613080565b91505092915050565b6000806040838503121561345057600080fd5b600061345e85828601613080565b925050602061346f85828601613056565b9150509250929050565b6000806040838503121561348c57600080fd5b600061349a85828601613080565b92505060206134ab858286016131dc565b9150509250929050565b6000602082840312156134c757600080fd5b60006134d584828501613095565b91505092915050565b6000602082840312156134f057600080fd5b60006134fe848285016130aa565b91505092915050565b60006020828403121561351957600080fd5b600082013567ffffffffffffffff81111561353357600080fd5b61353f848285016130e9565b91505092915050565b60006020828403121561355a57600080fd5b6000613568848285016131dc565b91505092915050565b61357a816144dc565b82525050565b613589816144ee565b82525050565b613598816144fa565b82525050565b60006135a982614373565b6135b38185614389565b93506135c3818560208601614598565b6135cc8161475d565b840191505092915050565b60006135e28261437e565b6135ec818561439a565b93506135fc818560208601614598565b6136058161475d565b840191505092915050565b600061361b8261437e565b61362581856143ab565b9350613635818560208601614598565b61363e8161475d565b840191505092915050565b60006136548261437e565b61365e81856143bc565b935061366e818560208601614598565b80840191505092915050565b60006136876020836143ab565b91507f537472696e67733a20686578206c656e67746820696e73756666696369656e746000830152602082019050919050565b60006136c76014836143ab565b91507f5061757361626c653a206e6f74207061757365640000000000000000000000006000830152602082019050919050565b60006137076032836143ab565b91507f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008301527f63656976657220696d706c656d656e74657200000000000000000000000000006020830152604082019050919050565b600061376d6025836143ab565b91507f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008301527f6f776e65720000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006137d3601c836143ab565b91507f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006000830152602082019050919050565b60006138136024836143ab565b91507f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006138796019836143ab565b91507f4552433732313a20617070726f766520746f2063616c6c6572000000000000006000830152602082019050919050565b60006138b9600e836143ab565b91507f416c7265616479206578697374730000000000000000000000000000000000006000830152602082019050919050565b60006138f9602c836143ab565b91507f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b600061395f6010836143ab565b91507f5061757361626c653a20706175736564000000000000000000000000000000006000830152602082019050919050565b600061399f6038836143ab565b91507f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008301527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006020830152604082019050919050565b6000613a05602a836143ab565b91507f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008301527f726f2061646472657373000000000000000000000000000000000000000000006020830152604082019050919050565b6000613a6b6029836143ab565b91507f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008301527f656e7420746f6b656e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000613ad16020836143ab565b91507f4552433732313a206d696e7420746f20746865207a65726f20616464726573736000830152602082019050919050565b6000613b11602c836143ab565b91507f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b6000613b77602f836143ab565b91507f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008301527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006020830152604082019050919050565b6000613bdd6021836143ab565b91507f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008301527f72000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613c436031836143ab565b91507f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008301527f776e6572206e6f7220617070726f7665640000000000000000000000000000006020830152604082019050919050565b6000613ca96017836143bc565b91507f416363657373436f6e74726f6c3a206163636f756e74200000000000000000006000830152601782019050919050565b6000613ce96011836143bc565b91507f206973206d697373696e6720726f6c65200000000000000000000000000000006000830152601182019050919050565b6000613d29602f836143ab565b91507f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008301527f20726f6c657320666f722073656c6600000000000000000000000000000000006020830152604082019050919050565b600060c083016000830151613d9a6000860182613e56565b506020830151613dad6020860182613e29565b506040830151613dc06040860182613e56565b506060830151613dd36060860182613e0b565b506080830151613de66080860182613e29565b5060a083015184820360a0860152613dfe82826135d7565b9150508091505092915050565b613e1481614530565b82525050565b613e2381614530565b82525050565b613e328161455e565b82525050565b613e418161455e565b82525050565b613e5081614568565b82525050565b613e5f8161457c565b82525050565b613e6e8161457c565b82525050565b6000613e808285613649565b9150613e8c8284613649565b91508190509392505050565b6000613ea382613c9c565b9150613eaf8285613649565b9150613eba82613cdc565b9150613ec68284613649565b91508190509392505050565b6000602082019050613ee76000830184613571565b92915050565b6000608082019050613f026000830187613571565b613f0f6020830186613571565b613f1c6040830185613e38565b8181036060830152613f2e818461359e565b905095945050505050565b6000608082019050613f4e6000830187613571565b613f5b6020830186613e38565b8181036040830152613f6d8185613d82565b9050613f7c6060830184613e47565b95945050505050565b6000602082019050613f9a6000830184613580565b92915050565b6000602082019050613fb5600083018461358f565b92915050565b60006020820190508181036000830152613fd58184613610565b905092915050565b60006020820190508181036000830152613ff68161367a565b9050919050565b60006020820190508181036000830152614016816136ba565b9050919050565b60006020820190508181036000830152614036816136fa565b9050919050565b6000602082019050818103600083015261405681613760565b9050919050565b60006020820190508181036000830152614076816137c6565b9050919050565b6000602082019050818103600083015261409681613806565b9050919050565b600060208201905081810360008301526140b68161386c565b9050919050565b600060208201905081810360008301526140d6816138ac565b9050919050565b600060208201905081810360008301526140f6816138ec565b9050919050565b6000602082019050818103600083015261411681613952565b9050919050565b6000602082019050818103600083015261413681613992565b9050919050565b60006020820190508181036000830152614156816139f8565b9050919050565b6000602082019050818103600083015261417681613a5e565b9050919050565b6000602082019050818103600083015261419681613ac4565b9050919050565b600060208201905081810360008301526141b681613b04565b9050919050565b600060208201905081810360008301526141d681613b6a565b9050919050565b600060208201905081810360008301526141f681613bd0565b9050919050565b6000602082019050818103600083015261421681613c36565b9050919050565b6000602082019050818103600083015261423681613d1c565b9050919050565b600060208201905081810360008301526142578184613d82565b905092915050565b60006020820190506142746000830184613e38565b92915050565b600060c08201905061428f6000830189613e65565b61429c6020830188613e38565b6142a96040830187613e65565b6142b66060830186613e1a565b6142c36080830185613e38565b81810360a08301526142d58184613610565b9050979650505050505050565b6000604051905081810181811067ffffffffffffffff821117156143095761430861472e565b5b8060405250919050565b600067ffffffffffffffff82111561432e5761432d61472e565b5b601f19601f8301169050602081019050919050565b600067ffffffffffffffff82111561435e5761435d61472e565b5b601f19601f8301169050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b60006143d28261455e565b91506143dd8361455e565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614412576144116146a1565b5b828201905092915050565b60006144288261455e565b91506144338361455e565b925082614443576144426146d0565b5b828204905092915050565b60006144598261455e565b91506144648361455e565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561449d5761449c6146a1565b5b828202905092915050565b60006144b38261455e565b91506144be8361455e565b9250828210156144d1576144d06146a1565b5b828203905092915050565b60006144e78261453e565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600061ffff82169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600067ffffffffffffffff82169050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b838110156145b657808201518184015260208101905061459b565b838111156145c5576000848401525b50505050565b60006145d68261455e565b915060008214156145ea576145e96146a1565b5b600182039050919050565b6000600282049050600182168061460d57607f821691505b60208210811415614621576146206146ff565b5b50919050565b60006146328261455e565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614665576146646146a1565b5b600182019050919050565b600061467b8261455e565b91506146868361455e565b925082614696576146956146d0565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b614777816144dc565b811461478257600080fd5b50565b61478e816144ee565b811461479957600080fd5b50565b6147a5816144fa565b81146147b057600080fd5b50565b6147bc81614504565b81146147c757600080fd5b50565b6147d381614530565b81146147de57600080fd5b50565b6147ea8161455e565b81146147f557600080fd5b50565b6148018161457c565b811461480c57600080fd5b5056fea264697066735822122081818ac4acd74d6ceb11cb128bbf31f78ec5a813f5c4de150de788b1801bec1164736f6c634300080000330000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000002e68747470733a2f2f7777772e6b6f6c6f2e6d61726b65742f6170692f6e66742f6d657461646174612f696e666f2f000000000000000000000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106102115760003560e01c80635c975abb11610125578063a217fddf116100ad578063ca15c8731161007c578063ca15c8731461062b578063d53913931461065b578063d547741f14610679578063e985e9c514610695578063f252bd8b146106c557610211565b8063a217fddf146105a5578063a22cb465146105c3578063b88d4fde146105df578063c87b56dd146105fb57610211565b80638456cb59116100f45780638456cb59146104ff5780639010d07c1461050957806391d148541461053957806395d89b41146105695780639b87ab6d1461058757610211565b80635c975abb146104635780636352211e146104815780636c0360eb146104b157806370a08231146104cf57610211565b80632f2ff15d116101a85780633f4ba83a116101775780633f4ba83a146103c157806342842e0e146103cb5780634f558e79146103e757806355f804b314610417578063565529b81461043357610211565b80632f2ff15d1461033657806331229da9146103525780633207247b1461038757806336568abe146103a557610211565b80630ba138c6116101e45780630ba138c6146102b057806318160ddd146102cc57806323b872dd146102ea578063248a9ca31461030657610211565b806301ffc9a71461021657806306fdde0314610246578063081812fc14610264578063095ea7b314610294575b600080fd5b610230600480360381019061022b91906134b5565b6106e1565b60405161023d9190613f85565b60405180910390f35b61024e6106f3565b60405161025b9190613fbb565b60405180910390f35b61027e60048036038101906102799190613548565b610785565b60405161028b9190613ed2565b60405180910390f35b6102ae60048036038101906102a99190613371565b61080a565b005b6102ca60048036038101906102c59190613548565b610922565b005b6102d4610974565b6040516102e1919061425f565b60405180910390f35b61030460048036038101906102ff919061326b565b61097a565b005b610320600480360381019061031b9190613414565b6109da565b60405161032d9190613fa0565b60405180910390f35b610350600480360381019061034b919061343d565b6109fa565b005b61036c60048036038101906103679190613548565b610a23565b60405161037e9695949392919061427a565b60405180910390f35b61038f610b0f565b60405161039c9190613fa0565b60405180910390f35b6103bf60048036038101906103ba919061343d565b610b33565b005b6103c9610bb6565b005b6103e560048036038101906103e0919061326b565b610bde565b005b61040160048036038101906103fc9190613548565b610bfe565b60405161040e9190613f85565b60405180910390f35b610431600480360381019061042c9190613507565b610c10565b005b61044d60048036038101906104489190613548565b610c37565b60405161045a919061423d565b60405180910390f35b61046b610d64565b6040516104789190613f85565b60405180910390f35b61049b60048036038101906104969190613548565b610d7b565b6040516104a89190613ed2565b60405180910390f35b6104b9610e2d565b6040516104c69190613fbb565b60405180910390f35b6104e960048036038101906104e49190613206565b610ebb565b6040516104f6919061425f565b60405180910390f35b610507610f73565b005b610523600480360381019061051e9190613479565b610f9b565b6040516105309190613ed2565b60405180910390f35b610553600480360381019061054e919061343d565b610fca565b6040516105609190613f85565b60405180910390f35b610571611035565b60405161057e9190613fbb565b60405180910390f35b61058f6110c7565b60405161059c9190613fa0565b60405180910390f35b6105ad6110eb565b6040516105ba9190613fa0565b60405180910390f35b6105dd60048036038101906105d89190613335565b6110f2565b005b6105f960048036038101906105f491906132ba565b611108565b005b61061560048036038101906106109190613548565b61116a565b6040516106229190613fbb565b60405180910390f35b61064560048036038101906106409190613414565b611211565b604051610652919061425f565b60405180910390f35b610663611235565b6040516106709190613fa0565b60405180910390f35b610693600480360381019061068e919061343d565b611259565b005b6106af60048036038101906106aa919061322f565b611282565b6040516106bc9190613f85565b60405180910390f35b6106df60048036038101906106da91906133ad565b611316565b005b60006106ec826115af565b9050919050565b606060008054610702906145f5565b80601f016020809104026020016040519081016040528092919081815260200182805461072e906145f5565b801561077b5780601f106107505761010080835404028352916020019161077b565b820191906000526020600020905b81548152906001019060200180831161075e57829003601f168201915b5050505050905090565b6000610790826115c1565b6107cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107c69061419d565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061081582610d7b565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610886576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161087d906141dd565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166108a561162d565b73ffffffffffffffffffffffffffffffffffffffff1614806108d457506108d3816108ce61162d565b611282565b5b610913576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161090a9061411d565b60405180910390fd5b61091d8383611635565b505050565b61094c7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6336116ee565b6109558161178b565b61096b6001600a546118a890919063ffffffff16565b600a8190555050565b600a5481565b61098b61098561162d565b826118be565b6109ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109c1906141fd565b60405180910390fd5b6109d583838361199c565b505050565b600060066000838152602001908152602001600020600101549050919050565b610a03826109da565b610a1481610a0f61162d565b6116ee565b610a1e8383611c03565b505050565b60096020528060005260406000206000915090508060000160009054906101000a900460ff16908060010154908060020160009054906101000a900460ff16908060020160019054906101000a900461ffff1690806003015490806004018054610a8c906145f5565b80601f0160208091040260200160405190810160405280929190818152602001828054610ab8906145f5565b8015610b055780601f10610ada57610100808354040283529160200191610b05565b820191906000526020600020905b815481529060010190602001808311610ae857829003601f168201915b5050505050905086565b7f966a00e53c991954f9346cf783097be60911b589dd69ff02c7a9fd1c7921502981565b610b3b61162d565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610ba8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b9f9061421d565b60405180910390fd5b610bb28282611c37565b5050565b610bc26000801b6109da565b610bd381610bce61162d565b6116ee565b610bdb611c6b565b50565b610bf983838360405180602001604052806000815250611108565b505050565b6000610c09826115c1565b9050919050565b610c1d6000801b336116ee565b80600b9080519060200190610c33929190612ef7565b5050565b610c3f612f7d565b600960008381526020019081526020016000206040518060c00160405290816000820160009054906101000a900460ff1660ff1660ff168152602001600182015481526020016002820160009054906101000a900460ff1660ff1660ff1681526020016002820160019054906101000a900461ffff1661ffff1661ffff16815260200160038201548152602001600482018054610cdb906145f5565b80601f0160208091040260200160405190810160405280929190818152602001828054610d07906145f5565b8015610d545780601f10610d2957610100808354040283529160200191610d54565b820191906000526020600020905b815481529060010190602001808311610d3757829003601f168201915b5050505050815250509050919050565b6000600860009054906101000a900460ff16905090565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610e24576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e1b9061415d565b60405180910390fd5b80915050919050565b600b8054610e3a906145f5565b80601f0160208091040260200160405190810160405280929190818152602001828054610e66906145f5565b8015610eb35780601f10610e8857610100808354040283529160200191610eb3565b820191906000526020600020905b815481529060010190602001808311610e9657829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610f2c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f239061413d565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610f7f6000801b6109da565b610f9081610f8b61162d565b6116ee565b610f98611d0d565b50565b6000610fc28260076000868152602001908152602001600020611db090919063ffffffff16565b905092915050565b60006006600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b606060018054611044906145f5565b80601f0160208091040260200160405190810160405280929190818152602001828054611070906145f5565b80156110bd5780601f10611092576101008083540402835291602001916110bd565b820191906000526020600020905b8154815290600101906020018083116110a057829003601f168201915b5050505050905090565b7f7840a44bf6bbc1b45786ad46ece0694a9179b33e609d4ac4a51e6466e1f664c281565b6000801b81565b6111046110fd61162d565b8383611dca565b5050565b61111961111361162d565b836118be565b611158576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161114f906141fd565b60405180910390fd5b61116484848484611f37565b50505050565b6060611175826115c1565b6111b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111ab906141bd565b60405180910390fd5b60006111be611f93565b905060008151116111de5760405180602001604052806000815250611209565b806111e884612025565b6040516020016111f9929190613e74565b6040516020818303038152906040525b915050919050565b600061122e600760008481526020019081526020016000206121d2565b9050919050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b611262826109da565b6112738161126e61162d565b6116ee565b61127d8383611c37565b505050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6113407f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6336116ee565b611349826115c1565b15611389576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611380906140bd565b60405180910390fd5b61139383836121e7565b806009600084815260200190815260200160002060008201518160000160006101000a81548160ff021916908360ff1602179055506020820151816001015560408201518160020160006101000a81548160ff021916908360ff16021790555060608201518160020160016101000a81548161ffff021916908361ffff1602179055506080820151816003015560a082015181600401908051906020019061143c929190612ef7565b509050506114566001600a5461220590919063ffffffff16565b600a819055507f7e7b8488eb779409589d5fb0503188a4e7181ceb5babf14586708db4698f1984838383426040516114919493929190613f39565b60405180910390a1505050565b6114a88282610fca565b61157b5760016006600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555061152061162d565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b60006115a7836000018373ffffffffffffffffffffffffffffffffffffffff1660001b61221b565b905092915050565b60006115ba8261228b565b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166116a883610d7b565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6116f88282610fca565b6117875761171d8173ffffffffffffffffffffffffffffffffffffffff166014612305565b61172b8360001c6020612305565b60405160200161173c929190613e98565b6040516020818303038152906040526040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161177e9190613fbb565b60405180910390fd5b5050565b600061179682610d7b565b90506117a4816000846125ff565b6117af600083611635565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546117ff91906144a8565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46118a481600084612604565b5050565b600081836118b691906144a8565b905092915050565b60006118c9826115c1565b611908576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118ff906140dd565b60405180910390fd5b600061191383610d7b565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061198257508373ffffffffffffffffffffffffffffffffffffffff1661196a84610785565b73ffffffffffffffffffffffffffffffffffffffff16145b8061199357506119928185611282565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166119bc82610d7b565b73ffffffffffffffffffffffffffffffffffffffff1614611a12576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a099061403d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611a82576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a799061407d565b60405180910390fd5b611a8d8383836125ff565b611a98600082611635565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611ae891906144a8565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611b3f91906143c7565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611bfe838383612604565b505050565b611c0d828261149e565b611c32816007600085815260200190815260200160002061157f90919063ffffffff16565b505050565b611c418282612609565b611c6681600760008581526020019081526020016000206126eb90919063ffffffff16565b505050565b611c73610d64565b611cb2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ca990613ffd565b60405180910390fd5b6000600860006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa611cf661162d565b604051611d039190613ed2565b60405180910390a1565b611d15610d64565b15611d55576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d4c906140fd565b60405180910390fd5b6001600860006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611d9961162d565b604051611da69190613ed2565b60405180910390a1565b6000611dbf836000018361271b565b60001c905092915050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611e39576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e309061409d565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611f2a9190613f85565b60405180910390a3505050565b611f4284848461199c565b611f4e8484848461276c565b611f8d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f849061401d565b60405180910390fd5b50505050565b6060600b8054611fa2906145f5565b80601f0160208091040260200160405190810160405280929190818152602001828054611fce906145f5565b801561201b5780601f10611ff05761010080835404028352916020019161201b565b820191906000526020600020905b815481529060010190602001808311611ffe57829003601f168201915b5050505050905090565b6060600082141561206d576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506121cd565b600082905060005b6000821461209f57808061208890614627565b915050600a82612098919061441d565b9150612075565b60008167ffffffffffffffff8111156120e1577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156121135781602001600182028036833780820191505090505b5090505b600085146121c65760018261212c91906144a8565b9150600a8561213b9190614670565b603061214791906143c7565b60f81b818381518110612183577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856121bf919061441d565b9450612117565b8093505050505b919050565b60006121e082600001612903565b9050919050565b612201828260405180602001604052806000815250612914565b5050565b6000818361221391906143c7565b905092915050565b6000612227838361296f565b612280578260000182908060018154018082558091505060019003906000526020600020016000909190919091505582600001805490508360010160008481526020019081526020016000208190555060019050612285565b600090505b92915050565b60007f5a05180f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806122fe57506122fd82612992565b5b9050919050565b606060006002836002612318919061444e565b61232291906143c7565b67ffffffffffffffff811115612361577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156123935781602001600182028036833780820191505090505b5090507f3000000000000000000000000000000000000000000000000000000000000000816000815181106123f1577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f78000000000000000000000000000000000000000000000000000000000000008160018151811061247b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600060018460026124bb919061444e565b6124c591906143c7565b90505b60018111156125b1577f3031323334353637383961626364656600000000000000000000000000000000600f86166010811061252d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b1a60f81b82828151811061256a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c9450806125aa906145cb565b90506124c8565b50600084146125f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125ec90613fdd565b60405180910390fd5b8091505092915050565b505050565b505050565b6126138282610fca565b156126e75760006006600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555061268c61162d565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b6000612713836000018373ffffffffffffffffffffffffffffffffffffffff1660001b612a0c565b905092915050565b6000826000018281548110612759577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200154905092915050565b600061278d8473ffffffffffffffffffffffffffffffffffffffff16612b92565b156128f6578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026127b661162d565b8786866040518563ffffffff1660e01b81526004016127d89493929190613eed565b602060405180830381600087803b1580156127f257600080fd5b505af192505050801561282357506040513d601f19601f8201168201806040525081019061282091906134de565b60015b6128a6573d8060008114612853576040519150601f19603f3d011682016040523d82523d6000602084013e612858565b606091505b5060008151141561289e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128959061401d565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506128fb565b600190505b949350505050565b600081600001805490509050919050565b61291e8383612bd1565b61292b600084848461276c565b61296a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129619061401d565b60405180910390fd5b505050565b600080836001016000848152602001908152602001600020541415905092915050565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612a055750612a0482612dab565b5b9050919050565b60008083600101600084815260200190815260200160002054905060008114612b86576000600182612a3e91906144a8565b9050600060018660000180549050612a5691906144a8565b9050818114612b11576000866000018281548110612a9d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200154905080876000018481548110612ae7577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001819055508387600101600083815260200190815260200160002081905550505b85600001805480612b4b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b600190038181906000526020600020016000905590558560010160008681526020019081526020016000206000905560019350505050612b8c565b60009150505b92915050565b6000808273ffffffffffffffffffffffffffffffffffffffff16803b806020016040519081016040528181526000908060200190933c51119050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612c41576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c389061417d565b60405180910390fd5b612c4a816115c1565b15612c8a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c819061405d565b60405180910390fd5b612c96600083836125ff565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612ce691906143c7565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612da760008383612604565b5050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612e7657507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612e865750612e8582612e8d565b5b9050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b828054612f03906145f5565b90600052602060002090601f016020900481019282612f255760008555612f6c565b82601f10612f3e57805160ff1916838001178555612f6c565b82800160010185558215612f6c579182015b82811115612f6b578251825591602001919060010190612f50565b5b509050612f799190612fbd565b5090565b6040518060c00160405280600060ff16815260200160008152602001600060ff168152602001600061ffff16815260200160008152602001606081525090565b5b80821115612fd6576000816000905550600101612fbe565b5090565b6000612fed612fe884614313565b6142e2565b90508281526020810184848401111561300557600080fd5b613010848285614589565b509392505050565b600061302b61302684614343565b6142e2565b90508281526020810184848401111561304357600080fd5b61304e848285614589565b509392505050565b6000813590506130658161476e565b92915050565b60008135905061307a81614785565b92915050565b60008135905061308f8161479c565b92915050565b6000813590506130a4816147b3565b92915050565b6000815190506130b9816147b3565b92915050565b600082601f8301126130d057600080fd5b81356130e0848260208601612fda565b91505092915050565b600082601f8301126130fa57600080fd5b813561310a848260208601613018565b91505092915050565b600060c0828403121561312557600080fd5b61312f60c06142e2565b9050600061313f848285016131f1565b6000830152506020613153848285016131dc565b6020830152506040613167848285016131f1565b604083015250606061317b848285016131c7565b606083015250608061318f848285016131dc565b60808301525060a082013567ffffffffffffffff8111156131af57600080fd5b6131bb848285016130e9565b60a08301525092915050565b6000813590506131d6816147ca565b92915050565b6000813590506131eb816147e1565b92915050565b600081359050613200816147f8565b92915050565b60006020828403121561321857600080fd5b600061322684828501613056565b91505092915050565b6000806040838503121561324257600080fd5b600061325085828601613056565b925050602061326185828601613056565b9150509250929050565b60008060006060848603121561328057600080fd5b600061328e86828701613056565b935050602061329f86828701613056565b92505060406132b0868287016131dc565b9150509250925092565b600080600080608085870312156132d057600080fd5b60006132de87828801613056565b94505060206132ef87828801613056565b9350506040613300878288016131dc565b925050606085013567ffffffffffffffff81111561331d57600080fd5b613329878288016130bf565b91505092959194509250565b6000806040838503121561334857600080fd5b600061335685828601613056565b92505060206133678582860161306b565b9150509250929050565b6000806040838503121561338457600080fd5b600061339285828601613056565b92505060206133a3858286016131dc565b9150509250929050565b6000806000606084860312156133c257600080fd5b60006133d086828701613056565b93505060206133e1868287016131dc565b925050604084013567ffffffffffffffff8111156133fe57600080fd5b61340a86828701613113565b9150509250925092565b60006020828403121561342657600080fd5b600061343484828501613080565b91505092915050565b6000806040838503121561345057600080fd5b600061345e85828601613080565b925050602061346f85828601613056565b9150509250929050565b6000806040838503121561348c57600080fd5b600061349a85828601613080565b92505060206134ab858286016131dc565b9150509250929050565b6000602082840312156134c757600080fd5b60006134d584828501613095565b91505092915050565b6000602082840312156134f057600080fd5b60006134fe848285016130aa565b91505092915050565b60006020828403121561351957600080fd5b600082013567ffffffffffffffff81111561353357600080fd5b61353f848285016130e9565b91505092915050565b60006020828403121561355a57600080fd5b6000613568848285016131dc565b91505092915050565b61357a816144dc565b82525050565b613589816144ee565b82525050565b613598816144fa565b82525050565b60006135a982614373565b6135b38185614389565b93506135c3818560208601614598565b6135cc8161475d565b840191505092915050565b60006135e28261437e565b6135ec818561439a565b93506135fc818560208601614598565b6136058161475d565b840191505092915050565b600061361b8261437e565b61362581856143ab565b9350613635818560208601614598565b61363e8161475d565b840191505092915050565b60006136548261437e565b61365e81856143bc565b935061366e818560208601614598565b80840191505092915050565b60006136876020836143ab565b91507f537472696e67733a20686578206c656e67746820696e73756666696369656e746000830152602082019050919050565b60006136c76014836143ab565b91507f5061757361626c653a206e6f74207061757365640000000000000000000000006000830152602082019050919050565b60006137076032836143ab565b91507f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008301527f63656976657220696d706c656d656e74657200000000000000000000000000006020830152604082019050919050565b600061376d6025836143ab565b91507f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008301527f6f776e65720000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006137d3601c836143ab565b91507f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006000830152602082019050919050565b60006138136024836143ab565b91507f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006138796019836143ab565b91507f4552433732313a20617070726f766520746f2063616c6c6572000000000000006000830152602082019050919050565b60006138b9600e836143ab565b91507f416c7265616479206578697374730000000000000000000000000000000000006000830152602082019050919050565b60006138f9602c836143ab565b91507f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b600061395f6010836143ab565b91507f5061757361626c653a20706175736564000000000000000000000000000000006000830152602082019050919050565b600061399f6038836143ab565b91507f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008301527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006020830152604082019050919050565b6000613a05602a836143ab565b91507f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008301527f726f2061646472657373000000000000000000000000000000000000000000006020830152604082019050919050565b6000613a6b6029836143ab565b91507f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008301527f656e7420746f6b656e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000613ad16020836143ab565b91507f4552433732313a206d696e7420746f20746865207a65726f20616464726573736000830152602082019050919050565b6000613b11602c836143ab565b91507f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b6000613b77602f836143ab565b91507f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008301527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006020830152604082019050919050565b6000613bdd6021836143ab565b91507f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008301527f72000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613c436031836143ab565b91507f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008301527f776e6572206e6f7220617070726f7665640000000000000000000000000000006020830152604082019050919050565b6000613ca96017836143bc565b91507f416363657373436f6e74726f6c3a206163636f756e74200000000000000000006000830152601782019050919050565b6000613ce96011836143bc565b91507f206973206d697373696e6720726f6c65200000000000000000000000000000006000830152601182019050919050565b6000613d29602f836143ab565b91507f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008301527f20726f6c657320666f722073656c6600000000000000000000000000000000006020830152604082019050919050565b600060c083016000830151613d9a6000860182613e56565b506020830151613dad6020860182613e29565b506040830151613dc06040860182613e56565b506060830151613dd36060860182613e0b565b506080830151613de66080860182613e29565b5060a083015184820360a0860152613dfe82826135d7565b9150508091505092915050565b613e1481614530565b82525050565b613e2381614530565b82525050565b613e328161455e565b82525050565b613e418161455e565b82525050565b613e5081614568565b82525050565b613e5f8161457c565b82525050565b613e6e8161457c565b82525050565b6000613e808285613649565b9150613e8c8284613649565b91508190509392505050565b6000613ea382613c9c565b9150613eaf8285613649565b9150613eba82613cdc565b9150613ec68284613649565b91508190509392505050565b6000602082019050613ee76000830184613571565b92915050565b6000608082019050613f026000830187613571565b613f0f6020830186613571565b613f1c6040830185613e38565b8181036060830152613f2e818461359e565b905095945050505050565b6000608082019050613f4e6000830187613571565b613f5b6020830186613e38565b8181036040830152613f6d8185613d82565b9050613f7c6060830184613e47565b95945050505050565b6000602082019050613f9a6000830184613580565b92915050565b6000602082019050613fb5600083018461358f565b92915050565b60006020820190508181036000830152613fd58184613610565b905092915050565b60006020820190508181036000830152613ff68161367a565b9050919050565b60006020820190508181036000830152614016816136ba565b9050919050565b60006020820190508181036000830152614036816136fa565b9050919050565b6000602082019050818103600083015261405681613760565b9050919050565b60006020820190508181036000830152614076816137c6565b9050919050565b6000602082019050818103600083015261409681613806565b9050919050565b600060208201905081810360008301526140b68161386c565b9050919050565b600060208201905081810360008301526140d6816138ac565b9050919050565b600060208201905081810360008301526140f6816138ec565b9050919050565b6000602082019050818103600083015261411681613952565b9050919050565b6000602082019050818103600083015261413681613992565b9050919050565b60006020820190508181036000830152614156816139f8565b9050919050565b6000602082019050818103600083015261417681613a5e565b9050919050565b6000602082019050818103600083015261419681613ac4565b9050919050565b600060208201905081810360008301526141b681613b04565b9050919050565b600060208201905081810360008301526141d681613b6a565b9050919050565b600060208201905081810360008301526141f681613bd0565b9050919050565b6000602082019050818103600083015261421681613c36565b9050919050565b6000602082019050818103600083015261423681613d1c565b9050919050565b600060208201905081810360008301526142578184613d82565b905092915050565b60006020820190506142746000830184613e38565b92915050565b600060c08201905061428f6000830189613e65565b61429c6020830188613e38565b6142a96040830187613e65565b6142b66060830186613e1a565b6142c36080830185613e38565b81810360a08301526142d58184613610565b9050979650505050505050565b6000604051905081810181811067ffffffffffffffff821117156143095761430861472e565b5b8060405250919050565b600067ffffffffffffffff82111561432e5761432d61472e565b5b601f19601f8301169050602081019050919050565b600067ffffffffffffffff82111561435e5761435d61472e565b5b601f19601f8301169050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b60006143d28261455e565b91506143dd8361455e565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614412576144116146a1565b5b828201905092915050565b60006144288261455e565b91506144338361455e565b925082614443576144426146d0565b5b828204905092915050565b60006144598261455e565b91506144648361455e565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561449d5761449c6146a1565b5b828202905092915050565b60006144b38261455e565b91506144be8361455e565b9250828210156144d1576144d06146a1565b5b828203905092915050565b60006144e78261453e565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600061ffff82169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600067ffffffffffffffff82169050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b838110156145b657808201518184015260208101905061459b565b838111156145c5576000848401525b50505050565b60006145d68261455e565b915060008214156145ea576145e96146a1565b5b600182039050919050565b6000600282049050600182168061460d57607f821691505b60208210811415614621576146206146ff565b5b50919050565b60006146328261455e565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614665576146646146a1565b5b600182019050919050565b600061467b8261455e565b91506146868361455e565b925082614696576146956146d0565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b614777816144dc565b811461478257600080fd5b50565b61478e816144ee565b811461479957600080fd5b50565b6147a5816144fa565b81146147b057600080fd5b50565b6147bc81614504565b81146147c757600080fd5b50565b6147d381614530565b81146147de57600080fd5b50565b6147ea8161455e565b81146147f557600080fd5b50565b6148018161457c565b811461480c57600080fd5b5056fea264697066735822122081818ac4acd74d6ceb11cb128bbf31f78ec5a813f5c4de150de788b1801bec1164736f6c63430008000033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000002e68747470733a2f2f7777772e6b6f6c6f2e6d61726b65742f6170692f6e66742f6d657461646174612f696e666f2f000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _baseURI (string): https://www.kolo.market/api/nft/metadata/info/
-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 000000000000000000000000000000000000000000000000000000000000002e
Arg [2] : 68747470733a2f2f7777772e6b6f6c6f2e6d61726b65742f6170692f6e66742f
Arg [3] : 6d657461646174612f696e666f2f000000000000000000000000000000000000
Loading...
Loading
Loading...
Loading
[ 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.