Add set, bind to registry
This commit is contained in:
parent
9091c83295
commit
6c6c48965e
@ -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);
|
||||
}
|
||||
|
9
solidity/RegistryClient.sol
Normal file
9
solidity/RegistryClient.sol
Normal 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);
|
||||
}
|
Loading…
Reference in New Issue
Block a user