Skip to content

Commit

Permalink
add todo
Browse files Browse the repository at this point in the history
  • Loading branch information
kingster-will committed Mar 21, 2024
1 parent 932d7c7 commit 7832233
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions contracts/registries/IPAssetRegistry.sol
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,7 @@ contract IPAssetRegistry is IIPAssetRegistry, IPAccountRegistry, Governable {
/// @param id The canonical identifier for the IP.
/// @return isRegistered Whether the IP was registered into the protocol.
function isRegistered(address id) external view returns (bool) {
// TODO: also check the ipAccount has "Name" metadata after clean up permissioned functions.
return _records[id].resolver != address(0) || id.code.length != 0;
}

Expand Down

0 comments on commit 7832233

Please sign in to comment.