Globals

Index

Enumerations

Classes

Interfaces

Type aliases

Variables

Functions

Object literals

Type aliases

AccountBalance

Ƭ AccountBalance: Balance

Defined in src/types/index.ts:593arrow-up-right

AddCountTransferRestrictionParams

Ƭ AddCountTransferRestrictionParams: CountTransferRestrictionInput & object

Defined in src/api/procedures/addTransferRestriction.ts:23arrow-up-right

AddPairParams

Ƭ AddPairParams: object

Defined in src/base/Context.ts:91arrow-up-right

Type declaration:

  • accountMnemonic? : undefined | string

  • accountSeed? : undefined | string

  • accountUri? : undefined | string

  • pair? : KeyringPair

AddPercentageTransferRestrictionParams

Ƭ AddPercentageTransferRestrictionParams: PercentageTransferRestrictionInput & object

Defined in src/api/procedures/addTransferRestriction.ts:27arrow-up-right

AddRestrictionParams

Ƭ AddRestrictionParams: Omit‹T extends Count ? AddCountTransferRestrictionParams : AddPercentageTransferRestrictionParams, "type"›

Defined in src/api/entities/SecurityToken/TransferRestrictions/TransferRestrictionBase.ts:32arrow-up-right

ArgsType

Ƭ ArgsType: T extends function ? A : never

Defined in src/types/utils/index.ts:22arrow-up-right

Less strict version of Parameters

Authorization

Ƭ Authorization: object | object | object | object | object | object

Defined in src/types/index.ts:880arrow-up-right

Authorization request data corresponding to type

CddClaim

Ƭ CddClaim: object

Defined in src/types/index.ts:271arrow-up-right

Type declaration:

CheckpointScheduleParams

Ƭ CheckpointScheduleParams: Omit‹UniqueIdentifiers & Params, "ticker"›

Defined in src/api/entities/CheckpointSchedule/types.ts:8arrow-up-right

Claim

Ƭ Claim: ScopedClaim | UnscopedClaim

Defined in src/types/index.ts:302arrow-up-right

CommonKeyring

Ƭ CommonKeyring: Pick‹Keyring, "getPair" | "getPairs" | "addFromSeed" | "addFromUri" | "addFromMnemonic" | "addPair" | "encodeAddress"›

Defined in src/types/index.ts:562arrow-up-right

Condition

Ƭ Condition: SingleClaimCondition | MultiClaimCondition | IdentityCondition | ExternalAgentCondition

Defined in src/types/index.ts:392arrow-up-right

ConditionBase

Ƭ ConditionBase: object

Defined in src/types/index.ts:371arrow-up-right

Type declaration:

ConfigureDividendDistributionParams

Ƭ ConfigureDividendDistributionParams: Omit‹InitiateCorporateActionParams, "kind" | "checkpoint"› & object

Defined in src/api/procedures/configureDividendDistribution.ts:62arrow-up-right

Ensured

Ƭ Ensured: Required‹Pick‹T, K››

Defined in src/types/index.ts:555arrow-up-right

ExternalAgentCondition

Ƭ ExternalAgentCondition: ConditionBase & object

Defined in src/types/index.ts:388arrow-up-right

GetReturnType

Ƭ GetReturnType: ActiveTransferRestrictions‹T extends Count ? CountTransferRestriction : PercentageTransferRestriction›

Defined in src/api/entities/SecurityToken/TransferRestrictions/TransferRestrictionBase.ts:46arrow-up-right

GroupPermissions

Ƭ GroupPermissions: Pick‹Permissions, "transactions" | "transactionGroups"›

Defined in src/types/index.ts:815arrow-up-right

Security Token permissions shared by agents in a group

HumanReadableType

Ƭ HumanReadableType: T extends Entity‹unknown, infer H› ? HumanReadableType‹H› : T extends BigNumber ? string : T extends Date ? string : T extends object ? object : T

Defined in src/types/utils/index.ts:28arrow-up-right

Recursively traverse a type and transform its Entity properties into their human readable version (as if .toJson had been called on all of them)

IdentityCondition

Ƭ IdentityCondition: ConditionBase & object

Defined in src/types/index.ts:383arrow-up-right

InputTargets

Ƭ InputTargets: Omit‹CorporateActionTargets, "identities"› & object

Defined in src/api/entities/CorporateAction/types.ts:20arrow-up-right

InputTaxWithholding

Ƭ InputTaxWithholding: Omit‹TaxWithholding, "identity"› & object

Defined in src/api/entities/CorporateAction/types.ts:24arrow-up-right

InstructionDetails

Ƭ InstructionDetails: object & object | object

Defined in src/api/entities/Instruction/types.ts:17arrow-up-right

InstructionStatusResult

Ƭ InstructionStatusResult: object | object

Defined in src/api/entities/Instruction/types.ts:58arrow-up-right

InvestorUniquenessClaim

Ƭ InvestorUniquenessClaim: object

Defined in src/types/index.ts:273arrow-up-right

Type declaration:

InvestorUniquenessV2Claim

Ƭ InvestorUniquenessV2Claim: object

Defined in src/types/index.ts:280arrow-up-right

