Skip to content

Commit

Permalink
(hub): re-introduce name and symbol for Hub as Circles, CRC
Browse files Browse the repository at this point in the history
  • Loading branch information
benjaminbollen committed Oct 11, 2024
1 parent ea4dab9 commit e1d4792
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/hub/Hub.sol
Original file line number Diff line number Diff line change
Expand Up @@ -603,6 +603,14 @@ contract Hub is Circles, TypeDefinitions, IHubErrors {
emit SetAdvancedUsageFlag(msg.sender, _flag);
}

function name() external view returns (string memory) {
return nameRegistry.name(address(this));
}

function symbol() external view returns (string memory) {
return nameRegistry.symbol(address(this));
}

// Public functions

/**
Expand Down

0 comments on commit e1d4792

Please sign in to comment.