Skip to content

Commit

Permalink
Merge pull request #192 from PolymathNetwork/docs/modify-max-holder-p…
Browse files Browse the repository at this point in the history
…ercentage-procedure

docs: modify max holder percentage docs
  • Loading branch information
VictorVicente committed Jan 15, 2020
2 parents f0cf27b + f58c201 commit 5eb3bd4
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/procedures/ModifyMaxHolderPercentage.ts
Expand Up @@ -8,9 +8,19 @@ import {
} from '../types';
import { PolymathError } from '../PolymathError';

/**
* Procedure that modifies the maximum percentage that an individual token holder can hold
*/
export class ModifyMaxHolderPercentage extends Procedure<ModifyMaxHolderPercentageProcedureArgs> {
public type = ProcedureType.ModifyMaxHolderPercentage;

/**
* Modify the number of security tokens (expressed in percentage) that an investor can hold as maximum
*
* Note that this procedure will fail if:
* - The security token symbol doesn't exist
* - The security token has disabled the PercentageOwnershipRestrictions feature
*/
public async prepareTransactions() {
const { symbol, maxHolderPercentage } = this.args;
const { contractWrappers } = this.context;
Expand Down

0 comments on commit 5eb3bd4

Please sign in to comment.