Type declaration:

ModifyCaDefaultsParams

Ƭ ModifyCaDefaultsParams: object | object | object

Defined in src/api/procedures/modifyCaDefaults.ts:23arrow-up-right

ModifyClaimsParams

Ƭ ModifyClaimsParams: AddClaimsParams | EditClaimsParams | RevokeClaimsParams

Defined in src/api/procedures/modifyClaims.ts:63arrow-up-right

ModifyStoTimesParams

Ƭ ModifyStoTimesParams: object | object | object

Defined in src/api/procedures/modifyStoTimes.ts:9arrow-up-right

ModifyTokenParams

Ƭ ModifyTokenParams: object | object | object | object

Defined in src/api/procedures/modifyToken.ts:13arrow-up-right

ModifyVenueParams

Ƭ ModifyVenueParams: object | object | object

Defined in src/api/procedures/modifyVenue.ts:8arrow-up-right

MultiClaimCondition

Ƭ MultiClaimCondition: ConditionBase & object

Defined in src/types/index.ts:378arrow-up-right

Mutable

Ƭ Mutable: object

Defined in src/types/utils/index.ts:5arrow-up-right

Type declaration:

NextKey

Ƭ NextKey: string | number | null

Defined in src/types/index.ts:600arrow-up-right

PermissionsLike

Ƭ PermissionsLike: object & object | object

Defined in src/types/index.ts:995arrow-up-right

Permissions to grant to a Signer over an Identity

link Permissions

note TxGroups in the transactionGroups array will be transformed into their corresponding TxTags

PortfolioLike

Ƭ PortfolioLike: string | Identity | NumberedPortfolio | DefaultPortfolio | object

Defined in src/types/index.ts:981arrow-up-right

ProcedureFunc

Ƭ ProcedureFunc: function

Defined in src/types/utils/index.ts:9arrow-up-right

Type declaration:

▸ (): Procedure‹Args, ReturnValue, Storage›

Role

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

Defined in src/types/index.ts:120arrow-up-right

ScopedClaim

Ƭ ScopedClaim: object | InvestorUniquenessClaim | object

Defined in src/types/index.ts:285arrow-up-right

SetRestrictionsParams

Ƭ SetRestrictionsParams: Omit‹T extends Count ? SetCountTransferRestrictionsParams : SetPercentageTransferRestrictionsParams, "type"›

Defined in src/api/entities/SecurityToken/TransferRestrictions/TransferRestrictionBase.ts:39arrow-up-right

SetTransferRestrictionsParams

Ƭ SetTransferRestrictionsParams: object & SetCountTransferRestrictionsParams | SetPercentageTransferRestrictionsParams

Defined in src/api/procedures/setTransferRestrictions.ts:39arrow-up-right

Signer

Ƭ Signer: Identity | Account

Defined in src/types/index.ts:957arrow-up-right

SingleClaimCondition

Ƭ SingleClaimCondition: ConditionBase & object

Defined in src/types/index.ts:373arrow-up-right

SubCallback

Ƭ SubCallback: function

Defined in src/types/index.ts:551arrow-up-right

Type declaration:

▸ (result: T): void | Promise‹void›

Parameters:

Name
Type

result

T

TransactionArgument

Ƭ TransactionArgument: object & PlainTransactionArgument | ArrayTransactionArgument | SimpleEnumTransactionArgument | ComplexTransactionArgument

Defined in src/types/index.ts:946arrow-up-right

UnionOfProcedureFuncs

Ƭ UnionOfProcedureFuncs: Args extends unknown ? ProcedureFunc‹Args, ReturnValue, Storage› : never

Defined in src/types/utils/index.ts:15arrow-up-right

UnscopedClaim

Ƭ UnscopedClaim: object | CddClaim | InvestorUniquenessV2Claim

Defined in src/types/index.ts:300arrow-up-right

UnsubCallback

Ƭ UnsubCallback: function

Defined in src/types/index.ts:553arrow-up-right

Type declaration:

▸ (): void

Variables

Const executedMessage

executedMessage: "Instruction has already been executed/rejected and it was purged from chain" = "Instruction has already been executed/rejected and it was purged from chain"

Defined in src/api/entities/Instruction/index.ts:57arrow-up-right

Const notExistsMessage

notExistsMessage: "The Dividend Distribution no longer exists" = "The Dividend Distribution no longer exists"

Defined in src/api/entities/Portfolio/index.ts:51arrow-up-right

Defined in src/api/entities/CheckpointSchedule/index.ts:36arrow-up-right

Defined in src/api/entities/DividendDistribution/index.ts:81arrow-up-right

Functions

Const areSameClaimIssuers

areSameClaimIssuers(currentClaimIssuers: TrustedClaimIssuer[], claimIssuers: ModifyTokenTrustedClaimIssuersAddSetParams["claimIssuers"]): boolean

Defined in src/api/procedures/modifyTokenTrustedClaimIssuers.ts:71arrow-up-right

Parameters:

Name
Type

currentClaimIssuers

claimIssuers

ModifyTokenTrustedClaimIssuersAddSetParams["claimIssuers"]

Returns: boolean

Const areSameClaims

