Skip to content

Commit e649e9e

Browse files
committed
docs: update approval check notice in burn and burnBatch NatSpec comments
1 parent 53be1c1 commit e649e9e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/token/ERC1155/Burn/ERC1155BurnMod.sol

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ function getStorage() pure returns (ERC1155Storage storage s) {
8686
* @notice Burns a single token type from an address.
8787
* @dev Decreases the balance and emits a TransferSingle event.
8888
* Reverts if the account has insufficient balance.
89-
* This module does not check for approval. Use the facet for approval-checked burns.
89+
* This module does not perform approval checks. Ensure proper ownership or approval validation before calling this function.
9090
* @param _from The address whose tokens will be burned.
9191
* @param _id The token type to burn.
9292
* @param _value The amount of tokens to burn.
@@ -114,7 +114,7 @@ function burn(address _from, uint256 _id, uint256 _value) {
114114
* @notice Burns multiple token types from an address in a single transaction.
115115
* @dev Decreases balances for each token type and emits a TransferBatch event.
116116
* Reverts if the account has insufficient balance for any token type.
117-
* This module does not check for approval. Use the facet for approval-checked burns.
117+
* This module does not perform approval checks. Ensure proper ownership or approval validation before calling this function.
118118
* @param _from The address whose tokens will be burned.
119119
* @param _ids The token types to burn.
120120
* @param _values The amounts of tokens to burn for each type.

0 commit comments

Comments
 (0)