2023-03-25 12:14:46 +01:00
|
|
|
pragma solidity >=0.6.12;
|
|
|
|
|
|
|
|
// Author: Louis Holbrook <dev@holbrook.no> 0826EDA1702D1E87C6E2875121D2E7BB88C2A746
|
2023-03-25 13:32:56 +01:00
|
|
|
// SPDX-License-Identifier: AGPL-3.0-or-later
|
2023-03-26 13:04:31 +02:00
|
|
|
// File-version: 4
|
2023-03-25 12:14:46 +01:00
|
|
|
|
|
|
|
interface ILocator {
|
2023-03-26 10:58:23 +02:00
|
|
|
// URI that may or may not point to a specific resource location.
|
2023-03-25 12:14:46 +01:00
|
|
|
function toURI(bytes memory _data) external view returns (string memory);
|
|
|
|
|
2023-03-26 10:58:23 +02:00
|
|
|
// URL pointing to a specific resource location.
|
2023-03-25 12:14:46 +01:00
|
|
|
function toURL(bytes memory _data) external view returns(string memory);
|
|
|
|
}
|