event on delegate

This commit is contained in:
Ricardo Guilherme Schmidt 2019-03-20 22:03:11 -03:00
parent ce8b9ab5f1
commit a040bf1e01
No known key found for this signature in database
GPG Key ID: BFB3F5C8ED618A94
1 changed files with 1 additions and 0 deletions

View File

@ -16,6 +16,7 @@ contract DefaultDelegation is Delegation, Controlled {
*/
function delegate(address _to) external onlyController {
defaultDelegate = _to;
emit Delegate(address(0), _to);
}
function delegatedTo(address)