Skip to content

api.procedures.types

prashantasdeveloper edited this page Dec 12, 2024 · 73 revisions

Module: api/procedures/types

Table of contents

Enumerations

Interfaces

Type Aliases

Type Aliases

AddAssetStatParams

Ƭ AddAssetStatParams: { asset: FungibleAsset } & AddCountStatParams | AddPercentageStatParams | AddClaimCountStatParams | AddClaimPercentageStatParams

Defined in

api/procedures/types.ts:425


AddClaimCountStatParams

Ƭ AddClaimCountStatParams: ClaimCountStatInput & { type: ScopedCount }

Defined in

api/procedures/types.ts:417


AddClaimCountTransferRestrictionParams

Ƭ AddClaimCountTransferRestrictionParams: ClaimCountTransferRestrictionInput & { type: ClaimCount }

Defined in

api/procedures/types.ts:537


AddClaimPercentageStatParams

Ƭ AddClaimPercentageStatParams: StatClaimIssuer & { type: ScopedBalance }

Defined in

api/procedures/types.ts:421


AddClaimPercentageTransferRestrictionParams

Ƭ AddClaimPercentageTransferRestrictionParams: ClaimPercentageTransferRestrictionInput & { type: ClaimPercentage }

Defined in

api/procedures/types.ts:541


AddCountStatParams

Ƭ AddCountStatParams: AddCountStatInput & { type: Count }

Defined in

api/procedures/types.ts:409


AddCountTransferRestrictionParams

Ƭ AddCountTransferRestrictionParams: CountTransferRestrictionInput & { type: Count }

Defined in

api/procedures/types.ts:529


AddInstructionParams

Ƭ AddInstructionParams: { legs: InstructionLeg[] ; mediators?: (string | Identity)[] ; memo?: string ; tradeDate?: Date ; valueDate?: Date } & { endBlock?: BigNumber } | { endAfterBlock?: BigNumber }

Defined in

api/procedures/types.ts:938


AddInstructionWithVenueIdParams

Ƭ AddInstructionWithVenueIdParams: AddInstructionParams & { venueId?: BigNumber }

Defined in

api/procedures/types.ts:981


AddPercentageStatParams

Ƭ AddPercentageStatParams: Object

Type declaration

Name Type
type Balance

Defined in

api/procedures/types.ts:413


AddPercentageTransferRestrictionParams

Ƭ AddPercentageTransferRestrictionParams: PercentageTransferRestrictionInput & { type: Percentage }

Defined in

api/procedures/types.ts:533


AddRestrictionParams

Ƭ AddRestrictionParams<T>: Omit<T extends Count ? AddCountTransferRestrictionParams : T extends Percentage ? AddPercentageTransferRestrictionParams : T extends ClaimCount ? AddClaimCountTransferRestrictionParams : AddClaimPercentageTransferRestrictionParams, "type">

Type parameters

Name
T

Defined in

api/procedures/types.ts:370


AffirmAsMediatorParams

Ƭ AffirmAsMediatorParams: Object

Type declaration

Name Type
expiry? Date

Defined in

api/procedures/types.ts:1064


AffirmInstructionParams

Ƭ AffirmInstructionParams: Object

Type declaration

Name Type Description
portfolios? PortfolioLike[] (optional) Portfolios that the signer controls and wants to affirm the instruction Note if empty, all the legs containing any custodied Portfolios of the signer will be affirmed
receipts? OffChainAffirmationReceipt[] (optional) list of offchain receipts required for affirming offchain legs(if any) in the instruction Receipt can be generated using generateOffChainAffirmationReceipt method

Defined in

api/procedures/types.ts:1048


AllowIdentityToCreatePortfoliosParams

Ƭ AllowIdentityToCreatePortfoliosParams: Object

Type declaration

Name Type
did Identity | string

Defined in

api/procedures/types.ts:1754


CollectionKeyInput

Ƭ CollectionKeyInput: GlobalCollectionKeyInput | LocalCollectionKeyInput

Global key must be registered. local keys must provide a specification as they are created with the NftCollection

Defined in

api/procedures/types.ts:729


GenericPolymeshTransaction

Ƭ GenericPolymeshTransaction<ProcedureReturnValue, ReturnValue>: PolymeshTransaction<ProcedureReturnValue, ReturnValue> | PolymeshTransactionBatch<ProcedureReturnValue, ReturnValue>

Type parameters

Name
ProcedureReturnValue
ReturnValue

Defined in

api/procedures/types.ts:212


GetTransferRestrictionReturnType

Ƭ GetTransferRestrictionReturnType<T>: ActiveTransferRestrictions<T extends Count ? CountTransferRestriction : T extends Percentage ? PercentageTransferRestriction : T extends ClaimCount ? ClaimCountTransferRestriction : ClaimPercentageTransferRestriction>