areSameClaims(claim: Claim, __namedParameters: object): boolean

Defined in src/api/procedures/modifyClaims.ts:74arrow-up-right

Parameters:

claim: Claim

__namedParameters: object

Name
Type

scope

undefined | null | Scope

type

ClaimTypeEnum

Returns: boolean

Const areSameTargets

areSameTargets(targets: CorporateActionTargets, newTargets: InputTargets): boolean

Defined in src/api/procedures/modifyCaDefaults.ts:45arrow-up-right

Parameters:

Name
Type

Returns: boolean

Const convertArgsToRaw

convertArgsToRaw(claimIssuers: ModifyTokenTrustedClaimIssuersAddSetParams["claimIssuers"], rawTicker: Ticker, context: Context): object

Defined in src/api/procedures/modifyTokenTrustedClaimIssuers.ts:42arrow-up-right

Parameters:

Name
Type

claimIssuers

ModifyTokenTrustedClaimIssuersAddSetParams["claimIssuers"]

rawTicker

Ticker

context

Returns: object

  • claimIssuersToAdd: [][]

  • inputDids: string[]

createProcedureMethod

createProcedureMethodMethodArgs, ProcedureArgs, ProcedureReturnValue, Storage›(args: object, context: Context): ProcedureMethod‹MethodArgs, ProcedureReturnValue, ProcedureReturnValue›

Defined in src/utils/internal.ts:411arrow-up-right

Create a method that prepares a procedure

Type parameters:

MethodArgs

ProcedureArgs: unknown

ProcedureReturnValue

Storage

Parameters:

args: object

Name
Type

getProcedureAndArgs

function

context: Context

Returns: ProcedureMethod‹MethodArgs, ProcedureReturnValue, ProcedureReturnValue›

createProcedureMethodMethodArgs, ProcedureArgs, ProcedureReturnValue, ReturnValue, Storage›(args: object, context: Context): ProcedureMethod‹MethodArgs, ProcedureReturnValue, ReturnValue›

Defined in src/utils/internal.ts:430arrow-up-right

Type parameters:

MethodArgs

ProcedureArgs: unknown

ProcedureReturnValue

ReturnValue

Storage

Parameters:

args: object

Name
Type

getProcedureAndArgs

function

transformer

function

context: Context

Returns: ProcedureMethod‹MethodArgs, ProcedureReturnValue, ReturnValue›

Const findClaimsByOtherIssuers

findClaimsByOtherIssuers(claims: ClaimTarget[], claimsByDid: Record‹string, MiddlewareClaim[]›): Claim[]

Defined in src/api/procedures/modifyClaims.ts:84arrow-up-right

Parameters:

Name
Type

claims

claimsByDid

Record‹string, MiddlewareClaim[]›

Returns: Claim[]

Const findPositiveBalanceIuClaims

findPositiveBalanceIuClaims(claims: ClaimTarget[], context: Context): Promise‹Claim[]›

Defined in src/api/procedures/modifyClaims.ts:100arrow-up-right

Parameters:

Name
Type

claims

context

Returns: Promise‹Claim[]›

tickerToDid

tickerToDid(ticker: string): string

Defined in src/utils/conversion.ts:230arrow-up-right

Generate a Security Token's DID from a ticker

Parameters:

Name
Type

ticker

string

Returns: string

toHumanReadable

toHumanReadableT›(obj: T): HumanReadableType‹T›

Defined in src/utils/internal.ts:689arrow-up-right

Recursively convert a value into a human readable (JSON compliant) version:

  • Entities are converted via their .toJson method

  • Dates are converted to ISO strings

  • BigNumbers are converted to numerical strings

Type parameters:

T

Parameters:

Name
Type

obj

T

Returns: HumanReadableType‹T›

Const tuple

tupleT›(...args: T): T

Defined in src/types/utils/index.ts:48arrow-up-right

Create a literal tuple type from a list of arguments

Type parameters:

T: unknown[]

Parameters:

Name
Type
Description

...args

T

values to turn into a tuple

Returns: T

txGroupToTxTags

txGroupToTxTags(group: TxGroup): TxTag[]

Defined in src/utils/conversion.ts:595arrow-up-right

Retrieve every Transaction Tag associated to a Transaction Group

Parameters:

Name
Type

group

Returns: TxTag[]

Object literals

Const defaultMessages

defaultMessages: object

Defined in src/base/PolymeshError.ts:3arrow-up-right

[ErrorCode.TransactionAborted]

[ErrorCode.TransactionAborted]: string = "The transaction was removed from the transaction pool. This might mean that it was malformed (nonce too large/nonce too small/duplicated or invalid transaction)"

Defined in src/base/PolymeshError.ts:7arrow-up-right

[ErrorCode.TransactionRejectedByUser]

[ErrorCode.TransactionRejectedByUser]: string = "The user canceled the transaction signature"

Defined in src/base/PolymeshError.ts:9arrow-up-right

[ErrorCode.TransactionReverted]

[ErrorCode.TransactionReverted]: string = "The transaction execution reverted due to an error"

Defined in src/base/PolymeshError.ts:6arrow-up-right

Last updated

Was this helpful?