aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorGreg Hysen <greg.hysen@gmail.com>2018-04-11 13:49:38 +0800
committerAmir Bandeali <abandeali1@gmail.com>2018-04-21 04:56:17 +0800
commit023ea94f07feee8ceba3c176dcdaa0b1ca125d8b (patch)
tree600fe0b20dffc6e69bee64f703b658d81308c303 /packages
parentadad76eca6e2689439499adff9e03176df4ce303 (diff)
downloaddexon-sol-tools-023ea94f07feee8ceba3c176dcdaa0b1ca125d8b.tar
dexon-sol-tools-023ea94f07feee8ceba3c176dcdaa0b1ca125d8b.tar.gz
dexon-sol-tools-023ea94f07feee8ceba3c176dcdaa0b1ca125d8b.tar.bz2
dexon-sol-tools-023ea94f07feee8ceba3c176dcdaa0b1ca125d8b.tar.lz
dexon-sol-tools-023ea94f07feee8ceba3c176dcdaa0b1ca125d8b.tar.xz
dexon-sol-tools-023ea94f07feee8ceba3c176dcdaa0b1ca125d8b.tar.zst
dexon-sol-tools-023ea94f07feee8ceba3c176dcdaa0b1ca125d8b.zip
Removed Log prefix from events
Diffstat (limited to 'packages')
-rw-r--r--packages/contracts/src/contracts/current/utils/Authorizable/Authorizable.sol6
-rw-r--r--packages/contracts/src/contracts/current/utils/Authorizable/IAuthorizable.sol4
2 files changed, 5 insertions, 5 deletions
diff --git a/packages/contracts/src/contracts/current/utils/Authorizable/Authorizable.sol b/packages/contracts/src/contracts/current/utils/Authorizable/Authorizable.sol
index cc27dd107..3e2e0782f 100644
--- a/packages/contracts/src/contracts/current/utils/Authorizable/Authorizable.sol
+++ b/packages/contracts/src/contracts/current/utils/Authorizable/Authorizable.sol
@@ -58,7 +58,7 @@ contract Authorizable is
{
authorized[target] = true;
authorities.push(target);
- emit LogAuthorizedAddressAdded(target, msg.sender);
+ emit AuthorizedAddressAdded(target, msg.sender);
}
/// @dev Removes authorizion of an address.
@@ -76,7 +76,7 @@ contract Authorizable is
break;
}
}
- emit LogAuthorizedAddressRemoved(target, msg.sender);
+ emit AuthorizedAddressRemoved(target, msg.sender);
}
/// @dev Removes authorizion of an address.
@@ -90,7 +90,7 @@ contract Authorizable is
delete authorized[target];
authorities[index] = authorities[authorities.length - 1];
authorities.length -= 1;
- emit LogAuthorizedAddressRemoved(target, msg.sender);
+ emit AuthorizedAddressRemoved(target, msg.sender);
}
/*
diff --git a/packages/contracts/src/contracts/current/utils/Authorizable/IAuthorizable.sol b/packages/contracts/src/contracts/current/utils/Authorizable/IAuthorizable.sol
index 903fc1667..1fdea562c 100644
--- a/packages/contracts/src/contracts/current/utils/Authorizable/IAuthorizable.sol
+++ b/packages/contracts/src/contracts/current/utils/Authorizable/IAuthorizable.sol
@@ -43,11 +43,11 @@ contract IAuthorizable {
function removeAuthorizedAddressAtIndex(address target, uint256 index)
public;
- event LogAuthorizedAddressAdded(
+ event AuthorizedAddressAdded(
address indexed target,
address indexed caller);
- event LogAuthorizedAddressRemoved(
+ event AuthorizedAddressRemoved(
address indexed target,
address indexed caller);
}