-
Notifications
You must be signed in to change notification settings - Fork 11
api.entities.Asset.Fungible.TransferRestrictions.ClaimPercentage.ClaimPercentage
api/entities/Asset/Fungible/TransferRestrictions/ClaimPercentage.ClaimPercentage
Handles all Claim Percentage Transfer Restriction related functionality
-
TransferRestrictionBase
<ClaimPercentage
>↳
ClaimPercentage
• addRestriction: ProcedureMethod
<Omit
<AddClaimPercentageTransferRestrictionParams
, "type"
>, BigNumber
, BigNumber
>
Add a Percentage Transfer Restriction to this Asset. This can be used to limit the total amount of supply investors who share a ClaimType may hold. For example a restriction can be made so Canadian investors must hold at least 50% of the supply.
Throws
if the appropriately scoped Balance statistic (by ClaimType and issuer) is not enabled for this Asset. enableStat with appropriate arguments should be called before this method
TransferRestrictionBase.addRestriction
api/entities/Asset/Fungible/TransferRestrictions/ClaimPercentage.ts:32
• disableStat: ProcedureMethod
<Omit
<RemoveScopedBalanceParams
, "type"
>, void
, void
>
Disables an investor balance 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
TransferRestrictionBase.disableStat
api/entities/Asset/Fungible/TransferRestrictions/ClaimPercentage.ts:69
• enableStat: ProcedureMethod
<Omit
<AddClaimPercentageStatParams
, "type"
>, void
, void
>
Enables investor balance statistic for the Asset, which is required before creating restrictions that limit the total ownership the Asset's supply
TransferRestrictionBase.enableStat
api/entities/Asset/Fungible/TransferRestrictions/ClaimPercentage.ts:61
• get: () => Promise
<ActiveTransferRestrictions
<ClaimPercentageTransferRestriction
>>
▸ (): Promise
<ActiveTransferRestrictions
<ClaimPercentageTransferRestriction
>>
Retrieve all active Claim Percentage Transfer Restrictions
Promise
<ActiveTransferRestrictions
<ClaimPercentageTransferRestriction
>>
Note
there is a maximum number of restrictions allowed across all types.
The availableSlots
property of the result represents how many more restrictions can be added
before reaching that limit
api/entities/Asset/Fungible/TransferRestrictions/ClaimPercentage.ts:78
• getStat: () => Promise
<ActiveStats
>
▸ (): Promise
<ActiveStats
>
Retrieve current Claim Percentage Transfer Restriction investor balance statistic for the Asset
Promise
<ActiveStats
>
TransferRestrictionBase.getStat
api/entities/Asset/Fungible/TransferRestrictions/ClaimPercentage.ts:84
• removeRestrictions: NoArgsProcedureMethod
<BigNumber
, BigNumber
>
Removes all Claim Percentage Transfer Restrictions from this Asset
Note
the result is the total amount of restrictions after the procedure has run
TransferRestrictionBase.removeRestrictions
api/entities/Asset/Fungible/TransferRestrictions/ClaimPercentage.ts:55
• setRestrictions: ProcedureMethod
<Omit
<SetClaimPercentageTransferRestrictionsParams
, "type"
>, BigNumber
, BigNumber
>
Sets all Claim Percentage Transfer Restrictions on this Asset
Note
this method sets exempted Identities for restrictions as well. If an Identity is currently exempted from a Claim Percentage Transfer Restriction but not passed into this call then it will be removed
Note
the result is the total amount of restrictions after the procedure has run
TransferRestrictionBase.setRestrictions
api/entities/Asset/Fungible/TransferRestrictions/ClaimPercentage.ts:45
Entities
- Account
- Asset
- Authorization Request
- Checkpoint
- Checkpoint Schedule
- Corporate Action
- Corporate Action Base
- Custom Permission Group
- Default Portfolio
- Default Trusted Claim Issuer
- Dividend Distribution
- Entity
- Identity
- Instruction
- Known Permission Group
- Metadata Entry
- Multi Sig Proposal
- Numbered Portfolio
- Offering
- Permission Group
- Portfolio
- Subsidies
- Subsidy
- Ticker Reservation
- Venue
- Authorizations
- Types