Fixed few error and removed unused code.

This commit is contained in:
Sowmayjain 2019-04-06 18:35:47 +05:30
parent 6a12915ce0
commit 992aedcc60
2 changed files with 3 additions and 4 deletions

View File

@ -92,6 +92,7 @@ contract LogicRegistry is AddressRegistry {
} }
/** /**
* @dev Deploys a new proxy instance and sets msg.sender as owner of proxy * @dev Deploys a new proxy instance and sets msg.sender as owner of proxy
*/ */
@ -134,6 +135,7 @@ contract WalletRegistry is LogicRegistry {
} }
/// @title InstaRegistry /// @title InstaRegistry
/// @dev Initializing Registry /// @dev Initializing Registry
contract InstaRegistry is WalletRegistry { contract InstaRegistry is WalletRegistry {

View File

@ -1,7 +1,5 @@
pragma solidity ^0.5.2; pragma solidity ^0.5.2;
import "openzeppelin-solidity/contracts/math/SafeMath.sol";
/** /**
* @title RegistryInterface Interface * @title RegistryInterface Interface
*/ */
@ -10,6 +8,7 @@ interface RegistryInterface {
function record(address currentOwner, address nextOwner) external; function record(address currentOwner, address nextOwner) external;
} }
/** /**
* @title Address Registry Record * @title Address Registry Record
*/ */
@ -37,8 +36,6 @@ contract AddressRecord {
* @title User Auth * @title User Auth
*/ */
contract UserAuth is AddressRecord { contract UserAuth is AddressRecord {
using SafeMath for uint;
using SafeMath for uint256;
event LogSetOwner(address indexed owner); event LogSetOwner(address indexed owner);
address public owner; address public owner;