Type parameters

Name
T

Defined in

api/procedures/types.ts:392


InputCorporateActionTargets

Ƭ InputCorporateActionTargets: Modify<CorporateActionTargets, { identities: (string | Identity)[] }>

Targets of a corporate action in a flexible structure for input purposes

Defined in

api/procedures/types.ts:195


InputCorporateActionTaxWithholdings

Ƭ InputCorporateActionTaxWithholdings: Modify<TaxWithholding, { identity: string | Identity }>[]

Per-Identity tax withholdings of a corporate action in a flexible structure for input purposes

Defined in

api/procedures/types.ts:205


InstructionLeg

Ƭ InstructionLeg: InstructionFungibleLeg | InstructionNftLeg | InstructionOffChainLeg

Defined in

api/procedures/types.ts:936


IssueNftParams

Ƭ IssueNftParams: Object

Type declaration

Name Type Description
metadata NftMetadataInput[] -
portfolioId? BigNumber portfolio to which the NFTCollection will be issued (optional, default is the default portfolio)

Defined in

api/procedures/types.ts:1184


JoinCreatorParams

Ƭ JoinCreatorParams: JoinCreatorAsPrimary | JoinCreatorAsSecondary

Defined in

api/procedures/types.ts:1679


ModifyAssetParams

Ƭ ModifyAssetParams: { assetType?: KnownAssetType | string | BigNumber ; fundingRound?: string ; identifiers?: SecurityIdentifier[] ; makeDivisible?: true ; name: string } | { assetType?: KnownAssetType | string | BigNumber ; fundingRound?: string ; identifiers?: SecurityIdentifier[] ; makeDivisible: true ; name?: string } | { assetType?: KnownAssetType | string | BigNumber ; fundingRound: string ; identifiers?: SecurityIdentifier[] ; makeDivisible?: true ; name?: string } | { assetType?: KnownAssetType | string | BigNumber ; fundingRound?: string ; identifiers: SecurityIdentifier[] ; makeDivisible?: true ; name?: string } | { assetType: KnownAssetType | string | BigNumber ; fundingRound?: string ; identifiers?: SecurityIdentifier[] ; makeDivisible?: true ; name?: string }

Defined in

api/procedures/types.ts:1138


ModifyCaDefaultConfigParams

Ƭ ModifyCaDefaultConfigParams: { defaultTaxWithholding: BigNumber ; targets?: InputTargets ; taxWithholdings?: InputTaxWithholding[] } | { defaultTaxWithholding?: BigNumber ; targets: InputTargets ; taxWithholdings?: InputTaxWithholding[] } | { defaultTaxWithholding?: BigNumber ; targets?: InputTargets ; taxWithholdings: InputTaxWithholding[] }

Defined in

api/procedures/types.ts:1303


ModifyClaimsParams

Ƭ ModifyClaimsParams: AddClaimsParams | EditClaimsParams | RevokeClaimsParams

Defined in

api/procedures/types.ts:817


ModifyComplianceRequirementParams

Ƭ ModifyComplianceRequirementParams: Object

Type declaration

Name Type Description
conditions InputCondition[] array of conditions to replace the existing array of conditions for the requirement (identified by id). Conditions within a requirement are AND between them. This means that in order for a transfer to comply with this requirement, it must fulfill ALL conditions
id BigNumber ID of the Compliance Requirement

Defined in

api/procedures/types.ts:1252


ModifyInstructionAffirmationParams

Ƭ ModifyInstructionAffirmationParams: InstructionIdParams & { operation: Affirm } & AffirmInstructionParams | { operation: Withdraw } & WithdrawInstructionParams | { operation: Reject | RejectAsMediator } & RejectInstructionParams | { operation: AffirmAsMediator } & AffirmAsMediatorParams | { operation: WithdrawAsMediator | RejectAsMediator }

Defined in

api/procedures/types.ts:1068


ModifyOfferingTimesParams

Ƭ ModifyOfferingTimesParams: { end: Date | null ; start?: Date } | { end?: Date | null ; start: Date } | { end: Date | null ; start: Date }

Defined in

api/procedures/types.ts:1533


ModifyVenueParams

Ƭ ModifyVenueParams: { description?: string ; type: VenueType } | { description: string ; type?: VenueType } | { description: string ; type: VenueType }

Defined in

api/procedures/types.ts:1481


MortalityProcedureOpt

Ƭ MortalityProcedureOpt: ImmortalProcedureOptValue | MortalProcedureOptValue

Defined in

api/procedures/types.ts:146


NftMetadataInput

Ƭ NftMetadataInput: Object

