@@ -212,7 +212,7 @@ contract VolumeRestrictionTM is VolumeRestrictionTMStorage, ITransferManager {
212
212
_endTime,
213
213
RestrictionType (_restrictionType)
214
214
);
215
- VolumeRestrictionLib._addRestrictionData (holderData, _holder, uint8 (TypeOfPeriod.MultipleDays), individualRestriction[_holder].endTime);
215
+ VolumeRestrictionLib.addRestrictionData (holderData, _holder, uint8 (TypeOfPeriod.MultipleDays), individualRestriction[_holder].endTime);
216
216
emit AddIndividualRestriction (
217
217
_holder,
218
218
_allowedTokens,
@@ -275,7 +275,7 @@ contract VolumeRestrictionTM is VolumeRestrictionTMStorage, ITransferManager {
275
275
_endTime,
276
276
RestrictionType (_restrictionType)
277
277
);
278
- VolumeRestrictionLib._addRestrictionData (holderData, _holder, uint8 (TypeOfPeriod.OneDay), individualRestriction[_holder].endTime);
278
+ VolumeRestrictionLib.addRestrictionData (holderData, _holder, uint8 (TypeOfPeriod.OneDay), individualRestriction[_holder].endTime);
279
279
emit AddIndividualDailyRestriction (
280
280
_holder,
281
281
_allowedTokens,
@@ -447,7 +447,7 @@ contract VolumeRestrictionTM is VolumeRestrictionTMStorage, ITransferManager {
447
447
require (_holder != address (0 ));
448
448
require (individualRestriction[_holder].endTime != 0 );
449
449
individualRestriction[_holder] = VolumeRestriction (0 , 0 , 0 , 0 , RestrictionType (0 ));
450
- VolumeRestrictionLib._deleteHolderFromList (holderData, _holder, uint8 (TypeOfPeriod.OneDay));
450
+ VolumeRestrictionLib.deleteHolderFromList (holderData, _holder, uint8 (TypeOfPeriod.OneDay));
451
451
userToBucket[_holder].lastTradedDayTime = 0 ;
452
452
userToBucket[_holder].sumOfLastPeriod = 0 ;
453
453
userToBucket[_holder].daysCovered = 0 ;
@@ -477,7 +477,7 @@ contract VolumeRestrictionTM is VolumeRestrictionTMStorage, ITransferManager {
477
477
require (_holder != address (0 ));
478
478
require (individualDailyRestriction[_holder].endTime != 0 );
479
479
individualDailyRestriction[_holder] = VolumeRestriction (0 , 0 , 0 , 0 , RestrictionType (0 ));
480
- VolumeRestrictionLib._deleteHolderFromList (holderData, _holder, uint8 (TypeOfPeriod.MultipleDays));
480
+ VolumeRestrictionLib.deleteHolderFromList (holderData, _holder, uint8 (TypeOfPeriod.MultipleDays));
481
481
userToBucket[_holder].dailyLastTradedDayTime = 0 ;
482
482
emit IndividualDailyRestrictionRemoved (_holder);
483
483
}
0 commit comments