Add set, bind to registry

This commit is contained in:
nolash 2021-12-22 19:13:18 +00:00
parent 9091c83295
commit 6c6c48965e
Signed by: lash
GPG Key ID: 21D2E7BB88C2A746
2 changed files with 13 additions and 4 deletions

View File

@ -2,10 +2,10 @@ pragma solidity >=0.6.12;
// Author: Louis Holbrook <dev@holbrook.no> 0826EDA1702D1E87C6E2875121D2E7BB88C2A746
// SPDX-License-Identifier: GPL-3.0-or-later
// File-version: 2
// File-version: 1
interface RegistryClient {
function addressOf(bytes32) external view returns (address);
function set(bytes32, address, bytes32, bytes32) external returns (bool);
interface Registry {
function set(bytes32, address) external returns (bool);
function bind(bytes32, bytes32) external returns (bool);
function identifiers(uint256) external view returns (bytes32);
}

View File

@ -0,0 +1,9 @@
pragma solidity >=0.6.12;
// Author: Louis Holbrook <dev@holbrook.no> 0826EDA1702D1E87C6E2875121D2E7BB88C2A746
// SPDX-License-Identifier: GPL-3.0-or-later
// File-version: 3
interface RegistryClient {
function addressOf(bytes32) external view returns (address);
}