@@ -176,7 +176,7 @@ interface UserAddressParams {
176
176
* @param startTime Start date of the blacklist type
177
177
* @param endTime End date of the blacklist type
178
178
* @param blacklistName Name of the blacklist type
179
- * @param repeatPeriodTime Repeat period of the blacklist type (in days)
179
+ * @param repeatPeriodTime Repeat period of the blacklist type (measured in days)
180
180
*/
181
181
interface BlacklistTypeParams extends TxParams {
182
182
startTime : Date ;
@@ -189,7 +189,7 @@ interface BlacklistTypeParams extends TxParams {
189
189
* @param startTime Start date of the blacklist type
190
190
* @param endTime End date of the blacklist type
191
191
* @param blacklistName Name of the blacklist type
192
- * @param repeatPeriodTime Repeat period of the blacklist type (in days)
192
+ * @param repeatPeriodTime Repeat period of the blacklist type (measured in days)
193
193
* @param investor Address of the investor
194
194
*/
195
195
interface AddNewInvestorToNewBlacklistParams extends BlacklistTypeParams {
@@ -200,7 +200,7 @@ interface AddNewInvestorToNewBlacklistParams extends BlacklistTypeParams {
200
200
* @param startTimes Start dates of the blacklist types
201
201
* @param endTimes End dates of the blacklist types
202
202
* @param blacklistNames Names of the blacklist types
203
- * @param repeatPeriodTimes Repeat periods of the blacklist type (in days)
203
+ * @param repeatPeriodTimes Repeat periods of the blacklist type (measured in days)
204
204
*/
205
205
interface BlacklistTypeMultiParams extends TxParams {
206
206
startTimes : Date [ ] ;
@@ -210,23 +210,20 @@ interface BlacklistTypeMultiParams extends TxParams {
210
210
}
211
211
212
212
/**
213
- * Used to delete the blacklist type
214
213
* @param blacklistName Name of the blacklist type
215
214
*/
216
215
interface DeleteBlacklistTypeParams extends TxParams {
217
216
blacklistName : string ;
218
217
}
219
218
220
219
/**
221
- * Used to delete the multiple blacklist types
222
220
* @param blacklistNames Names of the blacklist types
223
221
*/
224
222
interface DeleteBlacklistTypeMultiParams extends TxParams {
225
223
blacklistNames : string [ ] ;
226
224
}
227
225
228
226
/**
229
- * Used to assign the blacklist type to the investor
230
227
* @param investor Address of the investor
231
228
* @param blacklistName Name of the blacklist
232
229
*/
@@ -236,7 +233,6 @@ interface InvestorAndBlacklistParams extends TxParams {
236
233
}
237
234
238
235
/**
239
- * Used to delete the investor from all the associated blacklist types
240
236
* @param investor Address of the investor
241
237
*/
242
238
interface DeleteInvestorFromAllBlacklistParams extends TxParams {
@@ -251,7 +247,6 @@ interface DeleteInvestorFromAllBlacklistMultiParams extends TxParams {
251
247
}
252
248
253
249
/**
254
- * Used to assign a single blacklist type to multiple investors
255
250
* @param investors Address of the investor
256
251
* @param blacklistName Name of the blacklist
257
252
*/
@@ -283,7 +278,7 @@ interface VerifyTransfer {
283
278
/**
284
279
* @param startTime Date of start for blacklist
285
280
* @param endTime Date of end for blacklist
286
- * @param repeatPeriodTime Days until it is repeated (0 if it is not repeated)
281
+ * @param repeatPeriodTime Time until it is repeated (Measured in days) (0 if it is not repeated)
287
282
*/
288
283
interface BlacklistsDetails {
289
284
startTime : Date ;
@@ -340,7 +335,7 @@ export default class BlacklistTransferManagerWrapper extends ModuleWrapper {
340
335
* Return the different blacklist details corresponding to a blacklists name
341
336
*/
342
337
public blacklists = async ( params : BlacklistParams ) : Promise < BlacklistsDetails > => {
343
- assert . assert ( params . blacklistName . length > 0 , 'Blacklist Details must not be an empty string' ) ;
338
+ assert . assert ( params . blacklistName . length > 0 , 'Blacklist name must not be an empty string' ) ;
344
339
const result = await ( await this . contract ) . blacklists . callAsync ( stringToBytes32 ( params . blacklistName ) ) ;
345
340
return {
346
341
startTime : bigNumberToDate ( result [ 0 ] ) ,
0 commit comments