Class: ClaimCount
api/entities/Asset/Fungible/TransferRestrictions/ClaimCount.ClaimCount
Handles all Claim Count Transfer Restriction related functionality
Hierarchy
-
TransferRestrictionBase
<ClaimCount
>↳
ClaimCount
Properties
addRestriction
• addRestriction: ProcedureMethod
<Omit
<AddClaimCountTransferRestrictionParams
, "type"
>, BigNumber
, BigNumber
>
Add a ClaimCount Transfer Restriction to this Asset. This limits to total number of individual investors that may hold the Asset scoped by some Claim. This can limit the number of holders that are non accredited, or ensure all holders are of a certain nationality
Note
the result is the total amount of restrictions after the procedure has run
Throws
if the appropriate count statistic (matching ClaimType and issuer) is not enabled for the Asset. enableStat should be called with appropriate arguments before this method
Overrides
TransferRestrictionBase.addRestriction
Defined in
api/entities/Asset/Fungible/TransferRestrictions/ClaimCount.ts:31
disableStat
• disableStat: ProcedureMethod
<Omit
<RemoveScopedCountParams
, "type"
>, void
, void
>
Disables a claim count statistic for the Asset. Since statistics introduce slight overhead to each transaction involving the Asset, disabling unused stats will reduce gas fees for investors
Throws
if the stat is being used by a restriction or is not set
Overrides
TransferRestrictionBase.disableStat