Skip to content

Commit 24ca7cb

Browse files
committed
fix: documentation
1 parent 5d27e6e commit 24ca7cb

1 file changed

Lines changed: 7 additions & 6 deletions

File tree

src/procedures/RevokeKyc.ts

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,19 @@ import { PolymathError } from '../PolymathError';
66
import { Shareholder, SecurityToken } from '../entities';
77

88
/**
9-
* Procedure that revoke the KYC validation of a list of investors
9+
* Procedure that revokes KYC for a list of investors
1010
*/
1111
export class RevokeKyc extends Procedure<RevokeKycProcedureArgs, Shareholder[]> {
1212
public type = ProcedureType.RevokeKyc;
1313

1414
/**
15-
* - Disallows the ability of purchase and sale for each investor in the list. Also makes invalid the KYC
15+
* Sets all KYC dates for a shareholder to epoch. This effectively makes them unable to send or receive Security Tokens
1616
*
17-
* Note that this procedure will fail if you're not provide at least one shareholder address
18-
* Note that this procedure will fail if the security token symbol doesn't exist
19-
* Note that this procedure will fail if at least one address is already revoked
20-
* Note that this procedure will fail if General Transfer Manager isn't enabled
17+
* Note that this procedure will fail if:
18+
* - The shareholder address array is empty
19+
* - The Security Token doesn't exist
20+
* - KYC is already revoked for at least one of the addresses in the list
21+
* - Shareholders Feature isn't enabled
2122
*/
2223
public async prepareTransactions() {
2324
const { symbol, shareholderAddresses } = this.args;

0 commit comments

Comments
 (0)