Skip to content

Commit e7fb37c

Browse files
committed
more disclaimers
1 parent 2aa2f85 commit e7fb37c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/ERC20ETH.sol

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ import {IERC7914} from "./interfaces/IERC7914.sol";
1818
/// - Do not send ETH directly to this contract. Only use the transfer() or transferFrom() functions.
1919
/// - Check ETH balances directly instead of relying upon this contract's balanceOf, totalSupply, or Transfer events.
2020
/// - Ensure the caller of this contract uses appropriate reentrancy guards.
21+
/// - When transferring ETH, callback mechanisms (such as receive() or fallback() functions) on the recipient contract may be triggered.
22+
/// - Relayers should consider gas griefing scenarios, for malicious transferFromNative() calls or ETH transfer callbacks.
23+
///
2124
/// @custom:security-contact [email protected]
2225
contract ERC20ETH is ERC20 {
2326
/// @notice Thrown when balanceOf is called, as this contract doesn't track balances internally

0 commit comments

Comments
 (0)