We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c7636bd commit 7b46376Copy full SHA for 7b46376
contracts/token/SafeERC20.sol
@@ -6,6 +6,8 @@ import './ERC20.sol';
6
/**
7
* @title SafeERC20
8
* @dev Wrappers around ERC20 operations that throw on failure.
9
+ * To use this library you can add a `using SafeERC20 for ERC20;` statement to your contract,
10
+ * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
11
*/
12
library SafeERC20 {
13
function safeTransfer(ERC20Basic token, address to, uint256 value) internal {
0 commit comments