Skip to content

Commit

Permalink
💡 factory: natspec for verson()
Browse files Browse the repository at this point in the history
  • Loading branch information
qd-qd committed Apr 1, 2024
1 parent 57a6b85 commit 64c719a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/v1/AccountFactory.sol
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,8 @@ contract AccountFactory is Initializable, OwnableUpgradeable {
return _getAddress(credIdHash, pubX, pubY, credId);
}

/// @notice This function returns the version of the contract
/// @return * The version of the contract
function version() external pure virtual returns (uint256) {
return Metadata.VERSION;
}
Expand Down

0 comments on commit 64c719a

Please sign in to comment.