mirror of
https://github.com/Instadapp/smart-contract.git
synced 2024-07-29 22:08:07 +00:00
added comments in registry.
This commit is contained in:
parent
04eb343142
commit
2e3a95be32
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user