added comments in registry.

This commit is contained in:
Sowmayjain 2019-03-19 04:11:14 +05:30
parent 04eb343142
commit 2e3a95be32

View File

@ -3,6 +3,9 @@ pragma solidity ^0.5.0;
import "./UserWallet.sol"; import "./UserWallet.sol";
/**
* @title Address Registry
*/
contract AddressRegistry { contract AddressRegistry {
event LogSetAddress(string name, address addr); event LogSetAddress(string name, address addr);
@ -41,6 +44,9 @@ contract AddressRegistry {
} }
/**
* @title Logic Registry
*/
contract LogicRegistry is AddressRegistry { contract LogicRegistry is AddressRegistry {
event LogSetDefaultLogic(address logicAddr); event LogSetDefaultLogic(address logicAddr);
@ -85,6 +91,9 @@ contract LogicRegistry is AddressRegistry {
} }
/**
* @title User Wallet Registry
*/
contract ProxyRegistry is LogicRegistry { contract ProxyRegistry is LogicRegistry {
event Created(address indexed sender, address indexed owner, address proxy); event Created(address indexed sender, address indexed owner, address proxy);