@polymeshassociation/polymesh-sdk 21.1.0-beta.1 → 22.0.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +45 -1
- package/README.md +1 -1
- package/api/client/Claims.d.ts +3 -17
- package/api/client/Claims.d.ts.map +1 -1
- package/api/client/Claims.js +0 -20
- package/api/client/Claims.js.map +1 -1
- package/api/client/Polymesh.d.ts +1 -1
- package/api/client/Polymesh.d.ts.map +1 -1
- package/api/client/Polymesh.js +9 -16
- package/api/client/Polymesh.js.map +1 -1
- package/api/entities/Asset/Checkpoints/Schedules.d.ts +3 -10
- package/api/entities/Asset/Checkpoints/Schedules.d.ts.map +1 -1
- package/api/entities/Asset/Checkpoints/Schedules.js +45 -30
- package/api/entities/Asset/Checkpoints/Schedules.js.map +1 -1
- package/api/entities/Asset/Documents.d.ts.map +1 -1
- package/api/entities/Asset/Documents.js +4 -2
- package/api/entities/Asset/Documents.js.map +1 -1
- package/api/entities/Asset/Offerings.js +1 -1
- package/api/entities/Asset/Offerings.js.map +1 -1
- package/api/entities/Asset/Settlements.d.ts.map +1 -1
- package/api/entities/Asset/Settlements.js +14 -2
- package/api/entities/Asset/Settlements.js.map +1 -1
- package/api/entities/Asset/index.d.ts +0 -4
- package/api/entities/Asset/index.d.ts.map +1 -1
- package/api/entities/Asset/index.js +18 -30
- package/api/entities/Asset/index.js.map +1 -1
- package/api/entities/Asset/types.d.ts +0 -4
- package/api/entities/Asset/types.d.ts.map +1 -1
- package/api/entities/Asset/types.js.map +1 -1
- package/api/entities/CheckpointSchedule/index.d.ts.map +1 -1
- package/api/entities/CheckpointSchedule/index.js +42 -17
- package/api/entities/CheckpointSchedule/index.js.map +1 -1
- package/api/entities/CorporateActionBase/index.d.ts.map +1 -1
- package/api/entities/CorporateActionBase/index.js +36 -11
- package/api/entities/CorporateActionBase/index.js.map +1 -1
- package/api/entities/Identity/index.d.ts +0 -11
- package/api/entities/Identity/index.d.ts.map +1 -1
- package/api/entities/Identity/index.js +76 -49
- package/api/entities/Identity/index.js.map +1 -1
- package/api/entities/Instruction/index.d.ts +7 -1
- package/api/entities/Instruction/index.d.ts.map +1 -1
- package/api/entities/Instruction/index.js +144 -46
- package/api/entities/Instruction/index.js.map +1 -1
- package/api/entities/Instruction/types.d.ts +2 -2
- package/api/entities/Instruction/types.d.ts.map +1 -1
- package/api/entities/Instruction/types.js +1 -1
- package/api/entities/Instruction/types.js.map +1 -1
- package/api/entities/NumberedPortfolio.d.ts.map +1 -1
- package/api/entities/NumberedPortfolio.js +9 -7
- package/api/entities/NumberedPortfolio.js.map +1 -1
- package/api/entities/Offering/index.d.ts.map +1 -1
- package/api/entities/Offering/index.js +9 -2
- package/api/entities/Offering/index.js.map +1 -1
- package/api/entities/TickerReservation/index.d.ts.map +1 -1
- package/api/entities/TickerReservation/index.js +48 -23
- package/api/entities/TickerReservation/index.js.map +1 -1
- package/api/procedures/addInstruction.d.ts.map +1 -1
- package/api/procedures/addInstruction.js +29 -10
- package/api/procedures/addInstruction.js.map +1 -1
- package/api/procedures/createAsset.d.ts +2 -1
- package/api/procedures/createAsset.d.ts.map +1 -1
- package/api/procedures/createAsset.js +61 -33
- package/api/procedures/createAsset.js.map +1 -1
- package/api/procedures/createCheckpointSchedule.d.ts +4 -0
- package/api/procedures/createCheckpointSchedule.d.ts.map +1 -1
- package/api/procedures/createCheckpointSchedule.js +61 -9
- package/api/procedures/createCheckpointSchedule.js.map +1 -1
- package/api/procedures/createTransactionBatch.d.ts.map +1 -1
- package/api/procedures/createTransactionBatch.js +2 -1
- package/api/procedures/createTransactionBatch.js.map +1 -1
- package/api/procedures/executeManualInstruction.d.ts.map +1 -1
- package/api/procedures/executeManualInstruction.js +27 -10
- package/api/procedures/executeManualInstruction.js.map +1 -1
- package/api/procedures/issueTokens.d.ts.map +1 -1
- package/api/procedures/issueTokens.js +13 -3
- package/api/procedures/issueTokens.js.map +1 -1
- package/api/procedures/linkCaDocs.d.ts.map +1 -1
- package/api/procedures/linkCaDocs.js +5 -3
- package/api/procedures/linkCaDocs.js.map +1 -1
- package/api/procedures/modifyClaims.d.ts.map +1 -1
- package/api/procedures/modifyClaims.js +21 -37
- package/api/procedures/modifyClaims.js.map +1 -1
- package/api/procedures/modifyInstructionAffirmation.d.ts.map +1 -1
- package/api/procedures/modifyInstructionAffirmation.js +12 -3
- package/api/procedures/modifyInstructionAffirmation.js.map +1 -1
- package/api/procedures/modifySignerPermissions.d.ts +1 -1
- package/api/procedures/modifySignerPermissions.d.ts.map +1 -1
- package/api/procedures/modifySignerPermissions.js +4 -2
- package/api/procedures/modifySignerPermissions.js.map +1 -1
- package/api/procedures/moveFunds.d.ts.map +1 -1
- package/api/procedures/moveFunds.js +1 -1
- package/api/procedures/moveFunds.js.map +1 -1
- package/api/procedures/removeCheckpointSchedule.d.ts.map +1 -1
- package/api/procedures/removeCheckpointSchedule.js +11 -3
- package/api/procedures/removeCheckpointSchedule.js.map +1 -1
- package/api/procedures/rescheduleInstruction.d.ts.map +1 -1
- package/api/procedures/rescheduleInstruction.js +2 -1
- package/api/procedures/rescheduleInstruction.js.map +1 -1
- package/api/procedures/setAssetDocuments.d.ts.map +1 -1
- package/api/procedures/setAssetDocuments.js +4 -2
- package/api/procedures/setAssetDocuments.js.map +1 -1
- package/api/procedures/utils.d.ts.map +1 -1
- package/api/procedures/utils.js +19 -15
- package/api/procedures/utils.js.map +1 -1
- package/base/Context.d.ts +7 -5
- package/base/Context.d.ts.map +1 -1
- package/base/Context.js +13 -3
- package/base/Context.js.map +1 -1
- package/base/PolymeshTransactionBatch.d.ts.map +1 -1
- package/base/PolymeshTransactionBatch.js +6 -1
- package/base/PolymeshTransactionBatch.js.map +1 -1
- package/generated/types.d.ts +30 -6
- package/generated/types.d.ts.map +1 -1
- package/generated/types.js +24 -0
- package/generated/types.js.map +1 -1
- package/internal.d.ts +0 -1
- package/internal.d.ts.map +1 -1
- package/internal.js +3 -5
- package/internal.js.map +1 -1
- package/middleware/queries.d.ts +1 -1
- package/middleware/queries.d.ts.map +1 -1
- package/middleware/queriesV2.d.ts +1 -1
- package/middleware/queriesV2.d.ts.map +1 -1
- package/npm-package/polymeshassociation-polymesh-sdk-22.0.0-alpha.1.tgz +0 -0
- package/package.json +3 -4
- package/polkadot/asset/definitions.d.ts +0 -9
- package/polkadot/asset/definitions.d.ts.map +1 -1
- package/polkadot/asset/definitions.js +1 -47
- package/polkadot/asset/definitions.js.map +1 -1
- package/polkadot/augment-api-consts.d.ts +26 -9
- package/polkadot/augment-api-consts.d.ts.map +1 -1
- package/polkadot/augment-api-consts.js +3 -0
- package/polkadot/augment-api-consts.js.map +1 -1
- package/polkadot/augment-api-errors.d.ts +110 -133
- package/polkadot/augment-api-errors.d.ts.map +1 -1
- package/polkadot/augment-api-errors.js +3 -0
- package/polkadot/augment-api-errors.js.map +1 -1
- package/polkadot/augment-api-events.d.ts +135 -167
- package/polkadot/augment-api-events.d.ts.map +1 -1
- package/polkadot/augment-api-events.js +3 -0
- package/polkadot/augment-api-events.js.map +1 -1
- package/polkadot/augment-api-query.d.ts +123 -93
- package/polkadot/augment-api-query.d.ts.map +1 -1
- package/polkadot/augment-api-query.js +3 -0
- package/polkadot/augment-api-query.js.map +1 -1
- package/polkadot/augment-api-rpc.d.ts +29 -24
- package/polkadot/augment-api-rpc.d.ts.map +1 -1
- package/polkadot/augment-api-rpc.js +1 -0
- package/polkadot/augment-api-rpc.js.map +1 -1
- package/polkadot/augment-api-runtime.d.ts +0 -7
- package/polkadot/augment-api-runtime.d.ts.map +1 -1
- package/polkadot/augment-api-tx.d.ts +484 -737
- package/polkadot/augment-api-tx.d.ts.map +1 -1
- package/polkadot/augment-api-tx.js +3 -0
- package/polkadot/augment-api-tx.js.map +1 -1
- package/polkadot/augment-api.d.ts +1 -0
- package/polkadot/augment-api.d.ts.map +1 -1
- package/polkadot/augment-api.js +1 -0
- package/polkadot/augment-api.js.map +1 -1
- package/polkadot/augment-types.d.ts +8 -12
- package/polkadot/augment-types.d.ts.map +1 -1
- package/polkadot/augment-types.js +3 -0
- package/polkadot/augment-types.js.map +1 -1
- package/polkadot/definitions.d.ts +1 -1
- package/polkadot/definitions.d.ts.map +1 -1
- package/polkadot/definitions.js +17 -17
- package/polkadot/definitions.js.map +1 -1
- package/polkadot/identity/definitions.d.ts +9 -0
- package/polkadot/identity/definitions.d.ts.map +1 -1
- package/polkadot/identity/definitions.js +21 -0
- package/polkadot/identity/definitions.js.map +1 -1
- package/polkadot/lookup.d.ts +534 -682
- package/polkadot/lookup.d.ts.map +1 -1
- package/polkadot/lookup.js +664 -820
- package/polkadot/lookup.js.map +1 -1
- package/polkadot/polymesh/definitions.d.ts +36 -43
- package/polkadot/polymesh/definitions.d.ts.map +1 -1
- package/polkadot/polymesh/definitions.js +38 -45
- package/polkadot/polymesh/definitions.js.map +1 -1
- package/polkadot/polymesh/types.d.ts +50 -67
- package/polkadot/polymesh/types.d.ts.map +1 -1
- package/polkadot/registry.d.ts +27 -44
- package/polkadot/registry.d.ts.map +1 -1
- package/polkadot/registry.js +3 -0
- package/polkadot/registry.js.map +1 -1
- package/polkadot/schema.d.ts +223 -61
- package/polkadot/schema.d.ts.map +1 -1
- package/polkadot/schema.js +335 -120
- package/polkadot/schema.js.map +1 -1
- package/polkadot/settlement/definitions.d.ts +16 -0
- package/polkadot/settlement/definitions.d.ts.map +1 -0
- package/polkadot/settlement/definitions.js +25 -0
- package/polkadot/settlement/definitions.js.map +1 -0
- package/polkadot/settlement/index.d.ts +2 -0
- package/polkadot/settlement/index.d.ts.map +1 -0
- package/polkadot/settlement/index.js +20 -0
- package/polkadot/settlement/index.js.map +1 -0
- package/polkadot/settlement/types.d.ts +2 -0
- package/polkadot/settlement/types.d.ts.map +1 -0
- package/polkadot/settlement/types.js +5 -0
- package/polkadot/settlement/types.js.map +1 -0
- package/polkadot/types-lookup.d.ts +741 -918
- package/polkadot/types-lookup.d.ts.map +1 -1
- package/polkadot/types-lookup.js +4 -0
- package/polkadot/types-lookup.js.map +1 -1
- package/polkadot/types.d.ts +1 -1
- package/polkadot/types.d.ts.map +1 -1
- package/polkadot/types.js +1 -1
- package/polkadot/types.js.map +1 -1
- package/types/index.d.ts +26 -39
- package/types/index.d.ts.map +1 -1
- package/types/index.js +0 -4
- package/types/index.js.map +1 -1
- package/types/internal.d.ts +3 -7
- package/types/internal.d.ts.map +1 -1
- package/types/internal.js +1 -0
- package/types/internal.js.map +1 -1
- package/utils/constants.d.ts +3 -3
- package/utils/constants.d.ts.map +1 -1
- package/utils/constants.js +3 -3
- package/utils/constants.js.map +1 -1
- package/utils/conversion.d.ts +57 -48
- package/utils/conversion.d.ts.map +1 -1
- package/utils/conversion.js +155 -186
- package/utils/conversion.js.map +1 -1
- package/utils/internal.d.ts +9 -12
- package/utils/internal.d.ts.map +1 -1
- package/utils/internal.js +71 -109
- package/utils/internal.js.map +1 -1
- package/utils/typeguards.d.ts +1 -13
- package/utils/typeguards.d.ts.map +1 -1
- package/utils/typeguards.js +2 -28
- package/utils/typeguards.js.map +1 -1
- package/api/procedures/addInvestorUniquenessClaim.d.ts +0 -16
- package/api/procedures/addInvestorUniquenessClaim.d.ts.map +0 -1
- package/api/procedures/addInvestorUniquenessClaim.js +0 -82
- package/api/procedures/addInvestorUniquenessClaim.js.map +0 -1
- package/npm-package/polymeshassociation-polymesh-sdk-21.1.0-beta.1.tgz +0 -0
|
@@ -1,14 +1,29 @@
|
|
|
1
|
-
import
|
|
1
|
+
import '@polkadot/api-base/types/events';
|
|
2
|
+
import type { ApiTypes, AugmentedEvent } from '@polkadot/api-base/types';
|
|
2
3
|
import type { Bytes, Null, Option, Result, U8aFixed, Vec, bool, u128, u32, u64, u8 } from '@polkadot/types-codec';
|
|
3
4
|
import type { ITuple } from '@polkadot/types-codec/types';
|
|
4
5
|
import type { AccountId32, H256, Perbill, Permill } from '@polkadot/types/interfaces/runtime';
|
|
5
|
-
import type { FrameSupportDispatchDispatchInfo, FrameSupportTokensMiscBalanceStatus, PalletBridgeBridgeTx, PalletBridgeHandledTxStatus, PalletCorporateActionsBallotBallotMeta, PalletCorporateActionsBallotBallotTimeRange, PalletCorporateActionsBallotBallotVote, PalletCorporateActionsCaId, PalletCorporateActionsCorporateAction, PalletCorporateActionsDistribution, PalletCorporateActionsTargetIdentities, PalletImOnlineSr25519AppSr25519Public, PalletPipsProposalData, PalletPipsProposalState, PalletPipsProposer, PalletPipsSnapshottedPip,
|
|
6
|
+
import type { FrameSupportDispatchDispatchInfo, FrameSupportTokensMiscBalanceStatus, PalletBridgeBridgeTx, PalletBridgeHandledTxStatus, PalletCorporateActionsBallotBallotMeta, PalletCorporateActionsBallotBallotTimeRange, PalletCorporateActionsBallotBallotVote, PalletCorporateActionsCaId, PalletCorporateActionsCorporateAction, PalletCorporateActionsDistribution, PalletCorporateActionsTargetIdentities, PalletImOnlineSr25519AppSr25519Public, PalletPipsProposalData, PalletPipsProposalState, PalletPipsProposer, PalletPipsSnapshottedPip, PalletStakingElectionCompute, PalletStakingExposure, PalletStakingSlashingSwitch, PalletStoFundraiser, PolymeshCommonUtilitiesCheckpointScheduleCheckpoints, PolymeshCommonUtilitiesMaybeBlock, PolymeshPrimitivesAgentAgentGroup, PolymeshPrimitivesAssetAssetType, PolymeshPrimitivesAssetIdentifier, PolymeshPrimitivesAssetMetadataAssetMetadataKey, PolymeshPrimitivesAssetMetadataAssetMetadataSpec, PolymeshPrimitivesAssetMetadataAssetMetadataValueDetail, PolymeshPrimitivesAuthorizationAuthorizationData, PolymeshPrimitivesComplianceManagerComplianceRequirement, PolymeshPrimitivesConditionTrustedIssuer, PolymeshPrimitivesDocument, PolymeshPrimitivesEventOnly, PolymeshPrimitivesIdentityClaim, PolymeshPrimitivesIdentityId, PolymeshPrimitivesIdentityIdPortfolioId, PolymeshPrimitivesMemo, PolymeshPrimitivesNftNfTs, PolymeshPrimitivesPortfolioFundDescription, PolymeshPrimitivesPortfolioPortfolioUpdateReason, PolymeshPrimitivesPosRatio, PolymeshPrimitivesSecondaryKey, PolymeshPrimitivesSecondaryKeyPermissions, PolymeshPrimitivesSecondaryKeySignatory, PolymeshPrimitivesSettlementLeg, PolymeshPrimitivesSettlementReceiptMetadata, PolymeshPrimitivesSettlementSettlementType, PolymeshPrimitivesSettlementVenueType, PolymeshPrimitivesStatisticsAssetScope, PolymeshPrimitivesStatisticsStatType, PolymeshPrimitivesStatisticsStatUpdate, PolymeshPrimitivesSubsetSubsetRestrictionPalletPermissions, PolymeshPrimitivesTicker, PolymeshPrimitivesTransferComplianceTransferCondition, PolymeshPrimitivesTransferComplianceTransferConditionExemptKey, SpConsensusGrandpaAppPublic, SpRuntimeDispatchError } from "./types-lookup.ts";
|
|
7
|
+
export declare type __AugmentedEvent<ApiType extends ApiTypes> = AugmentedEvent<ApiType>;
|
|
6
8
|
declare module '@polkadot/api-base/types/events' {
|
|
7
9
|
interface AugmentedEvents<ApiType extends ApiTypes> {
|
|
8
10
|
asset: {
|
|
11
|
+
/**
|
|
12
|
+
* Emitted when Tokens were issued, redeemed or transferred.
|
|
13
|
+
* Contains the [`IdentityId`] of the receiver/issuer/redeemer, the [`Ticker`] for the token, the balance that was issued/transferred/redeemed,
|
|
14
|
+
* the [`PortfolioId`] of the source, the [`PortfolioId`] of the destination and the [`PortfolioUpdateReason`].
|
|
15
|
+
**/
|
|
16
|
+
AssetBalanceUpdated: AugmentedEvent<ApiType, [
|
|
17
|
+
PolymeshPrimitivesIdentityId,
|
|
18
|
+
PolymeshPrimitivesTicker,
|
|
19
|
+
u128,
|
|
20
|
+
Option<PolymeshPrimitivesIdentityIdPortfolioId>,
|
|
21
|
+
Option<PolymeshPrimitivesIdentityIdPortfolioId>,
|
|
22
|
+
PolymeshPrimitivesPortfolioPortfolioUpdateReason
|
|
23
|
+
]>;
|
|
9
24
|
/**
|
|
10
25
|
* Event for creation of the asset.
|
|
11
|
-
* caller DID/ owner DID, ticker, divisibility, asset type, beneficiary DID,
|
|
26
|
+
* caller DID/ owner DID, ticker, divisibility, asset type, beneficiary DID, asset name, identifiers, funding round
|
|
12
27
|
**/
|
|
13
28
|
AssetCreated: AugmentedEvent<ApiType, [
|
|
14
29
|
PolymeshPrimitivesIdentityId,
|
|
@@ -16,7 +31,6 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
16
31
|
bool,
|
|
17
32
|
PolymeshPrimitivesAssetAssetType,
|
|
18
33
|
PolymeshPrimitivesIdentityId,
|
|
19
|
-
bool,
|
|
20
34
|
Bytes,
|
|
21
35
|
Vec<PolymeshPrimitivesAssetIdentifier>,
|
|
22
36
|
Option<Bytes>
|
|
@@ -64,14 +78,6 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
64
78
|
PolymeshPrimitivesIdentityId,
|
|
65
79
|
PolymeshPrimitivesTicker
|
|
66
80
|
]>;
|
|
67
|
-
/**
|
|
68
|
-
* A Polymath Classic token was claimed and transferred to a non-systematic DID.
|
|
69
|
-
**/
|
|
70
|
-
ClassicTickerClaimed: AugmentedEvent<ApiType, [
|
|
71
|
-
PolymeshPrimitivesIdentityId,
|
|
72
|
-
PolymeshPrimitivesTicker,
|
|
73
|
-
PolymeshPrimitivesEthereumEthereumAddress
|
|
74
|
-
]>;
|
|
75
81
|
/**
|
|
76
82
|
* Event for when a forced transfer takes place.
|
|
77
83
|
* caller DID/ controller DID, ticker, Portfolio of token holder, value.
|
|
@@ -154,18 +160,6 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
154
160
|
* ticker, return value (true if issuable)
|
|
155
161
|
**/
|
|
156
162
|
IsIssuable: AugmentedEvent<ApiType, [PolymeshPrimitivesTicker, bool]>;
|
|
157
|
-
/**
|
|
158
|
-
* Emit when tokens get issued.
|
|
159
|
-
* caller DID, ticker, beneficiary DID, value, funding round, total issued in this funding round
|
|
160
|
-
**/
|
|
161
|
-
Issued: AugmentedEvent<ApiType, [
|
|
162
|
-
PolymeshPrimitivesIdentityId,
|
|
163
|
-
PolymeshPrimitivesTicker,
|
|
164
|
-
PolymeshPrimitivesIdentityId,
|
|
165
|
-
u128,
|
|
166
|
-
Bytes,
|
|
167
|
-
u128
|
|
168
|
-
]>;
|
|
169
163
|
/**
|
|
170
164
|
* An event emitted when a local metadata key has been removed.
|
|
171
165
|
* Parameters: caller ticker, Local type name
|
|
@@ -184,16 +178,6 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
184
178
|
PolymeshPrimitivesTicker,
|
|
185
179
|
PolymeshPrimitivesAssetMetadataAssetMetadataKey
|
|
186
180
|
]>;
|
|
187
|
-
/**
|
|
188
|
-
* Emit when tokens get redeemed.
|
|
189
|
-
* caller DID, ticker, from DID, value
|
|
190
|
-
**/
|
|
191
|
-
Redeemed: AugmentedEvent<ApiType, [
|
|
192
|
-
PolymeshPrimitivesIdentityId,
|
|
193
|
-
PolymeshPrimitivesTicker,
|
|
194
|
-
PolymeshPrimitivesIdentityId,
|
|
195
|
-
u128
|
|
196
|
-
]>;
|
|
197
181
|
/**
|
|
198
182
|
* Register asset metadata global type.
|
|
199
183
|
* (Global type name, Global type key, type specs)
|
|
@@ -251,17 +235,6 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
251
235
|
PolymeshPrimitivesTicker,
|
|
252
236
|
PolymeshPrimitivesIdentityId
|
|
253
237
|
]>;
|
|
254
|
-
/**
|
|
255
|
-
* Event for transfer of tokens.
|
|
256
|
-
* caller DID, ticker, from portfolio, to portfolio, value
|
|
257
|
-
**/
|
|
258
|
-
Transfer: AugmentedEvent<ApiType, [
|
|
259
|
-
PolymeshPrimitivesIdentityId,
|
|
260
|
-
PolymeshPrimitivesTicker,
|
|
261
|
-
PolymeshPrimitivesIdentityIdPortfolioId,
|
|
262
|
-
PolymeshPrimitivesIdentityIdPortfolioId,
|
|
263
|
-
u128
|
|
264
|
-
]>;
|
|
265
238
|
/**
|
|
266
239
|
* An additional event to Transfer; emitted when `transfer_with_data` is called.
|
|
267
240
|
* caller DID , ticker, from DID, to DID, value, data
|
|
@@ -317,7 +290,7 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
317
290
|
Option<PolymeshPrimitivesIdentityId>,
|
|
318
291
|
AccountId32,
|
|
319
292
|
u128,
|
|
320
|
-
Option<
|
|
293
|
+
Option<PolymeshPrimitivesMemo>
|
|
321
294
|
]>;
|
|
322
295
|
/**
|
|
323
296
|
* Some balance was unreserved (moved from reserved to free). \[who, value]
|
|
@@ -519,7 +492,7 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
519
492
|
* (caller DID, ticker, checkpoint ID, total supply, checkpoint timestamp)
|
|
520
493
|
**/
|
|
521
494
|
CheckpointCreated: AugmentedEvent<ApiType, [
|
|
522
|
-
Option<
|
|
495
|
+
Option<PolymeshPrimitivesIdentityId>,
|
|
523
496
|
PolymeshPrimitivesTicker,
|
|
524
497
|
u64,
|
|
525
498
|
u128,
|
|
@@ -537,22 +510,24 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
537
510
|
/**
|
|
538
511
|
* A checkpoint schedule was created.
|
|
539
512
|
*
|
|
540
|
-
* (caller DID, ticker, schedule)
|
|
513
|
+
* (caller DID, ticker, schedule id, schedule)
|
|
541
514
|
**/
|
|
542
515
|
ScheduleCreated: AugmentedEvent<ApiType, [
|
|
543
|
-
|
|
516
|
+
PolymeshPrimitivesIdentityId,
|
|
544
517
|
PolymeshPrimitivesTicker,
|
|
545
|
-
|
|
518
|
+
u64,
|
|
519
|
+
PolymeshCommonUtilitiesCheckpointScheduleCheckpoints
|
|
546
520
|
]>;
|
|
547
521
|
/**
|
|
548
522
|
* A checkpoint schedule was removed.
|
|
549
523
|
*
|
|
550
|
-
* (caller DID, ticker, schedule)
|
|
524
|
+
* (caller DID, ticker, schedule id, schedule)
|
|
551
525
|
**/
|
|
552
526
|
ScheduleRemoved: AugmentedEvent<ApiType, [
|
|
553
527
|
PolymeshPrimitivesIdentityId,
|
|
554
528
|
PolymeshPrimitivesTicker,
|
|
555
|
-
|
|
529
|
+
u64,
|
|
530
|
+
PolymeshCommonUtilitiesCheckpointScheduleCheckpoints
|
|
556
531
|
]>;
|
|
557
532
|
};
|
|
558
533
|
committeeMembership: {
|
|
@@ -780,15 +755,6 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
780
755
|
}>;
|
|
781
756
|
};
|
|
782
757
|
corporateAction: {
|
|
783
|
-
/**
|
|
784
|
-
* A new DID was made the CAA.
|
|
785
|
-
* (New CAA DID, Ticker, New CAA DID).
|
|
786
|
-
**/
|
|
787
|
-
CAATransferred: AugmentedEvent<ApiType, [
|
|
788
|
-
PolymeshPrimitivesIdentityId,
|
|
789
|
-
PolymeshPrimitivesTicker,
|
|
790
|
-
PolymeshPrimitivesIdentityId
|
|
791
|
-
]>;
|
|
792
758
|
/**
|
|
793
759
|
* A CA was initiated.
|
|
794
760
|
* (Agent DID, CA id, the CA, the CA details)
|
|
@@ -975,9 +941,9 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
975
941
|
* New authority set has been applied.
|
|
976
942
|
**/
|
|
977
943
|
NewAuthorities: AugmentedEvent<ApiType, [
|
|
978
|
-
authoritySet: Vec<ITuple<[
|
|
944
|
+
authoritySet: Vec<ITuple<[SpConsensusGrandpaAppPublic, u64]>>
|
|
979
945
|
], {
|
|
980
|
-
authoritySet: Vec<ITuple<[
|
|
946
|
+
authoritySet: Vec<ITuple<[SpConsensusGrandpaAppPublic, u64]>>;
|
|
981
947
|
}>;
|
|
982
948
|
/**
|
|
983
949
|
* Current authority set has been paused.
|
|
@@ -1064,6 +1030,26 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1064
1030
|
* (new_requirement)
|
|
1065
1031
|
**/
|
|
1066
1032
|
CddRequirementForPrimaryKeyUpdated: AugmentedEvent<ApiType, [bool]>;
|
|
1033
|
+
/**
|
|
1034
|
+
* Child identity created.
|
|
1035
|
+
*
|
|
1036
|
+
* (Parent DID, Child DID, primary key)
|
|
1037
|
+
**/
|
|
1038
|
+
ChildDidCreated: AugmentedEvent<ApiType, [
|
|
1039
|
+
PolymeshPrimitivesIdentityId,
|
|
1040
|
+
PolymeshPrimitivesIdentityId,
|
|
1041
|
+
AccountId32
|
|
1042
|
+
]>;
|
|
1043
|
+
/**
|
|
1044
|
+
* Child identity unlinked from parent identity.
|
|
1045
|
+
*
|
|
1046
|
+
* (Caller DID, Parent DID, Child DID)
|
|
1047
|
+
**/
|
|
1048
|
+
ChildDidUnlinked: AugmentedEvent<ApiType, [
|
|
1049
|
+
PolymeshPrimitivesIdentityId,
|
|
1050
|
+
PolymeshPrimitivesIdentityId,
|
|
1051
|
+
PolymeshPrimitivesIdentityId
|
|
1052
|
+
]>;
|
|
1067
1053
|
/**
|
|
1068
1054
|
* Claim added to identity.
|
|
1069
1055
|
*
|
|
@@ -1307,10 +1293,6 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1307
1293
|
SchedulingFailed: AugmentedEvent<ApiType, [SpRuntimeDispatchError]>;
|
|
1308
1294
|
};
|
|
1309
1295
|
nft: {
|
|
1310
|
-
/**
|
|
1311
|
-
* Emitted when a new nft is issued.
|
|
1312
|
-
**/
|
|
1313
|
-
IssuedNFT: AugmentedEvent<ApiType, [PolymeshPrimitivesIdentityId, u64, u64]>;
|
|
1314
1296
|
/**
|
|
1315
1297
|
* Emitted when a new nft collection is created.
|
|
1316
1298
|
**/
|
|
@@ -1320,12 +1302,16 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1320
1302
|
u64
|
|
1321
1303
|
]>;
|
|
1322
1304
|
/**
|
|
1323
|
-
* Emitted when
|
|
1305
|
+
* Emitted when NFTs were issued, redeemed or transferred.
|
|
1306
|
+
* Contains the [`IdentityId`] of the receiver/issuer/redeemer, the [`NFTs`], the [`PortfolioId`] of the source, the [`PortfolioId`]
|
|
1307
|
+
* of the destination and the [`PortfolioUpdateReason`].
|
|
1324
1308
|
**/
|
|
1325
|
-
|
|
1309
|
+
NFTPortfolioUpdated: AugmentedEvent<ApiType, [
|
|
1326
1310
|
PolymeshPrimitivesIdentityId,
|
|
1327
|
-
|
|
1328
|
-
|
|
1311
|
+
PolymeshPrimitivesNftNfTs,
|
|
1312
|
+
Option<PolymeshPrimitivesIdentityIdPortfolioId>,
|
|
1313
|
+
Option<PolymeshPrimitivesIdentityIdPortfolioId>,
|
|
1314
|
+
PolymeshPrimitivesPortfolioPortfolioUpdateReason
|
|
1329
1315
|
]>;
|
|
1330
1316
|
};
|
|
1331
1317
|
offences: {
|
|
@@ -1553,56 +1539,21 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1553
1539
|
polymeshContracts: {};
|
|
1554
1540
|
portfolio: {
|
|
1555
1541
|
/**
|
|
1556
|
-
*
|
|
1557
|
-
*
|
|
1558
|
-
* # Parameters
|
|
1559
|
-
* * origin DID
|
|
1560
|
-
* * source portfolio
|
|
1561
|
-
* * destination portfolio
|
|
1562
|
-
* * asset ticker
|
|
1563
|
-
* * asset balance that was moved
|
|
1564
|
-
**/
|
|
1565
|
-
FungibleTokensMovedBetweenPortfolios: AugmentedEvent<ApiType, [
|
|
1566
|
-
PolymeshPrimitivesIdentityId,
|
|
1567
|
-
PolymeshPrimitivesIdentityIdPortfolioId,
|
|
1568
|
-
PolymeshPrimitivesIdentityIdPortfolioId,
|
|
1569
|
-
PolymeshPrimitivesTicker,
|
|
1570
|
-
u128,
|
|
1571
|
-
Option<PolymeshPrimitivesPortfolioMemo>
|
|
1572
|
-
]>;
|
|
1573
|
-
/**
|
|
1574
|
-
* A token amount has been moved from one portfolio to another.
|
|
1542
|
+
* Funds have moved between portfolios
|
|
1575
1543
|
*
|
|
1576
1544
|
* # Parameters
|
|
1577
|
-
* *
|
|
1578
|
-
* *
|
|
1579
|
-
* *
|
|
1580
|
-
* *
|
|
1581
|
-
* *
|
|
1545
|
+
* * Origin DID.
|
|
1546
|
+
* * Source portfolio.
|
|
1547
|
+
* * Destination portfolio.
|
|
1548
|
+
* * The type of fund that was moved.
|
|
1549
|
+
* * Optional memo for the move.
|
|
1582
1550
|
**/
|
|
1583
|
-
|
|
1551
|
+
FundsMovedBetweenPortfolios: AugmentedEvent<ApiType, [
|
|
1584
1552
|
PolymeshPrimitivesIdentityId,
|
|
1585
1553
|
PolymeshPrimitivesIdentityIdPortfolioId,
|
|
1586
1554
|
PolymeshPrimitivesIdentityIdPortfolioId,
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
Option<PolymeshCommonUtilitiesBalancesMemo>
|
|
1590
|
-
]>;
|
|
1591
|
-
/**
|
|
1592
|
-
* NFTs have been moved from one portfolio to another.
|
|
1593
|
-
*
|
|
1594
|
-
* # Parameters
|
|
1595
|
-
* * origin DID
|
|
1596
|
-
* * source portfolio
|
|
1597
|
-
* * destination portfolio
|
|
1598
|
-
* * NFTs
|
|
1599
|
-
**/
|
|
1600
|
-
NFTsMovedBetweenPortfolios: AugmentedEvent<ApiType, [
|
|
1601
|
-
PolymeshPrimitivesIdentityId,
|
|
1602
|
-
PolymeshPrimitivesIdentityIdPortfolioId,
|
|
1603
|
-
PolymeshPrimitivesIdentityIdPortfolioId,
|
|
1604
|
-
PolymeshPrimitivesNftNfTs,
|
|
1605
|
-
Option<PolymeshPrimitivesPortfolioMemo>
|
|
1555
|
+
PolymeshPrimitivesPortfolioFundDescription,
|
|
1556
|
+
Option<PolymeshPrimitivesMemo>
|
|
1606
1557
|
]>;
|
|
1607
1558
|
/**
|
|
1608
1559
|
* The portfolio has been successfully created.
|
|
@@ -1840,11 +1791,11 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1840
1791
|
PolymeshPrimitivesIdentityId,
|
|
1841
1792
|
u64,
|
|
1842
1793
|
u64,
|
|
1843
|
-
|
|
1794
|
+
PolymeshPrimitivesSettlementSettlementType,
|
|
1844
1795
|
Option<u64>,
|
|
1845
1796
|
Option<u64>,
|
|
1846
|
-
Vec<
|
|
1847
|
-
Option<
|
|
1797
|
+
Vec<PolymeshPrimitivesSettlementLeg>,
|
|
1798
|
+
Option<PolymeshPrimitivesMemo>
|
|
1848
1799
|
]>;
|
|
1849
1800
|
/**
|
|
1850
1801
|
* Instruction executed successfully(did, instruction_id)
|
|
@@ -1863,20 +1814,6 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1863
1814
|
* (caller DID, instruction_id)
|
|
1864
1815
|
**/
|
|
1865
1816
|
InstructionRescheduled: AugmentedEvent<ApiType, [PolymeshPrimitivesIdentityId, u64]>;
|
|
1866
|
-
/**
|
|
1867
|
-
* A new instruction has been created
|
|
1868
|
-
* (did, venue_id, instruction_id, settlement_type, trade_date, value_date, legs, memo)
|
|
1869
|
-
**/
|
|
1870
|
-
InstructionV2Created: AugmentedEvent<ApiType, [
|
|
1871
|
-
PolymeshPrimitivesIdentityId,
|
|
1872
|
-
u64,
|
|
1873
|
-
u64,
|
|
1874
|
-
PalletSettlementSettlementType,
|
|
1875
|
-
Option<u64>,
|
|
1876
|
-
Option<u64>,
|
|
1877
|
-
Vec<PalletSettlementLegV2>,
|
|
1878
|
-
Option<PalletSettlementInstructionMemo>
|
|
1879
|
-
]>;
|
|
1880
1817
|
/**
|
|
1881
1818
|
* Execution of a leg failed (did, instruction_id, leg_id)
|
|
1882
1819
|
**/
|
|
@@ -1890,26 +1827,7 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1890
1827
|
u64,
|
|
1891
1828
|
u64,
|
|
1892
1829
|
AccountId32,
|
|
1893
|
-
|
|
1894
|
-
]>;
|
|
1895
|
-
/**
|
|
1896
|
-
* A receipt has been unclaimed (did, instruction_id, leg_id, receipt_uid, signer)
|
|
1897
|
-
**/
|
|
1898
|
-
ReceiptUnclaimed: AugmentedEvent<ApiType, [
|
|
1899
|
-
PolymeshPrimitivesIdentityId,
|
|
1900
|
-
u64,
|
|
1901
|
-
u64,
|
|
1902
|
-
u64,
|
|
1903
|
-
AccountId32
|
|
1904
|
-
]>;
|
|
1905
|
-
/**
|
|
1906
|
-
* A receipt has been invalidated (did, signer, receipt_uid, validity)
|
|
1907
|
-
**/
|
|
1908
|
-
ReceiptValidityChanged: AugmentedEvent<ApiType, [
|
|
1909
|
-
PolymeshPrimitivesIdentityId,
|
|
1910
|
-
AccountId32,
|
|
1911
|
-
u64,
|
|
1912
|
-
bool
|
|
1830
|
+
Option<PolymeshPrimitivesSettlementReceiptMetadata>
|
|
1913
1831
|
]>;
|
|
1914
1832
|
/**
|
|
1915
1833
|
* Scheduling of instruction fails.
|
|
@@ -1926,7 +1844,7 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1926
1844
|
PolymeshPrimitivesIdentityId,
|
|
1927
1845
|
u64,
|
|
1928
1846
|
Bytes,
|
|
1929
|
-
|
|
1847
|
+
PolymeshPrimitivesSettlementVenueType
|
|
1930
1848
|
]>;
|
|
1931
1849
|
/**
|
|
1932
1850
|
* An existing venue's details has been updated (did, venue_id, details)
|
|
@@ -1971,7 +1889,7 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1971
1889
|
VenueTypeUpdated: AugmentedEvent<ApiType, [
|
|
1972
1890
|
PolymeshPrimitivesIdentityId,
|
|
1973
1891
|
u64,
|
|
1974
|
-
|
|
1892
|
+
PolymeshPrimitivesSettlementVenueType
|
|
1975
1893
|
]>;
|
|
1976
1894
|
/**
|
|
1977
1895
|
* Venue not part of the token's allow list (did, Ticker, venue_id)
|
|
@@ -2132,7 +2050,7 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
2132
2050
|
Vec<PolymeshPrimitivesStatisticsStatType>
|
|
2133
2051
|
]>;
|
|
2134
2052
|
/**
|
|
2135
|
-
* Add `
|
|
2053
|
+
* Add `IdentityId`s exempt for transfer conditions matching exempt key.
|
|
2136
2054
|
*
|
|
2137
2055
|
* (Caller DID, Exempt key, Entities)
|
|
2138
2056
|
**/
|
|
@@ -2142,7 +2060,7 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
2142
2060
|
Vec<PolymeshPrimitivesIdentityId>
|
|
2143
2061
|
]>;
|
|
2144
2062
|
/**
|
|
2145
|
-
* Remove `
|
|
2063
|
+
* Remove `IdentityId`s exempt for transfer conditions matching exempt key.
|
|
2146
2064
|
*
|
|
2147
2065
|
* (Caller DID, Exempt key, Entities)
|
|
2148
2066
|
**/
|
|
@@ -2207,7 +2125,7 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
2207
2125
|
/**
|
|
2208
2126
|
* The \[sudoer\] just switched identity; the old key is supplied.
|
|
2209
2127
|
**/
|
|
2210
|
-
KeyChanged: AugmentedEvent<ApiType, [AccountId32]>;
|
|
2128
|
+
KeyChanged: AugmentedEvent<ApiType, [Option<AccountId32>]>;
|
|
2211
2129
|
/**
|
|
2212
2130
|
* A sudo just took place. \[result\]
|
|
2213
2131
|
**/
|
|
@@ -2405,14 +2323,6 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
2405
2323
|
* (Caller DID, Caller account)
|
|
2406
2324
|
**/
|
|
2407
2325
|
DidStatus: AugmentedEvent<ApiType, [PolymeshPrimitivesIdentityId, AccountId32]>;
|
|
2408
|
-
/**
|
|
2409
|
-
* A new mocked `InvestorUid` has been created for the given Identity.
|
|
2410
|
-
* (Target DID, New InvestorUid)
|
|
2411
|
-
**/
|
|
2412
|
-
MockInvestorUIDCreated: AugmentedEvent<ApiType, [
|
|
2413
|
-
PolymeshPrimitivesIdentityId,
|
|
2414
|
-
PolymeshPrimitivesCddIdInvestorUid
|
|
2415
|
-
]>;
|
|
2416
2326
|
};
|
|
2417
2327
|
transactionPayment: {
|
|
2418
2328
|
/**
|
|
@@ -2590,26 +2500,84 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
2590
2500
|
]>;
|
|
2591
2501
|
};
|
|
2592
2502
|
utility: {
|
|
2503
|
+
/**
|
|
2504
|
+
* Batch of dispatches completed fully with no error.
|
|
2505
|
+
**/
|
|
2506
|
+
BatchCompleted: AugmentedEvent<ApiType, []>;
|
|
2593
2507
|
/**
|
|
2594
2508
|
* Batch of dispatches completed fully with no error.
|
|
2595
2509
|
* Includes a vector of event counts for each dispatch.
|
|
2510
|
+
* POLYMESH: event deprecated.
|
|
2596
2511
|
**/
|
|
2597
|
-
|
|
2512
|
+
BatchCompletedOld: AugmentedEvent<ApiType, [Vec<u32>]>;
|
|
2513
|
+
/**
|
|
2514
|
+
* Batch of dispatches completed but has errors.
|
|
2515
|
+
**/
|
|
2516
|
+
BatchCompletedWithErrors: AugmentedEvent<ApiType, []>;
|
|
2517
|
+
/**
|
|
2518
|
+
* Batch of dispatches did not complete fully. Index of first failing dispatch given, as
|
|
2519
|
+
* well as the error.
|
|
2520
|
+
**/
|
|
2521
|
+
BatchInterrupted: AugmentedEvent<ApiType, [
|
|
2522
|
+
index: u32,
|
|
2523
|
+
error: SpRuntimeDispatchError
|
|
2524
|
+
], {
|
|
2525
|
+
index: u32;
|
|
2526
|
+
error: SpRuntimeDispatchError;
|
|
2527
|
+
}>;
|
|
2598
2528
|
/**
|
|
2599
2529
|
* Batch of dispatches did not complete fully.
|
|
2600
2530
|
* Includes a vector of event counts for each dispatch and
|
|
2601
2531
|
* the index of the first failing dispatch as well as the error.
|
|
2532
|
+
* POLYMESH: event deprecated.
|
|
2602
2533
|
**/
|
|
2603
|
-
|
|
2534
|
+
BatchInterruptedOld: AugmentedEvent<ApiType, [
|
|
2535
|
+
Vec<u32>,
|
|
2536
|
+
ITuple<[u32, SpRuntimeDispatchError]>
|
|
2537
|
+
]>;
|
|
2604
2538
|
/**
|
|
2605
2539
|
* Batch of dispatches did not complete fully.
|
|
2606
2540
|
* Includes a vector of event counts for each call and
|
|
2607
2541
|
* a vector of any failed dispatches with their indices and associated error.
|
|
2542
|
+
* POLYMESH: event deprecated.
|
|
2608
2543
|
**/
|
|
2609
2544
|
BatchOptimisticFailed: AugmentedEvent<ApiType, [
|
|
2610
2545
|
Vec<u32>,
|
|
2611
2546
|
Vec<ITuple<[u32, SpRuntimeDispatchError]>>
|
|
2612
2547
|
]>;
|
|
2548
|
+
/**
|
|
2549
|
+
* A call was dispatched.
|
|
2550
|
+
**/
|
|
2551
|
+
DispatchedAs: AugmentedEvent<ApiType, [
|
|
2552
|
+
result: Result<Null, SpRuntimeDispatchError>
|
|
2553
|
+
], {
|
|
2554
|
+
result: Result<Null, SpRuntimeDispatchError>;
|
|
2555
|
+
}>;
|
|
2556
|
+
/**
|
|
2557
|
+
* A single item within a Batch of dispatches has completed with no error.
|
|
2558
|
+
**/
|
|
2559
|
+
ItemCompleted: AugmentedEvent<ApiType, []>;
|
|
2560
|
+
/**
|
|
2561
|
+
* A single item within a Batch of dispatches has completed with error.
|
|
2562
|
+
**/
|
|
2563
|
+
ItemFailed: AugmentedEvent<ApiType, [
|
|
2564
|
+
error: SpRuntimeDispatchError
|
|
2565
|
+
], {
|
|
2566
|
+
error: SpRuntimeDispatchError;
|
|
2567
|
+
}>;
|
|
2568
|
+
/**
|
|
2569
|
+
* Relayed transaction.
|
|
2570
|
+
* POLYMESH: event.
|
|
2571
|
+
**/
|
|
2572
|
+
RelayedTx: AugmentedEvent<ApiType, [
|
|
2573
|
+
callerDid: PolymeshPrimitivesIdentityId,
|
|
2574
|
+
target: AccountId32,
|
|
2575
|
+
result: Result<Null, SpRuntimeDispatchError>
|
|
2576
|
+
], {
|
|
2577
|
+
callerDid: PolymeshPrimitivesIdentityId;
|
|
2578
|
+
target: AccountId32;
|
|
2579
|
+
result: Result<Null, SpRuntimeDispatchError>;
|
|
2580
|
+
}>;
|
|
2613
2581
|
};
|
|
2614
2582
|
}
|
|
2615
2583
|
}
|