cic-contracts/solidity/RegistryClient.sol

20 lines
677 B
Solidity
Raw Permalink Normal View History

2021-12-22 20:13:18 +01:00
pragma solidity >=0.6.12;
// Author: Louis Holbrook <dev@holbrook.no> 0826EDA1702D1E87C6E2875121D2E7BB88C2A746
// SPDX-License-Identifier: AGPL-3.0-or-later
// File-version: 3
2021-12-22 20:13:18 +01:00
2023-03-25 13:32:56 +01:00
interface IRegistryClient {
// Address added to store with the given key
event AddressKey(bytes32 indexed _key, address _address);
// Return the address of the contract identified by the given byte string
2021-12-22 20:13:18 +01:00
function addressOf(bytes32) external view returns (address);
// Indexed accessor for the full list of registred identifiers
function identifier(uint256) external view returns (bytes32);
// Number of registered interfaces
function identifierCount() external view returns (uint256);
2021-12-22 20:13:18 +01:00
}