Skip to content

Commit

Permalink
fix: documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
shuffledex committed Jan 16, 2020
1 parent 5d27e6e commit 24ca7cb
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions src/procedures/RevokeKyc.ts
Expand Up @@ -6,18 +6,19 @@ import { PolymathError } from '../PolymathError';
import { Shareholder, SecurityToken } from '../entities';

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

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

0 comments on commit 24ca7cb

Please sign in to comment.