diff --git a/Registry.sol b/Registry.sol index 9d6a9e1..ccc1bb6 100644 --- a/Registry.sol +++ b/Registry.sol @@ -5,6 +5,11 @@ pragma solidity >=0.6.12; // File-version: 1 -interface RegistryClient { - function addressOf(address) external view returns (address); +interface Registry { + function owner() external view returns (address); + function identifiers() external view returns (bytes32[] memory); + function chainOf(bytes32 _identifier) external view returns (bytes32); + function configSumOf(bytes32 _chain) external view returns (bytes32); + function set (bytes32 _identifier, address _address, bytes32 _chainDescriptor, bytes32 _chainConfig) external returns (bool); + function seal() external returns (bool); } diff --git a/util/mergeabis.py b/util/mergeabis.py new file mode 100644 index 0000000..d7608ad --- /dev/null +++ b/util/mergeabis.py @@ -0,0 +1,13 @@ +#!/usr/bin/env python3 + +import sys +import json + +merged = [] +for a in sys.argv[1:]: + f = open(a, 'r') + j = json.load(f) + f.close() + merged += j + +print(json.dumps(merged))