Skip to content
This repository was archived by the owner on May 9, 2024. It is now read-only.

Commit 57648f9

Browse files
Neuti YooP1sar
andauthored
Remove SafeMath for uint256 (#555)
Co-authored-by: Kirill <pisarevkir@gmail.com>
1 parent 1da71c4 commit 57648f9

File tree

3 files changed

+0
-6
lines changed

3 files changed

+0
-6
lines changed

contracts/ERC1155Safe.sol

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
// SPDX-License-Identifier: LGPL-3.0-only
22
pragma solidity 0.8.11;
33

4-
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
54
import "@openzeppelin/contracts/token/ERC1155/IERC1155.sol";
65
import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Burnable.sol";
76
import "@openzeppelin/contracts/token/ERC1155/presets/ERC1155PresetMinterPauser.sol";
@@ -12,7 +11,6 @@ import "@openzeppelin/contracts/token/ERC1155/presets/ERC1155PresetMinterPauser.
1211
@notice This contract is intended to be used with ERC1155Handler contract.
1312
*/
1413
contract ERC1155Safe {
15-
using SafeMath for uint256;
1614

1715
/**
1816
@notice Used to gain custoday of deposited token with batching.

contracts/ERC20Safe.sol

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
// SPDX-License-Identifier: LGPL-3.0-only
22
pragma solidity 0.8.11;
33

4-
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
54
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
65
import "@openzeppelin/contracts/token/ERC20/presets/ERC20PresetMinterPauser.sol";
76
import "@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol";
@@ -12,7 +11,6 @@ import "@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol";
1211
@notice This contract is intended to be used with ERC20Handler contract.
1312
*/
1413
contract ERC20Safe {
15-
using SafeMath for uint256;
1614

1715
/**
1816
@notice Used to gain custody of deposited token.

contracts/ERC721Safe.sol

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
// SPDX-License-Identifier: LGPL-3.0-only
22
pragma solidity 0.8.11;
33

4-
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
54
import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
65
import "./ERC721MinterBurnerPauser.sol";
76

@@ -11,7 +10,6 @@ import "./ERC721MinterBurnerPauser.sol";
1110
@notice This contract is intended to be used with ERC721Handler contract.
1211
*/
1312
contract ERC721Safe {
14-
using SafeMath for uint256;
1513

1614
/**
1715
@notice Used to gain custoday of deposited token.

0 commit comments

Comments
 (0)