SafeTransferLib
Solmate (https://github.com/Rari-Capital/solmate/blob/main/src/utils/SafeTransferLib.sol)Modified from Gnosis (https://github.com/gnosis/gp-v2-contracts/blob/main/src/contracts/libraries/GPv2SafeERC20.sol)
Safe ETH and ERC20 transfer library that gracefully handles missing return values.
Use with caution! Some functions in this library knowingly create dirty bits at the destination of the free memory pointer.
Last modified 4mo ago