@@ -106,7 +106,6 @@ contract GeneralIndexModule is ModuleBase, ReentrancyGuard {
106
106
107
107
/* ============ Events ============ */
108
108
109
- event TargetUnitsUpdated (ISetToken indexed _setToken , address indexed _component , uint256 _newUnit , uint256 _positionMultiplier );
110
109
event TradeMaximumUpdated (ISetToken indexed _setToken , address indexed _component , uint256 _newMaximum );
111
110
event AssetExchangeUpdated (ISetToken indexed _setToken , address indexed _component , string _newExchangeName );
112
111
event CoolOffPeriodUpdated (ISetToken indexed _setToken , address indexed _component , uint256 _newCoolOffPeriod );
@@ -128,7 +127,12 @@ contract GeneralIndexModule is ModuleBase, ReentrancyGuard {
128
127
uint256 _protocolFee
129
128
);
130
129
131
- event RebalanceStarted (ISetToken indexed _setToken );
130
+ event RebalanceStarted (
131
+ ISetToken indexed _setToken ,
132
+ address [] aggregateComponents ,
133
+ uint256 [] aggregateTargetUnits ,
134
+ uint256 indexed positionMultiplier
135
+ );
132
136
133
137
/* ============ Constants ============ */
134
138
@@ -197,13 +201,12 @@ contract GeneralIndexModule is ModuleBase, ReentrancyGuard {
197
201
for (uint256 i = 0 ; i < aggregateComponents.length ; i++ ) {
198
202
require (! _setToken.hasExternalPosition (aggregateComponents[i]), "External positions not allowed " );
199
203
executionInfo[_setToken][IERC20 (aggregateComponents[i])].targetUnit = aggregateTargetUnits[i];
200
- emit TargetUnitsUpdated (_setToken, aggregateComponents[i], aggregateTargetUnits[i], _positionMultiplier);
201
204
}
202
205
203
206
rebalanceInfo[_setToken].rebalanceComponents = aggregateComponents;
204
207
rebalanceInfo[_setToken].positionMultiplier = _positionMultiplier;
205
208
206
- emit RebalanceStarted (_setToken);
209
+ emit RebalanceStarted (_setToken, aggregateComponents, aggregateTargetUnits, _positionMultiplier );
207
210
}
208
211
209
212
/**
0 commit comments