Skip to main content


Solmate ( from Gnosis (

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.Note that none of the functions in this library check that a token has code at all! That responsibility is delegated to the caller.