Type declaration

Name Type
id BigNumber
type MetadataType
value string

Defined in

api/procedures/types.ts:1178


RegisterMetadataParams

Ƭ RegisterMetadataParams: { name: string ; specs: MetadataSpec } | { details?: MetadataValueDetails ; name: string ; specs: MetadataSpec ; value: string }

Defined in

api/procedures/types.ts:1685


RejectInstructionParams

Ƭ RejectInstructionParams: Object

Type declaration

Name Type Description
portfolio? PortfolioLike (optional) Portfolio that the signer controls and wants to reject the instruction

Defined in

api/procedures/types.ts:998


RemoveAssetStatParams

Ƭ RemoveAssetStatParams: { asset: FungibleAsset } & RemoveCountStatParams | RemoveBalanceStatParams | RemoveScopedCountParams | RemoveScopedBalanceParams

Defined in

api/procedures/types.ts:402


RemoveBalanceStatParams

Ƭ RemoveBalanceStatParams: Object

Type declaration

Name Type
type Balance

Defined in

api/procedures/types.ts:436


RemoveCountStatParams

Ƭ RemoveCountStatParams: Object

Type declaration

Name Type
type Count

Defined in

api/procedures/types.ts:432


RemoveScopedBalanceParams

Ƭ RemoveScopedBalanceParams: StatClaimIssuer & { type: ScopedBalance }

Defined in

api/procedures/types.ts:444


RemoveScopedCountParams

Ƭ RemoveScopedCountParams: StatClaimIssuer & { type: ScopedCount }

Defined in

api/procedures/types.ts:440


RevokeIdentityToCreatePortfoliosParams

Ƭ RevokeIdentityToCreatePortfoliosParams: Object

Type declaration

Name Type
did Identity | string

Defined in

api/procedures/types.ts:1758


Role

Ƭ Role: TickerOwnerRole | CddProviderRole | VenueOwnerRole | PortfolioCustodianRole | IdentityRole

Defined in

api/procedures/types.ts:277


RotatePrimaryKeyToSecondaryParams

Ƭ RotatePrimaryKeyToSecondaryParams: Object

Type declaration

Name Type Description
expiry? Date (optional) when the generated authorization should expire
permissions PermissionsLike -
targetAccount string | Account The Account that should function as the primary key of the newly created Identity. Can be ss58 encoded address or an instance of Account

Defined in

api/procedures/types.ts:885


SetAssetStatParams

Ƭ SetAssetStatParams<T>: Omit<T extends Count ? AddCountStatParams : T extends Percentage ? AddPercentageStatParams : T extends ClaimCount ? AddClaimCountStatParams : AddClaimPercentageStatParams, "type">

Type parameters

Name
T

Defined in

api/procedures/types.ts:448


SetMetadataParams

Ƭ SetMetadataParams: { details?: MetadataValueDetails ; value: string } | { details: MetadataValueDetails }

Defined in

api/procedures/types.ts:1681


SetRestrictionsParams

Ƭ SetRestrictionsParams<T>: Omit<T extends Count ? SetCountTransferRestrictionsParams : T extends Percentage ? SetPercentageTransferRestrictionsParams : T extends ClaimCount ? SetClaimCountTransferRestrictionsParams : SetClaimPercentageTransferRestrictionsParams, "type">

Type parameters

Name
T

Defined in

api/procedures/types.ts:381


SetVenueFilteringParams

Ƭ SetVenueFilteringParams: Object

Type declaration

Name Type
allowedVenues? BigNumber[]
disallowedVenues? BigNumber[]
enabled? boolean

Defined in

api/procedures/types.ts:1697


TransactionArray

Ƭ TransactionArray<ReturnValues>: { [K in keyof ReturnValues]: GenericPolymeshTransaction<any, ReturnValues[K]> }

Type parameters

Name Type
ReturnValues extends readonly [...unknown[]]

Defined in

api/procedures/types.ts:216


TransferRestriction

Ƭ TransferRestriction: { type: Count ; value: BigNumber } | { type: Percentage ; value: BigNumber } | { type: ClaimCount ; value: ClaimCountRestrictionValue } | { type: ClaimPercentage ; value: ClaimPercentageRestrictionValue }

Defined in

api/procedures/types.ts:480


WithdrawInstructionParams

Ƭ WithdrawInstructionParams: Object

Type declaration

Name Type Description
portfolios? PortfolioLike[] (optional) Portfolios that the signer controls and wants to affirm the instruction or withdraw affirmation Note if empty, all the legs containing any custodied Portfolios of the signer will be affirmed/affirmation will be withdrawn, based on the operation.

Defined in

api/procedures/types.ts:1005

Clone this wiki locally