Skip to content

Commit

Permalink
address comment
Browse files Browse the repository at this point in the history
  • Loading branch information
milapsheth committed Nov 10, 2023
1 parent 234a63a commit f6610c2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
4 changes: 2 additions & 2 deletions contracts/interfaces/ITokenManagerProxy.sol
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ interface ITokenManagerProxy is IProxy {
function tokenAddress() external view returns (address);

/**
* @notice Returns implementation type and token address in one call.
* @notice Returns implementation type and token address.
*/
function getInfo() external view returns (uint256, address);
function getImplementationTypeAndTokenAddress() external view returns (uint256, address);
}
5 changes: 4 additions & 1 deletion contracts/proxies/TokenManagerProxy.sol
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,10 @@ contract TokenManagerProxy is BaseProxy, ITokenManagerProxy {
return CONTRACT_ID;
}

function getInfo() external view returns (uint256 implementationType_, address tokenAddress_) {
/**
* @notice Returns implementation type and token address.
*/
function getImplementationTypeAndTokenAddress() external view returns (uint256 implementationType_, address tokenAddress_) {
implementationType_ = implementationType;
tokenAddress_ = tokenAddress;
}
Expand Down

0 comments on commit f6610c2

Please sign in to comment.