ERC-721
Overview
Max Total Supply
0 RQT
Holders
155
Total Transfers
-
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
RtistiqCore
Compiler Version
v0.6.12+commit.27d51765
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2021-04-29 */ // File: node_modules\@openzeppelin\contracts\utils\Context.sol pragma solidity >=0.6.0 <0.8.0; /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with GSN meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address payable) { return msg.sender; } function _msgData() internal view virtual returns (bytes memory) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } } // File: node_modules\@openzeppelin\contracts\introspection\IERC165.sol pragma solidity >=0.6.0 <0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); } // File: node_modules\@openzeppelin\contracts\token\ERC721\IERC721.sol pragma solidity >=0.6.2 <0.8.0; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom(address from, address to, uint256 tokenId) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom(address from, address to, uint256 tokenId) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom(address from, address to, uint256 tokenId, bytes calldata data) external; } // File: node_modules\@openzeppelin\contracts\token\ERC721\IERC721Metadata.sol pragma solidity >=0.6.2 <0.8.0; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); } // File: node_modules\@openzeppelin\contracts\token\ERC721\IERC721Receiver.sol pragma solidity >=0.6.0 <0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received(address operator, address from, uint256 tokenId, bytes calldata data) external returns (bytes4); } // File: node_modules\@openzeppelin\contracts\introspection\ERC165.sol pragma solidity >=0.6.0 <0.8.0; /** * @dev Implementation of the {IERC165} interface. * * Contracts may inherit from this and call {_registerInterface} to declare * their support of an interface. */ abstract contract ERC165 is IERC165 { /* * bytes4(keccak256('supportsInterface(bytes4)')) == 0x01ffc9a7 */ bytes4 private constant _INTERFACE_ID_ERC165 = 0x01ffc9a7; /** * @dev Mapping of interface ids to whether or not it's supported. */ mapping(bytes4 => bool) private _supportedInterfaces; constructor () internal { // Derived contracts need only register support for their own interfaces, // we register support for ERC165 itself here _registerInterface(_INTERFACE_ID_ERC165); } /** * @dev See {IERC165-supportsInterface}. * * Time complexity O(1), guaranteed to always use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return _supportedInterfaces[interfaceId]; } /** * @dev Registers the contract as an implementer of the interface defined by * `interfaceId`. Support of the actual ERC165 interface is automatic and * registering its interface id is not required. * * See {IERC165-supportsInterface}. * * Requirements: * * - `interfaceId` cannot be the ERC165 invalid interface (`0xffffffff`). */ function _registerInterface(bytes4 interfaceId) internal virtual { require(interfaceId != 0xffffffff, "ERC165: invalid interface id"); _supportedInterfaces[interfaceId] = true; } } // File: node_modules\@openzeppelin\contracts\math\SafeMath.sol pragma solidity >=0.6.0 <0.8.0; /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, because programmers usually assume that an overflow raises an * error, which is the standard behavior in high level programming languages. * `SafeMath` restores this intuition by reverting the transaction when an * operation overflows. * * Using this library instead of the unchecked operations eliminates an entire * class of bugs, so it's recommended to use it always. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { if (b > a) return (false, 0); return (true, a - b); } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { if (b == 0) return (false, 0); return (true, a / b); } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { if (b == 0) return (false, 0); return (true, a % b); } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { require(b <= a, "SafeMath: subtraction overflow"); return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { if (a == 0) return 0; uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { require(b > 0, "SafeMath: division by zero"); return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { require(b > 0, "SafeMath: modulo by zero"); return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); return a - b; } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryDiv}. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); return a % b; } } // File: node_modules\@openzeppelin\contracts\utils\Address.sol pragma solidity >=0.6.2 <0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; // solhint-disable-next-line no-inline-assembly assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); // solhint-disable-next-line avoid-low-level-calls, avoid-call-value (bool success, ) = recipient.call{ value: amount }(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain`call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.call{ value: value }(data); return _verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.staticcall(data); return _verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.delegatecall(data); return _verifyCallResult(success, returndata, errorMessage); } function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly // solhint-disable-next-line no-inline-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } // File: node_modules\@openzeppelin\contracts\utils\EnumerableSet.sol pragma solidity >=0.6.0 <0.8.0; /** * @dev Library for managing * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive * types. * * Sets have the following properties: * * - Elements are added, removed, and checked for existence in constant time * (O(1)). * - Elements are enumerated in O(n). No guarantees are made on the ordering. * * ``` * contract Example { * // Add the library methods * using EnumerableSet for EnumerableSet.AddressSet; * * // Declare a set state variable * EnumerableSet.AddressSet private mySet; * } * ``` * * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`) * and `uint256` (`UintSet`) are supported. */ library EnumerableSet { // To implement this library for multiple types with as little code // repetition as possible, we write it in terms of a generic Set type with // bytes32 values. // The Set implementation uses private functions, and user-facing // implementations (such as AddressSet) are just wrappers around the // underlying Set. // This means that we can only create new EnumerableSets for types that fit // in bytes32. struct Set { // Storage of set values bytes32[] _values; // Position of the value in the `values` array, plus 1 because index 0 // means a value is not in the set. mapping (bytes32 => uint256) _indexes; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function _add(Set storage set, bytes32 value) private returns (bool) { if (!_contains(set, value)) { set._values.push(value); // The value is stored at length-1, but we add 1 to all indexes // and use 0 as a sentinel value set._indexes[value] = set._values.length; return true; } else { return false; } } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function _remove(Set storage set, bytes32 value) private returns (bool) { // We read and store the value's index to prevent multiple reads from the same storage slot uint256 valueIndex = set._indexes[value]; if (valueIndex != 0) { // Equivalent to contains(set, value) // To delete an element from the _values array in O(1), we swap the element to delete with the last one in // the array, and then remove the last element (sometimes called as 'swap and pop'). // This modifies the order of the array, as noted in {at}. uint256 toDeleteIndex = valueIndex - 1; uint256 lastIndex = set._values.length - 1; // When the value to delete is the last one, the swap operation is unnecessary. However, since this occurs // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement. bytes32 lastvalue = set._values[lastIndex]; // Move the last value to the index where the value to delete is set._values[toDeleteIndex] = lastvalue; // Update the index for the moved value set._indexes[lastvalue] = toDeleteIndex + 1; // All indexes are 1-based // Delete the slot where the moved value was stored set._values.pop(); // Delete the index for the deleted slot delete set._indexes[value]; return true; } else { return false; } } /** * @dev Returns true if the value is in the set. O(1). */ function _contains(Set storage set, bytes32 value) private view returns (bool) { return set._indexes[value] != 0; } /** * @dev Returns the number of values on the set. O(1). */ function _length(Set storage set) private view returns (uint256) { return set._values.length; } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function _at(Set storage set, uint256 index) private view returns (bytes32) { require(set._values.length > index, "EnumerableSet: index out of bounds"); return set._values[index]; } // Bytes32Set struct Bytes32Set { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(Bytes32Set storage set, bytes32 value) internal returns (bool) { return _add(set._inner, value); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) { return _remove(set._inner, value); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) { return _contains(set._inner, value); } /** * @dev Returns the number of values in the set. O(1). */ function length(Bytes32Set storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) { return _at(set._inner, index); } // AddressSet struct AddressSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(AddressSet storage set, address value) internal returns (bool) { return _add(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(AddressSet storage set, address value) internal returns (bool) { return _remove(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(AddressSet storage set, address value) internal view returns (bool) { return _contains(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Returns the number of values in the set. O(1). */ function length(AddressSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(AddressSet storage set, uint256 index) internal view returns (address) { return address(uint160(uint256(_at(set._inner, index)))); } // UintSet struct UintSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(UintSet storage set, uint256 value) internal returns (bool) { return _add(set._inner, bytes32(value)); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(UintSet storage set, uint256 value) internal returns (bool) { return _remove(set._inner, bytes32(value)); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(UintSet storage set, uint256 value) internal view returns (bool) { return _contains(set._inner, bytes32(value)); } /** * @dev Returns the number of values on the set. O(1). */ function length(UintSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(UintSet storage set, uint256 index) internal view returns (uint256) { return uint256(_at(set._inner, index)); } } // File: node_modules\@openzeppelin\contracts\utils\EnumerableMap.sol pragma solidity >=0.6.0 <0.8.0; /** * @dev Library for managing an enumerable variant of Solidity's * https://solidity.readthedocs.io/en/latest/types.html#mapping-types[`mapping`] * type. * * Maps have the following properties: * * - Entries are added, removed, and checked for existence in constant time * (O(1)). * - Entries are enumerated in O(n). No guarantees are made on the ordering. * * ``` * contract Example { * // Add the library methods * using EnumerableMap for EnumerableMap.UintToAddressMap; * * // Declare a set state variable * EnumerableMap.UintToAddressMap private myMap; * } * ``` * * As of v3.0.0, only maps of type `uint256 -> address` (`UintToAddressMap`) are * supported. */ library EnumerableMap { // To implement this library for multiple types with as little code // repetition as possible, we write it in terms of a generic Map type with // bytes32 keys and values. // The Map implementation uses private functions, and user-facing // implementations (such as Uint256ToAddressMap) are just wrappers around // the underlying Map. // This means that we can only create new EnumerableMaps for types that fit // in bytes32. struct MapEntry { bytes32 _key; bytes32 _value; } struct Map { // Storage of map keys and values MapEntry[] _entries; // Position of the entry defined by a key in the `entries` array, plus 1 // because index 0 means a key is not in the map. mapping (bytes32 => uint256) _indexes; } /** * @dev Adds a key-value pair to a map, or updates the value for an existing * key. O(1). * * Returns true if the key was added to the map, that is if it was not * already present. */ function _set(Map storage map, bytes32 key, bytes32 value) private returns (bool) { // We read and store the key's index to prevent multiple reads from the same storage slot uint256 keyIndex = map._indexes[key]; if (keyIndex == 0) { // Equivalent to !contains(map, key) map._entries.push(MapEntry({ _key: key, _value: value })); // The entry is stored at length-1, but we add 1 to all indexes // and use 0 as a sentinel value map._indexes[key] = map._entries.length; return true; } else { map._entries[keyIndex - 1]._value = value; return false; } } /** * @dev Removes a key-value pair from a map. O(1). * * Returns true if the key was removed from the map, that is if it was present. */ function _remove(Map storage map, bytes32 key) private returns (bool) { // We read and store the key's index to prevent multiple reads from the same storage slot uint256 keyIndex = map._indexes[key]; if (keyIndex != 0) { // Equivalent to contains(map, key) // To delete a key-value pair from the _entries array in O(1), we swap the entry to delete with the last one // in the array, and then remove the last entry (sometimes called as 'swap and pop'). // This modifies the order of the array, as noted in {at}. uint256 toDeleteIndex = keyIndex - 1; uint256 lastIndex = map._entries.length - 1; // When the entry to delete is the last one, the swap operation is unnecessary. However, since this occurs // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement. MapEntry storage lastEntry = map._entries[lastIndex]; // Move the last entry to the index where the entry to delete is map._entries[toDeleteIndex] = lastEntry; // Update the index for the moved entry map._indexes[lastEntry._key] = toDeleteIndex + 1; // All indexes are 1-based // Delete the slot where the moved entry was stored map._entries.pop(); // Delete the index for the deleted slot delete map._indexes[key]; return true; } else { return false; } } /** * @dev Returns true if the key is in the map. O(1). */ function _contains(Map storage map, bytes32 key) private view returns (bool) { return map._indexes[key] != 0; } /** * @dev Returns the number of key-value pairs in the map. O(1). */ function _length(Map storage map) private view returns (uint256) { return map._entries.length; } /** * @dev Returns the key-value pair stored at position `index` in the map. O(1). * * Note that there are no guarantees on the ordering of entries inside the * array, and it may change when more entries are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function _at(Map storage map, uint256 index) private view returns (bytes32, bytes32) { require(map._entries.length > index, "EnumerableMap: index out of bounds"); MapEntry storage entry = map._entries[index]; return (entry._key, entry._value); } /** * @dev Tries to returns the value associated with `key`. O(1). * Does not revert if `key` is not in the map. */ function _tryGet(Map storage map, bytes32 key) private view returns (bool, bytes32) { uint256 keyIndex = map._indexes[key]; if (keyIndex == 0) return (false, 0); // Equivalent to contains(map, key) return (true, map._entries[keyIndex - 1]._value); // All indexes are 1-based } /** * @dev Returns the value associated with `key`. O(1). * * Requirements: * * - `key` must be in the map. */ function _get(Map storage map, bytes32 key) private view returns (bytes32) { uint256 keyIndex = map._indexes[key]; require(keyIndex != 0, "EnumerableMap: nonexistent key"); // Equivalent to contains(map, key) return map._entries[keyIndex - 1]._value; // All indexes are 1-based } /** * @dev Same as {_get}, with a custom error message when `key` is not in the map. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {_tryGet}. */ function _get(Map storage map, bytes32 key, string memory errorMessage) private view returns (bytes32) { uint256 keyIndex = map._indexes[key]; require(keyIndex != 0, errorMessage); // Equivalent to contains(map, key) return map._entries[keyIndex - 1]._value; // All indexes are 1-based } // UintToAddressMap struct UintToAddressMap { Map _inner; } /** * @dev Adds a key-value pair to a map, or updates the value for an existing * key. O(1). * * Returns true if the key was added to the map, that is if it was not * already present. */ function set(UintToAddressMap storage map, uint256 key, address value) internal returns (bool) { return _set(map._inner, bytes32(key), bytes32(uint256(uint160(value)))); } /** * @dev Removes a value from a set. O(1). * * Returns true if the key was removed from the map, that is if it was present. */ function remove(UintToAddressMap storage map, uint256 key) internal returns (bool) { return _remove(map._inner, bytes32(key)); } /** * @dev Returns true if the key is in the map. O(1). */ function contains(UintToAddressMap storage map, uint256 key) internal view returns (bool) { return _contains(map._inner, bytes32(key)); } /** * @dev Returns the number of elements in the map. O(1). */ function length(UintToAddressMap storage map) internal view returns (uint256) { return _length(map._inner); } /** * @dev Returns the element stored at position `index` in the set. O(1). * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(UintToAddressMap storage map, uint256 index) internal view returns (uint256, address) { (bytes32 key, bytes32 value) = _at(map._inner, index); return (uint256(key), address(uint160(uint256(value)))); } /** * @dev Tries to returns the value associated with `key`. O(1). * Does not revert if `key` is not in the map. * * _Available since v3.4._ */ function tryGet(UintToAddressMap storage map, uint256 key) internal view returns (bool, address) { (bool success, bytes32 value) = _tryGet(map._inner, bytes32(key)); return (success, address(uint160(uint256(value)))); } /** * @dev Returns the value associated with `key`. O(1). * * Requirements: * * - `key` must be in the map. */ function get(UintToAddressMap storage map, uint256 key) internal view returns (address) { return address(uint160(uint256(_get(map._inner, bytes32(key))))); } /** * @dev Same as {get}, with a custom error message when `key` is not in the map. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryGet}. */ function get(UintToAddressMap storage map, uint256 key, string memory errorMessage) internal view returns (address) { return address(uint160(uint256(_get(map._inner, bytes32(key), errorMessage)))); } } // File: node_modules\@openzeppelin\contracts\utils\Strings.sol pragma solidity >=0.6.0 <0.8.0; /** * @dev String operations. */ library Strings { /** * @dev Converts a `uint256` to its ASCII `string` representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); uint256 index = digits - 1; temp = value; while (temp != 0) { buffer[index--] = bytes1(uint8(48 + temp % 10)); temp /= 10; } return string(buffer); } } // File: node_modules\@openzeppelin\contracts\access\Ownable.sol pragma solidity >=0.6.0 <0.8.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor () internal { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), msgSender); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { emit OwnershipTransferred(_owner, address(0)); _owner = address(0); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } } // File: node_modules\@openzeppelin\contracts\utils\Pausable.sol pragma solidity >=0.6.0 <0.8.0; /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ abstract contract Pausable is Context { /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. */ constructor () internal { _paused = false; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { require(!paused(), "Pausable: paused"); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { require(paused(), "Pausable: not paused"); _; } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } } // File: node_modules\@openzeppelin\contracts\utils\Counters.sol pragma solidity >=0.6.0 <0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented or decremented by one. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` * Since it is not possible to overflow a 256 bit integer with increments of one, `increment` can skip the {SafeMath} * overflow check, thereby saving gas. This does assume however correct usage, in that the underlying `_value` is never * directly accessed. */ library Counters { using SafeMath for uint256; struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { // The {SafeMath} overflow check can be skipped here, see the comment at the top counter._value += 1; } function decrement(Counter storage counter) internal { counter._value = counter._value.sub(1); } } // File: contracts\RtistiqBase.sol pragma solidity >=0.6.0 <0.8.0; contract RtistiqBase is Ownable, Pausable { using SafeMath for uint256; using Address for address; // address private owner; //address of the token contract address private tokenContract; using Counters for Counters.Counter; Counters.Counter private tokenIds; struct art { address owner; string ipfsMetadataHash; } mapping(uint256 => art) private arts; mapping(bytes32 => bool) private rfids; // Mapping from token ID to approved address mapping (uint256 => address) private tokenApprovals; bool public isRtistiqBase = true; modifier onlyTokenContract() { require(msg.sender == tokenContract, "Sender not allowed to call this function"); _; } function setTokenContract(address _currentTokenContract) public onlyOwner { tokenContract = _currentTokenContract; } function getTokenContract() public view returns (address) { return tokenContract; } function rfidExists(bytes32 _rfid) public view returns (bool) { return rfids[_rfid]; } function tokenExists(uint256 _tokenId) public view returns (bool) { if (arts[_tokenId].owner!=address(0)) { return true; } else { return false; } } function getTokenOwnerOf(uint256 _tokenId) public view returns (address) { return arts[_tokenId].owner; } function getTokenURI(uint256 _tokenId) public view returns (string memory) { return arts[_tokenId].ipfsMetadataHash; } function mintToken(address _to, bytes32 _rfid, string memory _tokenURI ) public onlyTokenContract whenNotPaused returns (uint256) { tokenIds.increment(); uint256 tokenId = tokenIds.current(); arts[tokenId].ipfsMetadataHash = _tokenURI; arts[tokenId].owner = _to; rfids[_rfid] = true; return tokenId; } function burnToken(uint256 _tokenId) public onlyTokenContract whenNotPaused { setTokenApprovals(address(0), _tokenId); arts[_tokenId].ipfsMetadataHash = ''; arts[_tokenId].owner = address(0); // rfids[_rfid] = true; } function transferToken(address _to, uint256 _tokenId) public onlyTokenContract whenNotPaused { setTokenApprovals(address(0), _tokenId); arts[_tokenId].owner = _to; } function updateTokenMetadata(uint256 _tokenId, string memory _tokenURI) public onlyTokenContract whenNotPaused { arts[_tokenId].ipfsMetadataHash = _tokenURI; } function setTokenApprovals(address _to, uint256 _tokenId) public onlyTokenContract whenNotPaused returns (address) { return tokenApprovals[_tokenId] = _to; } function getTokenApprovals(uint256 _tokenId) public view returns (address) { require(tokenExists(_tokenId), "Token does not exists"); return tokenApprovals[_tokenId]; } /** * @dev called by the owner to pause, triggers stopped state */ function pause() onlyOwner whenNotPaused public { _pause(); } /** * @dev called by the owner to unpause, returns to normal state */ function unpause() onlyOwner whenPaused public { _unpause(); } } // File: contracts\RtistiqToken.sol pragma solidity >=0.6.0 <0.8.0; /** * @title ERC721 Non-Fungible Token Standard basic implementation * @dev see https://eips.ethereum.org/EIPS/eip-721 */ contract RtistiqToken is Context, ERC165, IERC721, IERC721Metadata, Ownable, Pausable { using SafeMath for uint256; using Address for address; using EnumerableSet for EnumerableSet.UintSet; using EnumerableMap for EnumerableMap.UintToAddressMap; using Strings for uint256; RtistiqBase internal rtistiqBase; // 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; // Token name string private _name; // Token symbol string private _symbol; // Base URI string private _baseURI; //Base contract address address private baseContractAddress; /* * 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_, string memory baseUri_) public { _name = name_; _symbol = symbol_; _baseURI = baseUri_; // register the supported interfaces to conform to ERC721 via ERC165 _registerInterface(_INTERFACE_ID_ERC721); _registerInterface(_INTERFACE_ID_ERC721_METADATA); //_registerInterface(_INTERFACE_ID_ERC721_ENUMERABLE); } function setRtistiqBaseAddress(address _address) public onlyOwner { RtistiqBase candidateContract = RtistiqBase(_address); baseContractAddress = _address; require(candidateContract.isRtistiqBase()); // Set the new contract address rtistiqBase = candidateContract; } function getBaseContract() public view returns (address) { return baseContractAddress; } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { return 0; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { return rtistiqBase.getTokenOwnerOf(tokenId); } /** * @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(rtistiqBase.tokenExists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory _tokenURI = rtistiqBase.getTokenURI(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; } function setBaseURI(string memory baseUri_) public { _baseURI = baseUri_; } function _mint(address to, bytes32 rfid, string memory metadata) internal returns (uint256) { uint256 tokenId = rtistiqBase.mintToken(to,rfid,metadata); emit Transfer(address(0), to, tokenId); return tokenId; } function _updateMetadata(uint256 _tokenId, string memory _tokenURI) internal { rtistiqBase.updateTokenMetadata(_tokenId, _tokenURI); } /** * @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(to != address(0), "ERC721: transfer to the zero address"); address previousOwner = RtistiqToken.ownerOf(tokenId); rtistiqBase.transferToken(to, tokenId); emit Transfer(previousOwner, to, tokenId); } function approve(address to, uint256 tokenId) public virtual override { address owner = RtistiqToken.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); _canOperate(_msgSender(), owner); _approve(to, tokenId); } function _canOperate(address spender, address owner) internal view virtual returns (bool) { require(spender == owner || RtistiqToken.isApprovedForAll(owner, spender), "ERC721: approve caller is not owner nor approved for all" ); } function _approve(address to, uint256 tokenId) internal { rtistiqBase.setTokenApprovals(to, tokenId); emit Approval(RtistiqToken.ownerOf(tokenId), to, tokenId); // internal owner } function clearApproval(uint256 tokenId) internal { rtistiqBase.setTokenApprovals(address(0), tokenId); emit Approval(RtistiqToken.ownerOf(tokenId), address(0), tokenId); // internal owner } function getApproved(uint256 tokenId) public view virtual override returns (address) { return rtistiqBase.getTokenApprovals(tokenId); } function setApprovalForAll(address operator, bool _approved) public virtual override { require(operator != _msgSender(), "ERC721: approve to caller"); } function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return false; } function _safeTransfer(address from, address to, uint256 tokenId, bytes memory _data) internal { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } function safeTransferFrom(address from, address to, uint256 tokenId) public virtual override { safeTransferFrom(from, to, tokenId, ""); } 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); } 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); } function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(rtistiqBase.tokenExists(tokenId), "ERC721: operator query for nonexistent token"); address owner = RtistiqToken.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || RtistiqToken.isApprovedForAll(owner, spender)); } /** * @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 whenNotPaused { address owner = rtistiqBase.getTokenOwnerOf(tokenId); rtistiqBase.burnToken(tokenId); emit Transfer(owner, address(0), tokenId); } /** * @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 called by the owner to pause, triggers stopped state */ function pause() onlyOwner whenNotPaused public { _pause(); } /** * @dev called by the owner to unpause, returns to normal state */ function unpause() onlyOwner whenPaused public { _unpause(); } } // File: node_modules\@openzeppelin\contracts\cryptography\ECDSA.sol pragma solidity >=0.6.0 <0.8.0; /** * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations. * * These functions can be used to verify that a message was signed by the holder * of the private keys of a given address. */ library ECDSA { /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature`. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. */ function recover(bytes32 hash, bytes memory signature) internal pure returns (address) { // Check the signature length if (signature.length != 65) { revert("ECDSA: invalid signature length"); } // Divide the signature in r, s and v variables bytes32 r; bytes32 s; uint8 v; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. // solhint-disable-next-line no-inline-assembly assembly { r := mload(add(signature, 0x20)) s := mload(add(signature, 0x40)) v := byte(0, mload(add(signature, 0x60))) } return recover(hash, v, r, s); } /** * @dev Overload of {ECDSA-recover-bytes32-bytes-} that receives the `v`, * `r` and `s` signature fields separately. */ function recover(bytes32 hash, uint8 v, bytes32 r, bytes32 s) internal pure returns (address) { // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines // the valid range for s in (281): 0 < s < secp256k1n ÷ 2 + 1, and for v in (282): v ∈ {27, 28}. Most // signatures from current libraries generate a unique signature with an s-value in the lower half order. // // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept // these malleable signatures as well. require(uint256(s) <= 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0, "ECDSA: invalid signature 's' value"); require(v == 27 || v == 28, "ECDSA: invalid signature 'v' value"); // If the signature is valid (and not malleable), return the signer address address signer = ecrecover(hash, v, r, s); require(signer != address(0), "ECDSA: invalid signature"); return signer; } /** * @dev Returns an Ethereum Signed Message, created from a `hash`. This * replicates the behavior of the * https://github.com/ethereum/wiki/wiki/JSON-RPC#eth_sign[`eth_sign`] * JSON-RPC method. * * See {recover}. */ function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) { // 32 is the length in bytes of hash, // enforced by the type signature above return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash)); } } // File: contracts\RtistiqCore.sol pragma solidity >=0.6.0 <0.8.0; contract RtistiqCore is RtistiqToken { constructor() public RtistiqToken("Rtistiq", "RQT", "https://gateway.pinata.cloud/ipfs/") {} using ECDSA for bytes32; function verifySignature( bool isWeb3Signature, address _signer, bytes24 _message, bytes memory _signature ) private pure returns (bool) { //hashing of message bytes32 hash = ''; if (!isWeb3Signature) { hash = keccak256(abi.encodePacked(_message)); } else { hash = toEthSignedMessageHash(_message); } //Recover signer address address sigOwner = hash.recover(_signature); //signature verification return _signer == sigOwner; } function toEthSignedMessageHash(bytes24 _message) internal pure returns (bytes32) { return keccak256( abi.encodePacked("\x19Ethereum Signed Message:\n24", _message) ); } function createArtworkToken(bytes24 _artId, bool _isWeb3Signature, bytes32 _rfid, address _recipient, address _signer, string memory _metadata, bytes memory _signature ) public onlyOwner whenNotPaused returns (uint256) { require(rtistiqBase.rfidExists(_rfid) != true, "The given RFID already exists!"); require(verifySignature(_isWeb3Signature,_signer,_artId, _signature), "Signature Verification failed"); // //hashing of _artId // bytes32 _hash = keccak256(abi.encodePacked(_artId)); // //Recover signer address // address sigOwner = _hash.recover(_signature); // //signature verification // require(_signer == sigOwner, "Signature Verification failed"); uint256 tokenId = _mint(_recipient,_rfid,_metadata); return tokenId; } function transferArtworkOwnership(uint256 _tokenId, bytes32 _rfid, address _from, address _to, bool _isWeb3Signature, bytes memory _signature ) public onlyOwner whenNotPaused { bytes32 _hash = ''; if (!_isWeb3Signature) { //hashing of _rfid & _newOwner _hash = keccak256(abi.encodePacked(_rfid, _to)); } else { //hashing of _rfid only _hash = keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32",_rfid)); } //Recover signer address address sigOwner = _hash.recover(_signature); //signature verification require(_from == sigOwner, "Signature verification Failed"); require(_isApprovedOrOwner(_from, _tokenId), "Transfer caller is not the owner nor approved"); _transfer(_from, _to, _tokenId); } function artworkApprove(bytes24 _artId, uint256 _tokenId, address _from, address _to, bytes memory _signature ) public onlyOwner whenNotPaused { address owner = RtistiqToken.ownerOf(_tokenId); require(_to != owner, "Approval to the current owner"); require(verifySignature(true,_from,_artId, _signature), "Signature Verification failed"); _canOperate(_from, owner); _approve(_to, _tokenId); } function artworkClearApproval(bytes24 _artId, uint256 _tokenId, address _from, bytes memory _signature ) public onlyOwner whenNotPaused { require(verifySignature(true,_from,_artId, _signature), "Signature Verification failed"); address owner = RtistiqToken.ownerOf(_tokenId); _canOperate(_from, owner); clearApproval(_tokenId); } function burnArtworkToken(bytes24 _artId, uint256 _tokenId, address _from, bytes memory _signature ) public onlyOwner whenNotPaused { require(verifySignature(true,_from,_artId, _signature), "Signature Verification failed"); require(_isApprovedOrOwner(_from, _tokenId), "Transfer caller is not the owner nor approved"); _burn(_tokenId); } function updateArtworkMetadata(bytes24 _artId, uint256 _tokenId, address _from, string memory _metadata, bytes memory _signature ) public onlyOwner whenNotPaused { require(verifySignature(true,_from,_artId, _signature), "Signature Verification failed"); require(_isApprovedOrOwner(_from, _tokenId), "Transfer caller is not the owner nor approved"); _updateMetadata(_tokenId, _metadata); } }
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":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes24","name":"_artId","type":"bytes24"},{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"address","name":"_from","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"bytes","name":"_signature","type":"bytes"}],"name":"artworkApprove","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes24","name":"_artId","type":"bytes24"},{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"address","name":"_from","type":"address"},{"internalType":"bytes","name":"_signature","type":"bytes"}],"name":"artworkClearApproval","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes24","name":"_artId","type":"bytes24"},{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"address","name":"_from","type":"address"},{"internalType":"bytes","name":"_signature","type":"bytes"}],"name":"burnArtworkToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes24","name":"_artId","type":"bytes24"},{"internalType":"bool","name":"_isWeb3Signature","type":"bool"},{"internalType":"bytes32","name":"_rfid","type":"bytes32"},{"internalType":"address","name":"_recipient","type":"address"},{"internalType":"address","name":"_signer","type":"address"},{"internalType":"string","name":"_metadata","type":"string"},{"internalType":"bytes","name":"_signature","type":"bytes"}],"name":"createArtworkToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getBaseContract","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"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":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"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":"address","name":"_address","type":"address"}],"name":"setRtistiqBaseAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"bytes32","name":"_rfid","type":"bytes32"},{"internalType":"address","name":"_from","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"bool","name":"_isWeb3Signature","type":"bool"},{"internalType":"bytes","name":"_signature","type":"bytes"}],"name":"transferArtworkOwnership","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":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes24","name":"_artId","type":"bytes24"},{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"address","name":"_from","type":"address"},{"internalType":"string","name":"_metadata","type":"string"},{"internalType":"bytes","name":"_signature","type":"bytes"}],"name":"updateArtworkMetadata","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b50604051806040016040528060078152602001665274697374697160c81b8152506040518060400160405280600381526020016214945560ea1b81525060405180606001604052806022815260200162003694602291396200007a6301ffc9a760e01b62000150565b600062000086620001d5565b600180546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506001805460ff60a01b191690558251620000f6906003906020860190620001d9565b5081516200010c906004906020850190620001d9565b50805162000122906005906020840190620001d9565b50620001356380ac58cd60e01b62000150565b62000147635b5e139f60e01b62000150565b50505062000275565b6001600160e01b03198082161415620001b0576040805162461bcd60e51b815260206004820152601c60248201527f4552433136353a20696e76616c696420696e7465726661636520696400000000604482015290519081900360640190fd5b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b3390565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200021c57805160ff19168380011785556200024c565b828001600101855582156200024c579182015b828111156200024c5782518255916020019190600101906200022f565b506200025a9291506200025e565b5090565b5b808211156200025a57600081556001016200025f565b61340f80620002856000396000f3fe608060405234801561001057600080fd5b50600436106101cf5760003560e01c80636c0360eb1161010457806395d89b41116100a2578063ceaea63511610071578063ceaea63514610a1e578063e3f7fc4614610ae9578063e985e9c514610bbb578063f2fde38b14610be9576101cf565b806395d89b4114610907578063a22cb4651461090f578063b88d4fde1461093d578063c87b56dd14610a01576101cf565b806381662c8e116100de57806381662c8e146106455780638456cb59146107a75780638da5cb5b146107af57806392281dcf146107b7576101cf565b80636c0360eb146105fd57806370a0823114610605578063715018a61461063d576101cf565b806342842e0e116101715780635c975abb1161014b5780635c975abb146105aa578063609b5b89146105b25780636352211e146105ba578063688c9cba146105d7576101cf565b806342842e0e146103fc578063527973f31461043257806355f804b314610506576101cf565b8063095ea7b3116101ad578063095ea7b3146102c557806323b872dd146102f35780633d33b6f5146103295780633f4ba83a146103f4576101cf565b806301ffc9a7146101d457806306fdde031461020f578063081812fc1461028c575b600080fd5b6101fb600480360360208110156101ea57600080fd5b50356001600160e01b031916610c0f565b604080519115158252519081900360200190f35b610217610c32565b6040805160208082528351818301528351919283929083019185019080838360005b83811015610251578181015183820152602001610239565b50505050905090810190601f16801561027e5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102a9600480360360208110156102a257600080fd5b5035610cc8565b604080516001600160a01b039092168252519081900360200190f35b6102f1600480360360408110156102db57600080fd5b506001600160a01b038135169060200135610d46565b005b6102f16004803603606081101561030957600080fd5b506001600160a01b03813581169160208101359091169060400135610dc5565b6102f16004803603608081101561033f57600080fd5b67ffffffffffffffff19823516916020810135916001600160a01b036040830135169190810190608081016060820135600160201b81111561038057600080fd5b82018360208201111561039257600080fd5b803590602001918460018302840111600160201b831117156103b357600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550610e1c945050505050565b6102f1610f3f565b6102f16004803603606081101561041257600080fd5b506001600160a01b03813581169160208101359091169060400135610ffb565b6102f1600480360360a081101561044857600080fd5b67ffffffffffffffff19823516916020810135916001600160a01b03604083013581169260608101359091169181019060a081016080820135600160201b81111561049257600080fd5b8201836020820111156104a457600080fd5b803590602001918460018302840111600160201b831117156104c557600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550611016945050505050565b6102f16004803603602081101561051c57600080fd5b810190602081018135600160201b81111561053657600080fd5b82018360208201111561054857600080fd5b803590602001918460018302840111600160201b8311171561056957600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506111a2945050505050565b6101fb6111b9565b6102a96111c9565b6102a9600480360360208110156105d057600080fd5b50356111d8565b6102f1600480360360208110156105ed57600080fd5b50356001600160a01b0316611224565b610217611334565b61062b6004803603602081101561061b57600080fd5b50356001600160a01b0316611395565b60408051918252519081900360200190f35b6102f161139b565b61062b600480360360e081101561065b57600080fd5b67ffffffffffffffff198235169160208101351515916040820135916001600160a01b0360608201358116926080830135909116919081019060c0810160a0820135600160201b8111156106ae57600080fd5b8201836020820111156106c057600080fd5b803590602001918460018302840111600160201b831117156106e157600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295949360208101935035915050600160201b81111561073357600080fd5b82018360208201111561074557600080fd5b803590602001918460018302840111600160201b8311171561076657600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550611447945050505050565b6102f161162c565b6102a96116e3565b6102f1600480360360a08110156107cd57600080fd5b67ffffffffffffffff19823516916020810135916001600160a01b036040830135169190810190608081016060820135600160201b81111561080e57600080fd5b82018360208201111561082057600080fd5b803590602001918460018302840111600160201b8311171561084157600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295949360208101935035915050600160201b81111561089357600080fd5b8201836020820111156108a557600080fd5b803590602001918460018302840111600160201b831117156108c657600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506116f2945050505050565b61021761183c565b6102f16004803603604081101561092557600080fd5b506001600160a01b038135169060200135151561189d565b6102f16004803603608081101561095357600080fd5b6001600160a01b03823581169260208101359091169160408201359190810190608081016060820135600160201b81111561098d57600080fd5b82018360208201111561099f57600080fd5b803590602001918460018302840111600160201b831117156109c057600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955061190b945050505050565b61021760048036036020811015610a1757600080fd5b5035611969565b6102f160048036036080811015610a3457600080fd5b67ffffffffffffffff19823516916020810135916001600160a01b036040830135169190810190608081016060820135600160201b811115610a7557600080fd5b820183602082011115610a8757600080fd5b803590602001918460018302840111600160201b83111715610aa857600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550611cf4945050505050565b6102f1600480360360c0811015610aff57600080fd5b8135916020810135916001600160a01b03604083013581169260608101359091169160808201351515919081019060c0810160a0820135600160201b811115610b4757600080fd5b820183602082011115610b5957600080fd5b803590602001918460018302840111600160201b83111715610b7a57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550611e3d945050505050565b6101fb60048036036040811015610bd157600080fd5b506001600160a01b0381358116916020013516612054565b6102f160048036036020811015610bff57600080fd5b50356001600160a01b031661205d565b6001600160e01b0319811660009081526020819052604090205460ff165b919050565b60038054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610cbe5780601f10610c9357610100808354040283529160200191610cbe565b820191906000526020600020905b815481529060010190602001808311610ca157829003601f168201915b5050505050905090565b60025460408051631b9584c760e01b81526004810184905290516000926001600160a01b031691631b9584c7916024808301926020929190829003018186803b158015610d1457600080fd5b505afa158015610d28573d6000803e3d6000fd5b505050506040513d6020811015610d3e57600080fd5b505192915050565b6000610d51826111d8565b9050806001600160a01b0316836001600160a01b03161415610da45760405162461bcd60e51b815260040180806020018281038252602181526020018061335b6021913960400191505060405180910390fd5b610db5610daf612160565b82612164565b50610dc083836121c6565b505050565b610dd6610dd0612160565b82612296565b610e115760405162461bcd60e51b81526004018080602001828103825260318152602001806133a96031913960400191505060405180910390fd5b610dc08383836123a5565b610e24612160565b6001600160a01b0316610e356116e3565b6001600160a01b031614610e7e576040805162461bcd60e51b8152602060048201819052602482015260008051602061330c833981519152604482015290519081900360640190fd5b610e866111b9565b15610ecb576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b610ed860018386846124ab565b610f17576040805162461bcd60e51b815260206004820152601d60248201526000805160206131c8833981519152604482015290519081900360640190fd5b6000610f22846111d8565b9050610f2e8382612164565b50610f388461251b565b5050505050565b610f47612160565b6001600160a01b0316610f586116e3565b6001600160a01b031614610fa1576040805162461bcd60e51b8152602060048201819052602482015260008051602061330c833981519152604482015290519081900360640190fd5b610fa96111b9565b610ff1576040805162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b604482015290519081900360640190fd5b610ff96125e4565b565b610dc08383836040518060200160405280600081525061190b565b61101e612160565b6001600160a01b031661102f6116e3565b6001600160a01b031614611078576040805162461bcd60e51b8152602060048201819052602482015260008051602061330c833981519152604482015290519081900360640190fd5b6110806111b9565b156110c5576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b60006110d0856111d8565b9050806001600160a01b0316836001600160a01b03161415611139576040805162461bcd60e51b815260206004820152601d60248201527f417070726f76616c20746f207468652063757272656e74206f776e6572000000604482015290519081900360640190fd5b61114660018588856124ab565b611185576040805162461bcd60e51b815260206004820152601d60248201526000805160206131c8833981519152604482015290519081900360640190fd5b61118f8482612164565b5061119a83866121c6565b505050505050565b80516111b5906005906020840190613134565b5050565b600154600160a01b900460ff1690565b6006546001600160a01b031690565b60025460408051637437fbcb60e01b81526004810184905290516000926001600160a01b031691637437fbcb916024808301926020929190829003018186803b158015610d1457600080fd5b61122c612160565b6001600160a01b031661123d6116e3565b6001600160a01b031614611286576040805162461bcd60e51b8152602060048201819052602482015260008051602061330c833981519152604482015290519081900360640190fd5b600680546001600160a01b0319166001600160a01b03831690811790915560408051630d559b8360e11b81529051839291631aab3706916004808301926020929190829003018186803b1580156112dc57600080fd5b505afa1580156112f0573d6000803e3d6000fd5b505050506040513d602081101561130657600080fd5b505161131157600080fd5b600280546001600160a01b0319166001600160a01b039290921691909117905550565b60058054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610cbe5780601f10610c9357610100808354040283529160200191610cbe565b50600090565b6113a3612160565b6001600160a01b03166113b46116e3565b6001600160a01b0316146113fd576040805162461bcd60e51b8152602060048201819052602482015260008051602061330c833981519152604482015290519081900360640190fd5b6001546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600180546001600160a01b0319169055565b6000611451612160565b6001600160a01b03166114626116e3565b6001600160a01b0316146114ab576040805162461bcd60e51b8152602060048201819052602482015260008051602061330c833981519152604482015290519081900360640190fd5b6114b36111b9565b156114f8576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b60025460408051630c03331d60e31b81526004810189905290516001600160a01b039092169163601998e891602480820192602092909190829003018186803b15801561154457600080fd5b505afa158015611558573d6000803e3d6000fd5b505050506040513d602081101561156e57600080fd5b50511515600114156115c7576040805162461bcd60e51b815260206004820152601e60248201527f54686520676976656e205246494420616c726561647920657869737473210000604482015290519081900360640190fd5b6115d387858a856124ab565b611612576040805162461bcd60e51b815260206004820152601d60248201526000805160206131c8833981519152604482015290519081900360640190fd5b600061161f868886612687565b9998505050505050505050565b611634612160565b6001600160a01b03166116456116e3565b6001600160a01b03161461168e576040805162461bcd60e51b8152602060048201819052602482015260008051602061330c833981519152604482015290519081900360640190fd5b6116966111b9565b156116db576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b610ff96127bb565b6001546001600160a01b031690565b6116fa612160565b6001600160a01b031661170b6116e3565b6001600160a01b031614611754576040805162461bcd60e51b8152602060048201819052602482015260008051602061330c833981519152604482015290519081900360640190fd5b61175c6111b9565b156117a1576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b6117ae60018487846124ab565b6117ed576040805162461bcd60e51b815260206004820152601d60248201526000805160206131c8833981519152604482015290519081900360640190fd5b6117f78385612296565b6118325760405162461bcd60e51b815260040180806020018281038252602d81526020018061337c602d913960400191505060405180910390fd5b610f388483612844565b60048054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610cbe5780601f10610c9357610100808354040283529160200191610cbe565b6118a5612160565b6001600160a01b0316826001600160a01b031614156111b5576040805162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015290519081900360640190fd5b61191c611916612160565b83612296565b6119575760405162461bcd60e51b81526004018080602001828103825260318152602001806133a96031913960400191505060405180910390fd5b6119638484848461290d565b50505050565b6002546040805162491fcf60e11b81526004810184905290516060926001600160a01b03169162923f9e916024808301926020929190829003018186803b1580156119b357600080fd5b505afa1580156119c7573d6000803e3d6000fd5b505050506040513d60208110156119dd57600080fd5b5051611a1a5760405162461bcd60e51b815260040180806020018281038252602f81526020018061332c602f913960400191505060405180910390fd5b60025460408051633bb3a24d60e01b81526004810185905290516060926001600160a01b031691633bb3a24d916024808301926000929190829003018186803b158015611a6657600080fd5b505afa158015611a7a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526020811015611aa357600080fd5b8101908080516040519392919084600160201b821115611ac257600080fd5b908301906020820185811115611ad757600080fd5b8251600160201b811182820188101715611af057600080fd5b82525081516020918201929091019080838360005b83811015611b1d578181015183820152602001611b05565b50505050905090810190601f168015611b4a5780820380516001836020036101000a031916815260200191505b5060405250505090506060611b5d611334565b9050805160001415611b7157509050610c2d565b815115611c325780826040516020018083805190602001908083835b60208310611bac5780518252601f199092019160209182019101611b8d565b51815160209384036101000a600019018019909216911617905285519190930192850191508083835b60208310611bf45780518252601f199092019160209182019101611bd5565b6001836020036101000a0380198251168184511680821785525050505050509050019250505060405160208183030381529060405292505050610c2d565b80611c3c8561295f565b6040516020018083805190602001908083835b60208310611c6e5780518252601f199092019160209182019101611c4f565b51815160209384036101000a600019018019909216911617905285519190930192850191508083835b60208310611cb65780518252601f199092019160209182019101611c97565b6001836020036101000a0380198251168184511680821785525050505050509050019250505060405160208183030381529060405292505050919050565b611cfc612160565b6001600160a01b0316611d0d6116e3565b6001600160a01b031614611d56576040805162461bcd60e51b8152602060048201819052602482015260008051602061330c833981519152604482015290519081900360640190fd5b611d5e6111b9565b15611da3576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b611db060018386846124ab565b611def576040805162461bcd60e51b815260206004820152601d60248201526000805160206131c8833981519152604482015290519081900360640190fd5b611df98284612296565b611e345760405162461bcd60e51b815260040180806020018281038252602d81526020018061337c602d913960400191505060405180910390fd5b61196383612a3a565b611e45612160565b6001600160a01b0316611e566116e3565b6001600160a01b031614611e9f576040805162461bcd60e51b8152602060048201819052602482015260008051602061330c833981519152604482015290519081900360640190fd5b611ea76111b9565b15611eec576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b600082611f3457506040805160208082018890526bffffffffffffffffffffffff19606087901b16828401528251603481840301815260549092019092528051910120611f86565b8560405160200180807f19457468657265756d205369676e6564204d6573736167653a0a333200000000815250601c018281526020019150506040516020818303038152906040528051906020012090505b6000611f928284612ba3565b9050806001600160a01b0316866001600160a01b031614611ffa576040805162461bcd60e51b815260206004820152601d60248201527f5369676e617475726520766572696669636174696f6e204661696c6564000000604482015290519081900360640190fd5b6120048689612296565b61203f5760405162461bcd60e51b815260040180806020018281038252602d81526020018061337c602d913960400191505060405180910390fd5b61204a86868a6123a5565b5050505050505050565b60005b92915050565b612065612160565b6001600160a01b03166120766116e3565b6001600160a01b0316146120bf576040805162461bcd60e51b8152602060048201819052602482015260008051602061330c833981519152604482015290519081900360640190fd5b6001600160a01b0381166121045760405162461bcd60e51b815260040180806020018281038252602681526020018061321a6026913960400191505060405180910390fd5b6001546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600180546001600160a01b0319166001600160a01b0392909216919091179055565b3390565b6000816001600160a01b0316836001600160a01b0316148061218b575061218b8284612054565b6120575760405162461bcd60e51b81526004018080602001828103825260388152602001806132b26038913960400191505060405180910390fd5b6002546040805163a6bcd35360e01b81526001600160a01b038581166004830152602482018590529151919092169163a6bcd3539160448083019260209291908290030181600087803b15801561221c57600080fd5b505af1158015612230573d6000803e3d6000fd5b505050506040513d602081101561224657600080fd5b508190506001600160a01b03831661225d826111d8565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6002546040805162491fcf60e11b81526004810184905290516000926001600160a01b03169162923f9e916024808301926020929190829003018186803b1580156122e057600080fd5b505afa1580156122f4573d6000803e3d6000fd5b505050506040513d602081101561230a57600080fd5b50516123475760405162461bcd60e51b815260040180806020018281038252602c815260200180613286602c913960400191505060405180910390fd5b6000612352836111d8565b9050806001600160a01b0316846001600160a01b0316148061238d5750836001600160a01b031661238284610cc8565b6001600160a01b0316145b8061239d575061239d8185612054565b949350505050565b6001600160a01b0382166123ea5760405162461bcd60e51b81526004018080602001828103825260248152602001806132406024913960400191505060405180910390fd5b60006123f5826111d8565b6002546040805163083965f560e11b81526001600160a01b038781166004830152602482018790529151939450911691631072cbea9160448082019260009290919082900301818387803b15801561244c57600080fd5b505af1158015612460573d6000803e3d6000fd5b5050505081836001600160a01b0316826001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a450505050565b600080856124e957506040805167ffffffffffffffff19851660208083019190915282518083036018018152603890920190925280519101206124f5565b6124f284612c23565b90505b60006125018285612ba3565b6001600160a01b0387811691161492505050949350505050565b6002546040805163a6bcd35360e01b81526000600482018190526024820185905291516001600160a01b039093169263a6bcd35392604480840193602093929083900390910190829087803b15801561257357600080fd5b505af1158015612587573d6000803e3d6000fd5b505050506040513d602081101561259d57600080fd5b5081905060006125ac826111d8565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a450565b6125ec6111b9565b612634576040805162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b604482015290519081900360640190fd5b6001805460ff60a01b191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa61266a612160565b604080516001600160a01b039092168252519081900360200190a1565b6002546040516374169f3360e01b81526001600160a01b03858116600483019081526024830186905260606044840190815285516064850152855160009586959416936374169f33938a938a938a936084019060208501908083838d5b838110156126fc5781810151838201526020016126e4565b50505050905090810190601f1680156127295780820380516001836020036101000a031916815260200191505b50945050505050602060405180830381600087803b15801561274a57600080fd5b505af115801561275e573d6000803e3d6000fd5b505050506040513d602081101561277457600080fd5b505160405190915081906001600160a01b038716906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a490505b9392505050565b6127c36111b9565b15612808576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b6001805460ff60a01b1916600160a01b1790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25861266a612160565b600254604080516316597a9760e11b815260048101858152602482019283528451604483015284516001600160a01b0390941693632cb2f52e938793879392606490910190602085019080838360005b838110156128ac578181015183820152602001612894565b50505050905090810190601f1680156128d95780820380516001836020036101000a031916815260200191505b509350505050600060405180830381600087803b1580156128f957600080fd5b505af115801561119a573d6000803e3d6000fd5b6129188484846123a5565b61292484848484612c7e565b6119635760405162461bcd60e51b81526004018080602001828103825260328152602001806131e86032913960400191505060405180910390fd5b60608161298457506040805180820190915260018152600360fc1b6020820152610c2d565b8160005b811561299c57600101600a82049150612988565b60608167ffffffffffffffff811180156129b557600080fd5b506040519080825280601f01601f1916602001820160405280156129e0576020820181803683370190505b50859350905060001982015b8315612a3157600a840660300160f81b82828060019003935081518110612a0f57fe5b60200101906001600160f81b031916908160001a905350600a840493506129ec565b50949350505050565b612a426111b9565b15612a87576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b60025460408051637437fbcb60e01b81526004810184905290516000926001600160a01b031691637437fbcb916024808301926020929190829003018186803b158015612ad357600080fd5b505afa158015612ae7573d6000803e3d6000fd5b505050506040513d6020811015612afd57600080fd5b505160025460408051633da3f60d60e11b81526004810186905290519293506001600160a01b0390911691637b47ec1a9160248082019260009290919082900301818387803b158015612b4f57600080fd5b505af1158015612b63573d6000803e3d6000fd5b5050604051849250600091506001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b60008151604114612bfb576040805162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e67746800604482015290519081900360640190fd5b60208201516040830151606084015160001a612c1986828585612de6565b9695505050505050565b604080517f19457468657265756d205369676e6564204d6573736167653a0a32340000000060208083019190915267ffffffffffffffff198416603c8301528251603481840301815260549092019092528051910120919050565b6000612c92846001600160a01b0316612f64565b612c9e5750600161239d565b6060612dac630a85bd0160e11b612cb3612160565b88878760405160240180856001600160a01b03168152602001846001600160a01b0316815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b83811015612d1a578181015183820152602001612d02565b50505050905090810190601f168015612d475780820380516001836020036101000a031916815260200191505b5095505050505050604051602081830303815290604052906001600160e01b0319166020820180516001600160e01b0383818316178352505050506040518060600160405280603281526020016131e8603291396001600160a01b0388169190612f6a565b90506000818060200190516020811015612dc557600080fd5b50516001600160e01b031916630a85bd0160e11b1492505050949350505050565b60007f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0821115612e475760405162461bcd60e51b81526004018080602001828103825260228152602001806132646022913960400191505060405180910390fd5b8360ff16601b1480612e5c57508360ff16601c145b612e975760405162461bcd60e51b81526004018080602001828103825260228152602001806132ea6022913960400191505060405180910390fd5b600060018686868660405160008152602001604052604051808581526020018460ff1681526020018381526020018281526020019450505050506020604051602081039080840390855afa158015612ef3573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116612f5b576040805162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e61747572650000000000000000604482015290519081900360640190fd5b95945050505050565b3b151590565b606061239d848460008585612f7e85612f64565b612fcf576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b6020831061300e5780518252601f199092019160209182019101612fef565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114613070576040519150601f19603f3d011682016040523d82523d6000602084013e613075565b606091505b5091509150613085828286613090565b979650505050505050565b6060831561309f5750816127b4565b8251156130af5782518084602001fd5b8160405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156130f95781810151838201526020016130e1565b50505050905090810190601f1680156131265780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061317557805160ff19168380011785556131a2565b828001600101855582156131a2579182015b828111156131a2578251825591602001919060010190613187565b506131ae9291506131b2565b5090565b5b808211156131ae57600081556001016131b356fe5369676e617475726520566572696669636174696f6e206661696c65640000004552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e7465724f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573734552433732313a207472616e7366657220746f20746865207a65726f206164647265737345434453413a20696e76616c6964207369676e6174757265202773272076616c75654552433732313a206f70657261746f7220717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a20617070726f76652063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f76656420666f7220616c6c45434453413a20696e76616c6964207369676e6174757265202776272076616c75654f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65724552433732314d657461646174613a2055524920717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a20617070726f76616c20746f2063757272656e74206f776e65725472616e736665722063616c6c6572206973206e6f7420746865206f776e6572206e6f7220617070726f7665644552433732313a207472616e736665722063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564a26469706673582212201d736771dfba86a82cb1b8a86b2e701cc688996888bd0f52ae0b2fab478b9a7864736f6c634300060c003368747470733a2f2f676174657761792e70696e6174612e636c6f75642f697066732f
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101cf5760003560e01c80636c0360eb1161010457806395d89b41116100a2578063ceaea63511610071578063ceaea63514610a1e578063e3f7fc4614610ae9578063e985e9c514610bbb578063f2fde38b14610be9576101cf565b806395d89b4114610907578063a22cb4651461090f578063b88d4fde1461093d578063c87b56dd14610a01576101cf565b806381662c8e116100de57806381662c8e146106455780638456cb59146107a75780638da5cb5b146107af57806392281dcf146107b7576101cf565b80636c0360eb146105fd57806370a0823114610605578063715018a61461063d576101cf565b806342842e0e116101715780635c975abb1161014b5780635c975abb146105aa578063609b5b89146105b25780636352211e146105ba578063688c9cba146105d7576101cf565b806342842e0e146103fc578063527973f31461043257806355f804b314610506576101cf565b8063095ea7b3116101ad578063095ea7b3146102c557806323b872dd146102f35780633d33b6f5146103295780633f4ba83a146103f4576101cf565b806301ffc9a7146101d457806306fdde031461020f578063081812fc1461028c575b600080fd5b6101fb600480360360208110156101ea57600080fd5b50356001600160e01b031916610c0f565b604080519115158252519081900360200190f35b610217610c32565b6040805160208082528351818301528351919283929083019185019080838360005b83811015610251578181015183820152602001610239565b50505050905090810190601f16801561027e5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102a9600480360360208110156102a257600080fd5b5035610cc8565b604080516001600160a01b039092168252519081900360200190f35b6102f1600480360360408110156102db57600080fd5b506001600160a01b038135169060200135610d46565b005b6102f16004803603606081101561030957600080fd5b506001600160a01b03813581169160208101359091169060400135610dc5565b6102f16004803603608081101561033f57600080fd5b67ffffffffffffffff19823516916020810135916001600160a01b036040830135169190810190608081016060820135600160201b81111561038057600080fd5b82018360208201111561039257600080fd5b803590602001918460018302840111600160201b831117156103b357600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550610e1c945050505050565b6102f1610f3f565b6102f16004803603606081101561041257600080fd5b506001600160a01b03813581169160208101359091169060400135610ffb565b6102f1600480360360a081101561044857600080fd5b67ffffffffffffffff19823516916020810135916001600160a01b03604083013581169260608101359091169181019060a081016080820135600160201b81111561049257600080fd5b8201836020820111156104a457600080fd5b803590602001918460018302840111600160201b831117156104c557600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550611016945050505050565b6102f16004803603602081101561051c57600080fd5b810190602081018135600160201b81111561053657600080fd5b82018360208201111561054857600080fd5b803590602001918460018302840111600160201b8311171561056957600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506111a2945050505050565b6101fb6111b9565b6102a96111c9565b6102a9600480360360208110156105d057600080fd5b50356111d8565b6102f1600480360360208110156105ed57600080fd5b50356001600160a01b0316611224565b610217611334565b61062b6004803603602081101561061b57600080fd5b50356001600160a01b0316611395565b60408051918252519081900360200190f35b6102f161139b565b61062b600480360360e081101561065b57600080fd5b67ffffffffffffffff198235169160208101351515916040820135916001600160a01b0360608201358116926080830135909116919081019060c0810160a0820135600160201b8111156106ae57600080fd5b8201836020820111156106c057600080fd5b803590602001918460018302840111600160201b831117156106e157600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295949360208101935035915050600160201b81111561073357600080fd5b82018360208201111561074557600080fd5b803590602001918460018302840111600160201b8311171561076657600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550611447945050505050565b6102f161162c565b6102a96116e3565b6102f1600480360360a08110156107cd57600080fd5b67ffffffffffffffff19823516916020810135916001600160a01b036040830135169190810190608081016060820135600160201b81111561080e57600080fd5b82018360208201111561082057600080fd5b803590602001918460018302840111600160201b8311171561084157600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295949360208101935035915050600160201b81111561089357600080fd5b8201836020820111156108a557600080fd5b803590602001918460018302840111600160201b831117156108c657600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506116f2945050505050565b61021761183c565b6102f16004803603604081101561092557600080fd5b506001600160a01b038135169060200135151561189d565b6102f16004803603608081101561095357600080fd5b6001600160a01b03823581169260208101359091169160408201359190810190608081016060820135600160201b81111561098d57600080fd5b82018360208201111561099f57600080fd5b803590602001918460018302840111600160201b831117156109c057600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955061190b945050505050565b61021760048036036020811015610a1757600080fd5b5035611969565b6102f160048036036080811015610a3457600080fd5b67ffffffffffffffff19823516916020810135916001600160a01b036040830135169190810190608081016060820135600160201b811115610a7557600080fd5b820183602082011115610a8757600080fd5b803590602001918460018302840111600160201b83111715610aa857600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550611cf4945050505050565b6102f1600480360360c0811015610aff57600080fd5b8135916020810135916001600160a01b03604083013581169260608101359091169160808201351515919081019060c0810160a0820135600160201b811115610b4757600080fd5b820183602082011115610b5957600080fd5b803590602001918460018302840111600160201b83111715610b7a57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550611e3d945050505050565b6101fb60048036036040811015610bd157600080fd5b506001600160a01b0381358116916020013516612054565b6102f160048036036020811015610bff57600080fd5b50356001600160a01b031661205d565b6001600160e01b0319811660009081526020819052604090205460ff165b919050565b60038054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610cbe5780601f10610c9357610100808354040283529160200191610cbe565b820191906000526020600020905b815481529060010190602001808311610ca157829003601f168201915b5050505050905090565b60025460408051631b9584c760e01b81526004810184905290516000926001600160a01b031691631b9584c7916024808301926020929190829003018186803b158015610d1457600080fd5b505afa158015610d28573d6000803e3d6000fd5b505050506040513d6020811015610d3e57600080fd5b505192915050565b6000610d51826111d8565b9050806001600160a01b0316836001600160a01b03161415610da45760405162461bcd60e51b815260040180806020018281038252602181526020018061335b6021913960400191505060405180910390fd5b610db5610daf612160565b82612164565b50610dc083836121c6565b505050565b610dd6610dd0612160565b82612296565b610e115760405162461bcd60e51b81526004018080602001828103825260318152602001806133a96031913960400191505060405180910390fd5b610dc08383836123a5565b610e24612160565b6001600160a01b0316610e356116e3565b6001600160a01b031614610e7e576040805162461bcd60e51b8152602060048201819052602482015260008051602061330c833981519152604482015290519081900360640190fd5b610e866111b9565b15610ecb576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b610ed860018386846124ab565b610f17576040805162461bcd60e51b815260206004820152601d60248201526000805160206131c8833981519152604482015290519081900360640190fd5b6000610f22846111d8565b9050610f2e8382612164565b50610f388461251b565b5050505050565b610f47612160565b6001600160a01b0316610f586116e3565b6001600160a01b031614610fa1576040805162461bcd60e51b8152602060048201819052602482015260008051602061330c833981519152604482015290519081900360640190fd5b610fa96111b9565b610ff1576040805162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b604482015290519081900360640190fd5b610ff96125e4565b565b610dc08383836040518060200160405280600081525061190b565b61101e612160565b6001600160a01b031661102f6116e3565b6001600160a01b031614611078576040805162461bcd60e51b8152602060048201819052602482015260008051602061330c833981519152604482015290519081900360640190fd5b6110806111b9565b156110c5576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b60006110d0856111d8565b9050806001600160a01b0316836001600160a01b03161415611139576040805162461bcd60e51b815260206004820152601d60248201527f417070726f76616c20746f207468652063757272656e74206f776e6572000000604482015290519081900360640190fd5b61114660018588856124ab565b611185576040805162461bcd60e51b815260206004820152601d60248201526000805160206131c8833981519152604482015290519081900360640190fd5b61118f8482612164565b5061119a83866121c6565b505050505050565b80516111b5906005906020840190613134565b5050565b600154600160a01b900460ff1690565b6006546001600160a01b031690565b60025460408051637437fbcb60e01b81526004810184905290516000926001600160a01b031691637437fbcb916024808301926020929190829003018186803b158015610d1457600080fd5b61122c612160565b6001600160a01b031661123d6116e3565b6001600160a01b031614611286576040805162461bcd60e51b8152602060048201819052602482015260008051602061330c833981519152604482015290519081900360640190fd5b600680546001600160a01b0319166001600160a01b03831690811790915560408051630d559b8360e11b81529051839291631aab3706916004808301926020929190829003018186803b1580156112dc57600080fd5b505afa1580156112f0573d6000803e3d6000fd5b505050506040513d602081101561130657600080fd5b505161131157600080fd5b600280546001600160a01b0319166001600160a01b039290921691909117905550565b60058054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610cbe5780601f10610c9357610100808354040283529160200191610cbe565b50600090565b6113a3612160565b6001600160a01b03166113b46116e3565b6001600160a01b0316146113fd576040805162461bcd60e51b8152602060048201819052602482015260008051602061330c833981519152604482015290519081900360640190fd5b6001546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600180546001600160a01b0319169055565b6000611451612160565b6001600160a01b03166114626116e3565b6001600160a01b0316146114ab576040805162461bcd60e51b8152602060048201819052602482015260008051602061330c833981519152604482015290519081900360640190fd5b6114b36111b9565b156114f8576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b60025460408051630c03331d60e31b81526004810189905290516001600160a01b039092169163601998e891602480820192602092909190829003018186803b15801561154457600080fd5b505afa158015611558573d6000803e3d6000fd5b505050506040513d602081101561156e57600080fd5b50511515600114156115c7576040805162461bcd60e51b815260206004820152601e60248201527f54686520676976656e205246494420616c726561647920657869737473210000604482015290519081900360640190fd5b6115d387858a856124ab565b611612576040805162461bcd60e51b815260206004820152601d60248201526000805160206131c8833981519152604482015290519081900360640190fd5b600061161f868886612687565b9998505050505050505050565b611634612160565b6001600160a01b03166116456116e3565b6001600160a01b03161461168e576040805162461bcd60e51b8152602060048201819052602482015260008051602061330c833981519152604482015290519081900360640190fd5b6116966111b9565b156116db576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b610ff96127bb565b6001546001600160a01b031690565b6116fa612160565b6001600160a01b031661170b6116e3565b6001600160a01b031614611754576040805162461bcd60e51b8152602060048201819052602482015260008051602061330c833981519152604482015290519081900360640190fd5b61175c6111b9565b156117a1576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b6117ae60018487846124ab565b6117ed576040805162461bcd60e51b815260206004820152601d60248201526000805160206131c8833981519152604482015290519081900360640190fd5b6117f78385612296565b6118325760405162461bcd60e51b815260040180806020018281038252602d81526020018061337c602d913960400191505060405180910390fd5b610f388483612844565b60048054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610cbe5780601f10610c9357610100808354040283529160200191610cbe565b6118a5612160565b6001600160a01b0316826001600160a01b031614156111b5576040805162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015290519081900360640190fd5b61191c611916612160565b83612296565b6119575760405162461bcd60e51b81526004018080602001828103825260318152602001806133a96031913960400191505060405180910390fd5b6119638484848461290d565b50505050565b6002546040805162491fcf60e11b81526004810184905290516060926001600160a01b03169162923f9e916024808301926020929190829003018186803b1580156119b357600080fd5b505afa1580156119c7573d6000803e3d6000fd5b505050506040513d60208110156119dd57600080fd5b5051611a1a5760405162461bcd60e51b815260040180806020018281038252602f81526020018061332c602f913960400191505060405180910390fd5b60025460408051633bb3a24d60e01b81526004810185905290516060926001600160a01b031691633bb3a24d916024808301926000929190829003018186803b158015611a6657600080fd5b505afa158015611a7a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526020811015611aa357600080fd5b8101908080516040519392919084600160201b821115611ac257600080fd5b908301906020820185811115611ad757600080fd5b8251600160201b811182820188101715611af057600080fd5b82525081516020918201929091019080838360005b83811015611b1d578181015183820152602001611b05565b50505050905090810190601f168015611b4a5780820380516001836020036101000a031916815260200191505b5060405250505090506060611b5d611334565b9050805160001415611b7157509050610c2d565b815115611c325780826040516020018083805190602001908083835b60208310611bac5780518252601f199092019160209182019101611b8d565b51815160209384036101000a600019018019909216911617905285519190930192850191508083835b60208310611bf45780518252601f199092019160209182019101611bd5565b6001836020036101000a0380198251168184511680821785525050505050509050019250505060405160208183030381529060405292505050610c2d565b80611c3c8561295f565b6040516020018083805190602001908083835b60208310611c6e5780518252601f199092019160209182019101611c4f565b51815160209384036101000a600019018019909216911617905285519190930192850191508083835b60208310611cb65780518252601f199092019160209182019101611c97565b6001836020036101000a0380198251168184511680821785525050505050509050019250505060405160208183030381529060405292505050919050565b611cfc612160565b6001600160a01b0316611d0d6116e3565b6001600160a01b031614611d56576040805162461bcd60e51b8152602060048201819052602482015260008051602061330c833981519152604482015290519081900360640190fd5b611d5e6111b9565b15611da3576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b611db060018386846124ab565b611def576040805162461bcd60e51b815260206004820152601d60248201526000805160206131c8833981519152604482015290519081900360640190fd5b611df98284612296565b611e345760405162461bcd60e51b815260040180806020018281038252602d81526020018061337c602d913960400191505060405180910390fd5b61196383612a3a565b611e45612160565b6001600160a01b0316611e566116e3565b6001600160a01b031614611e9f576040805162461bcd60e51b8152602060048201819052602482015260008051602061330c833981519152604482015290519081900360640190fd5b611ea76111b9565b15611eec576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b600082611f3457506040805160208082018890526bffffffffffffffffffffffff19606087901b16828401528251603481840301815260549092019092528051910120611f86565b8560405160200180807f19457468657265756d205369676e6564204d6573736167653a0a333200000000815250601c018281526020019150506040516020818303038152906040528051906020012090505b6000611f928284612ba3565b9050806001600160a01b0316866001600160a01b031614611ffa576040805162461bcd60e51b815260206004820152601d60248201527f5369676e617475726520766572696669636174696f6e204661696c6564000000604482015290519081900360640190fd5b6120048689612296565b61203f5760405162461bcd60e51b815260040180806020018281038252602d81526020018061337c602d913960400191505060405180910390fd5b61204a86868a6123a5565b5050505050505050565b60005b92915050565b612065612160565b6001600160a01b03166120766116e3565b6001600160a01b0316146120bf576040805162461bcd60e51b8152602060048201819052602482015260008051602061330c833981519152604482015290519081900360640190fd5b6001600160a01b0381166121045760405162461bcd60e51b815260040180806020018281038252602681526020018061321a6026913960400191505060405180910390fd5b6001546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600180546001600160a01b0319166001600160a01b0392909216919091179055565b3390565b6000816001600160a01b0316836001600160a01b0316148061218b575061218b8284612054565b6120575760405162461bcd60e51b81526004018080602001828103825260388152602001806132b26038913960400191505060405180910390fd5b6002546040805163a6bcd35360e01b81526001600160a01b038581166004830152602482018590529151919092169163a6bcd3539160448083019260209291908290030181600087803b15801561221c57600080fd5b505af1158015612230573d6000803e3d6000fd5b505050506040513d602081101561224657600080fd5b508190506001600160a01b03831661225d826111d8565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6002546040805162491fcf60e11b81526004810184905290516000926001600160a01b03169162923f9e916024808301926020929190829003018186803b1580156122e057600080fd5b505afa1580156122f4573d6000803e3d6000fd5b505050506040513d602081101561230a57600080fd5b50516123475760405162461bcd60e51b815260040180806020018281038252602c815260200180613286602c913960400191505060405180910390fd5b6000612352836111d8565b9050806001600160a01b0316846001600160a01b0316148061238d5750836001600160a01b031661238284610cc8565b6001600160a01b0316145b8061239d575061239d8185612054565b949350505050565b6001600160a01b0382166123ea5760405162461bcd60e51b81526004018080602001828103825260248152602001806132406024913960400191505060405180910390fd5b60006123f5826111d8565b6002546040805163083965f560e11b81526001600160a01b038781166004830152602482018790529151939450911691631072cbea9160448082019260009290919082900301818387803b15801561244c57600080fd5b505af1158015612460573d6000803e3d6000fd5b5050505081836001600160a01b0316826001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a450505050565b600080856124e957506040805167ffffffffffffffff19851660208083019190915282518083036018018152603890920190925280519101206124f5565b6124f284612c23565b90505b60006125018285612ba3565b6001600160a01b0387811691161492505050949350505050565b6002546040805163a6bcd35360e01b81526000600482018190526024820185905291516001600160a01b039093169263a6bcd35392604480840193602093929083900390910190829087803b15801561257357600080fd5b505af1158015612587573d6000803e3d6000fd5b505050506040513d602081101561259d57600080fd5b5081905060006125ac826111d8565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a450565b6125ec6111b9565b612634576040805162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b604482015290519081900360640190fd5b6001805460ff60a01b191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa61266a612160565b604080516001600160a01b039092168252519081900360200190a1565b6002546040516374169f3360e01b81526001600160a01b03858116600483019081526024830186905260606044840190815285516064850152855160009586959416936374169f33938a938a938a936084019060208501908083838d5b838110156126fc5781810151838201526020016126e4565b50505050905090810190601f1680156127295780820380516001836020036101000a031916815260200191505b50945050505050602060405180830381600087803b15801561274a57600080fd5b505af115801561275e573d6000803e3d6000fd5b505050506040513d602081101561277457600080fd5b505160405190915081906001600160a01b038716906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a490505b9392505050565b6127c36111b9565b15612808576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b6001805460ff60a01b1916600160a01b1790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25861266a612160565b600254604080516316597a9760e11b815260048101858152602482019283528451604483015284516001600160a01b0390941693632cb2f52e938793879392606490910190602085019080838360005b838110156128ac578181015183820152602001612894565b50505050905090810190601f1680156128d95780820380516001836020036101000a031916815260200191505b509350505050600060405180830381600087803b1580156128f957600080fd5b505af115801561119a573d6000803e3d6000fd5b6129188484846123a5565b61292484848484612c7e565b6119635760405162461bcd60e51b81526004018080602001828103825260328152602001806131e86032913960400191505060405180910390fd5b60608161298457506040805180820190915260018152600360fc1b6020820152610c2d565b8160005b811561299c57600101600a82049150612988565b60608167ffffffffffffffff811180156129b557600080fd5b506040519080825280601f01601f1916602001820160405280156129e0576020820181803683370190505b50859350905060001982015b8315612a3157600a840660300160f81b82828060019003935081518110612a0f57fe5b60200101906001600160f81b031916908160001a905350600a840493506129ec565b50949350505050565b612a426111b9565b15612a87576040805162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015290519081900360640190fd5b60025460408051637437fbcb60e01b81526004810184905290516000926001600160a01b031691637437fbcb916024808301926020929190829003018186803b158015612ad357600080fd5b505afa158015612ae7573d6000803e3d6000fd5b505050506040513d6020811015612afd57600080fd5b505160025460408051633da3f60d60e11b81526004810186905290519293506001600160a01b0390911691637b47ec1a9160248082019260009290919082900301818387803b158015612b4f57600080fd5b505af1158015612b63573d6000803e3d6000fd5b5050604051849250600091506001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b60008151604114612bfb576040805162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e67746800604482015290519081900360640190fd5b60208201516040830151606084015160001a612c1986828585612de6565b9695505050505050565b604080517f19457468657265756d205369676e6564204d6573736167653a0a32340000000060208083019190915267ffffffffffffffff198416603c8301528251603481840301815260549092019092528051910120919050565b6000612c92846001600160a01b0316612f64565b612c9e5750600161239d565b6060612dac630a85bd0160e11b612cb3612160565b88878760405160240180856001600160a01b03168152602001846001600160a01b0316815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b83811015612d1a578181015183820152602001612d02565b50505050905090810190601f168015612d475780820380516001836020036101000a031916815260200191505b5095505050505050604051602081830303815290604052906001600160e01b0319166020820180516001600160e01b0383818316178352505050506040518060600160405280603281526020016131e8603291396001600160a01b0388169190612f6a565b90506000818060200190516020811015612dc557600080fd5b50516001600160e01b031916630a85bd0160e11b1492505050949350505050565b60007f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0821115612e475760405162461bcd60e51b81526004018080602001828103825260228152602001806132646022913960400191505060405180910390fd5b8360ff16601b1480612e5c57508360ff16601c145b612e975760405162461bcd60e51b81526004018080602001828103825260228152602001806132ea6022913960400191505060405180910390fd5b600060018686868660405160008152602001604052604051808581526020018460ff1681526020018381526020018281526020019450505050506020604051602081039080840390855afa158015612ef3573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116612f5b576040805162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e61747572650000000000000000604482015290519081900360640190fd5b95945050505050565b3b151590565b606061239d848460008585612f7e85612f64565b612fcf576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b6020831061300e5780518252601f199092019160209182019101612fef565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114613070576040519150601f19603f3d011682016040523d82523d6000602084013e613075565b606091505b5091509150613085828286613090565b979650505050505050565b6060831561309f5750816127b4565b8251156130af5782518084602001fd5b8160405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156130f95781810151838201526020016130e1565b50505050905090810190601f1680156131265780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061317557805160ff19168380011785556131a2565b828001600101855582156131a2579182015b828111156131a2578251825591602001919060010190613187565b506131ae9291506131b2565b5090565b5b808211156131ae57600081556001016131b356fe5369676e617475726520566572696669636174696f6e206661696c65640000004552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e7465724f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573734552433732313a207472616e7366657220746f20746865207a65726f206164647265737345434453413a20696e76616c6964207369676e6174757265202773272076616c75654552433732313a206f70657261746f7220717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a20617070726f76652063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f76656420666f7220616c6c45434453413a20696e76616c6964207369676e6174757265202776272076616c75654f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65724552433732314d657461646174613a2055524920717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a20617070726f76616c20746f2063757272656e74206f776e65725472616e736665722063616c6c6572206973206e6f7420746865206f776e6572206e6f7220617070726f7665644552433732313a207472616e736665722063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564a26469706673582212201d736771dfba86a82cb1b8a86b2e701cc688996888bd0f52ae0b2fab478b9a7864736f6c634300060c0033
Deployed Bytecode Sourcemap
71812:4295:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9282:150;;;;;;;;;;;;;;;;-1:-1:-1;9282:150:0;-1:-1:-1;;;;;;9282:150:0;;:::i;:::-;;;;;;;;;;;;;;;;;;60150:100;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;63837:148;;;;;;;;;;;;;;;;-1:-1:-1;63837:148:0;;:::i;:::-;;;;-1:-1:-1;;;;;63837:148:0;;;;;;;;;;;;;;62827:287;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;62827:287:0;;;;;;;;:::i;:::-;;65033:305;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;65033:305:0;;;;;;;;;;;;;;;;;:::i;74896:384::-;;;;;;;;;;;;;;;;-1:-1:-1;;74896:384:0;;;;;;;;;-1:-1:-1;;;;;74896:384:0;;;;;;;;;;;;;;;;;-1:-1:-1;;;74896:384:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;74896:384:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;74896:384:0;;-1:-1:-1;74896:384:0;;-1:-1:-1;;;;;74896:384:0:i;67611:76::-;;;:::i;64581:151::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;64581:151:0;;;;;;;;;;;;;;;;;:::i;74436:454::-;;;;;;;;;;;;;;;;-1:-1:-1;;74436:454:0;;;;;;;;;-1:-1:-1;;;;;74436:454:0;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;74436:454:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;74436:454:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;74436:454:0;;-1:-1:-1;74436:454:0;;-1:-1:-1;;;;;74436:454:0:i;61659:89::-;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;61659:89:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;61659:89:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;61659:89:0;;-1:-1:-1;61659:89:0;;-1:-1:-1;;;;;61659:89:0:i;49786:86::-;;;:::i;59606:102::-;;;:::i;59940:143::-;;;;;;;;;;;;;;;;-1:-1:-1;59940:143:0;;:::i;59283:315::-;;;;;;;;;;;;;;;;-1:-1:-1;59283:315:0;-1:-1:-1;;;;;59283:315:0;;:::i;61554:97::-;;;:::i;59770:108::-;;;;;;;;;;;;;;;;-1:-1:-1;59770:108:0;-1:-1:-1;;;;;59770:108:0;;:::i;:::-;;;;;;;;;;;;;;;;48130:148;;;:::i;72749:825::-;;;;;;;;;;;;;;;;-1:-1:-1;;72749:825:0;;;;;;;;;;;;;;;;-1:-1:-1;;;;;72749:825:0;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;72749:825:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;72749:825:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;72749:825:0;;;;;;;;-1:-1:-1;72749:825:0;;-1:-1:-1;;;;;72749:825:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;72749:825:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;72749:825:0;;-1:-1:-1;72749:825:0;;-1:-1:-1;;;;;72749:825:0:i;67443:75::-;;;:::i;47479:87::-;;;:::i;75670:432::-;;;;;;;;;;;;;;;;-1:-1:-1;;75670:432:0;;;;;;;;;-1:-1:-1;;;;;75670:432:0;;;;;;;;;;;;;;;;;-1:-1:-1;;;75670:432:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;75670:432:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;75670:432:0;;;;;;;;-1:-1:-1;75670:432:0;;-1:-1:-1;;;;;75670:432:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;75670:432:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;75670:432:0;;-1:-1:-1;75670:432:0;;-1:-1:-1;;;;;75670:432:0:i;60319:104::-;;;:::i;63993:166::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;63993:166:0;;;;;;;;;;:::i;64740:285::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;64740:285:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;64740:285:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;64740:285:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;64740:285:0;;-1:-1:-1;64740:285:0;;-1:-1:-1;;;;;64740:285:0:i;60494:821::-;;;;;;;;;;;;;;;;-1:-1:-1;60494:821:0;;:::i;75288:376::-;;;;;;;;;;;;;;;;-1:-1:-1;;75288:376:0;;;;;;;;;-1:-1:-1;;;;;75288:376:0;;;;;;;;;;;;;;;;;-1:-1:-1;;;75288:376:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;75288:376:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;75288:376:0;;-1:-1:-1;75288:376:0;;-1:-1:-1;;;;;75288:376:0:i;73580:850::-;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;73580:850:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;73580:850:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;73580:850:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;73580:850:0;;-1:-1:-1;73580:850:0;;-1:-1:-1;;;;;73580:850:0:i;64167:134::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;64167:134:0;;;;;;;;;;:::i;48433:244::-;;;;;;;;;;;;;;;;-1:-1:-1;48433:244:0;-1:-1:-1;;;;;48433:244:0;;:::i;9282:150::-;-1:-1:-1;;;;;;9391:33:0;;9367:4;9391:33;;;;;;;;;;;;;9282:150;;;;:::o;60150:100::-;60237:5;60230:12;;;;;;;;-1:-1:-1;;60230:12:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;60204:13;;60230:12;;60237:5;;60230:12;;60237:5;60230:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;60150:100;:::o;63837:148::-;63939:11;;:38;;;-1:-1:-1;;;63939:38:0;;;;;;;;;;63913:7;;-1:-1:-1;;;;;63939:11:0;;:29;;:38;;;;;;;;;;;;;;:11;:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;63939:38:0;;63837:148;-1:-1:-1;;63837:148:0:o;62827:287::-;62908:13;62924:29;62945:7;62924:20;:29::i;:::-;62908:45;;62978:5;-1:-1:-1;;;;;62972:11:0;:2;-1:-1:-1;;;;;62972:11:0;;;62964:57;;;;-1:-1:-1;;;62964:57:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;63042:32;63054:12;:10;:12::i;:::-;63068:5;63042:11;:32::i;:::-;;63085:21;63094:2;63098:7;63085:8;:21::i;:::-;62827:287;;;:::o;65033:305::-;65194:41;65213:12;:10;:12::i;:::-;65227:7;65194:18;:41::i;:::-;65186:103;;;;-1:-1:-1;;;65186:103:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;65302:28;65312:4;65318:2;65322:7;65302:9;:28::i;74896:384::-;47710:12;:10;:12::i;:::-;-1:-1:-1;;;;;47699:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;47699:23:0;;47691:68;;;;;-1:-1:-1;;;47691:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;47691:68:0;;;;;;;;;;;;;;;50112:8:::1;:6;:8::i;:::-;50111:9;50103:38;;;::::0;;-1:-1:-1;;;50103:38:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;50103:38:0;;;;;;;;;;;;;::::1;;75067:46:::2;75083:4;75088:5;75094:6;75102:10;75067:15;:46::i;:::-;75059:88;;;::::0;;-1:-1:-1;;;75059:88:0;;::::2;;::::0;::::2;::::0;::::2;::::0;;;;-1:-1:-1;;;;;;;;;;;75059:88:0;;;;;;;;;;;;;::::2;;75166:13;75182:30;75203:8;75182:20;:30::i;:::-;75166:46;;75219:25;75231:5;75238;75219:11;:25::i;:::-;;75251:23;75265:8;75251:13;:23::i;:::-;50152:1;74896:384:::0;;;;:::o;67611:76::-;47710:12;:10;:12::i;:::-;-1:-1:-1;;;;;47699:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;47699:23:0;;47691:68;;;;;-1:-1:-1;;;47691:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;47691:68:0;;;;;;;;;;;;;;;50389:8:::1;:6;:8::i;:::-;50381:41;;;::::0;;-1:-1:-1;;;50381:41:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;50381:41:0;;;;;;;;;;;;;::::1;;67669:10:::2;:8;:10::i;:::-;67611:76::o:0;64581:151::-;64685:39;64702:4;64708:2;64712:7;64685:39;;;;;;;;;;;;:16;:39::i;74436:454::-;47710:12;:10;:12::i;:::-;-1:-1:-1;;;;;47699:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;47699:23:0;;47691:68;;;;;-1:-1:-1;;;47691:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;47691:68:0;;;;;;;;;;;;;;;50112:8:::1;:6;:8::i;:::-;50111:9;50103:38;;;::::0;;-1:-1:-1;;;50103:38:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;50103:38:0;;;;;;;;;;;;;::::1;;74620:13:::2;74636:30;74657:8;74636:20;:30::i;:::-;74620:46;;74688:5;-1:-1:-1::0;;;;;74681:12:0::2;:3;-1:-1:-1::0;;;;;74681:12:0::2;;;74673:54;;;::::0;;-1:-1:-1;;;74673:54:0;;::::2;;::::0;::::2;::::0;::::2;::::0;;;;::::2;::::0;;;;;;;;;;;;;::::2;;74742:46;74758:4;74763:5;74769:6;74777:10;74742:15;:46::i;:::-;74734:88;;;::::0;;-1:-1:-1;;;74734:88:0;;::::2;;::::0;::::2;::::0;::::2;::::0;;;;-1:-1:-1;;;;;;;;;;;74734:88:0;;;;;;;;;;;;;::::2;;74829:25;74841:5;74848;74829:11;:25::i;:::-;;74861:23;74870:3;74875:8;74861;:23::i;:::-;50152:1;74436:454:::0;;;;;:::o;61659:89::-;61721:19;;;;:8;;:19;;;;;:::i;:::-;;61659:89;:::o;49786:86::-;49857:7;;-1:-1:-1;;;49857:7:0;;;;;49786:86::o;59606:102::-;59681:19;;-1:-1:-1;;;;;59681:19:0;59606:102;:::o;59940:143::-;60039:11;;:36;;;-1:-1:-1;;;60039:36:0;;;;;;;;;;60012:7;;-1:-1:-1;;;;;60039:11:0;;:27;;:36;;;;;;;;;;;;;;:11;:36;;;;;;;;;;59283:315;47710:12;:10;:12::i;:::-;-1:-1:-1;;;;;47699:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;47699:23:0;;47691:68;;;;;-1:-1:-1;;;47691:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;47691:68:0;;;;;;;;;;;;;;;59424:19:::1;:30:::0;;-1:-1:-1;;;;;;59424:30:0::1;-1:-1:-1::0;;;;;59424:30:0;::::1;::::0;;::::1;::::0;;;59473:33:::1;::::0;;-1:-1:-1;;;59473:33:0;;;;59424:30;;;59473:31:::1;::::0;:33:::1;::::0;;::::1;::::0;::::1;::::0;;;;;;;;59424:30;59473:33;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;59473:33:0;59465:42:::1;;;::::0;::::1;;59559:11;:31:::0;;-1:-1:-1;;;;;;59559:31:0::1;-1:-1:-1::0;;;;;59559:31:0;;;::::1;::::0;;;::::1;::::0;;-1:-1:-1;59283:315:0:o;61554:97::-;61635:8;61628:15;;;;;;;;-1:-1:-1;;61628:15:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;61602:13;;61628:15;;61635:8;;61628:15;;61635:8;61628:15;;;;;;;;;;;;;;;;;;;;;;;;59770:108;-1:-1:-1;59842:7:0;;59770:108::o;48130:148::-;47710:12;:10;:12::i;:::-;-1:-1:-1;;;;;47699:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;47699:23:0;;47691:68;;;;;-1:-1:-1;;;47691:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;47691:68:0;;;;;;;;;;;;;;;48221:6:::1;::::0;48200:40:::1;::::0;48237:1:::1;::::0;-1:-1:-1;;;;;48221:6:0::1;::::0;48200:40:::1;::::0;48237:1;;48200:40:::1;48251:6;:19:::0;;-1:-1:-1;;;;;;48251:19:0::1;::::0;;48130:148::o;72749:825::-;72995:7;47710:12;:10;:12::i;:::-;-1:-1:-1;;;;;47699:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;47699:23:0;;47691:68;;;;;-1:-1:-1;;;47691:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;47691:68:0;;;;;;;;;;;;;;;50112:8:::1;:6;:8::i;:::-;50111:9;50103:38;;;::::0;;-1:-1:-1;;;50103:38:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;50103:38:0;;;;;;;;;;;;;::::1;;73026:11:::2;::::0;:29:::2;::::0;;-1:-1:-1;;;73026:29:0;;::::2;::::0;::::2;::::0;;;;;-1:-1:-1;;;;;73026:11:0;;::::2;::::0;:22:::2;::::0;:29;;;;;::::2;::::0;;;;;;;;;:11;:29;::::2;;::::0;::::2;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;::::0;::::2;;-1:-1:-1::0;73026:29:0;:37:::2;;73059:4;73026:37;;73018:80;;;::::0;;-1:-1:-1;;;73018:80:0;;::::2;;::::0;::::2;::::0;::::2;::::0;;;;::::2;::::0;;;;;;;;;;;;;::::2;;73113:60;73129:16;73146:7;73154:6;73162:10;73113:15;:60::i;:::-;73105:102;;;::::0;;-1:-1:-1;;;73105:102:0;;::::2;;::::0;::::2;::::0;::::2;::::0;;;;-1:-1:-1;;;;;;;;;;;73105:102:0;;;;;;;;;;;;;::::2;;73496:15;73514:33;73520:10;73531:5;73537:9;73514:5;:33::i;:::-;73496:51:::0;72749:825;-1:-1:-1;;;;;;;;;72749:825:0:o;67443:75::-;47710:12;:10;:12::i;:::-;-1:-1:-1;;;;;47699:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;47699:23:0;;47691:68;;;;;-1:-1:-1;;;47691:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;47691:68:0;;;;;;;;;;;;;;;50112:8:::1;:6;:8::i;:::-;50111:9;50103:38;;;::::0;;-1:-1:-1;;;50103:38:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;50103:38:0;;;;;;;;;;;;;::::1;;67502:8:::2;:6;:8::i;47479:87::-:0;47552:6;;-1:-1:-1;;;;;47552:6:0;47479:87;:::o;75670:432::-;47710:12;:10;:12::i;:::-;-1:-1:-1;;;;;47699:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;47699:23:0;;47691:68;;;;;-1:-1:-1;;;47691:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;47691:68:0;;;;;;;;;;;;;;;50112:8:::1;:6;:8::i;:::-;50111:9;50103:38;;;::::0;;-1:-1:-1;;;50103:38:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;50103:38:0;;;;;;;;;;;;;::::1;;75873:46:::2;75889:4;75894:5;75900:6;75908:10;75873:15;:46::i;:::-;75865:88;;;::::0;;-1:-1:-1;;;75865:88:0;;::::2;;::::0;::::2;::::0;::::2;::::0;;;;-1:-1:-1;;;;;;;;;;;75865:88:0;;;;;;;;;;;;;::::2;;75968:35;75987:5;75994:8;75968:18;:35::i;:::-;75960:93;;;;-1:-1:-1::0;;;75960:93:0::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;76060:36;76076:8;76086:9;76060:15;:36::i;60319:104::-:0;60408:7;60401:14;;;;;;;;-1:-1:-1;;60401:14:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;60375:13;;60401:14;;60408:7;;60401:14;;60408:7;60401:14;;;;;;;;;;;;;;;;;;;;;;;;63993:166;64109:12;:10;:12::i;:::-;-1:-1:-1;;;;;64097:24:0;:8;-1:-1:-1;;;;;64097:24:0;;;64089:62;;;;;-1:-1:-1;;;64089:62:0;;;;;;;;;;;;;;;;;;;;;;;;;;;64740:285;64872:41;64891:12;:10;:12::i;:::-;64905:7;64872:18;:41::i;:::-;64864:103;;;;-1:-1:-1;;;64864:103:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;64978:39;64992:4;64998:2;65002:7;65011:5;64978:13;:39::i;:::-;64740:285;;;;:::o;60494:821::-;60601:11;;:32;;;-1:-1:-1;;;60601:32:0;;;;;;;;;;60567:13;;-1:-1:-1;;;;;60601:11:0;;:23;;:32;;;;;;;;;;;;;;:11;:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;60601:32:0;60593:92;;;;-1:-1:-1;;;60593:92:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;60724:11;;:32;;;-1:-1:-1;;;60724:32:0;;;;;;;;;;60698:23;;-1:-1:-1;;;;;60724:11:0;;:23;;:32;;;;;:11;;:32;;;;;;;:11;:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;60724:32:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;60724:32:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;60724:32:0;;;;;;-1:-1:-1;60724:32:0;;;;;;;;;;-1:-1:-1;60724:32:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;60698:58;;60767:18;60788:9;:7;:9::i;:::-;60767:30;;60879:4;60873:18;60895:1;60873:23;60869:72;;;-1:-1:-1;60920:9:0;-1:-1:-1;60913:16:0;;60869:72;61045:23;;:27;61041:108;;61120:4;61126:9;61103:33;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;61103:33:0;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;61103:33:0;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;61103:33:0;;;;;;;;;;;;;-1:-1:-1;;61103:33:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;61089:48;;;;;;61041:108;61281:4;61287:18;:7;:16;:18::i;:::-;61264:42;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;61264:42:0;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;61264:42:0;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;61264:42:0;;;;;;;;;;;;;-1:-1:-1;;61264:42:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;61250:57;;;;60494:821;;;:::o;75288:376::-;47710:12;:10;:12::i;:::-;-1:-1:-1;;;;;47699:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;47699:23:0;;47691:68;;;;;-1:-1:-1;;;47691:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;47691:68:0;;;;;;;;;;;;;;;50112:8:::1;:6;:8::i;:::-;50111:9;50103:38;;;::::0;;-1:-1:-1;;;50103:38:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;50103:38:0;;;;;;;;;;;;;::::1;;75456:46:::2;75472:4;75477:5;75483:6;75491:10;75456:15;:46::i;:::-;75448:88;;;::::0;;-1:-1:-1;;;75448:88:0;;::::2;;::::0;::::2;::::0;::::2;::::0;;;;-1:-1:-1;;;;;;;;;;;75448:88:0;;;;;;;;;;;;;::::2;;75551:35;75570:5;75577:8;75551:18;:35::i;:::-;75543:93;;;;-1:-1:-1::0;;;75543:93:0::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;75643:15;75649:8;75643:5;:15::i;73580:850::-:0;47710:12;:10;:12::i;:::-;-1:-1:-1;;;;;47699:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;47699:23:0;;47691:68;;;;;-1:-1:-1;;;47691:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;47691:68:0;;;;;;;;;;;;;;;50112:8:::1;:6;:8::i;:::-;50111:9;50103:38;;;::::0;;-1:-1:-1;;;50103:38:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;50103:38:0;;;;;;;;;;;;;::::1;;73794:13:::2;73834:16;73829:276;;-1:-1:-1::0;73921:28:0::2;::::0;;::::2;::::0;;::::2;::::0;;;-1:-1:-1;;73921:28:0::2;::::0;;;;;;;;;;;;;;;;;;;;;;;;73911:39;;;::::2;::::0;73829:276:::2;;;74088:5;74036:58;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;;;;74026:69;;;;;;74018:77;;73829:276;74143:16;74162:25;:5:::0;74176:10;74162:13:::2;:25::i;:::-;74143:44;;74241:8;-1:-1:-1::0;;;;;74232:17:0::2;:5;-1:-1:-1::0;;;;;74232:17:0::2;;74224:59;;;::::0;;-1:-1:-1;;;74224:59:0;;::::2;;::::0;::::2;::::0;::::2;::::0;;;;::::2;::::0;;;;;;;;;;;;;::::2;;74298:35;74317:5;74324:8;74298:18;:35::i;:::-;74290:93;;;;-1:-1:-1::0;;;74290:93:0::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;74390:31;74400:5;74407:3;74412:8;74390:9;:31::i;:::-;50152:1;;73580:850:::0;;;;;;:::o;64167:134::-;64264:4;64167:134;;;;;:::o;48433:244::-;47710:12;:10;:12::i;:::-;-1:-1:-1;;;;;47699:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;47699:23:0;;47691:68;;;;;-1:-1:-1;;;47691:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;47691:68:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;48522:22:0;::::1;48514:73;;;;-1:-1:-1::0;;;48514:73:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48624:6;::::0;48603:38:::1;::::0;-1:-1:-1;;;;;48603:38:0;;::::1;::::0;48624:6:::1;::::0;48603:38:::1;::::0;48624:6:::1;::::0;48603:38:::1;48652:6;:17:::0;;-1:-1:-1;;;;;;48652:17:0::1;-1:-1:-1::0;;;;;48652:17:0;;;::::1;::::0;;;::::1;::::0;;48433:244::o;645:106::-;733:10;645:106;:::o;63122:276::-;63206:4;63244:5;-1:-1:-1;;;;;63233:16:0;:7;-1:-1:-1;;;;;63233:16:0;;:65;;;;63253:45;63283:5;63290:7;63253:29;:45::i;:::-;63225:165;;;;-1:-1:-1;;;63225:165:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;63406:203;63473:11;;:42;;;-1:-1:-1;;;63473:42:0;;-1:-1:-1;;;;;63473:42:0;;;;;;;;;;;;;;;:11;;;;;:29;;:42;;;;;;;;;;;;;;:11;;:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;63575:7:0;;-1:-1:-1;;;;;;63531:52:0;;63540:29;63575:7;63540:20;:29::i;:::-;-1:-1:-1;;;;;63531:52:0;;;;;;;;;;;63406:203;;:::o;65346:383::-;65464:11;;:32;;;-1:-1:-1;;;65464:32:0;;;;;;;;;;65439:4;;-1:-1:-1;;;;;65464:11:0;;:23;;:32;;;;;;;;;;;;;;:11;:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;65464:32:0;65456:89;;;;-1:-1:-1;;;65456:89:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;65556:13;65572:29;65593:7;65572:20;:29::i;:::-;65556:45;;65631:5;-1:-1:-1;;;;;65620:16:0;:7;-1:-1:-1;;;;;65620:16:0;;:51;;;;65664:7;-1:-1:-1;;;;;65640:31:0;:20;65652:7;65640:11;:20::i;:::-;-1:-1:-1;;;;;65640:31:0;;65620:51;:100;;;;65675:45;65705:5;65712:7;65675:29;:45::i;:::-;65612:109;65346:383;-1:-1:-1;;;;65346:383:0:o;62489:330::-;-1:-1:-1;;;;;62587:16:0;;62579:65;;;;-1:-1:-1;;;62579:65:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;62655:21;62679:29;62700:7;62679:20;:29::i;:::-;62719:11;;:38;;;-1:-1:-1;;;62719:38:0;;-1:-1:-1;;;;;62719:38:0;;;;;;;;;;;;;;;62655:53;;-1:-1:-1;62719:11:0;;;:25;;:38;;;;;:11;;:38;;;;;;;;:11;;:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;62803:7;62799:2;-1:-1:-1;;;;;62775:36:0;62784:13;-1:-1:-1;;;;;62775:36:0;;;;;;;;;;;62489:330;;;;:::o;71984:563::-;72146:4;;72228:15;72223:160;;-1:-1:-1;72273:26:0;;;-1:-1:-1;;72273:26:0;;;;;;;;;;;;;;;;;;;;;;;;;;72263:37;;;;;72223:160;;;72341:32;72364:8;72341:22;:32::i;:::-;72334:39;;72223:160;72431:16;72450:24;:4;72463:10;72450:12;:24::i;:::-;-1:-1:-1;;;;;72522:19:0;;;;;;;-1:-1:-1;;;71984:563:0;;;;;;:::o;63617:212::-;63677:11;;:50;;;-1:-1:-1;;;63677:50:0;;:11;:50;;;;;;;;;;;;;;-1:-1:-1;;;;;63677:11:0;;;;:29;;:50;;;;;;;;;;;;;;;;;;:11;:50;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;63795:7:0;;-1:-1:-1;63791:1:0;63752:29;63795:7;63752:20;:29::i;:::-;-1:-1:-1;;;;;63743:60:0;;;;;;;;;;;63617:212;:::o;50845:120::-;50389:8;:6;:8::i;:::-;50381:41;;;;;-1:-1:-1;;;50381:41:0;;;;;;;;;;;;-1:-1:-1;;;50381:41:0;;;;;;;;;;;;;;;50904:7:::1;:15:::0;;-1:-1:-1;;;;50904:15:0::1;::::0;;50935:22:::1;50944:12;:10;:12::i;:::-;50935:22;::::0;;-1:-1:-1;;;;;50935:22:0;;::::1;::::0;;;;;;;::::1;::::0;;::::1;50845:120::o:0;61756:242::-;61877:11;;:39;;-1:-1:-1;;;61877:39:0;;-1:-1:-1;;;;;61877:39:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;61839:7;;;;61877:11;;;:21;;61899:2;;61902:4;;61907:8;;61877:39;;;;;;;;;;61839:7;61877:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;61877:39:0;61932:33;;61877:39;;-1:-1:-1;61877:39:0;;-1:-1:-1;;;;;61932:33:0;;;61949:1;;61932:33;;61949:1;;61932:33;61983:7;-1:-1:-1;61756:242:0;;;;;;:::o;50586:118::-;50112:8;:6;:8::i;:::-;50111:9;50103:38;;;;;-1:-1:-1;;;50103:38:0;;;;;;;;;;;;-1:-1:-1;;;50103:38:0;;;;;;;;;;;;;;;50656:4:::1;50646:14:::0;;-1:-1:-1;;;;50646:14:0::1;-1:-1:-1::0;;;50646:14:0::1;::::0;;50676:20:::1;50683:12;:10;:12::i;62006:148::-:0;62094:11;;:52;;;-1:-1:-1;;;62094:52:0;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;62094:11:0;;;;:31;;62126:8;;62136:9;;62094:52;;;;;;;;;;;;;:11;:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;64309:264;64415:28;64425:4;64431:2;64435:7;64415:9;:28::i;:::-;64462:48;64485:4;64491:2;64495:7;64504:5;64462:22;:48::i;:::-;64454:111;;;;-1:-1:-1;;;64454:111:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45602:746;45658:13;45879:10;45875:53;;-1:-1:-1;45906:10:0;;;;;;;;;;;;-1:-1:-1;;;45906:10:0;;;;;;45875:53;45953:5;45938:12;45994:78;46001:9;;45994:78;;46027:8;;46058:2;46050:10;;;;45994:78;;;46082:19;46114:6;46104:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;46104:17:0;-1:-1:-1;46176:5:0;;-1:-1:-1;46082:39:0;-1:-1:-1;;;46148:10:0;;46192:117;46199:9;;46192:117;;46268:2;46261:4;:9;46256:2;:14;46243:29;;46225:6;46232:7;;;;;;;46225:15;;;;;;;;;;;:47;-1:-1:-1;;;;;46225:47:0;;;;;;;;-1:-1:-1;46295:2:0;46287:10;;;;46192:117;;;-1:-1:-1;46333:6:0;45602:746;-1:-1:-1;;;;45602:746:0:o;65954:229::-;50112:8;:6;:8::i;:::-;50111:9;50103:38;;;;;-1:-1:-1;;;50103:38:0;;;;;;;;;;;;-1:-1:-1;;;50103:38:0;;;;;;;;;;;;;;;66044:11:::1;::::0;:36:::1;::::0;;-1:-1:-1;;;66044:36:0;;::::1;::::0;::::1;::::0;;;;;66028:13:::1;::::0;-1:-1:-1;;;;;66044:11:0::1;::::0;:27:::1;::::0;:36;;;;;::::1;::::0;;;;;;;;:11;:36;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;66044:36:0;66091:11:::1;::::0;:30:::1;::::0;;-1:-1:-1;;;66091:30:0;;::::1;::::0;::::1;::::0;;;;;66044:36;;-1:-1:-1;;;;;;66091:11:0;;::::1;::::0;:21:::1;::::0;:30;;;;;:11:::1;::::0;:30;;;;;;;;:11;;:30;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;66139:36:0::1;::::0;66167:7;;-1:-1:-1;66163:1:0::1;::::0;-1:-1:-1;;;;;;66139:36:0;::::1;::::0;::::1;::::0;66163:1;;66139:36:::1;50152:1;65954:229:::0;:::o;68832:761::-;68910:7;68973:9;:16;68993:2;68973:22;68969:96;;69012:41;;;-1:-1:-1;;;69012:41:0;;;;;;;;;;;;;;;;;;;;;;;;;;;68969:96;69426:4;69411:20;;69405:27;69472:4;69457:20;;69451:27;69526:4;69511:20;;69505:27;69134:9;69497:36;69563:22;69571:4;69497:36;69405:27;69451;69563:7;:22::i;:::-;69556:29;68832:761;-1:-1:-1;;;;;;68832:761:0:o;72553:190::-;72668:62;;;;;;;;;;;;-1:-1:-1;;72668:62:0;;;;;;;;;;;;;;;;;;;;;;72650:87;;;;;72553:190;;;:::o;66748:604::-;66869:4;66896:15;:2;-1:-1:-1;;;;;66896:13:0;;:15::i;:::-;66891:60;;-1:-1:-1;66935:4:0;66928:11;;66891:60;66961:23;66987:252;-1:-1:-1;;;67100:12:0;:10;:12::i;:::-;67127:4;67146:7;67168:5;67003:181;;;;;;-1:-1:-1;;;;;67003:181:0;;;;;;-1:-1:-1;;;;;67003:181:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;67003:181:0;;;;;;;-1:-1:-1;;;;;67003:181:0;;;;;;;;;;;66987:252;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;66987:15:0;;;:252;:15;:252::i;:::-;66961:278;;67250:13;67277:10;67266:32;;;;;;;;;;;;;;;-1:-1:-1;67266:32:0;-1:-1:-1;;;;;;67317:26:0;-1:-1:-1;;;67317:26:0;;-1:-1:-1;;;66748:604:0;;;;;;:::o;69747:1432::-;69832:7;70757:66;70743:80;;;70735:127;;;;-1:-1:-1;;;70735:127:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;70881:1;:7;;70886:2;70881:7;:18;;;;70892:1;:7;;70897:2;70892:7;70881:18;70873:65;;;;-1:-1:-1;;;70873:65:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;71036:14;71053:24;71063:4;71069:1;71072;71075;71053:24;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;71053:24:0;;-1:-1:-1;;71053:24:0;;;-1:-1:-1;;;;;;;71096:20:0;;71088:57;;;;;-1:-1:-1;;;71088:57:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;71165:6;69747:1432;-1:-1:-1;;;;;69747:1432:0:o;18311:422::-;18678:20;18717:8;;;18311:422::o;21229:195::-;21332:12;21364:52;21386:6;21394:4;21400:1;21403:12;21332;22533:18;22544:6;22533:10;:18::i;:::-;22525:60;;;;;-1:-1:-1;;;22525:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;22659:12;22673:23;22700:6;-1:-1:-1;;;;;22700:11:0;22720:5;22728:4;22700:33;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;22700:33:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22658:75;;;;22751:52;22769:7;22778:10;22790:12;22751:17;:52::i;:::-;22744:59;22281:530;-1:-1:-1;;;;;;;22281:530:0:o;24821:742::-;24936:12;24965:7;24961:595;;;-1:-1:-1;24996:10:0;24989:17;;24961:595;25110:17;;:21;25106:439;;25373:10;25367:17;25434:15;25421:10;25417:2;25413:19;25406:44;25321:148;25516:12;25509:20;;-1:-1:-1;;;25509:20:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;
Swarm Source
ipfs://1d736771dfba86a82cb1b8a86b2e701cc688996888bd0f52ae0b2fab478b9a78
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.