Skip to content
This repository has been archived by the owner on Jul 9, 2021. It is now read-only.

Commit

Permalink
Replaced SafeMath in ERC1155 package with the version in `contracts-u…
Browse files Browse the repository at this point in the history
…tils`
  • Loading branch information
hysz committed Mar 11, 2019
1 parent dfdb48c commit 430afbd
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 109 deletions.
1 change: 0 additions & 1 deletion contracts/erc1155/compiler.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
"src/interfaces/IERC1155Mintable.sol",
"src/interfaces/IERC1155Receiver.sol",
"src/interfaces/IERC1155.sol",
"src/utils/SafeMath.sol",
"src/utils/Address.sol"
]
}
2 changes: 1 addition & 1 deletion contracts/erc1155/contracts/src/ERC1155.sol
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

pragma solidity ^0.5.3;

import "./utils/SafeMath.sol";
import "@0x/contracts-utils/contracts/src/SafeMath.sol";
import "./utils/Address.sol";
import "./interfaces/IERC1155.sol";
import "./interfaces/IERC1155Receiver.sol";
Expand Down
2 changes: 1 addition & 1 deletion contracts/erc1155/contracts/src/ERC1155Mintable.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
pragma solidity ^0.5.3;

import "./utils/SafeMath.sol";
import "@0x/contracts-utils/contracts/src/SafeMath.sol";
import "./ERC1155.sol";
import "./interfaces/IERC1155Mintable.sol";

Expand Down
105 changes: 0 additions & 105 deletions contracts/erc1155/contracts/src/utils/SafeMath.sol

This file was deleted.

2 changes: 1 addition & 1 deletion contracts/erc1155/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
},
"dependencies": {
"@0x/base-contract": "^5.0.0",
"@0x/contracts-utils": "2.0.1",
"@0x/contracts-utils": "2.0.8",
"@0x/types": "^2.1.0",
"@0x/typescript-typings": "^4.1.0",
"@0x/utils": "^4.2.0",
Expand Down

0 comments on commit 430afbd

Please sign in to comment.