mirror of
git://holbrook.no/eth-contract-registry
synced 2024-12-22 12:27:31 +01:00
Re-extract registry client interface in solidity contract
This commit is contained in:
parent
8c1339aac5
commit
1ac2ae5d82
@ -58,7 +58,10 @@ contract CICRegistry {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function supportsInterface(bytes4 _sum) public pure returns (bool) {
|
function supportsInterface(bytes4 _sum) public pure returns (bool) {
|
||||||
if (_sum == 0x633ee8e7) { // Registry
|
if (_sum == 0xffeb6416) { // Registry
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
if (_sum == 0xbb34534c) { // RegistryClient
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
if (_sum == 0x01ffc9a7) { // EIP165
|
if (_sum == 0x01ffc9a7) { // EIP165
|
||||||
|
Loading…
Reference in New Issue
Block a user