TransferHelper.sol

Now that you know how to attach library methods to types, look out for TransferHelper.sol in the yiled-utils-v2 repo and use it to make sure all your transfers revert even if the underlying ERC20 transfer returns false instead of reverting.

Last updated