SafeERC20.trySafeTransfer{,from} (#5483)

This commit is contained in:
Hadrien Croubois
2025-02-03 19:26:37 +01:00
committed by GitHub
parent c089efa8b5
commit 19c2f2f5a5
3 changed files with 55 additions and 0 deletions

View File

@ -0,0 +1,5 @@
---
'openzeppelin-solidity': minor
---
`SafeERC20`: Add `trySafeTransfer` and `trySafeTransferFrom` that do not revert and return false if the transfer is not successful.