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

Commit

Permalink
Added Address.sol for isContract checks to contracts-utils package
Browse files Browse the repository at this point in the history
  • Loading branch information
hysz committed Mar 11, 2019
1 parent 430afbd commit 9822792
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 3 deletions.
3 changes: 1 addition & 2 deletions contracts/erc1155/compiler.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
"src/MixinNonFungibleToken.sol",
"src/interfaces/IERC1155Mintable.sol",
"src/interfaces/IERC1155Receiver.sol",
"src/interfaces/IERC1155.sol",
"src/utils/Address.sol"
"src/interfaces/IERC1155.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 @@ -19,7 +19,7 @@
pragma solidity ^0.5.3;

import "@0x/contracts-utils/contracts/src/SafeMath.sol";
import "./utils/Address.sol";
import "@0x/contracts-utils/contracts/src/Address.sol";
import "./interfaces/IERC1155.sol";
import "./interfaces/IERC1155Receiver.sol";
import "./MixinNonFungibleToken.sol";
Expand Down
4 changes: 4 additions & 0 deletions contracts/utils/CHANGELOG.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@
{
"note": "Upgrade contracts to Solidity 0.5.5",
"pr": 1682
},
{
"note": "Added Address.sol with test for whether or not an address is a contract",
"pr": 1657
}
]
},
Expand Down
1 change: 1 addition & 0 deletions contracts/utils/compiler.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
}
},
"contracts": [
"src/Address.sol",
"src/LibBytes.sol",
"src/Ownable.sol",
"src/ReentrancyGuard.sol",
Expand Down

0 comments on commit 9822792

Please sign in to comment.