From dfdf794e3cdf9a49fe647f504e86ceccc975c061 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alberto=20Cuesta=20Ca=C3=B1ada?= Date: Thu, 23 Jan 2020 20:29:07 +0000 Subject: [PATCH] Removed events. --- contracts/utils/EnumerableSet.sol | 5 ----- 1 file changed, 5 deletions(-) diff --git a/contracts/utils/EnumerableSet.sol b/contracts/utils/EnumerableSet.sol index 7f1855276..2beaa9f9c 100644 --- a/contracts/utils/EnumerableSet.sol +++ b/contracts/utils/EnumerableSet.sol @@ -20,9 +20,6 @@ pragma solidity ^0.5.0; */ library EnumerableSet { - event ValueAdded(address value); - event ValueRemoved(address value); - struct AddressSet { // Position of the value in the `values` array, plus 1 because index 0 // means a value is not in the set. @@ -38,7 +35,6 @@ library EnumerableSet { { if (!contains(set, value)){ set.index[value] = set.values.push(value); - emit ValueAdded(value); } } @@ -52,7 +48,6 @@ library EnumerableSet { set.values[set.index[value] - 1] = set.values[set.values.length - 1]; set.values.pop(); delete set.index[value]; - emit ValueRemoved(value); } }