ERC-721
Overview
Max Total Supply
10,000 NTCC
Holders
2,138
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
10 NTCCLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
TigerCollection
Compiler Version
v0.7.4+commit.3f05b770
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2021-08-15 */ // File: @openzeppelin/contracts/utils/Context.sol // SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <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 GSN 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 payable) { return msg.sender; } function _msgData() internal view virtual returns (bytes memory) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } } // File: @openzeppelin/contracts/introspection/IERC165.sol pragma solidity ^0.7.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); } // File: @openzeppelin/contracts/token/ERC721/IERC721.sol pragma solidity ^0.7.0; /** * @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; } // File: @openzeppelin/contracts/token/ERC721/IERC721Metadata.sol pragma solidity ^0.7.0; /** * @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); } // File: @openzeppelin/contracts/token/ERC721/IERC721Enumerable.sol pragma solidity ^0.7.0; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); } // File: @openzeppelin/contracts/token/ERC721/IERC721Receiver.sol pragma solidity ^0.7.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); } // File: @openzeppelin/contracts/introspection/ERC165.sol pragma solidity ^0.7.0; /** * @dev Implementation of the {IERC165} interface. * * Contracts may inherit from this and call {_registerInterface} to declare * their support of an interface. */ abstract contract ERC165 is IERC165 { /* * bytes4(keccak256('supportsInterface(bytes4)')) == 0x01ffc9a7 */ bytes4 private constant _INTERFACE_ID_ERC165 = 0x01ffc9a7; /** * @dev Mapping of interface ids to whether or not it's supported. */ mapping(bytes4 => bool) private _supportedInterfaces; constructor () { // Derived contracts need only register support for their own interfaces, // we register support for ERC165 itself here _registerInterface(_INTERFACE_ID_ERC165); } /** * @dev See {IERC165-supportsInterface}. * * Time complexity O(1), guaranteed to always use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return _supportedInterfaces[interfaceId]; } /** * @dev Registers the contract as an implementer of the interface defined by * `interfaceId`. Support of the actual ERC165 interface is automatic and * registering its interface id is not required. * * See {IERC165-supportsInterface}. * * Requirements: * * - `interfaceId` cannot be the ERC165 invalid interface (`0xffffffff`). */ function _registerInterface(bytes4 interfaceId) internal virtual { require(interfaceId != 0xffffffff, "ERC165: invalid interface id"); _supportedInterfaces[interfaceId] = true; } } // File: @openzeppelin/contracts/math/SafeMath.sol pragma solidity ^0.7.0; /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, because programmers usually assume that an overflow raises an * error, which is the standard behavior in high level programming languages. * `SafeMath` restores this intuition by reverting the transaction when an * operation overflows. * * Using this library instead of the unchecked operations eliminates an entire * class of bugs, so it's recommended to use it always. */ 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) { 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) { 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) { // 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) { 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) { 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) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } /** * @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) { require(b <= a, "SafeMath: subtraction overflow"); 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) { if (a == 0) return 0; uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } /** * @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. 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) internal pure returns (uint256) { require(b > 0, "SafeMath: division by zero"); 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) { require(b > 0, "SafeMath: modulo by zero"); 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) { 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. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryDiv}. * * 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) { 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) { require(b > 0, errorMessage); return a % b; } } // File: @openzeppelin/contracts/utils/Address.sol pragma solidity ^0.7.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 * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; // solhint-disable-next-line no-inline-assembly assembly { size := extcodesize(account) } return size > 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"); // solhint-disable-next-line avoid-low-level-calls, avoid-call-value (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"); // solhint-disable-next-line avoid-low-level-calls (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"); // solhint-disable-next-line avoid-low-level-calls (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"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.delegatecall(data); return _verifyCallResult(success, returndata, errorMessage); } function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private 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 // solhint-disable-next-line no-inline-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } // File: @openzeppelin/contracts/utils/EnumerableSet.sol pragma solidity ^0.7.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; // When the value to delete is the last one, the swap operation is unnecessary. However, since this occurs // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement. 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] = toDeleteIndex + 1; // All indexes are 1-based // 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) { require(set._values.length > index, "EnumerableSet: index out of bounds"); return set._values[index]; } // 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); } // 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)))); } // 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)); } } // File: @openzeppelin/contracts/utils/EnumerableMap.sol pragma solidity ^0.7.0; /** * @dev Library for managing an enumerable variant of Solidity's * https://solidity.readthedocs.io/en/latest/types.html#mapping-types[`mapping`] * type. * * Maps have the following properties: * * - Entries are added, removed, and checked for existence in constant time * (O(1)). * - Entries are enumerated in O(n). No guarantees are made on the ordering. * * ``` * contract Example { * // Add the library methods * using EnumerableMap for EnumerableMap.UintToAddressMap; * * // Declare a set state variable * EnumerableMap.UintToAddressMap private myMap; * } * ``` * * As of v3.0.0, only maps of type `uint256 -> address` (`UintToAddressMap`) are * supported. */ library EnumerableMap { // To implement this library for multiple types with as little code // repetition as possible, we write it in terms of a generic Map type with // bytes32 keys and values. // The Map implementation uses private functions, and user-facing // implementations (such as Uint256ToAddressMap) are just wrappers around // the underlying Map. // This means that we can only create new EnumerableMaps for types that fit // in bytes32. struct MapEntry { bytes32 _key; bytes32 _value; } struct Map { // Storage of map keys and values MapEntry[] _entries; // Position of the entry defined by a key in the `entries` array, plus 1 // because index 0 means a key is not in the map. mapping (bytes32 => uint256) _indexes; } /** * @dev Adds a key-value pair to a map, or updates the value for an existing * key. O(1). * * Returns true if the key was added to the map, that is if it was not * already present. */ function _set(Map storage map, bytes32 key, bytes32 value) private returns (bool) { // We read and store the key's index to prevent multiple reads from the same storage slot uint256 keyIndex = map._indexes[key]; if (keyIndex == 0) { // Equivalent to !contains(map, key) map._entries.push(MapEntry({ _key: key, _value: value })); // The entry is stored at length-1, but we add 1 to all indexes // and use 0 as a sentinel value map._indexes[key] = map._entries.length; return true; } else { map._entries[keyIndex - 1]._value = value; return false; } } /** * @dev Removes a key-value pair from a map. O(1). * * Returns true if the key was removed from the map, that is if it was present. */ function _remove(Map storage map, bytes32 key) private returns (bool) { // We read and store the key's index to prevent multiple reads from the same storage slot uint256 keyIndex = map._indexes[key]; if (keyIndex != 0) { // Equivalent to contains(map, key) // To delete a key-value pair from the _entries array in O(1), we swap the entry to delete with the last one // in the array, and then remove the last entry (sometimes called as 'swap and pop'). // This modifies the order of the array, as noted in {at}. uint256 toDeleteIndex = keyIndex - 1; uint256 lastIndex = map._entries.length - 1; // When the entry to delete is the last one, the swap operation is unnecessary. However, since this occurs // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement. MapEntry storage lastEntry = map._entries[lastIndex]; // Move the last entry to the index where the entry to delete is map._entries[toDeleteIndex] = lastEntry; // Update the index for the moved entry map._indexes[lastEntry._key] = toDeleteIndex + 1; // All indexes are 1-based // Delete the slot where the moved entry was stored map._entries.pop(); // Delete the index for the deleted slot delete map._indexes[key]; return true; } else { return false; } } /** * @dev Returns true if the key is in the map. O(1). */ function _contains(Map storage map, bytes32 key) private view returns (bool) { return map._indexes[key] != 0; } /** * @dev Returns the number of key-value pairs in the map. O(1). */ function _length(Map storage map) private view returns (uint256) { return map._entries.length; } /** * @dev Returns the key-value pair stored at position `index` in the map. O(1). * * Note that there are no guarantees on the ordering of entries inside the * array, and it may change when more entries are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function _at(Map storage map, uint256 index) private view returns (bytes32, bytes32) { require(map._entries.length > index, "EnumerableMap: index out of bounds"); MapEntry storage entry = map._entries[index]; return (entry._key, entry._value); } /** * @dev Tries to returns the value associated with `key`. O(1). * Does not revert if `key` is not in the map. */ function _tryGet(Map storage map, bytes32 key) private view returns (bool, bytes32) { uint256 keyIndex = map._indexes[key]; if (keyIndex == 0) return (false, 0); // Equivalent to contains(map, key) return (true, map._entries[keyIndex - 1]._value); // All indexes are 1-based } /** * @dev Returns the value associated with `key`. O(1). * * Requirements: * * - `key` must be in the map. */ function _get(Map storage map, bytes32 key) private view returns (bytes32) { uint256 keyIndex = map._indexes[key]; require(keyIndex != 0, "EnumerableMap: nonexistent key"); // Equivalent to contains(map, key) return map._entries[keyIndex - 1]._value; // All indexes are 1-based } /** * @dev Same as {_get}, with a custom error message when `key` is not in the map. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {_tryGet}. */ function _get(Map storage map, bytes32 key, string memory errorMessage) private view returns (bytes32) { uint256 keyIndex = map._indexes[key]; require(keyIndex != 0, errorMessage); // Equivalent to contains(map, key) return map._entries[keyIndex - 1]._value; // All indexes are 1-based } // UintToAddressMap struct UintToAddressMap { Map _inner; } /** * @dev Adds a key-value pair to a map, or updates the value for an existing * key. O(1). * * Returns true if the key was added to the map, that is if it was not * already present. */ function set(UintToAddressMap storage map, uint256 key, address value) internal returns (bool) { return _set(map._inner, bytes32(key), bytes32(uint256(uint160(value)))); } /** * @dev Removes a value from a set. O(1). * * Returns true if the key was removed from the map, that is if it was present. */ function remove(UintToAddressMap storage map, uint256 key) internal returns (bool) { return _remove(map._inner, bytes32(key)); } /** * @dev Returns true if the key is in the map. O(1). */ function contains(UintToAddressMap storage map, uint256 key) internal view returns (bool) { return _contains(map._inner, bytes32(key)); } /** * @dev Returns the number of elements in the map. O(1). */ function length(UintToAddressMap storage map) internal view returns (uint256) { return _length(map._inner); } /** * @dev Returns the element 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(UintToAddressMap storage map, uint256 index) internal view returns (uint256, address) { (bytes32 key, bytes32 value) = _at(map._inner, index); return (uint256(key), address(uint160(uint256(value)))); } /** * @dev Tries to returns the value associated with `key`. O(1). * Does not revert if `key` is not in the map. * * _Available since v3.4._ */ function tryGet(UintToAddressMap storage map, uint256 key) internal view returns (bool, address) { (bool success, bytes32 value) = _tryGet(map._inner, bytes32(key)); return (success, address(uint160(uint256(value)))); } /** * @dev Returns the value associated with `key`. O(1). * * Requirements: * * - `key` must be in the map. */ function get(UintToAddressMap storage map, uint256 key) internal view returns (address) { return address(uint160(uint256(_get(map._inner, bytes32(key))))); } /** * @dev Same as {get}, with a custom error message when `key` is not in the map. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryGet}. */ function get(UintToAddressMap storage map, uint256 key, string memory errorMessage) internal view returns (address) { return address(uint160(uint256(_get(map._inner, bytes32(key), errorMessage)))); } } // File: @openzeppelin/contracts/utils/Strings.sol pragma solidity ^0.7.0; /** * @dev String operations. */ library Strings { /** * @dev Converts a `uint256` to its ASCII `string` 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); uint256 index = digits - 1; temp = value; while (temp != 0) { buffer[index--] = bytes1(uint8(48 + temp % 10)); temp /= 10; } return string(buffer); } } // File: @openzeppelin/contracts/token/ERC721/ERC721.sol pragma solidity ^0.7.0; /** * @title ERC721 Non-Fungible Token Standard basic implementation * @dev see https://eips.ethereum.org/EIPS/eip-721 */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata, IERC721Enumerable { using SafeMath for uint256; using Address for address; using EnumerableSet for EnumerableSet.UintSet; using EnumerableMap for EnumerableMap.UintToAddressMap; using Strings for uint256; // Equals to `bytes4(keccak256("onERC721Received(address,address,uint256,bytes)"))` // which can be also obtained as `IERC721Receiver(0).onERC721Received.selector` bytes4 private constant _ERC721_RECEIVED = 0x150b7a02; // Mapping from holder address to their (enumerable) set of owned tokens mapping (address => EnumerableSet.UintSet) private _holderTokens; // Enumerable mapping from token ids to their owners EnumerableMap.UintToAddressMap private _tokenOwners; // 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; // Token name string private _name; // Token symbol string private _symbol; // Optional mapping for token URIs mapping (uint256 => string) private _tokenURIs; // Base URI string private _baseURI; /* * bytes4(keccak256('balanceOf(address)')) == 0x70a08231 * bytes4(keccak256('ownerOf(uint256)')) == 0x6352211e * bytes4(keccak256('approve(address,uint256)')) == 0x095ea7b3 * bytes4(keccak256('getApproved(uint256)')) == 0x081812fc * bytes4(keccak256('setApprovalForAll(address,bool)')) == 0xa22cb465 * bytes4(keccak256('isApprovedForAll(address,address)')) == 0xe985e9c5 * bytes4(keccak256('transferFrom(address,address,uint256)')) == 0x23b872dd * bytes4(keccak256('safeTransferFrom(address,address,uint256)')) == 0x42842e0e * bytes4(keccak256('safeTransferFrom(address,address,uint256,bytes)')) == 0xb88d4fde * * => 0x70a08231 ^ 0x6352211e ^ 0x095ea7b3 ^ 0x081812fc ^ * 0xa22cb465 ^ 0xe985e9c5 ^ 0x23b872dd ^ 0x42842e0e ^ 0xb88d4fde == 0x80ac58cd */ bytes4 private constant _INTERFACE_ID_ERC721 = 0x80ac58cd; /* * bytes4(keccak256('name()')) == 0x06fdde03 * bytes4(keccak256('symbol()')) == 0x95d89b41 * bytes4(keccak256('tokenURI(uint256)')) == 0xc87b56dd * * => 0x06fdde03 ^ 0x95d89b41 ^ 0xc87b56dd == 0x5b5e139f */ bytes4 private constant _INTERFACE_ID_ERC721_METADATA = 0x5b5e139f; /* * bytes4(keccak256('totalSupply()')) == 0x18160ddd * bytes4(keccak256('tokenOfOwnerByIndex(address,uint256)')) == 0x2f745c59 * bytes4(keccak256('tokenByIndex(uint256)')) == 0x4f6ccce7 * * => 0x18160ddd ^ 0x2f745c59 ^ 0x4f6ccce7 == 0x780e9d63 */ bytes4 private constant _INTERFACE_ID_ERC721_ENUMERABLE = 0x780e9d63; /** * @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_; // register the supported interfaces to conform to ERC721 via ERC165 _registerInterface(_INTERFACE_ID_ERC721); _registerInterface(_INTERFACE_ID_ERC721_METADATA); _registerInterface(_INTERFACE_ID_ERC721_ENUMERABLE); } /** * @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 _holderTokens[owner].length(); } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { return _tokenOwners.get(tokenId, "ERC721: owner query for nonexistent token"); } /** * @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 _tokenURI = _tokenURIs[tokenId]; string memory base = baseURI(); // If there is no base URI, return the token URI. if (bytes(base).length == 0) { return _tokenURI; } // If both are set, concatenate the baseURI and tokenURI (via abi.encodePacked). if (bytes(_tokenURI).length > 0) { return string(abi.encodePacked(base, _tokenURI)); } // If there is a baseURI but no tokenURI, concatenate the tokenID to the baseURI. return string(abi.encodePacked(base, tokenId.toString())); } /** * @dev Returns the base URI set via {_setBaseURI}. This will be * automatically added as a prefix in {tokenURI} to each token's URI, or * to the token ID if no specific URI is set for that token ID. */ function baseURI() public view virtual returns (string memory) { return _baseURI; } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { return _holderTokens[owner].at(index); } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { // _tokenOwners are indexed by tokenIds, so .length() returns the number of tokenIds return _tokenOwners.length(); } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { (uint256 tokenId, ) = _tokenOwners.at(index); return tokenId; } /** * @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 || ERC721.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 { require(operator != _msgSender(), "ERC721: approve to caller"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_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 _tokenOwners.contains(tokenId); } /** * @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 || ERC721.isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: d* * - `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); _holderTokens[to].add(tokenId); _tokenOwners.set(tokenId, to); emit Transfer(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); // internal owner _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); // Clear metadata (if any) if (bytes(_tokenURIs[tokenId]).length != 0) { delete _tokenURIs[tokenId]; } _holderTokens[owner].remove(tokenId); _tokenOwners.remove(tokenId); emit Transfer(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 of token that is not own"); // internal 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); _holderTokens[from].remove(tokenId); _holderTokens[to].add(tokenId); _tokenOwners.set(tokenId, to); emit Transfer(from, to, tokenId); } /** * @dev Sets `_tokenURI` as the tokenURI of `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal virtual { require(_exists(tokenId), "ERC721Metadata: URI set of nonexistent token"); _tokenURIs[tokenId] = _tokenURI; } /** * @dev Internal function to set the base URI for all token IDs. It is * automatically added as a prefix to the value returned in {tokenURI}, * or to the token ID if {tokenURI} is empty. */ function _setBaseURI(string memory baseURI_) internal virtual { _baseURI = baseURI_; } /** * @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()) { return true; } bytes memory returndata = to.functionCall(abi.encodeWithSelector( IERC721Receiver(to).onERC721Received.selector, _msgSender(), from, tokenId, _data ), "ERC721: transfer to non ERC721Receiver implementer"); bytes4 retval = abi.decode(returndata, (bytes4)); return (retval == _ERC721_RECEIVED); } /** * @dev Approve `to` to operate on `tokenId` * * Emits an {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); // internal owner } /** * @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` cannot be the zero address. * - `to` cannot be the zero address. * * 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 { } } // File: @openzeppelin/contracts/access/Ownable.sol pragma solidity ^0.7.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor () { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), msgSender); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { emit OwnershipTransferred(_owner, address(0)); _owner = address(0); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } } // File: contracts/TigerCollection.sol pragma solidity ^0.7.0; /** * @title TigerCollection contract * @dev Extends ERC721 Non-Fungible Token Standard basic implementation */ contract TigerCollection is ERC721, Ownable { using SafeMath for uint256; uint256 public tigerPrice = 50000000000000000; // 0.05 ETH uint256 public maxTigerPurchase = 20; uint256 public maxTigers = 10000; uint256 public adminFeeRatio = 0; uint256 public reserveAmount = 40; string public baseTokenURI; address admin; mapping(address => bool) public admins; bool public saleIsActive = false; bool public reserved = false; bool public allFrozen; mapping(uint256 => bool) frozenIds; event TigerPriceChanged(uint256 price); event MaxTokenAmountChanged(uint256 value); event MaxPurchaseChanged(uint256 value); event TigersReserved(); event RolledOver(bool status); event PermanentURI(string _value, uint256 indexed _id); modifier onReserve() { require(!reserved, "Tokens reserved"); _; reserved = true; emit TigersReserved(); } modifier onlyAdmin() { require(admins[msg.sender], "Not admin"); _; } constructor(address _admin) ERC721("Naughty Tigers Costume Club", "NTCC") { admin = _admin; admins[admin] = true; admins[msg.sender] = true; } function withdraw() public onlyAdmin { uint balance = address(this).balance; uint adminFee = balance * adminFeeRatio / 100; Address.sendValue(payable(admin), adminFee); balance = balance - adminFee; Address.sendValue(payable(_msgSender()), balance); } function reserveTigers(address receipt) public onlyAdmin onReserve { uint supply = totalSupply(); uint i; for (i; i < reserveAmount; i++) { _safeMint(receipt, supply + i); } } function flipSaleState() public onlyAdmin { saleIsActive = !saleIsActive; emit RolledOver(saleIsActive); } function mintTigers(uint numberOfTokens) public payable { require(saleIsActive, "Sale is not active"); require(numberOfTokens > 0, "Cannot buy 0"); require(numberOfTokens <= maxTigerPurchase, "Exceeds max number of Tigers in one transaction"); require(totalSupply().add(numberOfTokens) <= maxTigers, "Purchase would exceed max supply of Tigers"); require(tigerPrice.mul(numberOfTokens) == msg.value, "Ether value sent is not correct"); uint i; uint mintIndex; for (i; i < numberOfTokens; i++) { mintIndex = totalSupply(); _safeMint(_msgSender(), mintIndex); } } function setTokenURI(uint256 tokenId, string memory _tokenURI) external onlyAdmin { require(!allFrozen && !frozenIds[tokenId], "Already frozen"); super._setTokenURI(tokenId, _tokenURI); } function setBaseURI(string memory _baseURI) external onlyAdmin { require(!allFrozen, "Already frozen"); super._setBaseURI(_baseURI); } function setPrice(uint256 _price) external onlyAdmin { require(_price > 0, "Zero price"); tigerPrice = _price; emit TigerPriceChanged(_price); } function setMaxTokenAmount(uint256 _value) external onlyAdmin { require( _value > totalSupply() && _value <= 10_000, "Wrong value for max supply" ); maxTigers = _value; emit MaxTokenAmountChanged(_value); } function setMaxPurchase(uint256 _value) external onlyAdmin { require(_value > 0, "Very low value"); maxTigerPurchase = _value; emit MaxPurchaseChanged(_value); } function setAdminFeeRatio(uint256 _feeRatio) external onlyAdmin { adminFeeRatio = _feeRatio; } function setReserveAmount(uint256 _reserveAmount) external onlyAdmin { reserveAmount = _reserveAmount; } function enableAdmin(address _addr) external onlyOwner { admins[_addr] = true; } function disableAdmin(address _addr) external onlyOwner { admins[_addr] = false; } function freezeAll() external onlyOwner { allFrozen = true; } function freeze(uint256 tokenId) external onlyOwner { frozenIds[tokenId] = true; emit PermanentURI(tokenURI(tokenId), tokenId); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_admin","type":"address"}],"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":"uint256","name":"value","type":"uint256"}],"name":"MaxPurchaseChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"MaxTokenAmountChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"_value","type":"string"},{"indexed":true,"internalType":"uint256","name":"_id","type":"uint256"}],"name":"PermanentURI","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"status","type":"bool"}],"name":"RolledOver","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"price","type":"uint256"}],"name":"TigerPriceChanged","type":"event"},{"anonymous":false,"inputs":[],"name":"TigersReserved","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"adminFeeRatio","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"admins","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"allFrozen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_addr","type":"address"}],"name":"disableAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_addr","type":"address"}],"name":"enableAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"flipSaleState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"freeze","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"freezeAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"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":"maxTigerPurchase","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTigers","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"mintTigers","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reserveAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"receipt","type":"address"}],"name":"reserveTigers","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reserved","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"saleIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_feeRatio","type":"uint256"}],"name":"setAdminFeeRatio","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":"uint256","name":"_value","type":"uint256"}],"name":"setMaxPurchase","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_value","type":"uint256"}],"name":"setMaxTokenAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_reserveAmount","type":"uint256"}],"name":"setReserveAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"string","name":"_tokenURI","type":"string"}],"name":"setTokenURI","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":[],"name":"tigerPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
608060405266b1a2bc2ec50000600b556014600c55612710600d556000600e556028600f556000601360006101000a81548160ff0219169083151502179055506000601360016101000a81548160ff0219169083151502179055503480156200006757600080fd5b506040516200559938038062005599833981810160405260208110156200008d57600080fd5b81019080805190602001909291905050506040518060400160405280601b81526020017f4e6175676874792054696765727320436f7374756d6520436c756200000000008152506040518060400160405280600481526020017f4e54434300000000000000000000000000000000000000000000000000000000815250620001226301ffc9a760e01b6200036960201b60201c565b81600690805190602001906200013a9291906200047a565b508060079080519060200190620001539291906200047a565b506200016c6380ac58cd60e01b6200036960201b60201c565b62000184635b5e139f60e01b6200036960201b60201c565b6200019c63780e9d6360e01b6200036960201b60201c565b50506000620001b06200047260201b60201c565b905080600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35080601160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600160126000601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506001601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505062000530565b63ffffffff60e01b817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916141562000406576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601c8152602001807f4552433136353a20696e76616c696420696e746572666163652069640000000081525060200191505060405180910390fd5b6001600080837bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b600033905090565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282620004b25760008555620004fe565b82601f10620004cd57805160ff1916838001178555620004fe565b82800160010185558215620004fe579182015b82811115620004fd578251825591602001919060010190620004e0565b5b5090506200050d919062000511565b5090565b5b808211156200052c57600081600090555060010162000512565b5090565b61505980620005406000396000f3fe6080604052600436106102725760003560e01c8063715018a61161014f578063b839a80e116100c1578063d547cfb71161007a578063d547cfb71461100d578063d7a78db81461109d578063e985e9c5146110d8578063eb8d24441461115f578063f2fde38b1461118c578063fe60d12c146111dd57610272565b8063b839a80e14610d55578063b88d4fde14610d90578063bea532ff14610ea2578063c652baf214610ef3578063c87b56dd14610f2e578063ce4cfeb114610fe257610272565b80638da5cb5b116101135780638da5cb5b14610baa57806391b7f5ed14610beb57806395d89b4114610c2657806399464c8914610cb6578063a22cb46514610ccd578063b4f8a62014610d2a57610272565b8063715018a614610aaf578063751e9a9c14610ac65780637667fd0f14610b1757806389e1c6a914610b445780638c4a381514610b6f57610272565b806342842e0e116101e857806358a288fd116101ac57806358a288fd146108c15780636352211e146108ec5780636b780f16146109515780636c0360eb1461097f57806370a0823114610a0f5780637118974214610a7457610272565b806342842e0e1461069d578063429b62e5146107185780634b09b72a1461077f5780634f6ccce7146107aa57806355f804b3146107f957610272565b806318160ddd1161023a57806318160ddd1461050957806323b872dd146105345780632c8a77a8146105af5780632f745c591461060057806334918dfd1461066f5780633ccfd60b1461068657610272565b806301ffc9a71461027757806306fdde03146102e7578063081812fc14610377578063095ea7b3146103dc578063162094c414610437575b600080fd5b34801561028357600080fd5b506102cf6004803603602081101561029a57600080fd5b8101908080357bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916906020019092919050505061120a565b60405180821515815260200191505060405180910390f35b3480156102f357600080fd5b506102fc611271565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561033c578082015181840152602081019050610321565b50505050905090810190601f1680156103695780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561038357600080fd5b506103b06004803603602081101561039a57600080fd5b8101908080359060200190929190505050611313565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b3480156103e857600080fd5b50610435600480360360408110156103ff57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291905050506113ae565b005b34801561044357600080fd5b506105076004803603604081101561045a57600080fd5b81019080803590602001909291908035906020019064010000000081111561048157600080fd5b82018360208201111561049357600080fd5b803590602001918460018302840111640100000000831117156104b557600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f8201169050808301925050505050505091929192905050506114f2565b005b34801561051557600080fd5b5061051e61166c565b6040518082815260200191505060405180910390f35b34801561054057600080fd5b506105ad6004803603606081101561055757600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919050505061167d565b005b3480156105bb57600080fd5b506105fe600480360360208110156105d257600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506116f3565b005b34801561060c57600080fd5b506106596004803603604081101561062357600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291905050506118b3565b6040518082815260200191505060405180910390f35b34801561067b57600080fd5b5061068461190e565b005b34801561069257600080fd5b5061069b611a41565b005b3480156106a957600080fd5b50610716600480360360608110156106c057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611b5e565b005b34801561072457600080fd5b506107676004803603602081101561073b57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611b7e565b60405180821515815260200191505060405180910390f35b34801561078b57600080fd5b50610794611b9e565b6040518082815260200191505060405180910390f35b3480156107b657600080fd5b506107e3600480360360208110156107cd57600080fd5b8101908080359060200190929190505050611ba4565b6040518082815260200191505060405180910390f35b34801561080557600080fd5b506108bf6004803603602081101561081c57600080fd5b810190808035906020019064010000000081111561083957600080fd5b82018360208201111561084b57600080fd5b8035906020019184600183028401116401000000008311171561086d57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509192919290505050611bc7565b005b3480156108cd57600080fd5b506108d6611d15565b6040518082815260200191505060405180910390f35b3480156108f857600080fd5b506109256004803603602081101561090f57600080fd5b8101908080359060200190929190505050611d1b565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61097d6004803603602081101561096757600080fd5b8101908080359060200190929190505050611d52565b005b34801561098b57600080fd5b50610994611fdb565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156109d45780820151818401526020810190506109b9565b50505050905090810190601f168015610a015780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b348015610a1b57600080fd5b50610a5e60048036036020811015610a3257600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061207d565b6040518082815260200191505060405180910390f35b348015610a8057600080fd5b50610aad60048036036020811015610a9757600080fd5b8101908080359060200190929190505050612152565b005b348015610abb57600080fd5b50610ac46122c8565b005b348015610ad257600080fd5b50610b1560048036036020811015610ae957600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612438565b005b348015610b2357600080fd5b50610b2c612542565b60405180821515815260200191505060405180910390f35b348015610b5057600080fd5b50610b59612555565b6040518082815260200191505060405180910390f35b348015610b7b57600080fd5b50610ba860048036036020811015610b9257600080fd5b810190808035906020019092919050505061255b565b005b348015610bb657600080fd5b50610bbf612624565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b348015610bf757600080fd5b50610c2460048036036020811015610c0e57600080fd5b810190808035906020019092919050505061264e565b005b348015610c3257600080fd5b50610c3b6127c4565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610c7b578082015181840152602081019050610c60565b50505050905090810190601f168015610ca85780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b348015610cc257600080fd5b50610ccb612866565b005b348015610cd957600080fd5b50610d2860048036036040811015610cf057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803515159060200190929190505050612932565b005b348015610d3657600080fd5b50610d3f612ae8565b6040518082815260200191505060405180910390f35b348015610d6157600080fd5b50610d8e60048036036020811015610d7857600080fd5b8101908080359060200190929190505050612aee565b005b348015610d9c57600080fd5b50610ea060048036036080811015610db357600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919080359060200190640100000000811115610e1a57600080fd5b820183602082011115610e2c57600080fd5b80359060200191846001830284011164010000000083111715610e4e57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509192919290505050612c78565b005b348015610eae57600080fd5b50610ef160048036036020811015610ec557600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612cf0565b005b348015610eff57600080fd5b50610f2c60048036036020811015610f1657600080fd5b8101908080359060200190929190505050612dfa565b005b348015610f3a57600080fd5b50610f6760048036036020811015610f5157600080fd5b8101908080359060200190929190505050612ec3565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610fa7578082015181840152602081019050610f8c565b50505050905090810190601f168015610fd45780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b348015610fee57600080fd5b50610ff7613194565b6040518082815260200191505060405180910390f35b34801561101957600080fd5b5061102261319a565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015611062578082015181840152602081019050611047565b50505050905090810190601f16801561108f5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156110a957600080fd5b506110d6600480360360208110156110c057600080fd5b8101908080359060200190929190505050613238565b005b3480156110e457600080fd5b50611147600480360360408110156110fb57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506133bb565b60405180821515815260200191505060405180910390f35b34801561116b57600080fd5b5061117461344f565b60405180821515815260200191505060405180910390f35b34801561119857600080fd5b506111db600480360360208110156111af57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050613462565b005b3480156111e957600080fd5b506111f2613657565b60405180821515815260200191505060405180910390f35b6000806000837bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060009054906101000a900460ff169050919050565b606060068054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156113095780601f106112de57610100808354040283529160200191611309565b820191906000526020600020905b8154815290600101906020018083116112ec57829003601f168201915b5050505050905090565b600061131e8261366a565b611373576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602c815260200180614ec9602c913960400191505060405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006113b982611d1b565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611440576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180614fa86021913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1661145f613687565b73ffffffffffffffffffffffffffffffffffffffff16148061148e575061148d81611488613687565b6133bb565b5b6114e3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526038815260200180614dfb6038913960400191505060405180910390fd5b6114ed838361368f565b505050565b601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166115b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260098152602001807f4e6f742061646d696e000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b601360029054906101000a900460ff161580156115ec57506014600083815260200190815260200160002060009054906101000a900460ff16155b61165e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600e8152602001807f416c72656164792066726f7a656e00000000000000000000000000000000000081525060200191505060405180910390fd5b6116688282613748565b5050565b600061167860026137d2565b905090565b61168e611688613687565b826137e7565b6116e3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526031815260200180614fc96031913960400191505060405180910390fd5b6116ee8383836138db565b505050565b601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166117b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260098152602001807f4e6f742061646d696e000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b601360019054906101000a900460ff1615611835576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600f8152602001807f546f6b656e73207265736572766564000000000000000000000000000000000081525060200191505060405180910390fd5b600061183f61166c565b905060005b600f548110156118675761185a83828401613b1e565b8080600101915050611844565b50506001601360016101000a81548160ff0219169083151502179055507fec6cf12ef02c22be9cf0bf83a8262a560f45ed10efcb4c9af290385b9bd5f3b160405160405180910390a150565b600061190682600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020613b3c90919063ffffffff16565b905092915050565b601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166119cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260098152602001807f4e6f742061646d696e000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b601360009054906101000a900460ff1615601360006101000a81548160ff0219169083151502179055507fd2bce5b0f3cb0c9c70f1761d4ddcaf6236907e4b29bb4a7546b6a0c64be90cf8601360009054906101000a900460ff1660405180821515815260200191505060405180910390a1565b601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16611b00576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260098152602001807f4e6f742061646d696e000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b600047905060006064600e54830281611b1557fe5b049050611b44601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1682613b56565b8082039150611b5a611b54613687565b83613b56565b5050565b611b7983838360405180602001604052806000815250612c78565b505050565b60126020528060005260406000206000915054906101000a900460ff1681565b600f5481565b600080611bbb836002613c9090919063ffffffff16565b50905080915050919050565b601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16611c86576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260098152602001807f4e6f742061646d696e000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b601360029054906101000a900460ff1615611d09576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600e8152602001807f416c72656164792066726f7a656e00000000000000000000000000000000000081525060200191505060405180910390fd5b611d1281613cbc565b50565b600d5481565b6000611d4b82604051806060016040528060298152602001614e5d602991396002613cd69092919063ffffffff16565b9050919050565b601360009054906101000a900460ff16611dd4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260128152602001807f53616c65206973206e6f7420616374697665000000000000000000000000000081525060200191505060405180910390fd5b60008111611e4a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600c8152602001807f43616e6e6f74206275792030000000000000000000000000000000000000000081525060200191505060405180910390fd5b600c54811115611ea5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602f815260200180614f4a602f913960400191505060405180910390fd5b600d54611ec282611eb461166c565b613cf590919063ffffffff16565b1115611f19576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180614ffa602a913960400191505060405180910390fd5b34611f2f82600b54613d7d90919063ffffffff16565b14611fa2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f45746865722076616c75652073656e74206973206e6f7420636f72726563740081525060200191505060405180910390fd5b6000805b82821015611fd657611fb661166c565b9050611fc9611fc3613687565b82613b1e565b8180600101925050611fa6565b505050565b606060098054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156120735780601f1061204857610100808354040283529160200191612073565b820191906000526020600020905b81548152906001019060200180831161205657829003601f168201915b5050505050905090565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612104576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180614e33602a913960400191505060405180910390fd5b61214b600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020613e03565b9050919050565b601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16612211576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260098152602001807f4e6f742061646d696e000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b60008111612287576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600e8152602001807f56657279206c6f772076616c756500000000000000000000000000000000000081525060200191505060405180910390fd5b80600c819055507fef5a90ab096d6d6c6a26bd05d08caac10fd601892692cb5864feb0306daf4d51816040518082815260200191505060405180910390a150565b6122d0613687565b73ffffffffffffffffffffffffffffffffffffffff166122ee612624565b73ffffffffffffffffffffffffffffffffffffffff1614612377576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b612440613687565b73ffffffffffffffffffffffffffffffffffffffff1661245e612624565b73ffffffffffffffffffffffffffffffffffffffff16146124e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b6000601260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b601360029054906101000a900460ff1681565b600b5481565b601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1661261a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260098152602001807f4e6f742061646d696e000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b80600f8190555050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1661270d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260098152602001807f4e6f742061646d696e000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b60008111612783576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600a8152602001807f5a65726f2070726963650000000000000000000000000000000000000000000081525060200191505060405180910390fd5b80600b819055507fc0be498a989bf35cc1fe693ecd0c579350539407f5daa3f16be5c5a05e378639816040518082815260200191505060405180910390a150565b606060078054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561285c5780601f106128315761010080835404028352916020019161285c565b820191906000526020600020905b81548152906001019060200180831161283f57829003601f168201915b5050505050905090565b61286e613687565b73ffffffffffffffffffffffffffffffffffffffff1661288c612624565b73ffffffffffffffffffffffffffffffffffffffff1614612915576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b6001601360026101000a81548160ff021916908315150217905550565b61293a613687565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156129db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260198152602001807f4552433732313a20617070726f766520746f2063616c6c65720000000000000081525060200191505060405180910390fd5b80600560006129e8613687565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16612a95613687565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405180821515815260200191505060405180910390a35050565b600c5481565b601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16612bad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260098152602001807f4e6f742061646d696e000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b612bb561166c565b81118015612bc557506127108111155b612c37576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601a8152602001807f57726f6e672076616c756520666f72206d617820737570706c7900000000000081525060200191505060405180910390fd5b80600d819055507fcef5f61a8c19788a60aec5d770cbf447bf95c9354eebff7b343131f606332a47816040518082815260200191505060405180910390a150565b612c89612c83613687565b836137e7565b612cde576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526031815260200180614fc96031913960400191505060405180910390fd5b612cea84848484613e18565b50505050565b612cf8613687565b73ffffffffffffffffffffffffffffffffffffffff16612d16612624565b73ffffffffffffffffffffffffffffffffffffffff1614612d9f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b6001601260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16612eb9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260098152602001807f4e6f742061646d696e000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b80600e8190555050565b6060612ece8261366a565b612f23576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602f815260200180614f79602f913960400191505060405180910390fd5b6060600860008481526020019081526020016000208054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015612fcc5780601f10612fa157610100808354040283529160200191612fcc565b820191906000526020600020905b815481529060010190602001808311612faf57829003601f168201915b505050505090506060612fdd611fdb565b9050600081511415612ff357819250505061318f565b6000825111156130c45780826040516020018083805190602001908083835b602083106130355780518252602082019150602081019050602083039250613012565b6001836020036101000a03801982511681845116808217855250505050505090500182805190602001908083835b602083106130865780518252602082019150602081019050602083039250613063565b6001836020036101000a038019825116818451168082178552505050505050905001925050506040516020818303038152906040529250505061318f565b806130ce85613e8a565b6040516020018083805190602001908083835b6020831061310457805182526020820191506020810190506020830392506130e1565b6001836020036101000a03801982511681845116808217855250505050505090500182805190602001908083835b602083106131555780518252602082019150602081019050602083039250613132565b6001836020036101000a03801982511681845116808217855250505050505090500192505050604051602081830303815290604052925050505b919050565b600e5481565b60108054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156132305780601f1061320557610100808354040283529160200191613230565b820191906000526020600020905b81548152906001019060200180831161321357829003601f168201915b505050505081565b613240613687565b73ffffffffffffffffffffffffffffffffffffffff1661325e612624565b73ffffffffffffffffffffffffffffffffffffffff16146132e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b60016014600083815260200190815260200160002060006101000a81548160ff021916908315150217905550807fa109ba539900bf1b633f956d63c96fc89b814c7287f7aa50a9216d0b5565720761333e83612ec3565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561337e578082015181840152602081019050613363565b50505050905090810190601f1680156133ab5780820380516001836020036101000a031916815260200191505b509250505060405180910390a250565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b601360009054906101000a900460ff1681565b61346a613687565b73ffffffffffffffffffffffffffffffffffffffff16613488612624565b73ffffffffffffffffffffffffffffffffffffffff1614613511576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415613597576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180614d256026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a380600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b601360019054906101000a900460ff1681565b6000613680826002613fd190919063ffffffff16565b9050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661370283611d1b565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6137518261366a565b6137a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602c815260200180614ef5602c913960400191505060405180910390fd5b806008600084815260200190815260200160002090805190602001906137cd929190614c25565b505050565b60006137e082600001613feb565b9050919050565b60006137f28261366a565b613847576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602c815260200180614dcf602c913960400191505060405180910390fd5b600061385283611d1b565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806138c157508373ffffffffffffffffffffffffffffffffffffffff166138a984611313565b73ffffffffffffffffffffffffffffffffffffffff16145b806138d257506138d181856133bb565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166138fb82611d1b565b73ffffffffffffffffffffffffffffffffffffffff1614613967576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526029815260200180614f216029913960400191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156139ed576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526024815260200180614d4b6024913960400191505060405180910390fd5b6139f8838383613ffc565b613a0360008261368f565b613a5481600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002061400190919063ffffffff16565b50613aa681600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002061401b90919063ffffffff16565b50613abd818360026140359092919063ffffffff16565b50808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b613b3882826040518060200160405280600081525061406a565b5050565b6000613b4b83600001836140db565b60001c905092915050565b80471015613bcc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f416464726573733a20696e73756666696369656e742062616c616e636500000081525060200191505060405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff168260405180600001905060006040518083038185875af1925050503d8060008114613c2c576040519150601f19603f3d011682016040523d82523d6000602084013e613c31565b606091505b5050905080613c8b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603a815260200180614d6f603a913960400191505060405180910390fd5b505050565b600080600080613ca3866000018661415e565b915091508160001c8160001c9350935050509250929050565b8060099080519060200190613cd2929190614c25565b5050565b6000613ce9846000018460001b846141f7565b60001c90509392505050565b600080828401905083811015613d73576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b600080831415613d905760009050613dfd565b6000828402905082848281613da157fe5b0414613df8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180614ea86021913960400191505060405180910390fd5b809150505b92915050565b6000613e11826000016142ed565b9050919050565b613e238484846138db565b613e2f848484846142fe565b613e84576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526032815260200180614cf36032913960400191505060405180910390fd5b50505050565b60606000821415613ed2576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613fcc565b600082905060005b60008214613efc578080600101915050600a8281613ef457fe5b049150613eda565b60608167ffffffffffffffff81118015613f1557600080fd5b506040519080825280601f01601f191660200182016040528015613f485781602001600182028036833780820191505090505b50905060006001830390508593505b60008414613fc457600a8481613f6957fe5b0660300160f81b82828060019003935081518110613f8357fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8481613fbc57fe5b049350613f57565b819450505050505b919050565b6000613fe3836000018360001b614517565b905092915050565b600081600001805490509050919050565b505050565b6000614013836000018360001b61453a565b905092915050565b600061402d836000018360001b614622565b905092915050565b6000614061846000018460001b8473ffffffffffffffffffffffffffffffffffffffff1660001b614692565b90509392505050565b614074838361476e565b61408160008484846142fe565b6140d6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526032815260200180614cf36032913960400191505060405180910390fd5b505050565b60008183600001805490501161413c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526022815260200180614cd16022913960400191505060405180910390fd5b82600001828154811061414b57fe5b9060005260206000200154905092915050565b600080828460000180549050116141c0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526022815260200180614e866022913960400191505060405180910390fd5b60008460000184815481106141d157fe5b906000526020600020906002020190508060000154816001015492509250509250929050565b600080846001016000858152602001908152602001600020549050600081141583906142be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015614283578082015181840152602081019050614268565b50505050905090810190601f1680156142b05780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b508460000160018203815481106142d157fe5b9060005260206000209060020201600101549150509392505050565b600081600001805490509050919050565b600061431f8473ffffffffffffffffffffffffffffffffffffffff16614962565b61432c576001905061450f565b606061449663150b7a0260e01b614341613687565b888787604051602401808573ffffffffffffffffffffffffffffffffffffffff1681526020018473ffffffffffffffffffffffffffffffffffffffff16815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b838110156143c55780820151818401526020810190506143aa565b50505050905090810190601f1680156143f25780820380516001836020036101000a031916815260200191505b5095505050505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050604051806060016040528060328152602001614cf3603291398773ffffffffffffffffffffffffffffffffffffffff166149759092919063ffffffff16565b905060008180602001905160208110156144af57600080fd5b8101908080519060200190929190505050905063150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614925050505b949350505050565b600080836001016000848152602001908152602001600020541415905092915050565b60008083600101600084815260200190815260200160002054905060008114614616576000600182039050600060018660000180549050039050600086600001828154811061458557fe5b90600052602060002001549050808760000184815481106145a257fe5b90600052602060002001819055506001830187600101600083815260200190815260200160002081905550866000018054806145da57fe5b6001900381819060005260206000200160009055905586600101600087815260200190815260200160002060009055600194505050505061461c565b60009150505b92915050565b600061462e838361498d565b61468757826000018290806001815401808255809150506001900390600052602060002001600090919091909150558260000180549050836001016000848152602001908152602001600020819055506001905061468c565b600090505b92915050565b600080846001016000858152602001908152602001600020549050600081141561473957846000016040518060400160405280868152602001858152509080600181540180825580915050600190039060005260206000209060020201600090919091909150600082015181600001556020820151816001015550508460000180549050856001016000868152602001908152602001600020819055506001915050614767565b8285600001600183038154811061474c57fe5b90600052602060002090600202016001018190555060009150505b9392505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415614811576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4552433732313a206d696e7420746f20746865207a65726f206164647265737381525060200191505060405180910390fd5b61481a8161366a565b1561488d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601c8152602001807f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000081525060200191505060405180910390fd5b61489960008383613ffc565b6148ea81600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002061401b90919063ffffffff16565b50614901818360026140359092919063ffffffff16565b50808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b606061498484846000856149b0565b90509392505050565b600080836001016000848152602001908152602001600020541415905092915050565b606082471015614a0b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180614da96026913960400191505060405180910390fd5b614a1485614962565b614a86576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000081525060200191505060405180910390fd5b600060608673ffffffffffffffffffffffffffffffffffffffff1685876040518082805190602001908083835b60208310614ad65780518252602082019150602081019050602083039250614ab3565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114614b38576040519150601f19603f3d011682016040523d82523d6000602084013e614b3d565b606091505b5091509150614b4d828286614b59565b92505050949350505050565b60608315614b6957829050614c1e565b600083511115614b7c5782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015614be3578082015181840152602081019050614bc8565b50505050905090810190601f168015614c105780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b9392505050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282614c5b5760008555614ca2565b82601f10614c7457805160ff1916838001178555614ca2565b82800160010185558215614ca2579182015b82811115614ca1578251825591602001919060010190614c86565b5b509050614caf9190614cb3565b5090565b5b80821115614ccc576000816000905550600101614cb4565b509056fe456e756d657261626c655365743a20696e646578206f7574206f6620626f756e64734552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e7465724f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573734552433732313a207472616e7366657220746f20746865207a65726f2061646472657373416464726573733a20756e61626c6520746f2073656e642076616c75652c20726563697069656e74206d61792068617665207265766572746564416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c4552433732313a206f70657261746f7220717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a20617070726f76652063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f76656420666f7220616c6c4552433732313a2062616c616e636520717565727920666f7220746865207a65726f20616464726573734552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656e456e756d657261626c654d61703a20696e646578206f7574206f6620626f756e6473536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774552433732313a20617070726f76656420717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732314d657461646174613a2055524920736574206f66206e6f6e6578697374656e7420746f6b656e4552433732313a207472616e73666572206f6620746f6b656e2074686174206973206e6f74206f776e45786365656473206d6178206e756d626572206f662054696765727320696e206f6e65207472616e73616374696f6e4552433732314d657461646174613a2055524920717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a20617070726f76616c20746f2063757272656e74206f776e65724552433732313a207472616e736665722063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564507572636861736520776f756c6420657863656564206d617820737570706c79206f6620546967657273a2646970667358221220edec25365362e6d02a63cdeb645553ad98d459c41007d03d05202123729b09fd64736f6c634300070400330000000000000000000000005f0d8b2a98fb6ec4bf324a58821ef1937108fcc0
Deployed Bytecode
0x6080604052600436106102725760003560e01c8063715018a61161014f578063b839a80e116100c1578063d547cfb71161007a578063d547cfb71461100d578063d7a78db81461109d578063e985e9c5146110d8578063eb8d24441461115f578063f2fde38b1461118c578063fe60d12c146111dd57610272565b8063b839a80e14610d55578063b88d4fde14610d90578063bea532ff14610ea2578063c652baf214610ef3578063c87b56dd14610f2e578063ce4cfeb114610fe257610272565b80638da5cb5b116101135780638da5cb5b14610baa57806391b7f5ed14610beb57806395d89b4114610c2657806399464c8914610cb6578063a22cb46514610ccd578063b4f8a62014610d2a57610272565b8063715018a614610aaf578063751e9a9c14610ac65780637667fd0f14610b1757806389e1c6a914610b445780638c4a381514610b6f57610272565b806342842e0e116101e857806358a288fd116101ac57806358a288fd146108c15780636352211e146108ec5780636b780f16146109515780636c0360eb1461097f57806370a0823114610a0f5780637118974214610a7457610272565b806342842e0e1461069d578063429b62e5146107185780634b09b72a1461077f5780634f6ccce7146107aa57806355f804b3146107f957610272565b806318160ddd1161023a57806318160ddd1461050957806323b872dd146105345780632c8a77a8146105af5780632f745c591461060057806334918dfd1461066f5780633ccfd60b1461068657610272565b806301ffc9a71461027757806306fdde03146102e7578063081812fc14610377578063095ea7b3146103dc578063162094c414610437575b600080fd5b34801561028357600080fd5b506102cf6004803603602081101561029a57600080fd5b8101908080357bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916906020019092919050505061120a565b60405180821515815260200191505060405180910390f35b3480156102f357600080fd5b506102fc611271565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561033c578082015181840152602081019050610321565b50505050905090810190601f1680156103695780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561038357600080fd5b506103b06004803603602081101561039a57600080fd5b8101908080359060200190929190505050611313565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b3480156103e857600080fd5b50610435600480360360408110156103ff57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291905050506113ae565b005b34801561044357600080fd5b506105076004803603604081101561045a57600080fd5b81019080803590602001909291908035906020019064010000000081111561048157600080fd5b82018360208201111561049357600080fd5b803590602001918460018302840111640100000000831117156104b557600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f8201169050808301925050505050505091929192905050506114f2565b005b34801561051557600080fd5b5061051e61166c565b6040518082815260200191505060405180910390f35b34801561054057600080fd5b506105ad6004803603606081101561055757600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919050505061167d565b005b3480156105bb57600080fd5b506105fe600480360360208110156105d257600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506116f3565b005b34801561060c57600080fd5b506106596004803603604081101561062357600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291905050506118b3565b6040518082815260200191505060405180910390f35b34801561067b57600080fd5b5061068461190e565b005b34801561069257600080fd5b5061069b611a41565b005b3480156106a957600080fd5b50610716600480360360608110156106c057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611b5e565b005b34801561072457600080fd5b506107676004803603602081101561073b57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611b7e565b60405180821515815260200191505060405180910390f35b34801561078b57600080fd5b50610794611b9e565b6040518082815260200191505060405180910390f35b3480156107b657600080fd5b506107e3600480360360208110156107cd57600080fd5b8101908080359060200190929190505050611ba4565b6040518082815260200191505060405180910390f35b34801561080557600080fd5b506108bf6004803603602081101561081c57600080fd5b810190808035906020019064010000000081111561083957600080fd5b82018360208201111561084b57600080fd5b8035906020019184600183028401116401000000008311171561086d57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509192919290505050611bc7565b005b3480156108cd57600080fd5b506108d6611d15565b6040518082815260200191505060405180910390f35b3480156108f857600080fd5b506109256004803603602081101561090f57600080fd5b8101908080359060200190929190505050611d1b565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61097d6004803603602081101561096757600080fd5b8101908080359060200190929190505050611d52565b005b34801561098b57600080fd5b50610994611fdb565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156109d45780820151818401526020810190506109b9565b50505050905090810190601f168015610a015780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b348015610a1b57600080fd5b50610a5e60048036036020811015610a3257600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061207d565b6040518082815260200191505060405180910390f35b348015610a8057600080fd5b50610aad60048036036020811015610a9757600080fd5b8101908080359060200190929190505050612152565b005b348015610abb57600080fd5b50610ac46122c8565b005b348015610ad257600080fd5b50610b1560048036036020811015610ae957600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612438565b005b348015610b2357600080fd5b50610b2c612542565b60405180821515815260200191505060405180910390f35b348015610b5057600080fd5b50610b59612555565b6040518082815260200191505060405180910390f35b348015610b7b57600080fd5b50610ba860048036036020811015610b9257600080fd5b810190808035906020019092919050505061255b565b005b348015610bb657600080fd5b50610bbf612624565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b348015610bf757600080fd5b50610c2460048036036020811015610c0e57600080fd5b810190808035906020019092919050505061264e565b005b348015610c3257600080fd5b50610c3b6127c4565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610c7b578082015181840152602081019050610c60565b50505050905090810190601f168015610ca85780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b348015610cc257600080fd5b50610ccb612866565b005b348015610cd957600080fd5b50610d2860048036036040811015610cf057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803515159060200190929190505050612932565b005b348015610d3657600080fd5b50610d3f612ae8565b6040518082815260200191505060405180910390f35b348015610d6157600080fd5b50610d8e60048036036020811015610d7857600080fd5b8101908080359060200190929190505050612aee565b005b348015610d9c57600080fd5b50610ea060048036036080811015610db357600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919080359060200190640100000000811115610e1a57600080fd5b820183602082011115610e2c57600080fd5b80359060200191846001830284011164010000000083111715610e4e57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509192919290505050612c78565b005b348015610eae57600080fd5b50610ef160048036036020811015610ec557600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612cf0565b005b348015610eff57600080fd5b50610f2c60048036036020811015610f1657600080fd5b8101908080359060200190929190505050612dfa565b005b348015610f3a57600080fd5b50610f6760048036036020811015610f5157600080fd5b8101908080359060200190929190505050612ec3565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610fa7578082015181840152602081019050610f8c565b50505050905090810190601f168015610fd45780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b348015610fee57600080fd5b50610ff7613194565b6040518082815260200191505060405180910390f35b34801561101957600080fd5b5061102261319a565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015611062578082015181840152602081019050611047565b50505050905090810190601f16801561108f5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156110a957600080fd5b506110d6600480360360208110156110c057600080fd5b8101908080359060200190929190505050613238565b005b3480156110e457600080fd5b50611147600480360360408110156110fb57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506133bb565b60405180821515815260200191505060405180910390f35b34801561116b57600080fd5b5061117461344f565b60405180821515815260200191505060405180910390f35b34801561119857600080fd5b506111db600480360360208110156111af57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050613462565b005b3480156111e957600080fd5b506111f2613657565b60405180821515815260200191505060405180910390f35b6000806000837bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060009054906101000a900460ff169050919050565b606060068054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156113095780601f106112de57610100808354040283529160200191611309565b820191906000526020600020905b8154815290600101906020018083116112ec57829003601f168201915b5050505050905090565b600061131e8261366a565b611373576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602c815260200180614ec9602c913960400191505060405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006113b982611d1b565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611440576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180614fa86021913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1661145f613687565b73ffffffffffffffffffffffffffffffffffffffff16148061148e575061148d81611488613687565b6133bb565b5b6114e3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526038815260200180614dfb6038913960400191505060405180910390fd5b6114ed838361368f565b505050565b601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166115b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260098152602001807f4e6f742061646d696e000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b601360029054906101000a900460ff161580156115ec57506014600083815260200190815260200160002060009054906101000a900460ff16155b61165e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600e8152602001807f416c72656164792066726f7a656e00000000000000000000000000000000000081525060200191505060405180910390fd5b6116688282613748565b5050565b600061167860026137d2565b905090565b61168e611688613687565b826137e7565b6116e3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526031815260200180614fc96031913960400191505060405180910390fd5b6116ee8383836138db565b505050565b601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166117b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260098152602001807f4e6f742061646d696e000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b601360019054906101000a900460ff1615611835576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600f8152602001807f546f6b656e73207265736572766564000000000000000000000000000000000081525060200191505060405180910390fd5b600061183f61166c565b905060005b600f548110156118675761185a83828401613b1e565b8080600101915050611844565b50506001601360016101000a81548160ff0219169083151502179055507fec6cf12ef02c22be9cf0bf83a8262a560f45ed10efcb4c9af290385b9bd5f3b160405160405180910390a150565b600061190682600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020613b3c90919063ffffffff16565b905092915050565b601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166119cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260098152602001807f4e6f742061646d696e000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b601360009054906101000a900460ff1615601360006101000a81548160ff0219169083151502179055507fd2bce5b0f3cb0c9c70f1761d4ddcaf6236907e4b29bb4a7546b6a0c64be90cf8601360009054906101000a900460ff1660405180821515815260200191505060405180910390a1565b601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16611b00576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260098152602001807f4e6f742061646d696e000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b600047905060006064600e54830281611b1557fe5b049050611b44601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1682613b56565b8082039150611b5a611b54613687565b83613b56565b5050565b611b7983838360405180602001604052806000815250612c78565b505050565b60126020528060005260406000206000915054906101000a900460ff1681565b600f5481565b600080611bbb836002613c9090919063ffffffff16565b50905080915050919050565b601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16611c86576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260098152602001807f4e6f742061646d696e000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b601360029054906101000a900460ff1615611d09576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600e8152602001807f416c72656164792066726f7a656e00000000000000000000000000000000000081525060200191505060405180910390fd5b611d1281613cbc565b50565b600d5481565b6000611d4b82604051806060016040528060298152602001614e5d602991396002613cd69092919063ffffffff16565b9050919050565b601360009054906101000a900460ff16611dd4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260128152602001807f53616c65206973206e6f7420616374697665000000000000000000000000000081525060200191505060405180910390fd5b60008111611e4a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600c8152602001807f43616e6e6f74206275792030000000000000000000000000000000000000000081525060200191505060405180910390fd5b600c54811115611ea5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602f815260200180614f4a602f913960400191505060405180910390fd5b600d54611ec282611eb461166c565b613cf590919063ffffffff16565b1115611f19576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180614ffa602a913960400191505060405180910390fd5b34611f2f82600b54613d7d90919063ffffffff16565b14611fa2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f45746865722076616c75652073656e74206973206e6f7420636f72726563740081525060200191505060405180910390fd5b6000805b82821015611fd657611fb661166c565b9050611fc9611fc3613687565b82613b1e565b8180600101925050611fa6565b505050565b606060098054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156120735780601f1061204857610100808354040283529160200191612073565b820191906000526020600020905b81548152906001019060200180831161205657829003601f168201915b5050505050905090565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612104576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180614e33602a913960400191505060405180910390fd5b61214b600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020613e03565b9050919050565b601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16612211576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260098152602001807f4e6f742061646d696e000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b60008111612287576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600e8152602001807f56657279206c6f772076616c756500000000000000000000000000000000000081525060200191505060405180910390fd5b80600c819055507fef5a90ab096d6d6c6a26bd05d08caac10fd601892692cb5864feb0306daf4d51816040518082815260200191505060405180910390a150565b6122d0613687565b73ffffffffffffffffffffffffffffffffffffffff166122ee612624565b73ffffffffffffffffffffffffffffffffffffffff1614612377576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b612440613687565b73ffffffffffffffffffffffffffffffffffffffff1661245e612624565b73ffffffffffffffffffffffffffffffffffffffff16146124e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b6000601260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b601360029054906101000a900460ff1681565b600b5481565b601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1661261a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260098152602001807f4e6f742061646d696e000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b80600f8190555050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1661270d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260098152602001807f4e6f742061646d696e000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b60008111612783576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600a8152602001807f5a65726f2070726963650000000000000000000000000000000000000000000081525060200191505060405180910390fd5b80600b819055507fc0be498a989bf35cc1fe693ecd0c579350539407f5daa3f16be5c5a05e378639816040518082815260200191505060405180910390a150565b606060078054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561285c5780601f106128315761010080835404028352916020019161285c565b820191906000526020600020905b81548152906001019060200180831161283f57829003601f168201915b5050505050905090565b61286e613687565b73ffffffffffffffffffffffffffffffffffffffff1661288c612624565b73ffffffffffffffffffffffffffffffffffffffff1614612915576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b6001601360026101000a81548160ff021916908315150217905550565b61293a613687565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156129db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260198152602001807f4552433732313a20617070726f766520746f2063616c6c65720000000000000081525060200191505060405180910390fd5b80600560006129e8613687565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16612a95613687565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405180821515815260200191505060405180910390a35050565b600c5481565b601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16612bad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260098152602001807f4e6f742061646d696e000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b612bb561166c565b81118015612bc557506127108111155b612c37576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601a8152602001807f57726f6e672076616c756520666f72206d617820737570706c7900000000000081525060200191505060405180910390fd5b80600d819055507fcef5f61a8c19788a60aec5d770cbf447bf95c9354eebff7b343131f606332a47816040518082815260200191505060405180910390a150565b612c89612c83613687565b836137e7565b612cde576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526031815260200180614fc96031913960400191505060405180910390fd5b612cea84848484613e18565b50505050565b612cf8613687565b73ffffffffffffffffffffffffffffffffffffffff16612d16612624565b73ffffffffffffffffffffffffffffffffffffffff1614612d9f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b6001601260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16612eb9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260098152602001807f4e6f742061646d696e000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b80600e8190555050565b6060612ece8261366a565b612f23576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602f815260200180614f79602f913960400191505060405180910390fd5b6060600860008481526020019081526020016000208054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015612fcc5780601f10612fa157610100808354040283529160200191612fcc565b820191906000526020600020905b815481529060010190602001808311612faf57829003601f168201915b505050505090506060612fdd611fdb565b9050600081511415612ff357819250505061318f565b6000825111156130c45780826040516020018083805190602001908083835b602083106130355780518252602082019150602081019050602083039250613012565b6001836020036101000a03801982511681845116808217855250505050505090500182805190602001908083835b602083106130865780518252602082019150602081019050602083039250613063565b6001836020036101000a038019825116818451168082178552505050505050905001925050506040516020818303038152906040529250505061318f565b806130ce85613e8a565b6040516020018083805190602001908083835b6020831061310457805182526020820191506020810190506020830392506130e1565b6001836020036101000a03801982511681845116808217855250505050505090500182805190602001908083835b602083106131555780518252602082019150602081019050602083039250613132565b6001836020036101000a03801982511681845116808217855250505050505090500192505050604051602081830303815290604052925050505b919050565b600e5481565b60108054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156132305780601f1061320557610100808354040283529160200191613230565b820191906000526020600020905b81548152906001019060200180831161321357829003601f168201915b505050505081565b613240613687565b73ffffffffffffffffffffffffffffffffffffffff1661325e612624565b73ffffffffffffffffffffffffffffffffffffffff16146132e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b60016014600083815260200190815260200160002060006101000a81548160ff021916908315150217905550807fa109ba539900bf1b633f956d63c96fc89b814c7287f7aa50a9216d0b5565720761333e83612ec3565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561337e578082015181840152602081019050613363565b50505050905090810190601f1680156133ab5780820380516001836020036101000a031916815260200191505b509250505060405180910390a250565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b601360009054906101000a900460ff1681565b61346a613687565b73ffffffffffffffffffffffffffffffffffffffff16613488612624565b73ffffffffffffffffffffffffffffffffffffffff1614613511576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415613597576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180614d256026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a380600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b601360019054906101000a900460ff1681565b6000613680826002613fd190919063ffffffff16565b9050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661370283611d1b565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6137518261366a565b6137a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602c815260200180614ef5602c913960400191505060405180910390fd5b806008600084815260200190815260200160002090805190602001906137cd929190614c25565b505050565b60006137e082600001613feb565b9050919050565b60006137f28261366a565b613847576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602c815260200180614dcf602c913960400191505060405180910390fd5b600061385283611d1b565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806138c157508373ffffffffffffffffffffffffffffffffffffffff166138a984611313565b73ffffffffffffffffffffffffffffffffffffffff16145b806138d257506138d181856133bb565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166138fb82611d1b565b73ffffffffffffffffffffffffffffffffffffffff1614613967576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526029815260200180614f216029913960400191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156139ed576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526024815260200180614d4b6024913960400191505060405180910390fd5b6139f8838383613ffc565b613a0360008261368f565b613a5481600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002061400190919063ffffffff16565b50613aa681600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002061401b90919063ffffffff16565b50613abd818360026140359092919063ffffffff16565b50808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b613b3882826040518060200160405280600081525061406a565b5050565b6000613b4b83600001836140db565b60001c905092915050565b80471015613bcc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f416464726573733a20696e73756666696369656e742062616c616e636500000081525060200191505060405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff168260405180600001905060006040518083038185875af1925050503d8060008114613c2c576040519150601f19603f3d011682016040523d82523d6000602084013e613c31565b606091505b5050905080613c8b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603a815260200180614d6f603a913960400191505060405180910390fd5b505050565b600080600080613ca3866000018661415e565b915091508160001c8160001c9350935050509250929050565b8060099080519060200190613cd2929190614c25565b5050565b6000613ce9846000018460001b846141f7565b60001c90509392505050565b600080828401905083811015613d73576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b600080831415613d905760009050613dfd565b6000828402905082848281613da157fe5b0414613df8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180614ea86021913960400191505060405180910390fd5b809150505b92915050565b6000613e11826000016142ed565b9050919050565b613e238484846138db565b613e2f848484846142fe565b613e84576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526032815260200180614cf36032913960400191505060405180910390fd5b50505050565b60606000821415613ed2576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613fcc565b600082905060005b60008214613efc578080600101915050600a8281613ef457fe5b049150613eda565b60608167ffffffffffffffff81118015613f1557600080fd5b506040519080825280601f01601f191660200182016040528015613f485781602001600182028036833780820191505090505b50905060006001830390508593505b60008414613fc457600a8481613f6957fe5b0660300160f81b82828060019003935081518110613f8357fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8481613fbc57fe5b049350613f57565b819450505050505b919050565b6000613fe3836000018360001b614517565b905092915050565b600081600001805490509050919050565b505050565b6000614013836000018360001b61453a565b905092915050565b600061402d836000018360001b614622565b905092915050565b6000614061846000018460001b8473ffffffffffffffffffffffffffffffffffffffff1660001b614692565b90509392505050565b614074838361476e565b61408160008484846142fe565b6140d6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526032815260200180614cf36032913960400191505060405180910390fd5b505050565b60008183600001805490501161413c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526022815260200180614cd16022913960400191505060405180910390fd5b82600001828154811061414b57fe5b9060005260206000200154905092915050565b600080828460000180549050116141c0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526022815260200180614e866022913960400191505060405180910390fd5b60008460000184815481106141d157fe5b906000526020600020906002020190508060000154816001015492509250509250929050565b600080846001016000858152602001908152602001600020549050600081141583906142be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015614283578082015181840152602081019050614268565b50505050905090810190601f1680156142b05780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b508460000160018203815481106142d157fe5b9060005260206000209060020201600101549150509392505050565b600081600001805490509050919050565b600061431f8473ffffffffffffffffffffffffffffffffffffffff16614962565b61432c576001905061450f565b606061449663150b7a0260e01b614341613687565b888787604051602401808573ffffffffffffffffffffffffffffffffffffffff1681526020018473ffffffffffffffffffffffffffffffffffffffff16815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b838110156143c55780820151818401526020810190506143aa565b50505050905090810190601f1680156143f25780820380516001836020036101000a031916815260200191505b5095505050505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050604051806060016040528060328152602001614cf3603291398773ffffffffffffffffffffffffffffffffffffffff166149759092919063ffffffff16565b905060008180602001905160208110156144af57600080fd5b8101908080519060200190929190505050905063150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614925050505b949350505050565b600080836001016000848152602001908152602001600020541415905092915050565b60008083600101600084815260200190815260200160002054905060008114614616576000600182039050600060018660000180549050039050600086600001828154811061458557fe5b90600052602060002001549050808760000184815481106145a257fe5b90600052602060002001819055506001830187600101600083815260200190815260200160002081905550866000018054806145da57fe5b6001900381819060005260206000200160009055905586600101600087815260200190815260200160002060009055600194505050505061461c565b60009150505b92915050565b600061462e838361498d565b61468757826000018290806001815401808255809150506001900390600052602060002001600090919091909150558260000180549050836001016000848152602001908152602001600020819055506001905061468c565b600090505b92915050565b600080846001016000858152602001908152602001600020549050600081141561473957846000016040518060400160405280868152602001858152509080600181540180825580915050600190039060005260206000209060020201600090919091909150600082015181600001556020820151816001015550508460000180549050856001016000868152602001908152602001600020819055506001915050614767565b8285600001600183038154811061474c57fe5b90600052602060002090600202016001018190555060009150505b9392505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415614811576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4552433732313a206d696e7420746f20746865207a65726f206164647265737381525060200191505060405180910390fd5b61481a8161366a565b1561488d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601c8152602001807f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000081525060200191505060405180910390fd5b61489960008383613ffc565b6148ea81600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002061401b90919063ffffffff16565b50614901818360026140359092919063ffffffff16565b50808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b606061498484846000856149b0565b90509392505050565b600080836001016000848152602001908152602001600020541415905092915050565b606082471015614a0b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180614da96026913960400191505060405180910390fd5b614a1485614962565b614a86576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000081525060200191505060405180910390fd5b600060608673ffffffffffffffffffffffffffffffffffffffff1685876040518082805190602001908083835b60208310614ad65780518252602082019150602081019050602083039250614ab3565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114614b38576040519150601f19603f3d011682016040523d82523d6000602084013e614b3d565b606091505b5091509150614b4d828286614b59565b92505050949350505050565b60608315614b6957829050614c1e565b600083511115614b7c5782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015614be3578082015181840152602081019050614bc8565b50505050905090810190601f168015614c105780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b9392505050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282614c5b5760008555614ca2565b82601f10614c7457805160ff1916838001178555614ca2565b82800160010185558215614ca2579182015b82811115614ca1578251825591602001919060010190614c86565b5b509050614caf9190614cb3565b5090565b5b80821115614ccc576000816000905550600101614cb4565b509056fe456e756d657261626c655365743a20696e646578206f7574206f6620626f756e64734552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e7465724f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573734552433732313a207472616e7366657220746f20746865207a65726f2061646472657373416464726573733a20756e61626c6520746f2073656e642076616c75652c20726563697069656e74206d61792068617665207265766572746564416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c4552433732313a206f70657261746f7220717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a20617070726f76652063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f76656420666f7220616c6c4552433732313a2062616c616e636520717565727920666f7220746865207a65726f20616464726573734552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656e456e756d657261626c654d61703a20696e646578206f7574206f6620626f756e6473536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774552433732313a20617070726f76656420717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732314d657461646174613a2055524920736574206f66206e6f6e6578697374656e7420746f6b656e4552433732313a207472616e73666572206f6620746f6b656e2074686174206973206e6f74206f776e45786365656473206d6178206e756d626572206f662054696765727320696e206f6e65207472616e73616374696f6e4552433732314d657461646174613a2055524920717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a20617070726f76616c20746f2063757272656e74206f776e65724552433732313a207472616e736665722063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564507572636861736520776f756c6420657863656564206d617820737570706c79206f6620546967657273a2646970667358221220edec25365362e6d02a63cdeb645553ad98d459c41007d03d05202123729b09fd64736f6c63430007040033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000005f0d8b2a98fb6ec4bf324a58821ef1937108fcc0
-----Decoded View---------------
Arg [0] : _admin (address): 0x5F0d8B2A98fB6eC4Bf324a58821ef1937108fcc0
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000005f0d8b2a98fb6ec4bf324a58821ef1937108fcc0
Deployed Bytecode Sourcemap
66875:4374:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10178:150;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;51427:100;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54213:221;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;53743:404;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;69502:212;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;53221:211;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;55103:305;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;68445:229;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;52983:162;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;68682:129;;;;;;;;;;;;;:::i;:::-;;68136:301;;;;;;;;;;;;;:::i;:::-;;55479:151;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;67239:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;67146:33;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;53509:172;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;69722:159;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;67068:32;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;51183:177;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;68819:675;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;52802:97;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50900:221;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;70358:195;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;66121:148;;;;;;;;;;;;;:::i;:::-;;70905:96;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;67360:21;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;66961:45;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;70677:118;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;65470:87;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;69889:178;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;51596:104;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;71009:75;;;;;;;;;;;;;:::i;:::-;;54506:295;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;67025:36;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;70075:275;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;55701:285;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;70803:94;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;70561:108;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;51771:792;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;67107:32;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;67186:26;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;71092:154;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;54872:164;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;67286:32;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;66424:244;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;67325:28;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;10178:150;10263:4;10287:20;:33;10308:11;10287:33;;;;;;;;;;;;;;;;;;;;;;;;;;;10280:40;;10178:150;;;:::o;51427:100::-;51481:13;51514:5;51507:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51427:100;:::o;54213:221::-;54289:7;54317:16;54325:7;54317;:16::i;:::-;54309:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54402:15;:24;54418:7;54402:24;;;;;;;;;;;;;;;;;;;;;54395:31;;54213:221;;;:::o;53743:404::-;53824:13;53840:23;53855:7;53840:14;:23::i;:::-;53824:39;;53888:5;53882:11;;:2;:11;;;;53874:57;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53968:5;53952:21;;:12;:10;:12::i;:::-;:21;;;:69;;;;53977:44;54001:5;54008:12;:10;:12::i;:::-;53977:23;:44::i;:::-;53952:69;53944:161;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54118:21;54127:2;54131:7;54118:8;:21::i;:::-;53743:404;;;:::o;69502:212::-;67894:6;:18;67901:10;67894:18;;;;;;;;;;;;;;;;;;;;;;;;;67886:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;69604:9:::1;;;;;;;;;;;69603:10;:33;;;;;69618:9;:18;69628:7;69618:18;;;;;;;;;;;;;;;;;;;;;69617:19;69603:33;69595:60;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;69668:38;69687:7;69696:9;69668:18;:38::i;:::-;69502:212:::0;;:::o;53221:211::-;53282:7;53403:21;:12;:19;:21::i;:::-;53396:28;;53221:211;:::o;55103:305::-;55264:41;55283:12;:10;:12::i;:::-;55297:7;55264:18;:41::i;:::-;55256:103;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55372:28;55382:4;55388:2;55392:7;55372:9;:28::i;:::-;55103:305;;;:::o;68445:229::-;67894:6;:18;67901:10;67894:18;;;;;;;;;;;;;;;;;;;;;;;;;67886:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;67740:8:::1;;;;;;;;;;;67739:9;67731:37;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;68523:11:::2;68537:13;:11;:13::i;:::-;68523:27;;68561:6;68578:89;68590:13;;68586:1;:17;68578:89;;;68625:30;68635:7;68653:1;68644:6;:10;68625:9;:30::i;:::-;68605:3;;;;;;;68578:89;;;67779:1;;67802:4:::1;67791:8;;:15;;;;;;;;;;;;;;;;;;67822:16;;;;;;;;;;68445:229:::0;:::o;52983:162::-;53080:7;53107:30;53131:5;53107:13;:20;53121:5;53107:20;;;;;;;;;;;;;;;:23;;:30;;;;:::i;:::-;53100:37;;52983:162;;;;:::o;68682:129::-;67894:6;:18;67901:10;67894:18;;;;;;;;;;;;;;;;;;;;;;;;;67886:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;68751:12:::1;;;;;;;;;;;68750:13;68735:12;;:28;;;;;;;;;;;;;;;;;;68779:24;68790:12;;;;;;;;;;;68779:24;;;;;;;;;;;;;;;;;;;;68682:129::o:0;68136:301::-;67894:6;:18;67901:10;67894:18;;;;;;;;;;;;;;;;;;;;;;;;;67886:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;68184:12:::1;68199:21;68184:36;;68231:13;68273:3;68257:13;;68247:7;:23;:29;;;;;;68231:45;;68287:43;68313:5;;;;;;;;;;;68321:8;68287:17;:43::i;:::-;68361:8;68351:7;:18;68341:28;;68380:49;68406:12;:10;:12::i;:::-;68421:7;68380:17;:49::i;:::-;67937:1;;68136:301::o:0;55479:151::-;55583:39;55600:4;55606:2;55610:7;55583:39;;;;;;;;;;;;:16;:39::i;:::-;55479:151;;;:::o;67239:38::-;;;;;;;;;;;;;;;;;;;;;;:::o;67146:33::-;;;;:::o;53509:172::-;53584:7;53605:15;53626:22;53642:5;53626:12;:15;;:22;;;;:::i;:::-;53604:44;;;53666:7;53659:14;;;53509:172;;;:::o;69722:159::-;67894:6;:18;67901:10;67894:18;;;;;;;;;;;;;;;;;;;;;;;;;67886:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;69805:9:::1;;;;;;;;;;;69804:10;69796:37;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;69846:27;69864:8;69846:17;:27::i;:::-;69722:159:::0;:::o;67068:32::-;;;;:::o;51183:177::-;51255:7;51282:70;51299:7;51282:70;;;;;;;;;;;;;;;;;:12;:16;;:70;;;;;:::i;:::-;51275:77;;51183:177;;;:::o;68819:675::-;68894:12;;;;;;;;;;;68886:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;68965:1;68948:14;:18;68940:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;69020:16;;69002:14;:34;;68994:94;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;69144:9;;69107:33;69125:14;69107:13;:11;:13::i;:::-;:17;;:33;;;;:::i;:::-;:46;;69099:101;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;69253:9;69219:30;69234:14;69219:10;;:14;;:30;;;;:::i;:::-;:43;69211:87;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;69311:6;69328:14;69353:134;69365:14;69361:1;:18;69353:134;;;69413:13;:11;:13::i;:::-;69401:25;;69441:34;69451:12;:10;:12::i;:::-;69465:9;69441;:34::i;:::-;69381:3;;;;;;;69353:134;;;68819:675;;;:::o;52802:97::-;52850:13;52883:8;52876:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52802:97;:::o;50900:221::-;50972:7;51017:1;51000:19;;:5;:19;;;;50992:74;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51084:29;:13;:20;51098:5;51084:20;;;;;;;;;;;;;;;:27;:29::i;:::-;51077:36;;50900:221;;;:::o;70358:195::-;67894:6;:18;67901:10;67894:18;;;;;;;;;;;;;;;;;;;;;;;;;67886:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;70445:1:::1;70436:6;:10;70428:37;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;70497:6;70478:16;:25;;;;70519:26;70538:6;70519:26;;;;;;;;;;;;;;;;;;70358:195:::0;:::o;66121:148::-;65701:12;:10;:12::i;:::-;65690:23;;:7;:5;:7::i;:::-;:23;;;65682:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;66228:1:::1;66191:40;;66212:6;;;;;;;;;;;66191:40;;;;;;;;;;;;66259:1;66242:6;;:19;;;;;;;;;;;;;;;;;;66121:148::o:0;70905:96::-;65701:12;:10;:12::i;:::-;65690:23;;:7;:5;:7::i;:::-;:23;;;65682:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;70988:5:::1;70972:6;:13;70979:5;70972:13;;;;;;;;;;;;;;;;:21;;;;;;;;;;;;;;;;;;70905:96:::0;:::o;67360:21::-;;;;;;;;;;;;;:::o;66961:45::-;;;;:::o;70677:118::-;67894:6;:18;67901:10;67894:18;;;;;;;;;;;;;;;;;;;;;;;;;67886:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;70773:14:::1;70757:13;:30;;;;70677:118:::0;:::o;65470:87::-;65516:7;65543:6;;;;;;;;;;;65536:13;;65470:87;:::o;69889:178::-;67894:6;:18;67901:10;67894:18;;;;;;;;;;;;;;;;;;;;;;;;;67886:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;69970:1:::1;69961:6;:10;69953:33;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;70012:6;69999:10;:19;;;;70034:25;70052:6;70034:25;;;;;;;;;;;;;;;;;;69889:178:::0;:::o;51596:104::-;51652:13;51685:7;51678:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51596:104;:::o;71009:75::-;65701:12;:10;:12::i;:::-;65690:23;;:7;:5;:7::i;:::-;:23;;;65682:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;71072:4:::1;71060:9;;:16;;;;;;;;;;;;;;;;;;71009:75::o:0;54506:295::-;54621:12;:10;:12::i;:::-;54609:24;;:8;:24;;;;54601:62;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54721:8;54676:18;:32;54695:12;:10;:12::i;:::-;54676:32;;;;;;;;;;;;;;;:42;54709:8;54676:42;;;;;;;;;;;;;;;;:53;;;;;;;;;;;;;;;;;;54774:8;54745:48;;54760:12;:10;:12::i;:::-;54745:48;;;54784:8;54745:48;;;;;;;;;;;;;;;;;;;;54506:295;;:::o;67025:36::-;;;;:::o;70075:275::-;67894:6;:18;67901:10;67894:18;;;;;;;;;;;;;;;;;;;;;;;;;67886:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;70179:13:::1;:11;:13::i;:::-;70170:6;:22;:42;;;;;70206:6;70196;:16;;70170:42;70148:118;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;70291:6;70279:9;:18;;;;70313:29;70335:6;70313:29;;;;;;;;;;;;;;;;;;70075:275:::0;:::o;55701:285::-;55833:41;55852:12;:10;:12::i;:::-;55866:7;55833:18;:41::i;:::-;55825:103;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55939:39;55953:4;55959:2;55963:7;55972:5;55939:13;:39::i;:::-;55701:285;;;;:::o;70803:94::-;65701:12;:10;:12::i;:::-;65690:23;;:7;:5;:7::i;:::-;:23;;;65682:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;70885:4:::1;70869:6;:13;70876:5;70869:13;;;;;;;;;;;;;;;;:20;;;;;;;;;;;;;;;;;;70803:94:::0;:::o;70561:108::-;67894:6;:18;67901:10;67894:18;;;;;;;;;;;;;;;;;;;;;;;;;67886:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;70652:9:::1;70636:13;:25;;;;70561:108:::0;:::o;51771:792::-;51844:13;51878:16;51886:7;51878;:16::i;:::-;51870:76;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51959:23;51985:10;:19;51996:7;51985:19;;;;;;;;;;;51959:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52015:18;52036:9;:7;:9::i;:::-;52015:30;;52143:1;52127:4;52121:18;:23;52117:72;;;52168:9;52161:16;;;;;;52117:72;52319:1;52299:9;52293:23;:27;52289:108;;;52368:4;52374:9;52351:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52337:48;;;;;;52289:108;52529:4;52535:18;:7;:16;:18::i;:::-;52512:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52498:57;;;;51771:792;;;;:::o;67107:32::-;;;;:::o;67186:26::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;71092:154::-;65701:12;:10;:12::i;:::-;65690:23;;:7;:5;:7::i;:::-;:23;;;65682:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;71176:4:::1;71155:9;:18;71165:7;71155:18;;;;;;;;;;;;:25;;;;;;;;;;;;;;;;;;71230:7;71198:40;71211:17;71220:7;71211:8;:17::i;:::-;71198:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;71092:154:::0;:::o;54872:164::-;54969:4;54993:18;:25;55012:5;54993:25;;;;;;;;;;;;;;;:35;55019:8;54993:35;;;;;;;;;;;;;;;;;;;;;;;;;54986:42;;54872:164;;;;:::o;67286:32::-;;;;;;;;;;;;;:::o;66424:244::-;65701:12;:10;:12::i;:::-;65690:23;;:7;:5;:7::i;:::-;:23;;;65682:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;66533:1:::1;66513:22;;:8;:22;;;;66505:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;66623:8;66594:38;;66615:6;;;;;;;;;;;66594:38;;;;;;;;;;;;66652:8;66643:6;;:17;;;;;;;;;;;;;;;;;;66424:244:::0;:::o;67325:28::-;;;;;;;;;;;;;:::o;57453:127::-;57518:4;57542:30;57564:7;57542:12;:21;;:30;;;;:::i;:::-;57535:37;;57453:127;;;:::o;667:106::-;720:15;755:10;748:17;;667:106;:::o;63471:192::-;63573:2;63546:15;:24;63562:7;63546:24;;;;;;;;;;;;:29;;;;;;;;;;;;;;;;;;63629:7;63625:2;63591:46;;63600:23;63615:7;63600:14;:23::i;:::-;63591:46;;;;;;;;;;;;63471:192;;:::o;61638:215::-;61738:16;61746:7;61738;:16::i;:::-;61730:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;61836:9;61814:10;:19;61825:7;61814:19;;;;;;;;;;;:31;;;;;;;;;;;;:::i;:::-;;61638:215;;:::o;44189:123::-;44258:7;44285:19;44293:3;:10;;44285:7;:19::i;:::-;44278:26;;44189:123;;;:::o;57747:355::-;57840:4;57865:16;57873:7;57865;:16::i;:::-;57857:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;57941:13;57957:23;57972:7;57957:14;:23::i;:::-;57941:39;;58010:5;57999:16;;:7;:16;;;:51;;;;58043:7;58019:31;;:20;58031:7;58019:11;:20::i;:::-;:31;;;57999:51;:94;;;;58054:39;58078:5;58085:7;58054:23;:39::i;:::-;57999:94;57991:103;;;57747:355;;;;:::o;60883:599::-;61008:4;60981:31;;:23;60996:7;60981:14;:23::i;:::-;:31;;;60973:85;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;61109:1;61095:16;;:2;:16;;;;61087:65;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;61165:39;61186:4;61192:2;61196:7;61165:20;:39::i;:::-;61269:29;61286:1;61290:7;61269:8;:29::i;:::-;61311:35;61338:7;61311:13;:19;61325:4;61311:19;;;;;;;;;;;;;;;:26;;:35;;;;:::i;:::-;;61357:30;61379:7;61357:13;:17;61371:2;61357:17;;;;;;;;;;;;;;;:21;;:30;;;;:::i;:::-;;61400:29;61417:7;61426:2;61400:12;:16;;:29;;;;;:::i;:::-;;61466:7;61462:2;61447:27;;61456:4;61447:27;;;;;;;;;;;;60883:599;;;:::o;58445:110::-;58521:26;58531:2;58535:7;58521:26;;;;;;;;;;;;:9;:26::i;:::-;58445:110;;:::o;35988:137::-;36059:7;36094:22;36098:3;:10;;36110:5;36094:3;:22::i;:::-;36086:31;;36079:38;;35988:137;;;;:::o;20522:397::-;20637:6;20612:21;:31;;20604:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20769:12;20787:9;:14;;20810:6;20787:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20768:54;;;20841:7;20833:78;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20522:397;;;:::o;44651:236::-;44731:7;44740;44761:11;44774:13;44791:22;44795:3;:10;;44807:5;44791:3;:22::i;:::-;44760:53;;;;44840:3;44832:12;;44870:5;44862:14;;44824:55;;;;;;44651:236;;;;;:::o;62083:100::-;62167:8;62156;:19;;;;;;;;;;;;:::i;:::-;;62083:100;:::o;45937:213::-;46044:7;46095:44;46100:3;:10;;46120:3;46112:12;;46126;46095:4;:44::i;:::-;46087:53;;46064:78;;45937:213;;;;;:::o;13732:179::-;13790:7;13810:9;13826:1;13822;:5;13810:17;;13851:1;13846;:6;;13838:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13902:1;13895:8;;;13732:179;;;;:::o;14611:220::-;14669:7;14698:1;14693;:6;14689:20;;;14708:1;14701:8;;;;14689:20;14720:9;14736:1;14732;:5;14720:17;;14765:1;14760;14756;:5;;;;;;:10;14748:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14822:1;14815:8;;;14611:220;;;;;:::o;35530:114::-;35590:7;35617:19;35625:3;:10;;35617:7;:19::i;:::-;35610:26;;35530:114;;;:::o;56868:272::-;56982:28;56992:4;56998:2;57002:7;56982:9;:28::i;:::-;57029:48;57052:4;57058:2;57062:7;57071:5;57029:22;:48::i;:::-;57021:111;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56868:272;;;;:::o;46393:746::-;46449:13;46679:1;46670:5;:10;46666:53;;;46697:10;;;;;;;;;;;;;;;;;;;;;46666:53;46729:12;46744:5;46729:20;;46760:14;46785:78;46800:1;46792:4;:9;46785:78;;46818:8;;;;;;;46849:2;46841:10;;;;;;;;;46785:78;;;46873:19;46905:6;46895:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46873:39;;46923:13;46948:1;46939:6;:10;46923:26;;46967:5;46960:12;;46983:117;46998:1;46990:4;:9;46983:117;;47059:2;47052:4;:9;;;;;;47047:2;:14;47034:29;;47016:6;47023:7;;;;;;;47016:15;;;;;;;;;;;:47;;;;;;;;;;;47086:2;47078:10;;;;;;;;;46983:117;;;47124:6;47110:21;;;;;;46393:746;;;;:::o;43950:151::-;44034:4;44058:35;44068:3;:10;;44088:3;44080:12;;44058:9;:35::i;:::-;44051:42;;43950:151;;;;:::o;40768:110::-;40824:7;40851:3;:12;;:19;;;;40844:26;;40768:110;;;:::o;64276:93::-;;;;:::o;35075:137::-;35145:4;35169:35;35177:3;:10;;35197:5;35189:14;;35169:7;:35::i;:::-;35162:42;;35075:137;;;;:::o;34768:131::-;34835:4;34859:32;34864:3;:10;;34884:5;34876:14;;34859:4;:32::i;:::-;34852:39;;34768:131;;;;:::o;43373:185::-;43462:4;43486:64;43491:3;:10;;43511:3;43503:12;;43541:5;43525:23;;43517:32;;43486:4;:64::i;:::-;43479:71;;43373:185;;;;;:::o;58782:250::-;58878:18;58884:2;58888:7;58878:5;:18::i;:::-;58915:54;58946:1;58950:2;58954:7;58963:5;58915:22;:54::i;:::-;58907:117;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;58782:250;;;:::o;31026:204::-;31093:7;31142:5;31121:3;:11;;:18;;;;:26;31113:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31204:3;:11;;31216:5;31204:18;;;;;;;;;;;;;;;;31197:25;;31026:204;;;;:::o;41233:279::-;41300:7;41309;41359:5;41337:3;:12;;:19;;;;:27;41329:74;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41416:22;41441:3;:12;;41454:5;41441:19;;;;;;;;;;;;;;;;;;41416:44;;41479:5;:10;;;41491:5;:12;;;41471:33;;;;;41233:279;;;;;:::o;42730:319::-;42824:7;42844:16;42863:3;:12;;:17;42876:3;42863:17;;;;;;;;;;;;42844:36;;42911:1;42899:8;:13;;42914:12;42891:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42981:3;:12;;43005:1;42994:8;:12;42981:26;;;;;;;;;;;;;;;;;;:33;;;42974:40;;;42730:319;;;;;:::o;30573:109::-;30629:7;30656:3;:11;;:18;;;;30649:25;;30573:109;;;:::o;62748:604::-;62869:4;62896:15;:2;:13;;;:15::i;:::-;62891:60;;62935:4;62928:11;;;;62891:60;62961:23;62987:252;63040:45;;;63100:12;:10;:12::i;:::-;63127:4;63146:7;63168:5;63003:181;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;62987:252;;;;;;;;;;;;;;;;;:2;:15;;;;:252;;;;;:::i;:::-;62961:278;;63250:13;63277:10;63266:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;63250:48;;47904:10;63327:16;;63317:26;;;:6;:26;;;;63309:35;;;;62748:604;;;;;;;:::o;40548:125::-;40619:4;40664:1;40643:3;:12;;:17;40656:3;40643:17;;;;;;;;;;;;:22;;40636:29;;40548:125;;;;:::o;28728:1544::-;28794:4;28912:18;28933:3;:12;;:19;28946:5;28933:19;;;;;;;;;;;;28912:40;;28983:1;28969:10;:15;28965:1300;;29331:21;29368:1;29355:10;:14;29331:38;;29384:17;29425:1;29404:3;:11;;:18;;;;:22;29384:42;;29671:17;29691:3;:11;;29703:9;29691:22;;;;;;;;;;;;;;;;29671:42;;29837:9;29808:3;:11;;29820:13;29808:26;;;;;;;;;;;;;;;:38;;;;29956:1;29940:13;:17;29914:3;:12;;:23;29927:9;29914:23;;;;;;;;;;;:43;;;;30066:3;:11;;:17;;;;;;;;;;;;;;;;;;;;;;;;30161:3;:12;;:19;30174:5;30161:19;;;;;;;;;;;30154:26;;;30204:4;30197:11;;;;;;;;28965:1300;30248:5;30241:12;;;28728:1544;;;;;:::o;28138:414::-;28201:4;28223:21;28233:3;28238:5;28223:9;:21::i;:::-;28218:327;;28261:3;:11;;28278:5;28261:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28444:3;:11;;:18;;;;28422:3;:12;;:19;28435:5;28422:19;;;;;;;;;;;:40;;;;28484:4;28477:11;;;;28218:327;28528:5;28521:12;;28138:414;;;;;:::o;38048:692::-;38124:4;38240:16;38259:3;:12;;:17;38272:3;38259:17;;;;;;;;;;;;38240:36;;38305:1;38293:8;:13;38289:444;;;38360:3;:12;;38378:38;;;;;;;;38395:3;38378:38;;;;38408:5;38378:38;;;38360:57;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38575:3;:12;;:19;;;;38555:3;:12;;:17;38568:3;38555:17;;;;;;;;;;;:39;;;;38616:4;38609:11;;;;;38289:444;38689:5;38653:3;:12;;38677:1;38666:8;:12;38653:26;;;;;;;;;;;;;;;;;;:33;;:41;;;;38716:5;38709:12;;;38048:692;;;;;;:::o;59368:404::-;59462:1;59448:16;;:2;:16;;;;59440:61;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;59521:16;59529:7;59521;:16::i;:::-;59520:17;59512:58;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;59583:45;59612:1;59616:2;59620:7;59583:20;:45::i;:::-;59641:30;59663:7;59641:13;:17;59655:2;59641:17;;;;;;;;;;;;;;;:21;;:30;;;;:::i;:::-;;59684:29;59701:7;59710:2;59684:12;:16;;:29;;;;;:::i;:::-;;59756:7;59752:2;59731:33;;59748:1;59731:33;;;;;;;;;;;;59368:404;;:::o;19165:422::-;19225:4;19433:12;19544:7;19532:20;19524:28;;19578:1;19571:4;:8;19564:15;;;19165:422;;;:::o;22083:195::-;22186:12;22218:52;22240:6;22248:4;22254:1;22257:12;22218:21;:52::i;:::-;22211:59;;22083:195;;;;;:::o;30358:129::-;30431:4;30478:1;30455:3;:12;;:19;30468:5;30455:19;;;;;;;;;;;;:24;;30448:31;;30358:129;;;;:::o;23135:530::-;23262:12;23320:5;23295:21;:30;;23287:81;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23387:18;23398:6;23387:10;:18::i;:::-;23379:60;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23513:12;23527:23;23554:6;:11;;23574:5;23582:4;23554:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23512:75;;;;23605:52;23623:7;23632:10;23644:12;23605:17;:52::i;:::-;23598:59;;;;23135:530;;;;;;:::o;25675:742::-;25790:12;25819:7;25815:595;;;25850:10;25843:17;;;;25815:595;25984:1;25964:10;:17;:21;25960:439;;;26227:10;26221:17;26288:15;26275:10;26271:2;26267:19;26260:44;26175:148;26370:12;26363:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25675:742;;;;;;:::o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;:::o
Swarm Source
ipfs://edec25365362e6d02a63cdeb645553ad98d459c41007d03d05202123729b09fd
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.