ERC-721
Overview
Max Total Supply
150 Fantasy
Holders
104
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 FantasyLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Fantasy
Compiler Version
v0.8.7+commit.e28d00a7
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-05-06 */ // SPDX-License-Identifier: MIT pragma solidity ^0.8.0; 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); } 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; } 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); } 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); } 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); } 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); } } } } 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; } } abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } } library EnumerableSet { // To implement this library for multiple types with as little code // repetition as possible, we write it in terms of a generic Set type with // bytes32 values. // The Set implementation uses private functions, and user-facing // implementations (such as AddressSet) are just wrappers around the // underlying Set. // This means that we can only create new EnumerableSets for types that fit // in bytes32. struct Set { // Storage of set values bytes32[] _values; // Position of the value in the `values` array, plus 1 because index 0 // means a value is not in the set. mapping(bytes32 => uint256) _indexes; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function _add(Set storage set, bytes32 value) private returns (bool) { if (!_contains(set, value)) { set._values.push(value); // The value is stored at length-1, but we add 1 to all indexes // and use 0 as a sentinel value set._indexes[value] = set._values.length; return true; } else { return false; } } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function _remove(Set storage set, bytes32 value) private returns (bool) { // We read and store the value's index to prevent multiple reads from the same storage slot uint256 valueIndex = set._indexes[value]; if (valueIndex != 0) { // Equivalent to contains(set, value) // To delete an element from the _values array in O(1), we swap the element to delete with the last one in // the array, and then remove the last element (sometimes called as 'swap and pop'). // This modifies the order of the array, as noted in {at}. uint256 toDeleteIndex = valueIndex - 1; uint256 lastIndex = set._values.length - 1; if (lastIndex != toDeleteIndex) { bytes32 lastValue = set._values[lastIndex]; // Move the last value to the index where the value to delete is set._values[toDeleteIndex] = lastValue; // Update the index for the moved value set._indexes[lastValue] = valueIndex; // Replace lastValue's index to valueIndex } // Delete the slot where the moved value was stored set._values.pop(); // Delete the index for the deleted slot delete set._indexes[value]; return true; } else { return false; } } /** * @dev Returns true if the value is in the set. O(1). */ function _contains(Set storage set, bytes32 value) private view returns (bool) { return set._indexes[value] != 0; } /** * @dev Returns the number of values on the set. O(1). */ function _length(Set storage set) private view returns (uint256) { return set._values.length; } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function _at(Set storage set, uint256 index) private view returns (bytes32) { return set._values[index]; } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function _values(Set storage set) private view returns (bytes32[] memory) { return set._values; } // Bytes32Set struct Bytes32Set { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(Bytes32Set storage set, bytes32 value) internal returns (bool) { return _add(set._inner, value); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) { return _remove(set._inner, value); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) { return _contains(set._inner, value); } /** * @dev Returns the number of values in the set. O(1). */ function length(Bytes32Set storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) { return _at(set._inner, index); } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function values(Bytes32Set storage set) internal view returns (bytes32[] memory) { return _values(set._inner); } // AddressSet struct AddressSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(AddressSet storage set, address value) internal returns (bool) { return _add(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(AddressSet storage set, address value) internal returns (bool) { return _remove(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(AddressSet storage set, address value) internal view returns (bool) { return _contains(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Returns the number of values in the set. O(1). */ function length(AddressSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(AddressSet storage set, uint256 index) internal view returns (address) { return address(uint160(uint256(_at(set._inner, index)))); } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function values(AddressSet storage set) internal view returns (address[] memory) { bytes32[] memory store = _values(set._inner); address[] memory result; assembly { result := store } return result; } // UintSet struct UintSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(UintSet storage set, uint256 value) internal returns (bool) { return _add(set._inner, bytes32(value)); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(UintSet storage set, uint256 value) internal returns (bool) { return _remove(set._inner, bytes32(value)); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(UintSet storage set, uint256 value) internal view returns (bool) { return _contains(set._inner, bytes32(value)); } /** * @dev Returns the number of values on the set. O(1). */ function length(UintSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(UintSet storage set, uint256 index) internal view returns (uint256) { return uint256(_at(set._inner, index)); } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function values(UintSet storage set) internal view returns (uint256[] memory) { bytes32[] memory store = _values(set._inner); uint256[] memory result; assembly { result := store } return result; } } library EnumerableMap { using EnumerableSet for EnumerableSet.Bytes32Set; // 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 Map { // Storage of keys EnumerableSet.Bytes32Set _keys; mapping(bytes32 => bytes32) _values; } /** * @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) { map._values[key] = value; return map._keys.add(key); } /** * @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) { delete map._values[key]; return map._keys.remove(key); } /** * @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._keys.contains(key); } /** * @dev Returns the number of key-value pairs in the map. O(1). */ function _length(Map storage map) private view returns (uint256) { return map._keys.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) { bytes32 key = map._keys.at(index); return (key, map._values[key]); } /** * @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) { bytes32 value = map._values[key]; if (value == bytes32(0)) { return (_contains(map, key), bytes32(0)); } else { return (true, value); } } /** * @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) { bytes32 value = map._values[key]; require(value != 0 || _contains(map, key), "EnumerableMap: nonexistent key"); return value; } /** * @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) { bytes32 value = map._values[key]; require(value != 0 || _contains(map, key), errorMessage); return value; } // 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)))); } // AddressToUintMap struct AddressToUintMap { 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( AddressToUintMap storage map, address key, uint256 value ) internal returns (bool) { return _set(map._inner, bytes32(uint256(uint160(key))), bytes32(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(AddressToUintMap storage map, address key) internal returns (bool) { return _remove(map._inner, bytes32(uint256(uint160(key)))); } /** * @dev Returns true if the key is in the map. O(1). */ function contains(AddressToUintMap storage map, address key) internal view returns (bool) { return _contains(map._inner, bytes32(uint256(uint160(key)))); } /** * @dev Returns the number of elements in the map. O(1). */ function length(AddressToUintMap 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(AddressToUintMap storage map, uint256 index) internal view returns (address, uint256) { (bytes32 key, bytes32 value) = _at(map._inner, index); return (address(uint160(uint256(key))), 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(AddressToUintMap storage map, address key) internal view returns (bool, uint256) { (bool success, bytes32 value) = _tryGet(map._inner, bytes32(uint256(uint160(key)))); return (success, uint256(value)); } /** * @dev Returns the value associated with `key`. O(1). * * Requirements: * * - `key` must be in the map. */ function get(AddressToUintMap storage map, address key) internal view returns (uint256) { return uint256(_get(map._inner, bytes32(uint256(uint160(key))))); } } 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; } } 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_) public { _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); } function tokenOfOwner(address owner) public view virtual returns (uint256[] memory) { uint256[] memory ids=new uint256[](_holderTokens[owner].length()); for(uint256 i=0;i<_holderTokens[owner].length();i++){ ids[i]=_holderTokens[owner].at(i); } return ids; } /** * @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 { } } 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() { _setOwner(_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 { _setOwner(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"); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } library MerkleProof { /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify( bytes32[] memory proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProof(proof, leaf) == root; } /** * @dev Returns the rebuilt hash obtained by traversing a Merkle tree up * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt * hash matches the root of the tree. When processing the proof, the pairs * of leafs & pre-images are assumed to be sorted. * * _Available since v4.4._ */ function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { bytes32 proofElement = proof[i]; if (computedHash <= proofElement) { // Hash(current computed hash + current element of the proof) computedHash = _efficientHash(computedHash, proofElement); } else { // Hash(current element of the proof + current computed hash) computedHash = _efficientHash(proofElement, computedHash); } } return computedHash; } function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) { assembly { mstore(0x00, a) mstore(0x20, b) value := keccak256(0x00, 0x40) } } } contract Fantasy is ERC721, Ownable { using Strings for uint256; using SafeMath for uint256; bytes32 showMeRoot; bytes32 freeMintRoot; bytes32 presellRoot; uint256 public tokenIdCounter; uint256 public startShowMeTime; uint256 public endShowMeTime; uint256 public startPreSellTime; uint256 public endPreSellTime; uint256 public startFreeMintTime; uint256 public endFreeMintTime; uint256 public startSellTime; uint256 public endSellTime; uint256 public price = 1e17; uint256 public showMePrice = 6e16; uint256 public whitePrice = 8e16; uint256 public mintMax = 10000; uint256 maxShowMeMintCount = 5; uint256 maxPresellCount = 10; uint256 mintSupply = 0; mapping(address=>uint256) public _showMeMap; mapping(address=>uint256) public _presellMap; mapping(address=>bool) public _freeMintMap; string private _baseURIextended; event MutliMintSuccess(uint256[] tokenIDs); constructor() ERC721("Fantasy NFT", "Fantasy") { } function initTime(uint256 _startShowMeTime,uint256 _endShowMeTime, uint256 _startPreSellTime,uint256 _endPreSellTime, uint256 _startFreeMintTime,uint256 _endFreeMintTime, uint256 _startSellTime,uint256 _endSellTime) public onlyOwner { startShowMeTime=_startShowMeTime; endShowMeTime=_endShowMeTime; startPreSellTime=_startPreSellTime; endPreSellTime=_endPreSellTime; startFreeMintTime=_startFreeMintTime; endFreeMintTime=_endFreeMintTime; startSellTime=_startSellTime; endSellTime=_endSellTime; } function setMerkleRoot(bytes32 _presellRoot,bytes32 _showMeRoot,bytes32 _freeMintRoot) public onlyOwner { presellRoot=_presellRoot; showMeRoot=_showMeRoot; freeMintRoot=_freeMintRoot; } function whiteListMintNft(uint8 count,uint256 index, uint256 amount, bytes32[] calldata proof) payable public{ require(tx.origin==msg.sender); require(block.timestamp>=startPreSellTime&&block.timestamp<=endPreSellTime,"Not on whiteList mint." ); require(_presellMap[msg.sender] + count <= maxPresellCount,"Over max white Num." ); require(mintSupply + count <= mintMax ,"Over max Num." ); require(msg.value == whitePrice * count , "Need to send enough ether."); bytes32 node = keccak256(abi.encodePacked(index, msg.sender, amount)); require(MerkleProof.verify(proof, presellRoot, node), 'MerkleDistributor: Invalid proof.'); mintSupply = mintSupply + count; _presellMap[msg.sender] =_presellMap[msg.sender]+count; _mintMutiToken(msg.sender,count); } function showMeMintNft(uint8 count,uint256 index, uint256 amount, bytes32[] calldata proof) payable public{ require(tx.origin==msg.sender); require(block.timestamp>=startShowMeTime&&block.timestamp<=endShowMeTime,"Not on showMe mint." ); require(_showMeMap[msg.sender] + count <= maxShowMeMintCount,"Over max showMe mint num." ); require(mintSupply + count <= mintMax ,"Over max Num." ); require(msg.value == showMePrice * count , "Need to send enough ether."); bytes32 node = keccak256(abi.encodePacked(index, msg.sender, amount)); require(MerkleProof.verify(proof, showMeRoot, node), "MerkleDistributor: Invalid showMe proof."); mintSupply = mintSupply + count; _showMeMap[msg.sender] =_showMeMap[msg.sender]+count; _mintMutiToken(msg.sender,count); } function freeMintNft(uint256 index, uint256 amount, bytes32[] calldata proof) public{ require(tx.origin==msg.sender); require(_freeMintMap[msg.sender]==false,"Only get one free Mint"); require(block.timestamp>=startFreeMintTime&&block.timestamp<=endFreeMintTime,"Not on free mint." ); require(mintSupply + 1 <= mintMax ,"Over max Num." ); bytes32 node = keccak256(abi.encodePacked(index, msg.sender, amount)); require(MerkleProof.verify(proof, freeMintRoot, node), "MerkleDistributor: Invalid freeMint proof."); mintSupply++; _freeMintMap[msg.sender] =true; _mintMutiToken(msg.sender,1); } function publicMintNFT(uint count) payable public{ require(tx.origin==msg.sender); require(block.timestamp>=startSellTime&&block.timestamp<=endSellTime,"Not on public sell." ); require(mintSupply + count <= mintMax ,"Over max Num." ); require(msg.value == price * count , "Need to send enough ether."); mintSupply = mintSupply + count; _mintMutiToken(msg.sender,count); } function _mintMutiToken(address _to,uint count) private { uint256[] memory tokenIDs = new uint256[](count); for (uint i = 0; i < count; i++){ tokenIdCounter++; uint256 currentTokenId = tokenIdCounter; _mint( _to,currentTokenId); tokenIDs[i] = currentTokenId; } emit MutliMintSuccess(tokenIDs); } function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal override { super._beforeTokenTransfer(from, to, tokenId); } function _burn(uint256 tokenId) internal override { super._burn(tokenId); } function supportsInterface(bytes4 interfaceId) public view override returns (bool) { return super.supportsInterface(interfaceId); } function setBaseURI(string memory baseURI_) external onlyOwner() { _baseURIextended = baseURI_; } function _baseURI() internal view virtual returns (string memory) { return _baseURIextended; } function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(tokenId<=tokenIdCounter&&tokenId>0, "ERC721Metadata: URI query for nonexistent token"); string memory base = _baseURI(); return string(abi.encodePacked(base,tokenId.toString())); } function withdraw(address payable recipient) public onlyOwner { uint256 balance = address(this).balance; recipient.transfer(balance); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"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":"tokenIDs","type":"uint256[]"}],"name":"MutliMintSuccess","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":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":[{"internalType":"address","name":"","type":"address"}],"name":"_freeMintMap","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_presellMap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_showMeMap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"endFreeMintTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"endPreSellTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"endSellTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"endShowMeTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"freeMintNft","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":"uint256","name":"_startShowMeTime","type":"uint256"},{"internalType":"uint256","name":"_endShowMeTime","type":"uint256"},{"internalType":"uint256","name":"_startPreSellTime","type":"uint256"},{"internalType":"uint256","name":"_endPreSellTime","type":"uint256"},{"internalType":"uint256","name":"_startFreeMintTime","type":"uint256"},{"internalType":"uint256","name":"_endFreeMintTime","type":"uint256"},{"internalType":"uint256","name":"_startSellTime","type":"uint256"},{"internalType":"uint256","name":"_endSellTime","type":"uint256"}],"name":"initTime","outputs":[],"stateMutability":"nonpayable","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":"mintMax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"count","type":"uint256"}],"name":"publicMintNFT","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI_","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_presellRoot","type":"bytes32"},{"internalType":"bytes32","name":"_showMeRoot","type":"bytes32"},{"internalType":"bytes32","name":"_freeMintRoot","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"count","type":"uint8"},{"internalType":"uint256","name":"index","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"showMeMintNft","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"showMePrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"startFreeMintTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"startPreSellTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"startSellTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"startShowMeTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenIdCounter","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"tokenOfOwner","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":[{"internalType":"uint8","name":"count","type":"uint8"},{"internalType":"uint256","name":"index","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"whiteListMintNft","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"whitePrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address payable","name":"recipient","type":"address"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
608060405267016345785d8a000060185566d529ae9e86000060195567011c37937e080000601a55612710601b556005601c55600a601d556000601e553480156200004957600080fd5b50604080518082018252600b81526a11985b9d185cde4813919560aa1b6020808301919091528251808401909352600783526646616e7461737960c81b90830152906200009d6301ffc9a760e01b62000113565b8151620000b2906007906020850190620001e9565b508051620000c8906008906020840190620001e9565b50620000db6380ac58cd60e01b62000113565b620000ed635b5e139f60e01b62000113565b620000ff63780e9d6360e01b62000113565b506200010d90503362000197565b620002cc565b6001600160e01b03198082161415620001725760405162461bcd60e51b815260206004820152601c60248201527f4552433136353a20696e76616c696420696e7465726661636520696400000000604482015260640160405180910390fd5b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b600b80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b828054620001f7906200028f565b90600052602060002090601f0160209004810192826200021b576000855562000266565b82601f106200023657805160ff191683800117855562000266565b8280016001018555821562000266579182015b828111156200026657825182559160200191906001019062000249565b506200027492915062000278565b5090565b5b8082111562000274576000815560010162000279565b600181811c90821680620002a457607f821691505b60208210811415620002c657634e487b7160e01b600052602260045260246000fd5b50919050565b612c5980620002dc6000396000f3fe6080604052600436106102725760003560e01c80636c0360eb1161014f578063a6472b34116100c1578063e5beb5b11161007a578063e5beb5b1146106ef578063e81fa7401461070f578063e985e9c51461073f578063eac22e0914610788578063f2fde38b1461079e578063f880bf39146107be57600080fd5b8063a6472b341461065d578063a702b72d14610670578063b88d4fde14610686578063c554b78d146106a6578063c87b56dd146106b9578063d4705b62146106d957600080fd5b806393f285191161011357806393f28519146105d057806395d89b41146105e657806398bdf6f5146105fb578063a035b1fe14610611578063a22cb46514610627578063a2c611731461064757600080fd5b80636c0360eb1461055257806370a0823114610567578063715018a61461058757806382e897c81461059c5780638da5cb5b146105b257600080fd5b8063294cdf0d116101e85780634d155561116101ac5780634d1555611461049c5780634f6ccce7146104b257806351cff8d9146104d257806355f804b3146104f25780636352211e14610512578063670f89e81461053257600080fd5b8063294cdf0d146104035780632f745c59146104305780633b7f55fb1461045057806342842e0e14610466578063462be4811461048657600080fd5b8063198981e21161023a578063198981e21461034b57806320549a7f14610361578063223173da14610374578063237438e81461038a57806323b872dd146103b757806324b71ca4146103d757600080fd5b806301ffc9a71461027757806306fdde03146102ac578063081812fc146102ce578063095ea7b31461030657806318160ddd14610328575b600080fd5b34801561028357600080fd5b5061029761029236600461266c565b6107de565b60405190151581526020015b60405180910390f35b3480156102b857600080fd5b506102c1610802565b6040516102a39190612940565b3480156102da57600080fd5b506102ee6102e93660046126ef565b610894565b6040516001600160a01b0390911681526020016102a3565b34801561031257600080fd5b50610326610321366004612614565b610921565b005b34801561033457600080fd5b5061033d610a37565b6040519081526020016102a3565b34801561035757600080fd5b5061033d60115481565b61032661036f3660046127b0565b610a48565b34801561038057600080fd5b5061033d60195481565b34801561039657600080fd5b5061033d6103a53660046124ca565b601f6020526000908152604090205481565b3480156103c357600080fd5b506103266103d2366004612520565b610ca1565b3480156103e357600080fd5b5061033d6103f23660046124ca565b602080526000908152604090205481565b34801561040f57600080fd5b5061042361041e3660046124ca565b610cd2565b6040516102a391906128fc565b34801561043c57600080fd5b5061033d61044b366004612614565b610dbe565b34801561045c57600080fd5b5061033d601a5481565b34801561047257600080fd5b50610326610481366004612520565b610de7565b34801561049257600080fd5b5061033d60135481565b3480156104a857600080fd5b5061033d601b5481565b3480156104be57600080fd5b5061033d6104cd3660046126ef565b610e02565b3480156104de57600080fd5b506103266104ed3660046124ca565b610e18565b3480156104fe57600080fd5b5061032661050d3660046126a6565b610e7a565b34801561051e57600080fd5b506102ee61052d3660046126ef565b610ebb565b34801561053e57600080fd5b5061032661054d36600461275b565b610ee3565b34801561055e57600080fd5b506102c1610f33565b34801561057357600080fd5b5061033d6105823660046124ca565b610f42565b34801561059357600080fd5b50610326610fce565b3480156105a857600080fd5b5061033d60125481565b3480156105be57600080fd5b50600b546001600160a01b03166102ee565b3480156105dc57600080fd5b5061033d60165481565b3480156105f257600080fd5b506102c1611004565b34801561060757600080fd5b5061033d600f5481565b34801561061d57600080fd5b5061033d60185481565b34801561063357600080fd5b506103266106423660046125e1565b611013565b34801561065357600080fd5b5061033d60105481565b61032661066b3660046126ef565b6110d8565b34801561067c57600080fd5b5061033d60155481565b34801561069257600080fd5b506103266106a1366004612561565b6111b3565b6103266106b43660046127b0565b6111eb565b3480156106c557600080fd5b506102c16106d43660046126ef565b61142b565b3480156106e557600080fd5b5061033d60145481565b3480156106fb57600080fd5b5061032661070a366004612708565b6114e1565b34801561071b57600080fd5b5061029761072a3660046124ca565b60216020526000908152604090205460ff1681565b34801561074b57600080fd5b5061029761075a3660046124e7565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b34801561079457600080fd5b5061033d60175481565b3480156107aa57600080fd5b506103266107b93660046124ca565b6116db565b3480156107ca57600080fd5b506103266107d9366004612640565b611773565b6001600160e01b0319811660009081526020819052604081205460ff165b92915050565b60606007805461081190612ac5565b80601f016020809104026020016040519081016040528092919081815260200182805461083d90612ac5565b801561088a5780601f1061085f5761010080835404028352916020019161088a565b820191906000526020600020905b81548152906001019060200180831161086d57829003601f168201915b5050505050905090565b600061089f826117ab565b6109055760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600560205260409020546001600160a01b031690565b600061092c82610ebb565b9050806001600160a01b0316836001600160a01b0316141561099a5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016108fc565b336001600160a01b03821614806109b657506109b6813361075a565b610a285760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016108fc565b610a3283836117b8565b505050565b6000610a436002611826565b905090565b323314610a5457600080fd5b6010544210158015610a6857506011544211155b610aaa5760405162461bcd60e51b81526020600482015260136024820152722737ba1037b71039b437bba6b29036b4b73a1760691b60448201526064016108fc565b601c54336000908152601f6020526040902054610acb9060ff881690612a37565b1115610b195760405162461bcd60e51b815260206004820152601960248201527f4f766572206d61782073686f774d65206d696e74206e756d2e0000000000000060448201526064016108fc565b601b548560ff16601e54610b2d9190612a37565b1115610b4b5760405162461bcd60e51b81526004016108fc9061298a565b8460ff16601954610b5c9190612a63565b3414610b7a5760405162461bcd60e51b81526004016108fc90612953565b6000843385604051602001610b9193929190612897565b604051602081830303815290604052805190602001209050610bea83838080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600c549150849050611831565b610c475760405162461bcd60e51b815260206004820152602860248201527f4d65726b6c654469737472696275746f723a20496e76616c69642073686f774d6044820152673290383937b7b31760c11b60648201526084016108fc565b8560ff16601e54610c589190612a37565b601e55336000908152601f6020526040902054610c799060ff881690612a37565b336000818152601f6020526040902091909155610c999060ff8816611847565b505050505050565b610cab3382611929565b610cc75760405162461bcd60e51b81526004016108fc906129e6565b610a32838383611a13565b6001600160a01b038116600090815260016020526040812060609190610cf790611b94565b67ffffffffffffffff811115610d0f57610d0f612b87565b604051908082528060200260200182016040528015610d38578160200160208202803683370190505b50905060005b6001600160a01b0384166000908152600160205260409020610d5f90611b94565b811015610db7576001600160a01b0384166000908152600160205260409020610d889082611b9e565b828281518110610d9a57610d9a612b71565b602090810291909101015280610daf81612b00565b915050610d3e565b5092915050565b6001600160a01b0382166000908152600160205260408120610de09083611b9e565b9392505050565b610a32838383604051806020016040528060008152506111b3565b600080610e10600284611baa565b509392505050565b600b546001600160a01b03163314610e425760405162461bcd60e51b81526004016108fc906129b1565b60405147906001600160a01b0383169082156108fc029083906000818181858888f19350505050158015610a32573d6000803e3d6000fd5b600b546001600160a01b03163314610ea45760405162461bcd60e51b81526004016108fc906129b1565b8051610eb7906022906020840190612376565b5050565b60006107fc82604051806060016040528060298152602001612bfb6029913960029190611bc8565b600b546001600160a01b03163314610f0d5760405162461bcd60e51b81526004016108fc906129b1565b601097909755601195909555601293909355601391909155601455601555601655601755565b6060600a805461081190612ac5565b60006001600160a01b038216610fad5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016108fc565b6001600160a01b03821660009081526001602052604090206107fc90611b94565b600b546001600160a01b03163314610ff85760405162461bcd60e51b81526004016108fc906129b1565b6110026000611bd5565b565b60606008805461081190612ac5565b6001600160a01b03821633141561106c5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016108fc565b3360008181526006602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b3233146110e457600080fd5b60165442101580156110f857506017544211155b61113a5760405162461bcd60e51b81526020600482015260136024820152722737ba1037b710383ab13634b19039b2b6361760691b60448201526064016108fc565b601b5481601e5461114b9190612a37565b11156111695760405162461bcd60e51b81526004016108fc9061298a565b806018546111779190612a63565b34146111955760405162461bcd60e51b81526004016108fc90612953565b80601e546111a39190612a37565b601e556111b03382611847565b50565b6111bd3383611929565b6111d95760405162461bcd60e51b81526004016108fc906129e6565b6111e584848484611c27565b50505050565b3233146111f757600080fd5b601254421015801561120b57506013544211155b6112505760405162461bcd60e51b81526020600482015260166024820152752737ba1037b7103bb434ba32a634b9ba1036b4b73a1760511b60448201526064016108fc565b601d543360009081526020805260409020546112709060ff881690612a37565b11156112b45760405162461bcd60e51b815260206004820152601360248201527227bb32b91036b0bc103bb434ba3290273ab69760691b60448201526064016108fc565b601b548560ff16601e546112c89190612a37565b11156112e65760405162461bcd60e51b81526004016108fc9061298a565b8460ff16601a546112f79190612a63565b34146113155760405162461bcd60e51b81526004016108fc90612953565b600084338560405160200161132c93929190612897565b60405160208183030381529060405280519060200120905061138583838080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600e549150849050611831565b6113db5760405162461bcd60e51b815260206004820152602160248201527f4d65726b6c654469737472696275746f723a20496e76616c69642070726f6f666044820152601760f91b60648201526084016108fc565b8560ff16601e546113ec9190612a37565b601e5533600090815260208052604090205461140c9060ff881690612a37565b336000818152602080526040902091909155610c999060ff8816611847565b6060600f54821115801561143f5750600082115b6114a35760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016108fc565b60006114ad611ca5565b9050806114b984611cb4565b6040516020016114ca929190612868565b604051602081830303815290604052915050919050565b3233146114ed57600080fd5b3360009081526021602052604090205460ff16156115465760405162461bcd60e51b815260206004820152601660248201527513db9b1e4819d95d081bdb9948199c995948135a5b9d60521b60448201526064016108fc565b601454421015801561155a57506015544211155b61159a5760405162461bcd60e51b81526020600482015260116024820152702737ba1037b710333932b29036b4b73a1760791b60448201526064016108fc565b601b54601e546115ab906001612a37565b11156115c95760405162461bcd60e51b81526004016108fc9061298a565b60008433856040516020016115e093929190612897565b60405160208183030381529060405280519060200120905061163983838080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600d549150849050611831565b6116985760405162461bcd60e51b815260206004820152602a60248201527f4d65726b6c654469737472696275746f723a20496e76616c696420667265654d60448201526934b73a10383937b7b31760b11b60648201526084016108fc565b601e80549060006116a883612b00565b9091555050336000818152602160205260409020805460ff191660019081179091556116d49190611847565b5050505050565b600b546001600160a01b031633146117055760405162461bcd60e51b81526004016108fc906129b1565b6001600160a01b03811661176a5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016108fc565b6111b081611bd5565b600b546001600160a01b0316331461179d5760405162461bcd60e51b81526004016108fc906129b1565b600e92909255600c55600d55565b60006107fc600283611db2565b600081815260056020526040902080546001600160a01b0319166001600160a01b03841690811790915581906117ed82610ebb565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006107fc82611dbe565b60008261183e8584611dc9565b14949350505050565b60008167ffffffffffffffff81111561186257611862612b87565b60405190808252806020026020018201604052801561188b578160200160208202803683370190505b50905060005b828110156118ec57600f80549060006118a983612b00565b9091555050600f546118bb8582611e35565b808383815181106118ce576118ce612b71565b602090810291909101015250806118e481612b00565b915050611891565b507fe6a1f137ec3b92d04f7fe6be856186beb8961fb3540e66208bf6f95889eaa5258160405161191c91906128fc565b60405180910390a1505050565b6000611934826117ab565b6119955760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016108fc565b60006119a083610ebb565b9050806001600160a01b0316846001600160a01b031614806119db5750836001600160a01b03166119d084610894565b6001600160a01b0316145b80611a0b57506001600160a01b0380821660009081526006602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b0316611a2682610ebb565b6001600160a01b031614611a8e5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b60648201526084016108fc565b6001600160a01b038216611af05760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016108fc565b611afb6000826117b8565b6001600160a01b0383166000908152600160205260409020611b1d9082611f4d565b506001600160a01b0382166000908152600160205260409020611b409082611f59565b50611b4d60028284611f65565b5080826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b60006107fc825490565b6000610de08383611f7b565b6000808080611bb98686611fa5565b909450925050505b9250929050565b6000611a0b848484611fd0565b600b80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b611c32848484611a13565b611c3e8484848461201c565b6111e55760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b60648201526084016108fc565b60606022805461081190612ac5565b606081611cd85750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611d025780611cec81612b00565b9150611cfb9050600a83612a4f565b9150611cdc565b60008167ffffffffffffffff811115611d1d57611d1d612b87565b6040519080825280601f01601f191660200182016040528015611d47576020820181803683370190505b5090505b8415611a0b57611d5c600183612a82565b9150611d69600a86612b1b565b611d74906030612a37565b60f81b818381518110611d8957611d89612b71565b60200101906001600160f81b031916908160001a905350611dab600a86612a4f565b9450611d4b565b6000610de083836120ed565b60006107fc82611b94565b600081815b8451811015610e10576000858281518110611deb57611deb612b71565b60200260200101519050808311611e115760008381526020829052604090209250611e22565b600081815260208490526040902092505b5080611e2d81612b00565b915050611dce565b6001600160a01b038216611e8b5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016108fc565b611e94816117ab565b15611ee15760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016108fc565b6001600160a01b0382166000908152600160205260409020611f039082611f59565b50611f1060028284611f65565b5060405181906001600160a01b038416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6000610de0838361210c565b6000610de083836121ff565b6000611a0b84846001600160a01b03851661224e565b6000826000018281548110611f9257611f92612b71565b9060005260206000200154905092915050565b60008080611fb38585611b9e565b600081815260029690960160205260409095205494959350505050565b600082815260028401602052604081205480151580611ff45750611ff485856120ed565b83906120135760405162461bcd60e51b81526004016108fc9190612940565b50949350505050565b60006001600160a01b0384163b61203557506001611a0b565b60006120b6630a85bd0160e11b3388878760405160240161205994939291906128bf565b604051602081830303815290604052906001600160e01b0319166020820180516001600160e01b038381831617835250505050604051806060016040528060328152602001612bc9603291396001600160a01b038816919061226b565b90506000818060200190518101906120ce9190612689565b6001600160e01b031916630a85bd0160e11b1492505050949350505050565b6000610de0838360008181526001830160205260408120541515610de0565b600081815260018301602052604081205480156121f5576000612130600183612a82565b855490915060009061214490600190612a82565b90508181146121a957600086600001828154811061216457612164612b71565b906000526020600020015490508087600001848154811061218757612187612b71565b6000918252602080832090910192909255918252600188019052604090208390555b85548690806121ba576121ba612b5b565b6001900381819060005260206000200160009055905585600101600086815260200190815260200160002060009055600193505050506107fc565b60009150506107fc565b6000818152600183016020526040812054612246575081546001818101845560008481526020808220909301849055845484825282860190935260409020919091556107fc565b5060006107fc565b60008281526002840160205260408120829055611a0b8484611f59565b6060611a0b848460008585843b6122c45760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016108fc565b600080866001600160a01b031685876040516122e0919061284c565b60006040518083038185875af1925050503d806000811461231d576040519150601f19603f3d011682016040523d82523d6000602084013e612322565b606091505b509150915061233282828661233d565b979650505050505050565b6060831561234c575081610de0565b82511561235c5782518084602001fd5b8160405162461bcd60e51b81526004016108fc9190612940565b82805461238290612ac5565b90600052602060002090601f0160209004810192826123a457600085556123ea565b82601f106123bd57805160ff19168380011785556123ea565b828001600101855582156123ea579182015b828111156123ea5782518255916020019190600101906123cf565b506123f69291506123fa565b5090565b5b808211156123f657600081556001016123fb565b600067ffffffffffffffff8084111561242a5761242a612b87565b604051601f8501601f19908116603f0116810190828211818310171561245257612452612b87565b8160405280935085815286868601111561246b57600080fd5b858560208301376000602087830101525050509392505050565b60008083601f84011261249757600080fd5b50813567ffffffffffffffff8111156124af57600080fd5b6020830191508360208260051b8501011115611bc157600080fd5b6000602082840312156124dc57600080fd5b8135610de081612b9d565b600080604083850312156124fa57600080fd5b823561250581612b9d565b9150602083013561251581612b9d565b809150509250929050565b60008060006060848603121561253557600080fd5b833561254081612b9d565b9250602084013561255081612b9d565b929592945050506040919091013590565b6000806000806080858703121561257757600080fd5b843561258281612b9d565b9350602085013561259281612b9d565b925060408501359150606085013567ffffffffffffffff8111156125b557600080fd5b8501601f810187136125c657600080fd5b6125d58782356020840161240f565b91505092959194509250565b600080604083850312156125f457600080fd5b82356125ff81612b9d565b91506020830135801515811461251557600080fd5b6000806040838503121561262757600080fd5b823561263281612b9d565b946020939093013593505050565b60008060006060848603121561265557600080fd5b505081359360208301359350604090920135919050565b60006020828403121561267e57600080fd5b8135610de081612bb2565b60006020828403121561269b57600080fd5b8151610de081612bb2565b6000602082840312156126b857600080fd5b813567ffffffffffffffff8111156126cf57600080fd5b8201601f810184136126e057600080fd5b611a0b8482356020840161240f565b60006020828403121561270157600080fd5b5035919050565b6000806000806060858703121561271e57600080fd5b8435935060208501359250604085013567ffffffffffffffff81111561274357600080fd5b61274f87828801612485565b95989497509550505050565b600080600080600080600080610100898b03121561277857600080fd5b505086359860208801359850604088013597606081013597506080810135965060a0810135955060c0810135945060e0013592509050565b6000806000806000608086880312156127c857600080fd5b853560ff811681146127d957600080fd5b94506020860135935060408601359250606086013567ffffffffffffffff81111561280357600080fd5b61280f88828901612485565b969995985093965092949392505050565b60008151808452612838816020860160208601612a99565b601f01601f19169290920160200192915050565b6000825161285e818460208701612a99565b9190910192915050565b6000835161287a818460208801612a99565b83519083019061288e818360208801612a99565b01949350505050565b92835260609190911b6bffffffffffffffffffffffff19166020830152603482015260540190565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906128f290830184612820565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b8181101561293457835183529284019291840191600101612918565b50909695505050505050565b602081526000610de06020830184612820565b6020808252601a908201527f4e65656420746f2073656e6420656e6f7567682065746865722e000000000000604082015260600190565b6020808252600d908201526c27bb32b91036b0bc10273ab69760991b604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b60008219821115612a4a57612a4a612b2f565b500190565b600082612a5e57612a5e612b45565b500490565b6000816000190483118215151615612a7d57612a7d612b2f565b500290565b600082821015612a9457612a94612b2f565b500390565b60005b83811015612ab4578181015183820152602001612a9c565b838111156111e55750506000910152565b600181811c90821680612ad957607f821691505b60208210811415612afa57634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415612b1457612b14612b2f565b5060010190565b600082612b2a57612b2a612b45565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b03811681146111b057600080fd5b6001600160e01b0319811681146111b057600080fdfe4552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e7465724552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656ea2646970667358221220fccf1d29b3a5a1484758890e2277a0a935dfe03973c7ad8655ea52bea9e662c464736f6c63430008070033
Deployed Bytecode
0x6080604052600436106102725760003560e01c80636c0360eb1161014f578063a6472b34116100c1578063e5beb5b11161007a578063e5beb5b1146106ef578063e81fa7401461070f578063e985e9c51461073f578063eac22e0914610788578063f2fde38b1461079e578063f880bf39146107be57600080fd5b8063a6472b341461065d578063a702b72d14610670578063b88d4fde14610686578063c554b78d146106a6578063c87b56dd146106b9578063d4705b62146106d957600080fd5b806393f285191161011357806393f28519146105d057806395d89b41146105e657806398bdf6f5146105fb578063a035b1fe14610611578063a22cb46514610627578063a2c611731461064757600080fd5b80636c0360eb1461055257806370a0823114610567578063715018a61461058757806382e897c81461059c5780638da5cb5b146105b257600080fd5b8063294cdf0d116101e85780634d155561116101ac5780634d1555611461049c5780634f6ccce7146104b257806351cff8d9146104d257806355f804b3146104f25780636352211e14610512578063670f89e81461053257600080fd5b8063294cdf0d146104035780632f745c59146104305780633b7f55fb1461045057806342842e0e14610466578063462be4811461048657600080fd5b8063198981e21161023a578063198981e21461034b57806320549a7f14610361578063223173da14610374578063237438e81461038a57806323b872dd146103b757806324b71ca4146103d757600080fd5b806301ffc9a71461027757806306fdde03146102ac578063081812fc146102ce578063095ea7b31461030657806318160ddd14610328575b600080fd5b34801561028357600080fd5b5061029761029236600461266c565b6107de565b60405190151581526020015b60405180910390f35b3480156102b857600080fd5b506102c1610802565b6040516102a39190612940565b3480156102da57600080fd5b506102ee6102e93660046126ef565b610894565b6040516001600160a01b0390911681526020016102a3565b34801561031257600080fd5b50610326610321366004612614565b610921565b005b34801561033457600080fd5b5061033d610a37565b6040519081526020016102a3565b34801561035757600080fd5b5061033d60115481565b61032661036f3660046127b0565b610a48565b34801561038057600080fd5b5061033d60195481565b34801561039657600080fd5b5061033d6103a53660046124ca565b601f6020526000908152604090205481565b3480156103c357600080fd5b506103266103d2366004612520565b610ca1565b3480156103e357600080fd5b5061033d6103f23660046124ca565b602080526000908152604090205481565b34801561040f57600080fd5b5061042361041e3660046124ca565b610cd2565b6040516102a391906128fc565b34801561043c57600080fd5b5061033d61044b366004612614565b610dbe565b34801561045c57600080fd5b5061033d601a5481565b34801561047257600080fd5b50610326610481366004612520565b610de7565b34801561049257600080fd5b5061033d60135481565b3480156104a857600080fd5b5061033d601b5481565b3480156104be57600080fd5b5061033d6104cd3660046126ef565b610e02565b3480156104de57600080fd5b506103266104ed3660046124ca565b610e18565b3480156104fe57600080fd5b5061032661050d3660046126a6565b610e7a565b34801561051e57600080fd5b506102ee61052d3660046126ef565b610ebb565b34801561053e57600080fd5b5061032661054d36600461275b565b610ee3565b34801561055e57600080fd5b506102c1610f33565b34801561057357600080fd5b5061033d6105823660046124ca565b610f42565b34801561059357600080fd5b50610326610fce565b3480156105a857600080fd5b5061033d60125481565b3480156105be57600080fd5b50600b546001600160a01b03166102ee565b3480156105dc57600080fd5b5061033d60165481565b3480156105f257600080fd5b506102c1611004565b34801561060757600080fd5b5061033d600f5481565b34801561061d57600080fd5b5061033d60185481565b34801561063357600080fd5b506103266106423660046125e1565b611013565b34801561065357600080fd5b5061033d60105481565b61032661066b3660046126ef565b6110d8565b34801561067c57600080fd5b5061033d60155481565b34801561069257600080fd5b506103266106a1366004612561565b6111b3565b6103266106b43660046127b0565b6111eb565b3480156106c557600080fd5b506102c16106d43660046126ef565b61142b565b3480156106e557600080fd5b5061033d60145481565b3480156106fb57600080fd5b5061032661070a366004612708565b6114e1565b34801561071b57600080fd5b5061029761072a3660046124ca565b60216020526000908152604090205460ff1681565b34801561074b57600080fd5b5061029761075a3660046124e7565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b34801561079457600080fd5b5061033d60175481565b3480156107aa57600080fd5b506103266107b93660046124ca565b6116db565b3480156107ca57600080fd5b506103266107d9366004612640565b611773565b6001600160e01b0319811660009081526020819052604081205460ff165b92915050565b60606007805461081190612ac5565b80601f016020809104026020016040519081016040528092919081815260200182805461083d90612ac5565b801561088a5780601f1061085f5761010080835404028352916020019161088a565b820191906000526020600020905b81548152906001019060200180831161086d57829003601f168201915b5050505050905090565b600061089f826117ab565b6109055760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600560205260409020546001600160a01b031690565b600061092c82610ebb565b9050806001600160a01b0316836001600160a01b0316141561099a5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016108fc565b336001600160a01b03821614806109b657506109b6813361075a565b610a285760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016108fc565b610a3283836117b8565b505050565b6000610a436002611826565b905090565b323314610a5457600080fd5b6010544210158015610a6857506011544211155b610aaa5760405162461bcd60e51b81526020600482015260136024820152722737ba1037b71039b437bba6b29036b4b73a1760691b60448201526064016108fc565b601c54336000908152601f6020526040902054610acb9060ff881690612a37565b1115610b195760405162461bcd60e51b815260206004820152601960248201527f4f766572206d61782073686f774d65206d696e74206e756d2e0000000000000060448201526064016108fc565b601b548560ff16601e54610b2d9190612a37565b1115610b4b5760405162461bcd60e51b81526004016108fc9061298a565b8460ff16601954610b5c9190612a63565b3414610b7a5760405162461bcd60e51b81526004016108fc90612953565b6000843385604051602001610b9193929190612897565b604051602081830303815290604052805190602001209050610bea83838080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600c549150849050611831565b610c475760405162461bcd60e51b815260206004820152602860248201527f4d65726b6c654469737472696275746f723a20496e76616c69642073686f774d6044820152673290383937b7b31760c11b60648201526084016108fc565b8560ff16601e54610c589190612a37565b601e55336000908152601f6020526040902054610c799060ff881690612a37565b336000818152601f6020526040902091909155610c999060ff8816611847565b505050505050565b610cab3382611929565b610cc75760405162461bcd60e51b81526004016108fc906129e6565b610a32838383611a13565b6001600160a01b038116600090815260016020526040812060609190610cf790611b94565b67ffffffffffffffff811115610d0f57610d0f612b87565b604051908082528060200260200182016040528015610d38578160200160208202803683370190505b50905060005b6001600160a01b0384166000908152600160205260409020610d5f90611b94565b811015610db7576001600160a01b0384166000908152600160205260409020610d889082611b9e565b828281518110610d9a57610d9a612b71565b602090810291909101015280610daf81612b00565b915050610d3e565b5092915050565b6001600160a01b0382166000908152600160205260408120610de09083611b9e565b9392505050565b610a32838383604051806020016040528060008152506111b3565b600080610e10600284611baa565b509392505050565b600b546001600160a01b03163314610e425760405162461bcd60e51b81526004016108fc906129b1565b60405147906001600160a01b0383169082156108fc029083906000818181858888f19350505050158015610a32573d6000803e3d6000fd5b600b546001600160a01b03163314610ea45760405162461bcd60e51b81526004016108fc906129b1565b8051610eb7906022906020840190612376565b5050565b60006107fc82604051806060016040528060298152602001612bfb6029913960029190611bc8565b600b546001600160a01b03163314610f0d5760405162461bcd60e51b81526004016108fc906129b1565b601097909755601195909555601293909355601391909155601455601555601655601755565b6060600a805461081190612ac5565b60006001600160a01b038216610fad5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016108fc565b6001600160a01b03821660009081526001602052604090206107fc90611b94565b600b546001600160a01b03163314610ff85760405162461bcd60e51b81526004016108fc906129b1565b6110026000611bd5565b565b60606008805461081190612ac5565b6001600160a01b03821633141561106c5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016108fc565b3360008181526006602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b3233146110e457600080fd5b60165442101580156110f857506017544211155b61113a5760405162461bcd60e51b81526020600482015260136024820152722737ba1037b710383ab13634b19039b2b6361760691b60448201526064016108fc565b601b5481601e5461114b9190612a37565b11156111695760405162461bcd60e51b81526004016108fc9061298a565b806018546111779190612a63565b34146111955760405162461bcd60e51b81526004016108fc90612953565b80601e546111a39190612a37565b601e556111b03382611847565b50565b6111bd3383611929565b6111d95760405162461bcd60e51b81526004016108fc906129e6565b6111e584848484611c27565b50505050565b3233146111f757600080fd5b601254421015801561120b57506013544211155b6112505760405162461bcd60e51b81526020600482015260166024820152752737ba1037b7103bb434ba32a634b9ba1036b4b73a1760511b60448201526064016108fc565b601d543360009081526020805260409020546112709060ff881690612a37565b11156112b45760405162461bcd60e51b815260206004820152601360248201527227bb32b91036b0bc103bb434ba3290273ab69760691b60448201526064016108fc565b601b548560ff16601e546112c89190612a37565b11156112e65760405162461bcd60e51b81526004016108fc9061298a565b8460ff16601a546112f79190612a63565b34146113155760405162461bcd60e51b81526004016108fc90612953565b600084338560405160200161132c93929190612897565b60405160208183030381529060405280519060200120905061138583838080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600e549150849050611831565b6113db5760405162461bcd60e51b815260206004820152602160248201527f4d65726b6c654469737472696275746f723a20496e76616c69642070726f6f666044820152601760f91b60648201526084016108fc565b8560ff16601e546113ec9190612a37565b601e5533600090815260208052604090205461140c9060ff881690612a37565b336000818152602080526040902091909155610c999060ff8816611847565b6060600f54821115801561143f5750600082115b6114a35760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016108fc565b60006114ad611ca5565b9050806114b984611cb4565b6040516020016114ca929190612868565b604051602081830303815290604052915050919050565b3233146114ed57600080fd5b3360009081526021602052604090205460ff16156115465760405162461bcd60e51b815260206004820152601660248201527513db9b1e4819d95d081bdb9948199c995948135a5b9d60521b60448201526064016108fc565b601454421015801561155a57506015544211155b61159a5760405162461bcd60e51b81526020600482015260116024820152702737ba1037b710333932b29036b4b73a1760791b60448201526064016108fc565b601b54601e546115ab906001612a37565b11156115c95760405162461bcd60e51b81526004016108fc9061298a565b60008433856040516020016115e093929190612897565b60405160208183030381529060405280519060200120905061163983838080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600d549150849050611831565b6116985760405162461bcd60e51b815260206004820152602a60248201527f4d65726b6c654469737472696275746f723a20496e76616c696420667265654d60448201526934b73a10383937b7b31760b11b60648201526084016108fc565b601e80549060006116a883612b00565b9091555050336000818152602160205260409020805460ff191660019081179091556116d49190611847565b5050505050565b600b546001600160a01b031633146117055760405162461bcd60e51b81526004016108fc906129b1565b6001600160a01b03811661176a5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016108fc565b6111b081611bd5565b600b546001600160a01b0316331461179d5760405162461bcd60e51b81526004016108fc906129b1565b600e92909255600c55600d55565b60006107fc600283611db2565b600081815260056020526040902080546001600160a01b0319166001600160a01b03841690811790915581906117ed82610ebb565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006107fc82611dbe565b60008261183e8584611dc9565b14949350505050565b60008167ffffffffffffffff81111561186257611862612b87565b60405190808252806020026020018201604052801561188b578160200160208202803683370190505b50905060005b828110156118ec57600f80549060006118a983612b00565b9091555050600f546118bb8582611e35565b808383815181106118ce576118ce612b71565b602090810291909101015250806118e481612b00565b915050611891565b507fe6a1f137ec3b92d04f7fe6be856186beb8961fb3540e66208bf6f95889eaa5258160405161191c91906128fc565b60405180910390a1505050565b6000611934826117ab565b6119955760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016108fc565b60006119a083610ebb565b9050806001600160a01b0316846001600160a01b031614806119db5750836001600160a01b03166119d084610894565b6001600160a01b0316145b80611a0b57506001600160a01b0380821660009081526006602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b0316611a2682610ebb565b6001600160a01b031614611a8e5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b60648201526084016108fc565b6001600160a01b038216611af05760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016108fc565b611afb6000826117b8565b6001600160a01b0383166000908152600160205260409020611b1d9082611f4d565b506001600160a01b0382166000908152600160205260409020611b409082611f59565b50611b4d60028284611f65565b5080826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b60006107fc825490565b6000610de08383611f7b565b6000808080611bb98686611fa5565b909450925050505b9250929050565b6000611a0b848484611fd0565b600b80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b611c32848484611a13565b611c3e8484848461201c565b6111e55760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b60648201526084016108fc565b60606022805461081190612ac5565b606081611cd85750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611d025780611cec81612b00565b9150611cfb9050600a83612a4f565b9150611cdc565b60008167ffffffffffffffff811115611d1d57611d1d612b87565b6040519080825280601f01601f191660200182016040528015611d47576020820181803683370190505b5090505b8415611a0b57611d5c600183612a82565b9150611d69600a86612b1b565b611d74906030612a37565b60f81b818381518110611d8957611d89612b71565b60200101906001600160f81b031916908160001a905350611dab600a86612a4f565b9450611d4b565b6000610de083836120ed565b60006107fc82611b94565b600081815b8451811015610e10576000858281518110611deb57611deb612b71565b60200260200101519050808311611e115760008381526020829052604090209250611e22565b600081815260208490526040902092505b5080611e2d81612b00565b915050611dce565b6001600160a01b038216611e8b5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016108fc565b611e94816117ab565b15611ee15760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016108fc565b6001600160a01b0382166000908152600160205260409020611f039082611f59565b50611f1060028284611f65565b5060405181906001600160a01b038416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6000610de0838361210c565b6000610de083836121ff565b6000611a0b84846001600160a01b03851661224e565b6000826000018281548110611f9257611f92612b71565b9060005260206000200154905092915050565b60008080611fb38585611b9e565b600081815260029690960160205260409095205494959350505050565b600082815260028401602052604081205480151580611ff45750611ff485856120ed565b83906120135760405162461bcd60e51b81526004016108fc9190612940565b50949350505050565b60006001600160a01b0384163b61203557506001611a0b565b60006120b6630a85bd0160e11b3388878760405160240161205994939291906128bf565b604051602081830303815290604052906001600160e01b0319166020820180516001600160e01b038381831617835250505050604051806060016040528060328152602001612bc9603291396001600160a01b038816919061226b565b90506000818060200190518101906120ce9190612689565b6001600160e01b031916630a85bd0160e11b1492505050949350505050565b6000610de0838360008181526001830160205260408120541515610de0565b600081815260018301602052604081205480156121f5576000612130600183612a82565b855490915060009061214490600190612a82565b90508181146121a957600086600001828154811061216457612164612b71565b906000526020600020015490508087600001848154811061218757612187612b71565b6000918252602080832090910192909255918252600188019052604090208390555b85548690806121ba576121ba612b5b565b6001900381819060005260206000200160009055905585600101600086815260200190815260200160002060009055600193505050506107fc565b60009150506107fc565b6000818152600183016020526040812054612246575081546001818101845560008481526020808220909301849055845484825282860190935260409020919091556107fc565b5060006107fc565b60008281526002840160205260408120829055611a0b8484611f59565b6060611a0b848460008585843b6122c45760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016108fc565b600080866001600160a01b031685876040516122e0919061284c565b60006040518083038185875af1925050503d806000811461231d576040519150601f19603f3d011682016040523d82523d6000602084013e612322565b606091505b509150915061233282828661233d565b979650505050505050565b6060831561234c575081610de0565b82511561235c5782518084602001fd5b8160405162461bcd60e51b81526004016108fc9190612940565b82805461238290612ac5565b90600052602060002090601f0160209004810192826123a457600085556123ea565b82601f106123bd57805160ff19168380011785556123ea565b828001600101855582156123ea579182015b828111156123ea5782518255916020019190600101906123cf565b506123f69291506123fa565b5090565b5b808211156123f657600081556001016123fb565b600067ffffffffffffffff8084111561242a5761242a612b87565b604051601f8501601f19908116603f0116810190828211818310171561245257612452612b87565b8160405280935085815286868601111561246b57600080fd5b858560208301376000602087830101525050509392505050565b60008083601f84011261249757600080fd5b50813567ffffffffffffffff8111156124af57600080fd5b6020830191508360208260051b8501011115611bc157600080fd5b6000602082840312156124dc57600080fd5b8135610de081612b9d565b600080604083850312156124fa57600080fd5b823561250581612b9d565b9150602083013561251581612b9d565b809150509250929050565b60008060006060848603121561253557600080fd5b833561254081612b9d565b9250602084013561255081612b9d565b929592945050506040919091013590565b6000806000806080858703121561257757600080fd5b843561258281612b9d565b9350602085013561259281612b9d565b925060408501359150606085013567ffffffffffffffff8111156125b557600080fd5b8501601f810187136125c657600080fd5b6125d58782356020840161240f565b91505092959194509250565b600080604083850312156125f457600080fd5b82356125ff81612b9d565b91506020830135801515811461251557600080fd5b6000806040838503121561262757600080fd5b823561263281612b9d565b946020939093013593505050565b60008060006060848603121561265557600080fd5b505081359360208301359350604090920135919050565b60006020828403121561267e57600080fd5b8135610de081612bb2565b60006020828403121561269b57600080fd5b8151610de081612bb2565b6000602082840312156126b857600080fd5b813567ffffffffffffffff8111156126cf57600080fd5b8201601f810184136126e057600080fd5b611a0b8482356020840161240f565b60006020828403121561270157600080fd5b5035919050565b6000806000806060858703121561271e57600080fd5b8435935060208501359250604085013567ffffffffffffffff81111561274357600080fd5b61274f87828801612485565b95989497509550505050565b600080600080600080600080610100898b03121561277857600080fd5b505086359860208801359850604088013597606081013597506080810135965060a0810135955060c0810135945060e0013592509050565b6000806000806000608086880312156127c857600080fd5b853560ff811681146127d957600080fd5b94506020860135935060408601359250606086013567ffffffffffffffff81111561280357600080fd5b61280f88828901612485565b969995985093965092949392505050565b60008151808452612838816020860160208601612a99565b601f01601f19169290920160200192915050565b6000825161285e818460208701612a99565b9190910192915050565b6000835161287a818460208801612a99565b83519083019061288e818360208801612a99565b01949350505050565b92835260609190911b6bffffffffffffffffffffffff19166020830152603482015260540190565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906128f290830184612820565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b8181101561293457835183529284019291840191600101612918565b50909695505050505050565b602081526000610de06020830184612820565b6020808252601a908201527f4e65656420746f2073656e6420656e6f7567682065746865722e000000000000604082015260600190565b6020808252600d908201526c27bb32b91036b0bc10273ab69760991b604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b60008219821115612a4a57612a4a612b2f565b500190565b600082612a5e57612a5e612b45565b500490565b6000816000190483118215151615612a7d57612a7d612b2f565b500290565b600082821015612a9457612a94612b2f565b500390565b60005b83811015612ab4578181015183820152602001612a9c565b838111156111e55750506000910152565b600181811c90821680612ad957607f821691505b60208210811415612afa57634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415612b1457612b14612b2f565b5060010190565b600082612b2a57612b2a612b45565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b03811681146111b057600080fd5b6001600160e01b0319811681146111b057600080fdfe4552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e7465724552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656ea2646970667358221220fccf1d29b3a5a1484758890e2277a0a935dfe03973c7ad8655ea52bea9e662c464736f6c63430008070033
Deployed Bytecode Sourcemap
67510:6552:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;73087:186;;;;;;;;;;-1:-1:-1;73087:186:0;;;;;:::i;:::-;;:::i;:::-;;;10256:14:1;;10249:22;10231:41;;10219:2;10204:18;73087:186:0;;;;;;;;50702:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;53830:221::-;;;;;;;;;;-1:-1:-1;53830:221:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;8917:32:1;;;8899:51;;8887:2;8872:18;53830:221:0;8753:203:1;53360:404:0;;;;;;;;;;-1:-1:-1;53360:404:0;;;;;:::i;:::-;;:::i;:::-;;52838:211;;;;;;;;;;;;;:::i;:::-;;;21755:25:1;;;21743:2;21728:18;52838:211:0;21609:177:1;67805:28:0;;;;;;;;;;;;;;;;70352:858;;;;;;:::i;:::-;;:::i;68104:33::-;;;;;;;;;;;;;;;;68341:43;;;;;;;;;;-1:-1:-1;68341:43:0;;;;;:::i;:::-;;;;;;;;;;;;;;54720:305;;;;;;;;;;-1:-1:-1;54720:305:0;;;;;:::i;:::-;;:::i;68391:44::-;;;;;;;;;;-1:-1:-1;68391:44:0;;;;;:::i;:::-;;;;;;;;;;;;;;52438:312;;;;;;;;;;-1:-1:-1;52438:312:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;52258:162::-;;;;;;;;;;-1:-1:-1;52258:162:0;;;;;:::i;:::-;;:::i;68146:32::-;;;;;;;;;;;;;;;;55096:151;;;;;;;;;;-1:-1:-1;55096:151:0;;;;;:::i;:::-;;:::i;67880:29::-;;;;;;;;;;;;;;;;68187:30;;;;;;;;;;;;;;;;53126:172;;;;;;;;;;-1:-1:-1;53126:172:0;;;;;:::i;:::-;;:::i;73891:158::-;;;;;;;;;;-1:-1:-1;73891:158:0;;;;;:::i;:::-;;:::i;73283:119::-;;;;;;;;;;-1:-1:-1;73283:119:0;;;;;:::i;:::-;;:::i;50458:177::-;;;;;;;;;;-1:-1:-1;50458:177:0;;;;;:::i;:::-;;:::i;68664:592::-;;;;;;;;;;-1:-1:-1;68664:592:0;;;;;:::i;:::-;;:::i;52077:97::-;;;;;;;;;;;;;:::i;50175:221::-;;;;;;;;;;-1:-1:-1;50175:221:0;;;;;:::i;:::-;;:::i;65049:94::-;;;;;;;;;;;;;:::i;67842:31::-;;;;;;;;;;;;;;;;64398:87;;;;;;;;;;-1:-1:-1;64471:6:0;;-1:-1:-1;;;;;64471:6:0;64398:87;;67998:28;;;;;;;;;;;;;;;;50871:104;;;;;;;;;;;;;:::i;67730:29::-;;;;;;;;;;;;;;;;68068:27;;;;;;;;;;;;;;;;54123:295;;;;;;;;;;-1:-1:-1;54123:295:0;;;;;:::i;:::-;;:::i;67768:30::-;;;;;;;;;;;;;;;;71915:433;;;;;;:::i;:::-;;:::i;67957:30::-;;;;;;;;;;;;;;;;55318:285;;;;;;;;;;-1:-1:-1;55318:285:0;;;;;:::i;:::-;;:::i;69491:853::-;;;;;;:::i;:::-;;:::i;73555:328::-;;;;;;;;;;-1:-1:-1;73555:328:0;;;;;:::i;:::-;;:::i;67918:32::-;;;;;;;;;;;;;;;;71218:684;;;;;;;;;;-1:-1:-1;71218:684:0;;;;;:::i;:::-;;:::i;68446:42::-;;;;;;;;;;-1:-1:-1;68446:42:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;54489:164;;;;;;;;;;-1:-1:-1;54489:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;54610:25:0;;;54586:4;54610:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;54489:164;68033:26;;;;;;;;;;;;;;;;65298:192;;;;;;;;;;-1:-1:-1;65298:192:0;;;;;:::i;:::-;;:::i;69264:217::-;;;;;;;;;;-1:-1:-1;69264:217:0;;;;;:::i;:::-;;:::i;73087:186::-;-1:-1:-1;;;;;;45997:33:0;;73200:4;45997:33;;;;;;;;;;;;;73229:36;73222:43;73087:186;-1:-1:-1;;73087:186:0:o;50702:100::-;50756:13;50789:5;50782:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50702:100;:::o;53830:221::-;53906:7;53934:16;53942:7;53934;:16::i;:::-;53926:73;;;;-1:-1:-1;;;53926:73:0;;16820:2:1;53926:73:0;;;16802:21:1;16859:2;16839:18;;;16832:30;16898:34;16878:18;;;16871:62;-1:-1:-1;;;16949:18:1;;;16942:42;17001:19;;53926:73:0;;;;;;;;;-1:-1:-1;54019:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;54019:24:0;;53830:221::o;53360:404::-;53441:13;53457:23;53472:7;53457:14;:23::i;:::-;53441:39;;53505:5;-1:-1:-1;;;;;53499:11:0;:2;-1:-1:-1;;;;;53499:11:0;;;53491:57;;;;-1:-1:-1;;;53491:57:0;;19934:2:1;53491:57:0;;;19916:21:1;19973:2;19953:18;;;19946:30;20012:34;19992:18;;;19985:62;-1:-1:-1;;;20063:18:1;;;20056:31;20104:19;;53491:57:0;19732:397:1;53491:57:0;21720:10;-1:-1:-1;;;;;53569:21:0;;;;:69;;-1:-1:-1;53594:44:0;53618:5;21720:10;54489:164;:::i;53594:44::-;53561:161;;;;-1:-1:-1;;;53561:161:0;;14579:2:1;53561:161:0;;;14561:21:1;14618:2;14598:18;;;14591:30;14657:34;14637:18;;;14630:62;14728:26;14708:18;;;14701:54;14772:19;;53561:161:0;14377:420:1;53561:161:0;53735:21;53744:2;53748:7;53735:8;:21::i;:::-;53430:334;53360:404;;:::o;52838:211::-;52899:7;53020:21;:12;:19;:21::i;:::-;53013:28;;52838:211;:::o;70352:858::-;70477:9;70488:10;70477:21;70469:30;;;;;;70535:15;;70518;:32;;:64;;;;;70569:13;;70552:15;:30;;70518:64;70510:96;;;;-1:-1:-1;;;70510:96:0;;21112:2:1;70510:96:0;;;21094:21:1;21151:2;21131:18;;;21124:30;-1:-1:-1;;;21170:18:1;;;21163:49;21229:18;;70510:96:0;20910:343:1;70510:96:0;70659:18;;70636:10;70625:22;;;;:10;:22;;;;;;:30;;;;;;;:::i;:::-;:52;;70617:90;;;;-1:-1:-1;;;70617:90:0;;16105:2:1;70617:90:0;;;16087:21:1;16144:2;16124:18;;;16117:30;16183:27;16163:18;;;16156:55;16228:18;;70617:90:0;15903:349:1;70617:90:0;70748:7;;70739:5;70726:18;;:10;;:18;;;;:::i;:::-;:29;;70718:56;;;;-1:-1:-1;;;70718:56:0;;;;;;;:::i;:::-;70820:5;70806:19;;:11;;:19;;;;:::i;:::-;70793:9;:32;70785:72;;;;-1:-1:-1;;;70785:72:0;;;;;;;:::i;:::-;70875:12;70917:5;70924:10;70936:6;70900:43;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;70890:54;;;;;;70875:69;;70963:43;70982:5;;70963:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;70989:10:0;;;-1:-1:-1;71001:4:0;;-1:-1:-1;70963:18:0;:43::i;:::-;70955:96;;;;-1:-1:-1;;;70955:96:0;;18698:2:1;70955:96:0;;;18680:21:1;18737:2;18717:18;;;18710:30;18776:34;18756:18;;;18749:62;-1:-1:-1;;;18827:18:1;;;18820:38;18875:19;;70955:96:0;18496:404:1;70955:96:0;71090:5;71077:18;;:10;;:18;;;;:::i;:::-;71064:10;:31;71141:10;71130:22;;;;:10;:22;;;;;;:28;;;;;;;:::i;:::-;71117:10;71106:22;;;;:10;:22;;;;;:52;;;;71170:32;;;;;:14;:32::i;:::-;70458:752;70352:858;;;;;:::o;54720:305::-;54881:41;21720:10;54914:7;54881:18;:41::i;:::-;54873:103;;;;-1:-1:-1;;;54873:103:0;;;;;;;:::i;:::-;54989:28;54999:4;55005:2;55009:7;54989:9;:28::i;52438:312::-;-1:-1:-1;;;;;52569:20:0;;52534;52569;;;:13;:20;;;;;52505:16;;52534:20;52569:29;;:27;:29::i;:::-;52555:44;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;52555:44:0;;52534:65;;52614:9;52610:112;-1:-1:-1;;;;;52628:20:0;;;;;;:13;:20;;;;;:29;;:27;:29::i;:::-;52626:1;:31;52610:112;;;-1:-1:-1;;;;;52684:20:0;;;;;;:13;:20;;;;;:26;;52708:1;52684:23;:26::i;:::-;52677:3;52681:1;52677:6;;;;;;;;:::i;:::-;;;;;;;;;;:33;52658:3;;;;:::i;:::-;;;;52610:112;;;-1:-1:-1;52739:3:0;52438:312;-1:-1:-1;;52438:312:0:o;52258:162::-;-1:-1:-1;;;;;52382:20:0;;52355:7;52382:20;;;:13;:20;;;;;:30;;52406:5;52382:23;:30::i;:::-;52375:37;52258:162;-1:-1:-1;;;52258:162:0:o;55096:151::-;55200:39;55217:4;55223:2;55227:7;55200:39;;;;;;;;;;;;:16;:39::i;53126:172::-;53201:7;;53243:22;:12;53259:5;53243:15;:22::i;:::-;-1:-1:-1;53221:44:0;53126:172;-1:-1:-1;;;53126:172:0:o;73891:158::-;64471:6;;-1:-1:-1;;;;;64471:6:0;21720:10;64618:23;64610:68;;;;-1:-1:-1;;;64610:68:0;;;;;;;:::i;:::-;74014:27:::1;::::0;73982:21:::1;::::0;-1:-1:-1;;;;;74014:18:0;::::1;::::0;:27;::::1;;;::::0;73982:21;;73964:15:::1;74014:27:::0;73964:15;74014:27;73982:21;74014:18;:27;::::1;;;;;;;;;;;;;::::0;::::1;;;;73283:119:::0;64471:6;;-1:-1:-1;;;;;64471:6:0;21720:10;64618:23;64610:68;;;;-1:-1:-1;;;64610:68:0;;;;;;;:::i;:::-;73363:27;;::::1;::::0;:16:::1;::::0;:27:::1;::::0;::::1;::::0;::::1;:::i;:::-;;73283:119:::0;:::o;50458:177::-;50530:7;50557:70;50574:7;50557:70;;;;;;;;;;;;;;;;;:12;;:70;:16;:70::i;68664:592::-;64471:6;;-1:-1:-1;;;;;64471:6:0;21720:10;64618:23;64610:68;;;;-1:-1:-1;;;64610:68:0;;;;;;;:::i;:::-;68913:15:::1;:32:::0;;;;68956:13:::1;:28:::0;;;;68997:16:::1;:34:::0;;;;69042:14:::1;:30:::0;;;;69093:17:::1;:36:::0;69140:15:::1;:32:::0;69185:13:::1;:28:::0;69224:11:::1;:24:::0;68664:592::o;52077:97::-;52125:13;52158:8;52151:15;;;;;:::i;50175:221::-;50247:7;-1:-1:-1;;;;;50275:19:0;;50267:74;;;;-1:-1:-1;;;50267:74:0;;15004:2:1;50267:74:0;;;14986:21:1;15043:2;15023:18;;;15016:30;15082:34;15062:18;;;15055:62;-1:-1:-1;;;15133:18:1;;;15126:40;15183:19;;50267:74:0;14802:406:1;50267:74:0;-1:-1:-1;;;;;50359:20:0;;;;;;:13;:20;;;;;:29;;:27;:29::i;65049:94::-;64471:6;;-1:-1:-1;;;;;64471:6:0;21720:10;64618:23;64610:68;;;;-1:-1:-1;;;64610:68:0;;;;;;;:::i;:::-;65114:21:::1;65132:1;65114:9;:21::i;:::-;65049:94::o:0;50871:104::-;50927:13;50960:7;50953:14;;;;;:::i;54123:295::-;-1:-1:-1;;;;;54226:24:0;;21720:10;54226:24;;54218:62;;;;-1:-1:-1;;;54218:62:0;;12652:2:1;54218:62:0;;;12634:21:1;12691:2;12671:18;;;12664:30;12730:27;12710:18;;;12703:55;12775:18;;54218:62:0;12450:349:1;54218:62:0;21720:10;54293:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;54293:42:0;;;;;;;;;;;;:53;;-1:-1:-1;;54293:53:0;;;;;;;;;;54362:48;;10231:41:1;;;54293:42:0;;21720:10;54362:48;;10204:18:1;54362:48:0;;;;;;;54123:295;;:::o;71915:433::-;71983:9;71994:10;71983:21;71975:30;;;;;;72041:13;;72024:15;:30;;:60;;;;;72073:11;;72056:15;:28;;72024:60;72016:92;;;;-1:-1:-1;;;72016:92:0;;15415:2:1;72016:92:0;;;15397:21:1;15454:2;15434:18;;;15427:30;-1:-1:-1;;;15473:18:1;;;15466:49;15532:18;;72016:92:0;15213:343:1;72016:92:0;72149:7;;72140:5;72127:10;;:18;;;;:::i;:::-;:29;;72119:56;;;;-1:-1:-1;;;72119:56:0;;;;;;;:::i;:::-;72215:5;72207;;:13;;;;:::i;:::-;72194:9;:26;72186:66;;;;-1:-1:-1;;;72186:66:0;;;;;;;:::i;:::-;72291:5;72278:10;;:18;;;;:::i;:::-;72265:10;:31;72308:32;72323:10;72334:5;72308:14;:32::i;:::-;71915:433;:::o;55318:285::-;55450:41;21720:10;55483:7;55450:18;:41::i;:::-;55442:103;;;;-1:-1:-1;;;55442:103:0;;;;;;;:::i;:::-;55556:39;55570:4;55576:2;55580:7;55589:5;55556:13;:39::i;:::-;55318:285;;;;:::o;69491:853::-;69619:9;69630:10;69619:21;69611:30;;;;;;69677:16;;69660:15;:33;;:66;;;;;69712:14;;69695:15;:31;;69660:66;69652:101;;;;-1:-1:-1;;;69652:101:0;;13826:2:1;69652:101:0;;;13808:21:1;13865:2;13845:18;;;13838:30;-1:-1:-1;;;13884:18:1;;;13877:52;13946:18;;69652:101:0;13624:346:1;69652:101:0;69807:15;;69784:10;69772:23;;;;:11;:23;;;;;;:31;;;;;;;:::i;:::-;:50;;69764:82;;;;-1:-1:-1;;;69764:82:0;;17940:2:1;69764:82:0;;;17922:21:1;17979:2;17959:18;;;17952:30;-1:-1:-1;;;17998:18:1;;;17991:49;18057:18;;69764:82:0;17738:343:1;69764:82:0;69887:7;;69878:5;69865:18;;:10;;:18;;;;:::i;:::-;:29;;69857:56;;;;-1:-1:-1;;;69857:56:0;;;;;;;:::i;:::-;69958:5;69945:18;;:10;;:18;;;;:::i;:::-;69932:9;:31;69924:71;;;;-1:-1:-1;;;69924:71:0;;;;;;;:::i;:::-;70013:12;70055:5;70062:10;70074:6;70038:43;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;70028:54;;;;;;70013:69;;70101:44;70120:5;;70101:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;70127:11:0;;;-1:-1:-1;70140:4:0;;-1:-1:-1;70101:18:0;:44::i;:::-;70093:90;;;;-1:-1:-1;;;70093:90:0;;14177:2:1;70093:90:0;;;14159:21:1;14216:2;14196:18;;;14189:30;14255:34;14235:18;;;14228:62;-1:-1:-1;;;14306:18:1;;;14299:31;14347:19;;70093:90:0;13975:397:1;70093:90:0;70222:5;70209:18;;:10;;:18;;;;:::i;:::-;70196:10;:31;70275:10;70263:23;;;;:11;:23;;;;;;:29;;;;;;;:::i;:::-;70250:10;70238:23;;;;:11;:23;;;;;:54;;;;70304:32;;;;;:14;:32::i;73555:328::-;73628:13;73675:14;;73666:7;:23;;:34;;;;;73699:1;73691:7;:9;73666:34;73658:94;;;;-1:-1:-1;;;73658:94:0;;19107:2:1;73658:94:0;;;19089:21:1;19146:2;19126:18;;;19119:30;19185:34;19165:18;;;19158:62;-1:-1:-1;;;19236:18:1;;;19229:45;19291:19;;73658:94:0;18905:411:1;73658:94:0;73767:18;73788:10;:8;:10::i;:::-;73767:31;;73846:4;73851:18;:7;:16;:18::i;:::-;73829:41;;;;;;;;;:::i;:::-;;;;;;;;;;;;;73814:57;;;73555:328;;;:::o;71218:684::-;71322:9;71333:10;71322:21;71314:30;;;;;;71376:10;71363:24;;;;:12;:24;;;;;;;;:31;71355:65;;;;-1:-1:-1;;;71355:65:0;;21460:2:1;71355:65:0;;;21442:21:1;21499:2;21479:18;;;21472:30;-1:-1:-1;;;21518:18:1;;;21511:52;21580:18;;71355:65:0;21258:346:1;71355:65:0;71456:17;;71439:15;:34;;:68;;;;;71492:15;;71475;:32;;71439:68;71431:98;;;;-1:-1:-1;;;71431:98:0;;17594:2:1;71431:98:0;;;17576:21:1;17633:2;17613:18;;;17606:30;-1:-1:-1;;;17652:18:1;;;17645:47;17709:18;;71431:98:0;17392:341:1;71431:98:0;71566:7;;71548:10;;:14;;71561:1;71548:14;:::i;:::-;:25;;71540:52;;;;-1:-1:-1;;;71540:52:0;;;;;;;:::i;:::-;71608:12;71650:5;71657:10;71669:6;71633:43;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;71623:54;;;;;;71608:69;;71696:45;71715:5;;71696:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;71722:12:0;;;-1:-1:-1;71736:4:0;;-1:-1:-1;71696:18:0;:45::i;:::-;71688:100;;;;-1:-1:-1;;;71688:100:0;;19523:2:1;71688:100:0;;;19505:21:1;19562:2;19542:18;;;19535:30;19601:34;19581:18;;;19574:62;-1:-1:-1;;;19652:18:1;;;19645:40;19702:19;;71688:100:0;19321:406:1;71688:100:0;71801:10;:12;;;:10;:12;;;:::i;:::-;;;;-1:-1:-1;;71837:10:0;71824:24;;;;:12;:24;;;;;:30;;-1:-1:-1;;71824:30:0;71850:4;71824:30;;;;;;71866:28;;71837:10;71866:14;:28::i;:::-;71303:599;71218:684;;;;:::o;65298:192::-;64471:6;;-1:-1:-1;;;;;64471:6:0;21720:10;64618:23;64610:68;;;;-1:-1:-1;;;64610:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;65387:22:0;::::1;65379:73;;;::::0;-1:-1:-1;;;65379:73:0;;11128:2:1;65379:73:0::1;::::0;::::1;11110:21:1::0;11167:2;11147:18;;;11140:30;11206:34;11186:18;;;11179:62;-1:-1:-1;;;11257:18:1;;;11250:36;11303:19;;65379:73:0::1;10926:402:1::0;65379:73:0::1;65463:19;65473:8;65463:9;:19::i;69264:217::-:0;64471:6;;-1:-1:-1;;;;;64471:6:0;21720:10;64618:23;64610:68;;;;-1:-1:-1;;;64610:68:0;;;;;;;:::i;:::-;69379:11:::1;:24:::0;;;;69414:10:::1;:22:::0;69447:12:::1;:26:::0;69264:217::o;57070:127::-;57135:4;57159:30;:12;57181:7;57159:21;:30::i;63088:192::-;63163:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;63163:29:0;-1:-1:-1;;;;;63163:29:0;;;;;;;;:24;;63217:23;63163:24;63217:14;:23::i;:::-;-1:-1:-1;;;;;63208:46:0;;;;;;;;;;;63088:192;;:::o;40482:123::-;40551:7;40578:19;40586:3;40578:7;:19::i;66041:190::-;66166:4;66219;66190:25;66203:5;66210:4;66190:12;:25::i;:::-;:33;;66041:190;-1:-1:-1;;;;66041:190:0:o;72356:444::-;72428:25;72470:5;72456:20;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;72456:20:0;;72428:48;;72503:6;72498:243;72519:5;72515:1;:9;72498:243;;;72559:14;:16;;;:14;:16;;;:::i;:::-;;;;-1:-1:-1;;72615:14:0;;72644:26;72651:3;72615:14;72644:5;:26::i;:::-;72713:14;72699:8;72708:1;72699:11;;;;;;;;:::i;:::-;;;;;;;;;;:28;-1:-1:-1;72526:3:0;;;;:::i;:::-;;;;72498:243;;;;72766:26;72783:8;72766:26;;;;;;:::i;:::-;;;;;;;;72412:388;72356:444;;:::o;57364:355::-;57457:4;57482:16;57490:7;57482;:16::i;:::-;57474:73;;;;-1:-1:-1;;;57474:73:0;;13413:2:1;57474:73:0;;;13395:21:1;13452:2;13432:18;;;13425:30;13491:34;13471:18;;;13464:62;-1:-1:-1;;;13542:18:1;;;13535:42;13594:19;;57474:73:0;13211:408:1;57474:73:0;57558:13;57574:23;57589:7;57574:14;:23::i;:::-;57558:39;;57627:5;-1:-1:-1;;;;;57616:16:0;:7;-1:-1:-1;;;;;57616:16:0;;:51;;;;57660:7;-1:-1:-1;;;;;57636:31:0;:20;57648:7;57636:11;:20::i;:::-;-1:-1:-1;;;;;57636:31:0;;57616:51;:94;;;-1:-1:-1;;;;;;54610:25:0;;;54586:4;54610:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;57671:39;57608:103;57364:355;-1:-1:-1;;;;57364:355:0:o;60500:599::-;60625:4;-1:-1:-1;;;;;60598:31:0;:23;60613:7;60598:14;:23::i;:::-;-1:-1:-1;;;;;60598:31:0;;60590:85;;;;-1:-1:-1;;;60590:85:0;;18288:2:1;60590:85:0;;;18270:21:1;18327:2;18307:18;;;18300:30;18366:34;18346:18;;;18339:62;-1:-1:-1;;;18417:18:1;;;18410:39;18466:19;;60590:85:0;18086:405:1;60590:85:0;-1:-1:-1;;;;;60712:16:0;;60704:65;;;;-1:-1:-1;;;60704:65:0;;12247:2:1;60704:65:0;;;12229:21:1;12286:2;12266:18;;;12259:30;12325:34;12305:18;;;12298:62;-1:-1:-1;;;12376:18:1;;;12369:34;12420:19;;60704:65:0;12045:400:1;60704:65:0;60886:29;60903:1;60907:7;60886:8;:29::i;:::-;-1:-1:-1;;;;;60928:19:0;;;;;;:13;:19;;;;;:35;;60955:7;60928:26;:35::i;:::-;-1:-1:-1;;;;;;60974:17:0;;;;;;:13;:17;;;;;:30;;60996:7;60974:21;:30::i;:::-;-1:-1:-1;61017:29:0;:12;61034:7;61043:2;61017:16;:29::i;:::-;;61083:7;61079:2;-1:-1:-1;;;;;61064:27:0;61073:4;-1:-1:-1;;;;;61064:27:0;;;;;;;;;;;60500:599;;;:::o;34079:114::-;34139:7;34166:19;34174:3;27108:18;;27025:109;34547:137;34618:7;34653:22;34657:3;34669:5;34653:3;:22::i;40953:236::-;41033:7;;;;41093:22;41097:3;41109:5;41093:3;:22::i;:::-;41062:53;;-1:-1:-1;41062:53:0;-1:-1:-1;;;40953:236:0;;;;;;:::o;42239:247::-;42380:7;42431:44;42436:3;42456;42462:12;42431:4;:44::i;65498:173::-;65573:6;;;-1:-1:-1;;;;;65590:17:0;;;-1:-1:-1;;;;;;65590:17:0;;;;;;;65623:40;;65573:6;;;65590:17;65573:6;;65623:40;;65554:16;;65623:40;65543:128;65498:173;:::o;56485:272::-;56599:28;56609:4;56615:2;56619:7;56599:9;:28::i;:::-;56646:48;56669:4;56675:2;56679:7;56688:5;56646:22;:48::i;:::-;56638:111;;;;-1:-1:-1;;;56638:111:0;;10709:2:1;56638:111:0;;;10691:21:1;10748:2;10728:18;;;10721:30;10787:34;10767:18;;;10760:62;-1:-1:-1;;;10838:18:1;;;10831:48;10896:19;;56638:111:0;10507:414:1;73422:117:0;73474:13;73511:16;73504:23;;;;;:::i;22044:723::-;22100:13;22321:10;22317:53;;-1:-1:-1;;22348:10:0;;;;;;;;;;;;-1:-1:-1;;;22348:10:0;;;;;22044:723::o;22317:53::-;22395:5;22380:12;22436:78;22443:9;;22436:78;;22469:8;;;;:::i;:::-;;-1:-1:-1;22492:10:0;;-1:-1:-1;22500:2:0;22492:10;;:::i;:::-;;;22436:78;;;22524:19;22556:6;22546:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;22546:17:0;;22524:39;;22574:154;22581:10;;22574:154;;22608:11;22618:1;22608:11;;:::i;:::-;;-1:-1:-1;22677:10:0;22685:2;22677:5;:10;:::i;:::-;22664:24;;:2;:24;:::i;:::-;22651:39;;22634:6;22641;22634:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;22634:56:0;;;;;;;;-1:-1:-1;22705:11:0;22714:2;22705:11;;:::i;:::-;;;22574:154;;40243:151;40327:4;40351:35;40361:3;40381;40351:9;:35::i;37253:109::-;37309:7;37336:18;:3;:16;:18::i;66592:675::-;66675:7;66718:4;66675:7;66733:497;66757:5;:12;66753:1;:16;66733:497;;;66791:20;66814:5;66820:1;66814:8;;;;;;;;:::i;:::-;;;;;;;66791:31;;66857:12;66841;:28;66837:382;;67343:13;67393:15;;;67429:4;67422:15;;;67476:4;67460:21;;66969:57;;66837:382;;;67343:13;67393:15;;;67429:4;67422:15;;;67476:4;67460:21;;67146:57;;66837:382;-1:-1:-1;66771:3:0;;;;:::i;:::-;;;;66733:497;;58985:404;-1:-1:-1;;;;;59065:16:0;;59057:61;;;;-1:-1:-1;;;59057:61:0;;16459:2:1;59057:61:0;;;16441:21:1;;;16478:18;;;16471:30;16537:34;16517:18;;;16510:62;16589:18;;59057:61:0;16257:356:1;59057:61:0;59138:16;59146:7;59138;:16::i;:::-;59137:17;59129:58;;;;-1:-1:-1;;;59129:58:0;;11535:2:1;59129:58:0;;;11517:21:1;11574:2;11554:18;;;11547:30;11613;11593:18;;;11586:58;11661:18;;59129:58:0;11333:352:1;59129:58:0;-1:-1:-1;;;;;59258:17:0;;;;;;:13;:17;;;;;:30;;59280:7;59258:21;:30::i;:::-;-1:-1:-1;59301:29:0;:12;59318:7;59327:2;59301:16;:29::i;:::-;-1:-1:-1;59348:33:0;;59373:7;;-1:-1:-1;;;;;59348:33:0;;;59365:1;;59348:33;;59365:1;;59348:33;58985:404;;:::o;33624:137::-;33694:4;33718:35;33726:3;33746:5;33718:7;:35::i;33317:131::-;33384:4;33408:32;33413:3;33433:5;33408:4;:32::i;39632:219::-;39755:4;39779:64;39784:3;39804;-1:-1:-1;;;;;39818:23:0;;39779:4;:64::i;27488:120::-;27555:7;27582:3;:11;;27594:5;27582:18;;;;;;;;:::i;:::-;;;;;;;;;27575:25;;27488:120;;;;:::o;37727:178::-;37794:7;;;37837:19;:3;37850:5;37837:12;:19::i;:::-;37880:16;;;;:11;;;;;:16;;;;;;;;;37727:178;-1:-1:-1;;;;37727:178:0:o;39030:278::-;39158:7;39194:16;;;:11;;;:16;;;;;;39229:10;;;;:33;;;39243:19;39253:3;39258;39243:9;:19::i;:::-;39264:12;39221:56;;;;;-1:-1:-1;;;39221:56:0;;;;;;;;:::i;:::-;-1:-1:-1;39295:5:0;39030:278;-1:-1:-1;;;;39030:278:0:o;62365:604::-;62486:4;-1:-1:-1;;;;;62513:13:0;;7919:20;62508:60;;-1:-1:-1;62552:4:0;62545:11;;62508:60;62578:23;62604:252;-1:-1:-1;;;21720:10:0;62744:4;62763:7;62785:5;62620:181;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;-1:-1:-1;;;;;62620:181:0;;;;;;;-1:-1:-1;;;;;62620:181:0;;;;;;;;;;;62604:252;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;62604:15:0;;;:252;:15;:252::i;:::-;62578:278;;62867:13;62894:10;62883:32;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;;62934:26:0;-1:-1:-1;;;62934:26:0;;-1:-1:-1;;;62365:604:0;;;;;;:::o;37032:126::-;37103:4;37127:23;:3;37146;29121:4;26907:19;;;:12;;;:19;;;;;;:24;;29145:28;26810:129;25304:1420;25370:4;25509:19;;;:12;;;:19;;;;;;25545:15;;25541:1176;;25920:21;25944:14;25957:1;25944:10;:14;:::i;:::-;25993:18;;25920:38;;-1:-1:-1;25973:17:0;;25993:22;;26014:1;;25993:22;:::i;:::-;25973:42;;26049:13;26036:9;:26;26032:405;;26083:17;26103:3;:11;;26115:9;26103:22;;;;;;;;:::i;:::-;;;;;;;;;26083:42;;26257:9;26228:3;:11;;26240:13;26228:26;;;;;;;;:::i;:::-;;;;;;;;;;;;:38;;;;26342:23;;;:12;;;:23;;;;;:36;;;26032:405;26518:17;;:3;;:17;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;26613:3;:12;;:19;26626:5;26613:19;;;;;;;;;;;26606:26;;;26656:4;26649:11;;;;;;;25541:1176;26700:5;26693:12;;;;;24714:414;24777:4;26907:19;;;:12;;;:19;;;;;;24794:327;;-1:-1:-1;24837:23:0;;;;;;;;:11;:23;;;;;;;;;;;;;25020:18;;24998:19;;;:12;;;:19;;;;;;:40;;;;25053:11;;24794:327;-1:-1:-1;25104:5:0;25097:12;;36427:195;36537:4;36554:16;;;:11;;;:16;;;;;:24;;;36596:18;36554:3;36566;36596:13;:18::i;10470:195::-;10573:12;10605:52;10627:6;10635:4;10641:1;10644:12;10573;7919:20;;11766:60;;;;-1:-1:-1;;;11766:60:0;;20754:2:1;11766:60:0;;;20736:21:1;20793:2;20773:18;;;20766:30;20832:31;20812:18;;;20805:59;20881:18;;11766:60:0;20552:353:1;11766:60:0;11900:12;11914:23;11941:6;-1:-1:-1;;;;;11941:11:0;11961:5;11969:4;11941:33;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11899:75;;;;11992:52;12010:7;12019:10;12031:12;11992:17;:52::i;:::-;11985:59;11522:530;-1:-1:-1;;;;;;;11522:530:0:o;14062:742::-;14177:12;14206:7;14202:595;;;-1:-1:-1;14237:10:0;14230:17;;14202:595;14351:17;;:21;14347:439;;14614:10;14608:17;14675:15;14662:10;14658:2;14654:19;14647:44;14347:439;14757:12;14750:20;;-1:-1:-1;;;14750:20:0;;;;;;;;:::i;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:631:1;78:5;108:18;149:2;141:6;138:14;135:40;;;155:18;;:::i;:::-;230:2;224:9;198:2;284:15;;-1:-1:-1;;280:24:1;;;306:2;276:33;272:42;260:55;;;330:18;;;350:22;;;327:46;324:72;;;376:18;;:::i;:::-;416:10;412:2;405:22;445:6;436:15;;475:6;467;460:22;515:3;506:6;501:3;497:16;494:25;491:45;;;532:1;529;522:12;491:45;582:6;577:3;570:4;562:6;558:17;545:44;637:1;630:4;621:6;613;609:19;605:30;598:41;;;;14:631;;;;;:::o;650:367::-;713:8;723:6;777:3;770:4;762:6;758:17;754:27;744:55;;795:1;792;785:12;744:55;-1:-1:-1;818:20:1;;861:18;850:30;;847:50;;;893:1;890;883:12;847:50;930:4;922:6;918:17;906:29;;990:3;983:4;973:6;970:1;966:14;958:6;954:27;950:38;947:47;944:67;;;1007:1;1004;997:12;1022:247;1081:6;1134:2;1122:9;1113:7;1109:23;1105:32;1102:52;;;1150:1;1147;1140:12;1102:52;1189:9;1176:23;1208:31;1233:5;1208:31;:::i;1534:388::-;1602:6;1610;1663:2;1651:9;1642:7;1638:23;1634:32;1631:52;;;1679:1;1676;1669:12;1631:52;1718:9;1705:23;1737:31;1762:5;1737:31;:::i;:::-;1787:5;-1:-1:-1;1844:2:1;1829:18;;1816:32;1857:33;1816:32;1857:33;:::i;:::-;1909:7;1899:17;;;1534:388;;;;;:::o;1927:456::-;2004:6;2012;2020;2073:2;2061:9;2052:7;2048:23;2044:32;2041:52;;;2089:1;2086;2079:12;2041:52;2128:9;2115:23;2147:31;2172:5;2147:31;:::i;:::-;2197:5;-1:-1:-1;2254:2:1;2239:18;;2226:32;2267:33;2226:32;2267:33;:::i;:::-;1927:456;;2319:7;;-1:-1:-1;;;2373:2:1;2358:18;;;;2345:32;;1927:456::o;2388:794::-;2483:6;2491;2499;2507;2560:3;2548:9;2539:7;2535:23;2531:33;2528:53;;;2577:1;2574;2567:12;2528:53;2616:9;2603:23;2635:31;2660:5;2635:31;:::i;:::-;2685:5;-1:-1:-1;2742:2:1;2727:18;;2714:32;2755:33;2714:32;2755:33;:::i;:::-;2807:7;-1:-1:-1;2861:2:1;2846:18;;2833:32;;-1:-1:-1;2916:2:1;2901:18;;2888:32;2943:18;2932:30;;2929:50;;;2975:1;2972;2965:12;2929:50;2998:22;;3051:4;3043:13;;3039:27;-1:-1:-1;3029:55:1;;3080:1;3077;3070:12;3029:55;3103:73;3168:7;3163:2;3150:16;3145:2;3141;3137:11;3103:73;:::i;:::-;3093:83;;;2388:794;;;;;;;:::o;3187:416::-;3252:6;3260;3313:2;3301:9;3292:7;3288:23;3284:32;3281:52;;;3329:1;3326;3319:12;3281:52;3368:9;3355:23;3387:31;3412:5;3387:31;:::i;:::-;3437:5;-1:-1:-1;3494:2:1;3479:18;;3466:32;3536:15;;3529:23;3517:36;;3507:64;;3567:1;3564;3557:12;3608:315;3676:6;3684;3737:2;3725:9;3716:7;3712:23;3708:32;3705:52;;;3753:1;3750;3743:12;3705:52;3792:9;3779:23;3811:31;3836:5;3811:31;:::i;:::-;3861:5;3913:2;3898:18;;;;3885:32;;-1:-1:-1;;;3608:315:1:o;3928:316::-;4005:6;4013;4021;4074:2;4062:9;4053:7;4049:23;4045:32;4042:52;;;4090:1;4087;4080:12;4042:52;-1:-1:-1;;4113:23:1;;;4183:2;4168:18;;4155:32;;-1:-1:-1;4234:2:1;4219:18;;;4206:32;;3928:316;-1:-1:-1;3928:316:1:o;4249:245::-;4307:6;4360:2;4348:9;4339:7;4335:23;4331:32;4328:52;;;4376:1;4373;4366:12;4328:52;4415:9;4402:23;4434:30;4458:5;4434:30;:::i;4499:249::-;4568:6;4621:2;4609:9;4600:7;4596:23;4592:32;4589:52;;;4637:1;4634;4627:12;4589:52;4669:9;4663:16;4688:30;4712:5;4688:30;:::i;4753:450::-;4822:6;4875:2;4863:9;4854:7;4850:23;4846:32;4843:52;;;4891:1;4888;4881:12;4843:52;4931:9;4918:23;4964:18;4956:6;4953:30;4950:50;;;4996:1;4993;4986:12;4950:50;5019:22;;5072:4;5064:13;;5060:27;-1:-1:-1;5050:55:1;;5101:1;5098;5091:12;5050:55;5124:73;5189:7;5184:2;5171:16;5166:2;5162;5158:11;5124:73;:::i;5208:180::-;5267:6;5320:2;5308:9;5299:7;5295:23;5291:32;5288:52;;;5336:1;5333;5326:12;5288:52;-1:-1:-1;5359:23:1;;5208:180;-1:-1:-1;5208:180:1:o;5393:573::-;5497:6;5505;5513;5521;5574:2;5562:9;5553:7;5549:23;5545:32;5542:52;;;5590:1;5587;5580:12;5542:52;5626:9;5613:23;5603:33;;5683:2;5672:9;5668:18;5655:32;5645:42;;5738:2;5727:9;5723:18;5710:32;5765:18;5757:6;5754:30;5751:50;;;5797:1;5794;5787:12;5751:50;5836:70;5898:7;5889:6;5878:9;5874:22;5836:70;:::i;:::-;5393:573;;;;-1:-1:-1;5925:8:1;-1:-1:-1;;;;5393:573:1:o;5971:661::-;6093:6;6101;6109;6117;6125;6133;6141;6149;6202:3;6190:9;6181:7;6177:23;6173:33;6170:53;;;6219:1;6216;6209:12;6170:53;-1:-1:-1;;6242:23:1;;;6312:2;6297:18;;6284:32;;-1:-1:-1;6363:2:1;6348:18;;6335:32;;6414:2;6399:18;;6386:32;;-1:-1:-1;6465:3:1;6450:19;;6437:33;;-1:-1:-1;6517:3:1;6502:19;;6489:33;;-1:-1:-1;6569:3:1;6554:19;;6541:33;;-1:-1:-1;6621:3:1;6606:19;6593:33;;-1:-1:-1;5971:661:1;-1:-1:-1;5971:661:1:o;6637:731::-;6748:6;6756;6764;6772;6780;6833:3;6821:9;6812:7;6808:23;6804:33;6801:53;;;6850:1;6847;6840:12;6801:53;6889:9;6876:23;6939:4;6932:5;6928:16;6921:5;6918:27;6908:55;;6959:1;6956;6949:12;6908:55;6982:5;-1:-1:-1;7034:2:1;7019:18;;7006:32;;-1:-1:-1;7085:2:1;7070:18;;7057:32;;-1:-1:-1;7140:2:1;7125:18;;7112:32;7167:18;7156:30;;7153:50;;;7199:1;7196;7189:12;7153:50;7238:70;7300:7;7291:6;7280:9;7276:22;7238:70;:::i;:::-;6637:731;;;;-1:-1:-1;6637:731:1;;-1:-1:-1;7327:8:1;;7212:96;6637:731;-1:-1:-1;;;6637:731:1:o;7373:257::-;7414:3;7452:5;7446:12;7479:6;7474:3;7467:19;7495:63;7551:6;7544:4;7539:3;7535:14;7528:4;7521:5;7517:16;7495:63;:::i;:::-;7612:2;7591:15;-1:-1:-1;;7587:29:1;7578:39;;;;7619:4;7574:50;;7373:257;-1:-1:-1;;7373:257:1:o;7635:274::-;7764:3;7802:6;7796:13;7818:53;7864:6;7859:3;7852:4;7844:6;7840:17;7818:53;:::i;:::-;7887:16;;;;;7635:274;-1:-1:-1;;7635:274:1:o;7914:470::-;8093:3;8131:6;8125:13;8147:53;8193:6;8188:3;8181:4;8173:6;8169:17;8147:53;:::i;:::-;8263:13;;8222:16;;;;8285:57;8263:13;8222:16;8319:4;8307:17;;8285:57;:::i;:::-;8358:20;;7914:470;-1:-1:-1;;;;7914:470:1:o;8389:359::-;8574:19;;;8631:2;8627:15;;;;-1:-1:-1;;8623:53:1;8618:2;8609:12;;8602:75;8702:2;8693:12;;8686:28;8739:2;8730:12;;8389:359::o;8961:488::-;-1:-1:-1;;;;;9230:15:1;;;9212:34;;9282:15;;9277:2;9262:18;;9255:43;9329:2;9314:18;;9307:34;;;9377:3;9372:2;9357:18;;9350:31;;;9155:4;;9398:45;;9423:19;;9415:6;9398:45;:::i;:::-;9390:53;8961:488;-1:-1:-1;;;;;;8961:488:1:o;9454:632::-;9625:2;9677:21;;;9747:13;;9650:18;;;9769:22;;;9596:4;;9625:2;9848:15;;;;9822:2;9807:18;;;9596:4;9891:169;9905:6;9902:1;9899:13;9891:169;;;9966:13;;9954:26;;10035:15;;;;10000:12;;;;9927:1;9920:9;9891:169;;;-1:-1:-1;10077:3:1;;9454:632;-1:-1:-1;;;;;;9454:632:1:o;10283:219::-;10432:2;10421:9;10414:21;10395:4;10452:44;10492:2;10481:9;10477:18;10469:6;10452:44;:::i;11690:350::-;11892:2;11874:21;;;11931:2;11911:18;;;11904:30;11970:28;11965:2;11950:18;;11943:56;12031:2;12016:18;;11690:350::o;15561:337::-;15763:2;15745:21;;;15802:2;15782:18;;;15775:30;-1:-1:-1;;;15836:2:1;15821:18;;15814:43;15889:2;15874:18;;15561:337::o;17031:356::-;17233:2;17215:21;;;17252:18;;;17245:30;17311:34;17306:2;17291:18;;17284:62;17378:2;17363:18;;17031:356::o;20134:413::-;20336:2;20318:21;;;20375:2;20355:18;;;20348:30;20414:34;20409:2;20394:18;;20387:62;-1:-1:-1;;;20480:2:1;20465:18;;20458:47;20537:3;20522:19;;20134:413::o;21791:128::-;21831:3;21862:1;21858:6;21855:1;21852:13;21849:39;;;21868:18;;:::i;:::-;-1:-1:-1;21904:9:1;;21791:128::o;21924:120::-;21964:1;21990;21980:35;;21995:18;;:::i;:::-;-1:-1:-1;22029:9:1;;21924:120::o;22049:168::-;22089:7;22155:1;22151;22147:6;22143:14;22140:1;22137:21;22132:1;22125:9;22118:17;22114:45;22111:71;;;22162:18;;:::i;:::-;-1:-1:-1;22202:9:1;;22049:168::o;22222:125::-;22262:4;22290:1;22287;22284:8;22281:34;;;22295:18;;:::i;:::-;-1:-1:-1;22332:9:1;;22222:125::o;22352:258::-;22424:1;22434:113;22448:6;22445:1;22442:13;22434:113;;;22524:11;;;22518:18;22505:11;;;22498:39;22470:2;22463:10;22434:113;;;22565:6;22562:1;22559:13;22556:48;;;-1:-1:-1;;22600:1:1;22582:16;;22575:27;22352:258::o;22615:380::-;22694:1;22690:12;;;;22737;;;22758:61;;22812:4;22804:6;22800:17;22790:27;;22758:61;22865:2;22857:6;22854:14;22834:18;22831:38;22828:161;;;22911:10;22906:3;22902:20;22899:1;22892:31;22946:4;22943:1;22936:15;22974:4;22971:1;22964:15;22828:161;;22615:380;;;:::o;23000:135::-;23039:3;-1:-1:-1;;23060:17:1;;23057:43;;;23080:18;;:::i;:::-;-1:-1:-1;23127:1:1;23116:13;;23000:135::o;23140:112::-;23172:1;23198;23188:35;;23203:18;;:::i;:::-;-1:-1:-1;23237:9:1;;23140:112::o;23257:127::-;23318:10;23313:3;23309:20;23306:1;23299:31;23349:4;23346:1;23339:15;23373:4;23370:1;23363:15;23389:127;23450:10;23445:3;23441:20;23438:1;23431:31;23481:4;23478:1;23471:15;23505:4;23502:1;23495:15;23521:127;23582:10;23577:3;23573:20;23570:1;23563:31;23613:4;23610:1;23603:15;23637:4;23634:1;23627:15;23653:127;23714:10;23709:3;23705:20;23702:1;23695:31;23745:4;23742:1;23735:15;23769:4;23766:1;23759:15;23785:127;23846:10;23841:3;23837:20;23834:1;23827:31;23877:4;23874:1;23867:15;23901:4;23898:1;23891:15;23917:131;-1:-1:-1;;;;;23992:31:1;;23982:42;;23972:70;;24038:1;24035;24028:12;24053:131;-1:-1:-1;;;;;;24127:32:1;;24117:43;;24107:71;;24174:1;24171;24164:12
Swarm Source
ipfs://fccf1d29b3a5a1484758890e2277a0a935dfe03973c7ad8655ea52bea9e662c4
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.