api.procedures.types - PolymeshAssociation/polymesh-sdk GitHub Wiki

Module: api/procedures/types

Table of contents

Enumerations

Interfaces

Type Aliases

Type Aliases

AddAssetStatParams

Ƭ AddAssetStatParams: { ticker: string } & AddCountStatParams | AddPercentageStatParams | AddClaimCountStatParams | AddClaimPercentageStatParams

Defined in

api/procedures/types.ts:413


AddClaimCountStatParams

Ƭ AddClaimCountStatParams: ClaimCountStatInput & { type: ScopedCount }

Defined in

api/procedures/types.ts:405


AddClaimCountTransferRestrictionParams

Ƭ AddClaimCountTransferRestrictionParams: ClaimCountTransferRestrictionInput & { type: ClaimCount }

Defined in

api/procedures/types.ts:525


AddClaimPercentageStatParams

Ƭ AddClaimPercentageStatParams: StatClaimIssuer & { type: ScopedBalance }

Defined in

api/procedures/types.ts:409


AddClaimPercentageTransferRestrictionParams

Ƭ AddClaimPercentageTransferRestrictionParams: ClaimPercentageTransferRestrictionInput & { type: ClaimPercentage }

Defined in

api/procedures/types.ts:529


AddCountStatParams

Ƭ AddCountStatParams: AddCountStatInput & { type: Count }

Defined in

api/procedures/types.ts:397


AddCountTransferRestrictionParams

Ƭ AddCountTransferRestrictionParams: CountTransferRestrictionInput & { type: Count }

Defined in

api/procedures/types.ts:517


AddInstructionParams

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

Defined in

api/procedures/types.ts:863


AddInstructionWithVenueIdParams

Ƭ AddInstructionWithVenueIdParams: AddInstructionParams & { venueId: BigNumber }

Defined in

api/procedures/types.ts:906


AddPercentageStatParams

Ƭ AddPercentageStatParams: Object

Type declaration

Name Type
type Balance

Defined in

api/procedures/types.ts:401


AddPercentageTransferRestrictionParams

Ƭ AddPercentageTransferRestrictionParams: PercentageTransferRestrictionInput & { type: Percentage }

Defined in

api/procedures/types.ts:521


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:358


AffirmAsMediatorParams

Ƭ AffirmAsMediatorParams: Object

Type declaration

Name Type
expiry? Date

Defined in

api/procedures/types.ts:939


AffirmOrWithdrawInstructionParams

Ƭ AffirmOrWithdrawInstructionParams: 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:930


AllowIdentityToCreatePortfoliosParams

Ƭ AllowIdentityToCreatePortfoliosParams: Object

Type declaration

Name Type
did Identity | string

Defined in

api/procedures/types.ts:1548


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:676


GenericPolymeshTransaction

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

Type parameters

Name
ProcedureReturnValue
ReturnValue

Defined in

api/procedures/types.ts:200


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:380


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:183


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:193


InstructionLeg

Ƭ InstructionLeg: InstructionFungibleLeg | InstructionNftLeg

Defined in

api/procedures/types.ts:861


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:1039


ModifyAssetParams

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

Defined in

api/procedures/types.ts:1004


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:1158


ModifyClaimsParams

Ƭ ModifyClaimsParams: AddClaimsParams | EditClaimsParams | RevokeClaimsParams

Defined in

api/procedures/types.ts:752


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:1107


ModifyInstructionAffirmationParams

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

Defined in

api/procedures/types.ts:943


ModifyOfferingTimesParams

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

Defined in

api/procedures/types.ts:1381


ModifyVenueParams

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

Defined in

api/procedures/types.ts:1329


MortalityProcedureOpt

Ƭ MortalityProcedureOpt: ImmortalProcedureOptValue | MortalProcedureOptValue

Defined in

api/procedures/types.ts:134


NftMetadataInput

Ƭ NftMetadataInput: Object

Type declaration

Name Type
id BigNumber
type MetadataType
value string

Defined in

api/procedures/types.ts:1033


RegisterMetadataParams

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

Defined in

api/procedures/types.ts:1500


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:923


RemoveAssetStatParams

Ƭ RemoveAssetStatParams: { ticker: string } & RemoveCountStatParams | RemoveBalanceStatParams | RemoveScopedCountParams | RemoveScopedBalanceParams

Defined in

api/procedures/types.ts:390


RemoveBalanceStatParams

Ƭ RemoveBalanceStatParams: Object

Type declaration

Name Type
type Balance

Defined in

api/procedures/types.ts:424


RemoveCountStatParams

Ƭ RemoveCountStatParams: Object

Type declaration

Name Type
type Count

Defined in

api/procedures/types.ts:420


RemoveScopedBalanceParams

Ƭ RemoveScopedBalanceParams: StatClaimIssuer & { type: ScopedBalance }

Defined in

api/procedures/types.ts:432


RemoveScopedCountParams

Ƭ RemoveScopedCountParams: StatClaimIssuer & { type: ScopedCount }

Defined in

api/procedures/types.ts:428


RevokeIdentityToCreatePortfoliosParams

Ƭ RevokeIdentityToCreatePortfoliosParams: Object

Type declaration

Name Type
did Identity | string

Defined in

api/procedures/types.ts:1552


Role

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

Defined in

api/procedures/types.ts:265


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:820


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:436


SetMetadataParams

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

Defined in

api/procedures/types.ts:1496


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:369


SetVenueFilteringParams

Ƭ SetVenueFilteringParams: Object

Type declaration

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

Defined in

api/procedures/types.ts:1512


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:204


TransferRestriction

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

Defined in

api/procedures/types.ts:468

⚠️ **GitHub.com Fallback** ⚠️