Skip to content

Commit 45bcb75

Browse files
committed
rename _checkTotalSupply to _checkConfidentialTotalSupply
1 parent 8c3c2df commit 45bcb75

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

contracts/token/ERC7984/extensions/ERC7984ERC20Wrapper.sol

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ abstract contract ERC7984ERC20Wrapper is ERC7984, IERC1363Receiver {
152152

153153
/**
154154
* @dev Returns the underlying balance divided by the {rate}, a value strictly greater than or equal to the
155-
* {ERC7984-confidentialTotalSupply}.
155+
* {confidentialTotalSupply}.
156156
*
157157
* NOTE: The return value of this function can be inflated by directly sending underlying tokens to the wrapper contract.
158158
* Reductions will lag compared to {confidentialTotalSupply} since it is updated on {unwrap} while
@@ -167,10 +167,10 @@ abstract contract ERC7984ERC20Wrapper is ERC7984, IERC1363Receiver {
167167
}
168168

169169
/**
170-
* @dev This function must revert if the new {ERC7984-confidentialTotalSupply} is invalid (overflow occurred).
170+
* @dev This function must revert if the new {confidentialTotalSupply} is invalid (overflow occurred).
171171
*
172172
* NOTE: Overflow can be detected here since the wrapper holdings are non-confidential. In other cases, it may be impossible
173-
* to infer total supply overflow synchronously. This function may revert even if the {ERC7984-confidentialTotalSupply} did
173+
* to infer total supply overflow synchronously. This function may revert even if the {confidentialTotalSupply} did
174174
* not overflow.
175175
*/
176176
function _checkConfidentialTotalSupply() internal virtual {

0 commit comments

Comments
 (0)