From 64c719a20b658141d1229db47f1e2eb4535d8352 Mon Sep 17 00:00:00 2001 From: qd-qd Date: Mon, 1 Apr 2024 16:47:11 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=A1=20factory:=20natspec=20for=20verso?= =?UTF-8?q?n()?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/v1/AccountFactory.sol | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/v1/AccountFactory.sol b/src/v1/AccountFactory.sol index 7d7fd98..ec00cbf 100644 --- a/src/v1/AccountFactory.sol +++ b/src/v1/AccountFactory.sol @@ -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; }