Skip to content

Commit cbe566d

Browse files
committed
fix: new comments
1 parent 5b7771a commit cbe566d

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

src/procedures/ModifyShareholderData.ts

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,11 @@ import { Shareholder, SecurityToken } from '../entities';
1818
const { dateToBigNumber } = conversionUtils;
1919

2020
/**
21-
* Procedure that modifies data of a list of investors
21+
* Procedure that modifies data for a list of (potential) shareholders. The data that can be modified is:
22+
*
23+
* - KYC data (sale/buy lockup dates and KYC expiry)
24+
* - Whether the shareholder is accredited
25+
* - Whether the shareholder can buy from an STO
2226
*/
2327
export class ModifyShareholderData extends Procedure<
2428
ModifyShareholderDataProcedureArgs,
@@ -27,12 +31,12 @@ export class ModifyShareholderData extends Procedure<
2731
public type = ProcedureType.ModifyShareholderData;
2832

2933
/**
30-
* - Update a list of investors data
34+
* Update shareholder data for a subset of addresses
3135
*
32-
* Note that this procedure will fail if you're trying to revoke a shareholder's KYC
33-
* Note that this procedure will fail if the security token symbol doesn't exist
34-
* Note that this procedure will fail if General Transfer Manager isn't enabled
35-
* Note that this procedure will fail if you're trying to modify nothing
36+
* Note that this procedure will fail if:
37+
* - You're trying to set the dates to 0 (there is a special "RevokeKyc" procedure for that)
38+
* - The Security Token doesn't exist
39+
* - There is no difference between the "new" data and the data already present in the contract
3640
*/
3741
public async prepareTransactions() {
3842
const { symbol, shareholderData } = this.args;

0 commit comments

Comments
 (0)