@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,25 +1,20 @@
|
|
|
1
|
-
import
|
|
1
|
+
import '@polkadot/api-base/types/storage';
|
|
2
|
+
import type { ApiTypes, AugmentedQuery, QueryableStorageEntry } from '@polkadot/api-base/types';
|
|
2
3
|
import type { BTreeSet, Bytes, Null, Option, U8aFixed, Vec, WrapperOpaque, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
|
|
3
4
|
import type { AnyNumber, IMethod, ITuple } from '@polkadot/types-codec/types';
|
|
4
5
|
import type { AccountId32, Call, H256, Perbill, Permill } from '@polkadot/types/interfaces/runtime';
|
|
5
|
-
import type { FrameSupportDispatchPerDispatchClassWeight, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, PalletAssetAssetOwnershipRelation,
|
|
6
|
+
import type { FrameSupportDispatchPerDispatchClassWeight, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, PalletAssetAssetOwnershipRelation, PalletAssetSecurityToken, PalletAssetTickerRegistration, PalletAssetTickerRegistrationConfig, PalletBalancesBalanceLock, PalletBridgeBridgeTxDetail, PalletCommitteePolymeshVotes, PalletContractsStorageContractInfo, PalletContractsStorageDeletedContract, PalletContractsWasmOwnerInfo, PalletContractsWasmPrefabWasmModule, PalletCorporateActionsBallotBallotMeta, PalletCorporateActionsBallotBallotTimeRange, PalletCorporateActionsBallotBallotVote, PalletCorporateActionsCaId, PalletCorporateActionsCorporateAction, PalletCorporateActionsDistribution, PalletCorporateActionsTargetIdentities, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletIdentityClaim1stKey, PalletIdentityClaim2ndKey, PalletImOnlineBoundedOpaqueNetworkState, PalletImOnlineSr25519AppSr25519Public, PalletPipsDepositInfo, PalletPipsPip, PalletPipsPipsMetadata, PalletPipsProposalState, PalletPipsSnapshotMetadata, PalletPipsSnapshottedPip, PalletPipsVote, PalletPipsVotingResult, PalletPreimageRequestStatus, PalletRelayerSubsidy, PalletRewardsItnRewardStatus, PalletSchedulerScheduled, PalletStakingActiveEraInfo, PalletStakingElectionResult, PalletStakingElectionStatus, PalletStakingEraRewardPoints, PalletStakingExposure, PalletStakingForcing, PalletStakingNominations, PalletStakingPermissionedIdentityPrefs, PalletStakingReleases, PalletStakingRewardDestination, PalletStakingSlashingSlashingSpans, PalletStakingSlashingSpanRecord, PalletStakingSlashingSwitch, PalletStakingStakingLedger, PalletStakingUnappliedSlash, PalletStakingValidatorPrefs, PalletStoFundraiser, PalletTransactionPaymentReleases, PolymeshCommonUtilitiesCheckpointNextCheckpoints, PolymeshCommonUtilitiesCheckpointScheduleCheckpoints, PolymeshCommonUtilitiesGroupInactiveMember, PolymeshCommonUtilitiesMaybeBlock, PolymeshCommonUtilitiesProtocolFeeProtocolOp, PolymeshContractsChainExtensionExtrinsicId, PolymeshPrimitivesAgentAgentGroup, PolymeshPrimitivesAssetIdentifier, PolymeshPrimitivesAssetMetadataAssetMetadataKey, PolymeshPrimitivesAssetMetadataAssetMetadataSpec, PolymeshPrimitivesAssetMetadataAssetMetadataValueDetail, PolymeshPrimitivesAuthorization, PolymeshPrimitivesComplianceManagerAssetCompliance, PolymeshPrimitivesConditionTrustedIssuer, PolymeshPrimitivesDocument, PolymeshPrimitivesIdentityClaim, PolymeshPrimitivesIdentityDidRecord, PolymeshPrimitivesIdentityId, PolymeshPrimitivesIdentityIdPortfolioId, PolymeshPrimitivesMemo, PolymeshPrimitivesMultisigProposalDetails, PolymeshPrimitivesNftNftCollection, PolymeshPrimitivesSecondaryKeyKeyRecord, PolymeshPrimitivesSecondaryKeySignatory, PolymeshPrimitivesSettlementAffirmationStatus, PolymeshPrimitivesSettlementInstruction, PolymeshPrimitivesSettlementInstructionStatus, PolymeshPrimitivesSettlementLeg, PolymeshPrimitivesSettlementLegStatus, PolymeshPrimitivesSettlementVenue, PolymeshPrimitivesStatisticsAssetScope, PolymeshPrimitivesStatisticsStat1stKey, PolymeshPrimitivesStatisticsStat2ndKey, PolymeshPrimitivesStatisticsStatType, PolymeshPrimitivesSubsetSubsetRestrictionPalletPermissions, PolymeshPrimitivesTicker, PolymeshPrimitivesTransferComplianceAssetTransferCompliance, PolymeshPrimitivesTransferComplianceTransferConditionExemptKey, PolymeshRuntimeDevelopRuntimeSessionKeys, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBabeDigestsPreDigest, SpCoreCryptoKeyTypeId, SpNposElectionsElectionScore, SpRuntimeDigest, SpStakingOffenceOffenceDetails } from "./types-lookup.ts";
|
|
6
7
|
import type { Observable } from '@polkadot/types/types';
|
|
8
|
+
export declare type __AugmentedQuery<ApiType extends ApiTypes> = AugmentedQuery<ApiType, () => unknown>;
|
|
9
|
+
export declare type __QueryableStorageEntry<ApiType extends ApiTypes> = QueryableStorageEntry<ApiType>;
|
|
7
10
|
declare module '@polkadot/api-base/types/storage' {
|
|
8
11
|
interface AugmentedQueries<ApiType extends ApiTypes> {
|
|
9
12
|
asset: {
|
|
10
|
-
/**
|
|
11
|
-
* Store aggregate balance of those identities that has the same `ScopeId`.
|
|
12
|
-
* (Ticker, ScopeId) => Balance.
|
|
13
|
-
**/
|
|
14
|
-
aggregateBalance: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesTicker | string | Uint8Array, arg2: PolymeshPrimitivesIdentityId | string | Uint8Array) => Observable<u128>, [
|
|
15
|
-
PolymeshPrimitivesTicker,
|
|
16
|
-
PolymeshPrimitivesIdentityId
|
|
17
|
-
]>;
|
|
18
13
|
/**
|
|
19
14
|
* Documents attached to an Asset
|
|
20
15
|
* (ticker, doc_id) -> document
|
|
21
16
|
**/
|
|
22
|
-
assetDocuments: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesTicker | string | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<PolymeshPrimitivesDocument
|
|
17
|
+
assetDocuments: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesTicker | string | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<PolymeshPrimitivesDocument>>, [
|
|
23
18
|
PolymeshPrimitivesTicker,
|
|
24
19
|
u32
|
|
25
20
|
]>;
|
|
@@ -105,7 +100,7 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
105
100
|
* Asset name of the token corresponding to the token ticker.
|
|
106
101
|
* (ticker) -> `AssetName`
|
|
107
102
|
**/
|
|
108
|
-
assetNames: AugmentedQuery<ApiType, (arg: PolymeshPrimitivesTicker | string | Uint8Array) => Observable<Bytes
|
|
103
|
+
assetNames: AugmentedQuery<ApiType, (arg: PolymeshPrimitivesTicker | string | Uint8Array) => Observable<Option<Bytes>>, [
|
|
109
104
|
PolymeshPrimitivesTicker
|
|
110
105
|
]>;
|
|
111
106
|
/**
|
|
@@ -124,21 +119,6 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
124
119
|
PolymeshPrimitivesTicker,
|
|
125
120
|
PolymeshPrimitivesIdentityId
|
|
126
121
|
]>;
|
|
127
|
-
/**
|
|
128
|
-
* Balances get stored on the basis of the `ScopeId`.
|
|
129
|
-
* Right now it is only helpful for the UI purposes but in future it can be used to do miracles on-chain.
|
|
130
|
-
* (ScopeId, IdentityId) => Balance.
|
|
131
|
-
**/
|
|
132
|
-
balanceOfAtScope: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesIdentityId | string | Uint8Array, arg2: PolymeshPrimitivesIdentityId | string | Uint8Array) => Observable<u128>, [
|
|
133
|
-
PolymeshPrimitivesIdentityId,
|
|
134
|
-
PolymeshPrimitivesIdentityId
|
|
135
|
-
]>;
|
|
136
|
-
/**
|
|
137
|
-
* Ticker registration details on Polymath Classic / Ethereum.
|
|
138
|
-
**/
|
|
139
|
-
classicTickers: AugmentedQuery<ApiType, (arg: PolymeshPrimitivesTicker | string | Uint8Array) => Observable<Option<PalletAssetClassicTickerRegistration>>, [
|
|
140
|
-
PolymeshPrimitivesTicker
|
|
141
|
-
]>;
|
|
142
122
|
/**
|
|
143
123
|
* The next `AssetType::Custom` ID in the sequence.
|
|
144
124
|
*
|
|
@@ -154,18 +134,9 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
154
134
|
/**
|
|
155
135
|
* Inverse map of `CustomTypes`, from registered string contents to custom asset type ids.
|
|
156
136
|
**/
|
|
157
|
-
customTypesInverse: AugmentedQuery<ApiType, (arg: Bytes | string | Uint8Array) => Observable<u32
|
|
137
|
+
customTypesInverse: AugmentedQuery<ApiType, (arg: Bytes | string | Uint8Array) => Observable<Option<u32>>, [
|
|
158
138
|
Bytes
|
|
159
139
|
]>;
|
|
160
|
-
/**
|
|
161
|
-
* Decides whether investor uniqueness requirement is enforced for this asset.
|
|
162
|
-
* `false` means that it is enforced.
|
|
163
|
-
*
|
|
164
|
-
* Ticker => bool.
|
|
165
|
-
**/
|
|
166
|
-
disableInvestorUniqueness: AugmentedQuery<ApiType, (arg: PolymeshPrimitivesTicker | string | Uint8Array) => Observable<bool>, [
|
|
167
|
-
PolymeshPrimitivesTicker
|
|
168
|
-
]>;
|
|
169
140
|
/**
|
|
170
141
|
* The set of frozen assets implemented as a membership map.
|
|
171
142
|
* ticker -> bool
|
|
@@ -194,12 +165,11 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
194
165
|
ITuple<[PolymeshPrimitivesTicker, Bytes]>
|
|
195
166
|
]>;
|
|
196
167
|
/**
|
|
197
|
-
*
|
|
198
|
-
* (Ticker, IdentityId) => ScopeId.
|
|
168
|
+
* All tickers that don't need an affirmation to be received by an identity.
|
|
199
169
|
**/
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
170
|
+
preApprovedTicker: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesIdentityId | string | Uint8Array, arg2: PolymeshPrimitivesTicker | string | Uint8Array) => Observable<bool>, [
|
|
171
|
+
PolymeshPrimitivesIdentityId,
|
|
172
|
+
PolymeshPrimitivesTicker
|
|
203
173
|
]>;
|
|
204
174
|
/**
|
|
205
175
|
* Storage version.
|
|
@@ -215,14 +185,20 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
215
185
|
* Ticker registration details.
|
|
216
186
|
* (ticker) -> TickerRegistration
|
|
217
187
|
**/
|
|
218
|
-
tickers: AugmentedQuery<ApiType, (arg: PolymeshPrimitivesTicker | string | Uint8Array) => Observable<PalletAssetTickerRegistration
|
|
188
|
+
tickers: AugmentedQuery<ApiType, (arg: PolymeshPrimitivesTicker | string | Uint8Array) => Observable<Option<PalletAssetTickerRegistration>>, [
|
|
189
|
+
PolymeshPrimitivesTicker
|
|
190
|
+
]>;
|
|
191
|
+
/**
|
|
192
|
+
* A list of tickers that exempt all users from affirming the receivement of the asset.
|
|
193
|
+
**/
|
|
194
|
+
tickersExemptFromAffirmation: AugmentedQuery<ApiType, (arg: PolymeshPrimitivesTicker | string | Uint8Array) => Observable<bool>, [
|
|
219
195
|
PolymeshPrimitivesTicker
|
|
220
196
|
]>;
|
|
221
197
|
/**
|
|
222
198
|
* Details of the token corresponding to the token ticker.
|
|
223
199
|
* (ticker) -> SecurityToken details [returns SecurityToken struct]
|
|
224
200
|
**/
|
|
225
|
-
tokens: AugmentedQuery<ApiType, (arg: PolymeshPrimitivesTicker | string | Uint8Array) => Observable<PalletAssetSecurityToken
|
|
201
|
+
tokens: AugmentedQuery<ApiType, (arg: PolymeshPrimitivesTicker | string | Uint8Array) => Observable<Option<PalletAssetSecurityToken>>, [
|
|
226
202
|
PolymeshPrimitivesTicker
|
|
227
203
|
]>;
|
|
228
204
|
};
|
|
@@ -231,14 +207,6 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
231
207
|
* Author of current block.
|
|
232
208
|
**/
|
|
233
209
|
author: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []>;
|
|
234
|
-
/**
|
|
235
|
-
* Whether uncles were already set in this block.
|
|
236
|
-
**/
|
|
237
|
-
didSetUncles: AugmentedQuery<ApiType, () => Observable<bool>, []>;
|
|
238
|
-
/**
|
|
239
|
-
* Uncles
|
|
240
|
-
**/
|
|
241
|
-
uncles: AugmentedQuery<ApiType, () => Observable<Vec<PalletAuthorshipUncleEntryItem>>, []>;
|
|
242
210
|
};
|
|
243
211
|
babe: {
|
|
244
212
|
/**
|
|
@@ -339,6 +307,17 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
339
307
|
* epoch.
|
|
340
308
|
**/
|
|
341
309
|
segmentIndex: AugmentedQuery<ApiType, () => Observable<u32>, []>;
|
|
310
|
+
/**
|
|
311
|
+
* A list of the last 100 skipped epochs and the corresponding session index
|
|
312
|
+
* when the epoch was skipped.
|
|
313
|
+
*
|
|
314
|
+
* This is only used for validating equivocation proofs. An equivocation proof
|
|
315
|
+
* must contains a key-ownership proof for a given session, therefore we need a
|
|
316
|
+
* way to tie together sessions and epoch indices, i.e. we need to validate that
|
|
317
|
+
* a validator was the owner of a given key on a given session, and what the
|
|
318
|
+
* active epoch index was during that session.
|
|
319
|
+
**/
|
|
320
|
+
skippedEpochs: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[u64, u32]>>>, []>;
|
|
342
321
|
/**
|
|
343
322
|
* TWOX-NOTE: `SegmentIndex` is an increasing integer, so this is okay.
|
|
344
323
|
**/
|
|
@@ -363,7 +342,7 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
363
342
|
/**
|
|
364
343
|
* The admin key.
|
|
365
344
|
**/
|
|
366
|
-
admin: AugmentedQuery<ApiType, () => Observable<AccountId32
|
|
345
|
+
admin: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []>;
|
|
367
346
|
/**
|
|
368
347
|
* The maximum number of bridged POLYX per identity within a set interval of
|
|
369
348
|
* blocks. Fields: POLYX amount and the block interval duration.
|
|
@@ -388,7 +367,7 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
388
367
|
* authorizations and are able to get their proposals delivered. The bridge creator
|
|
389
368
|
* transfers some POLY to their identity.
|
|
390
369
|
**/
|
|
391
|
-
controller: AugmentedQuery<ApiType, () => Observable<AccountId32
|
|
370
|
+
controller: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []>;
|
|
392
371
|
/**
|
|
393
372
|
* Freeze bridge admins. These accounts can only freeze the bridge.
|
|
394
373
|
**/
|
|
@@ -481,6 +460,16 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
481
460
|
PolymeshPrimitivesTicker,
|
|
482
461
|
PolymeshPrimitivesIdentityId
|
|
483
462
|
]>;
|
|
463
|
+
/**
|
|
464
|
+
* Cached next checkpoint for each schedule.
|
|
465
|
+
*
|
|
466
|
+
* This is used to quickly find the next checkpoint from a ticker's schedules.
|
|
467
|
+
*
|
|
468
|
+
* (ticker) -> next checkpoints
|
|
469
|
+
**/
|
|
470
|
+
cachedNextCheckpoints: AugmentedQuery<ApiType, (arg: PolymeshPrimitivesTicker | string | Uint8Array) => Observable<Option<PolymeshCommonUtilitiesCheckpointNextCheckpoints>>, [
|
|
471
|
+
PolymeshPrimitivesTicker
|
|
472
|
+
]>;
|
|
484
473
|
/**
|
|
485
474
|
* Checkpoints ID generator sequence.
|
|
486
475
|
* ID of first checkpoint is 1 instead of 0.
|
|
@@ -490,6 +479,15 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
490
479
|
checkpointIdSequence: AugmentedQuery<ApiType, (arg: PolymeshPrimitivesTicker | string | Uint8Array) => Observable<u64>, [
|
|
491
480
|
PolymeshPrimitivesTicker
|
|
492
481
|
]>;
|
|
482
|
+
/**
|
|
483
|
+
* Scheduled checkpoints.
|
|
484
|
+
*
|
|
485
|
+
* (ticker, schedule ID) -> schedule checkpoints
|
|
486
|
+
**/
|
|
487
|
+
scheduledCheckpoints: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesTicker | string | Uint8Array, arg2: u64 | AnyNumber | Uint8Array) => Observable<Option<PolymeshCommonUtilitiesCheckpointScheduleCheckpoints>>, [
|
|
488
|
+
PolymeshPrimitivesTicker,
|
|
489
|
+
u64
|
|
490
|
+
]>;
|
|
493
491
|
/**
|
|
494
492
|
* Checkpoint schedule ID sequence for tickers.
|
|
495
493
|
*
|
|
@@ -522,16 +520,7 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
522
520
|
u64
|
|
523
521
|
]>;
|
|
524
522
|
/**
|
|
525
|
-
*
|
|
526
|
-
*
|
|
527
|
-
* (ticker) -> [schedule]
|
|
528
|
-
**/
|
|
529
|
-
schedules: AugmentedQuery<ApiType, (arg: PolymeshPrimitivesTicker | string | Uint8Array) => Observable<Vec<PolymeshCommonUtilitiesCheckpointStoredSchedule>>, [
|
|
530
|
-
PolymeshPrimitivesTicker
|
|
531
|
-
]>;
|
|
532
|
-
/**
|
|
533
|
-
* The maximum complexity allowed for an arbitrary ticker's schedule set
|
|
534
|
-
* (i.e. `Schedules` storage item below).
|
|
523
|
+
* The maximum complexity allowed for a ticker's schedules.
|
|
535
524
|
**/
|
|
536
525
|
schedulesMaxComplexity: AugmentedQuery<ApiType, () => Observable<u64>, []>;
|
|
537
526
|
/**
|
|
@@ -559,6 +548,9 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
559
548
|
PolymeshPrimitivesTicker,
|
|
560
549
|
u64
|
|
561
550
|
]>;
|
|
551
|
+
schedules: AugmentedQuery<ApiType, (arg: PolymeshPrimitivesTicker | string | Uint8Array) => Observable<Vec<any>>, [
|
|
552
|
+
PolymeshPrimitivesTicker
|
|
553
|
+
]>;
|
|
562
554
|
};
|
|
563
555
|
committeeMembership: {
|
|
564
556
|
/**
|
|
@@ -884,6 +876,12 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
884
876
|
* A mapping from grandpa set ID to the index of the *most recent* session for which its
|
|
885
877
|
* members were responsible.
|
|
886
878
|
*
|
|
879
|
+
* This is only used for validating equivocation proofs. An equivocation proof must
|
|
880
|
+
* contains a key-ownership proof for a given session, therefore we need a way to tie
|
|
881
|
+
* together sessions and GRANDPA set ids, i.e. we need to validate that a validator
|
|
882
|
+
* was the owner of a given key on a given session, and what the active set ID was
|
|
883
|
+
* during that session.
|
|
884
|
+
*
|
|
887
885
|
* TWOX-NOTE: `SetId` is not under user control.
|
|
888
886
|
**/
|
|
889
887
|
setIdSession: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [
|
|
@@ -929,11 +927,6 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
929
927
|
PolymeshPrimitivesIdentityId,
|
|
930
928
|
u64
|
|
931
929
|
]>;
|
|
932
|
-
/**
|
|
933
|
-
* Obsoleted storage variable superceded by `CddAuthForPrimaryKeyRotation`. It is kept here
|
|
934
|
-
* for the purpose of storage migration.
|
|
935
|
-
**/
|
|
936
|
-
cddAuthForMasterKeyRotation: AugmentedQuery<ApiType, () => Observable<bool>, []>;
|
|
937
930
|
/**
|
|
938
931
|
* A config flag that, if set, instructs an authorization from a CDD provider in order to
|
|
939
932
|
* change the primary key of an identity.
|
|
@@ -948,7 +941,7 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
948
941
|
} | string | Uint8Array, arg2: PalletIdentityClaim2ndKey | {
|
|
949
942
|
issuer?: any;
|
|
950
943
|
scope?: any;
|
|
951
|
-
} | string | Uint8Array) => Observable<PolymeshPrimitivesIdentityClaim
|
|
944
|
+
} | string | Uint8Array) => Observable<Option<PolymeshPrimitivesIdentityClaim>>, [
|
|
952
945
|
PalletIdentityClaim1stKey,
|
|
953
946
|
PalletIdentityClaim2ndKey
|
|
954
947
|
]>;
|
|
@@ -967,13 +960,13 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
967
960
|
/**
|
|
968
961
|
* CustomClaimTypeId -> String constant
|
|
969
962
|
**/
|
|
970
|
-
customClaims: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Bytes
|
|
963
|
+
customClaims: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<Bytes>>, [
|
|
971
964
|
u32
|
|
972
965
|
]>;
|
|
973
966
|
/**
|
|
974
967
|
* String constant -> CustomClaimTypeId
|
|
975
968
|
**/
|
|
976
|
-
customClaimsInverse: AugmentedQuery<ApiType, (arg: Bytes | string | Uint8Array) => Observable<u32
|
|
969
|
+
customClaimsInverse: AugmentedQuery<ApiType, (arg: Bytes | string | Uint8Array) => Observable<Option<u32>>, [
|
|
977
970
|
Bytes
|
|
978
971
|
]>;
|
|
979
972
|
/**
|
|
@@ -1011,6 +1004,12 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1011
1004
|
offChainAuthorizationNonce: AugmentedQuery<ApiType, (arg: PolymeshPrimitivesIdentityId | string | Uint8Array) => Observable<u64>, [
|
|
1012
1005
|
PolymeshPrimitivesIdentityId
|
|
1013
1006
|
]>;
|
|
1007
|
+
/**
|
|
1008
|
+
* Parent identity if the DID is a child Identity.
|
|
1009
|
+
**/
|
|
1010
|
+
parentDid: AugmentedQuery<ApiType, (arg: PolymeshPrimitivesIdentityId | string | Uint8Array) => Observable<Option<PolymeshPrimitivesIdentityId>>, [
|
|
1011
|
+
PolymeshPrimitivesIdentityId
|
|
1012
|
+
]>;
|
|
1014
1013
|
/**
|
|
1015
1014
|
* Storage version.
|
|
1016
1015
|
**/
|
|
@@ -1062,6 +1061,12 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1062
1061
|
]>;
|
|
1063
1062
|
};
|
|
1064
1063
|
multiSig: {
|
|
1064
|
+
/**
|
|
1065
|
+
* Tracks creators who are no longer allowed to call via_creator extrinsics.
|
|
1066
|
+
**/
|
|
1067
|
+
lostCreatorPrivileges: AugmentedQuery<ApiType, (arg: PolymeshPrimitivesIdentityId | string | Uint8Array) => Observable<bool>, [
|
|
1068
|
+
PolymeshPrimitivesIdentityId
|
|
1069
|
+
]>;
|
|
1065
1070
|
/**
|
|
1066
1071
|
* Nonce to ensure unique MultiSig addresses are generated; starts from 1.
|
|
1067
1072
|
**/
|
|
@@ -1086,7 +1091,7 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1086
1091
|
/**
|
|
1087
1092
|
* Maps a multisig account to its identity.
|
|
1088
1093
|
**/
|
|
1089
|
-
multiSigToIdentity: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<
|
|
1094
|
+
multiSigToIdentity: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<PolymeshPrimitivesIdentityId>, [
|
|
1090
1095
|
AccountId32
|
|
1091
1096
|
]>;
|
|
1092
1097
|
/**
|
|
@@ -1104,7 +1109,7 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1104
1109
|
/**
|
|
1105
1110
|
* Details of a multisig proposal
|
|
1106
1111
|
**/
|
|
1107
|
-
proposalDetail: AugmentedQuery<ApiType, (arg: ITuple<[AccountId32, u64]> | [AccountId32 | string | Uint8Array, u64 | AnyNumber | Uint8Array]) => Observable<
|
|
1112
|
+
proposalDetail: AugmentedQuery<ApiType, (arg: ITuple<[AccountId32, u64]> | [AccountId32 | string | Uint8Array, u64 | AnyNumber | Uint8Array]) => Observable<PolymeshPrimitivesMultisigProposalDetails>, [
|
|
1108
1113
|
ITuple<[AccountId32, u64]>
|
|
1109
1114
|
]>;
|
|
1110
1115
|
/**
|
|
@@ -1240,7 +1245,7 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1240
1245
|
* Those who have locked a deposit.
|
|
1241
1246
|
* proposal (id, proposer) -> deposit
|
|
1242
1247
|
**/
|
|
1243
|
-
deposits: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<PalletPipsDepositInfo
|
|
1248
|
+
deposits: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<PalletPipsDepositInfo>>, [
|
|
1244
1249
|
u32,
|
|
1245
1250
|
AccountId32
|
|
1246
1251
|
]>;
|
|
@@ -1315,7 +1320,7 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1315
1320
|
* Votes per Proposal and account. Used to avoid double vote issue.
|
|
1316
1321
|
* (proposal id, account) -> Vote
|
|
1317
1322
|
**/
|
|
1318
|
-
proposalVotes: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<
|
|
1323
|
+
proposalVotes: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<PalletPipsVote>>, [
|
|
1319
1324
|
u32,
|
|
1320
1325
|
AccountId32
|
|
1321
1326
|
]>;
|
|
@@ -1433,7 +1438,7 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1433
1438
|
portfolioCustodian: AugmentedQuery<ApiType, (arg: PolymeshPrimitivesIdentityIdPortfolioId | {
|
|
1434
1439
|
did?: any;
|
|
1435
1440
|
kind?: any;
|
|
1436
|
-
} | string | Uint8Array) => Observable<Option<
|
|
1441
|
+
} | string | Uint8Array) => Observable<Option<PolymeshPrimitivesIdentityId>>, [
|
|
1437
1442
|
PolymeshPrimitivesIdentityIdPortfolioId
|
|
1438
1443
|
]>;
|
|
1439
1444
|
/**
|
|
@@ -1472,7 +1477,7 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1472
1477
|
* portfolio number maps to `None` then such a portfolio doesn't exist. Conversely, if a
|
|
1473
1478
|
* pair maps to `Some(name)` then such a portfolio exists and is called `name`.
|
|
1474
1479
|
**/
|
|
1475
|
-
portfolios: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesIdentityId | string | Uint8Array, arg2: u64 | AnyNumber | Uint8Array) => Observable<Bytes
|
|
1480
|
+
portfolios: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesIdentityId | string | Uint8Array, arg2: u64 | AnyNumber | Uint8Array) => Observable<Option<Bytes>>, [
|
|
1476
1481
|
PolymeshPrimitivesIdentityId,
|
|
1477
1482
|
u64
|
|
1478
1483
|
]>;
|
|
@@ -1488,6 +1493,16 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1488
1493
|
PolymeshPrimitivesIdentityId,
|
|
1489
1494
|
PolymeshPrimitivesIdentityIdPortfolioId
|
|
1490
1495
|
]>;
|
|
1496
|
+
/**
|
|
1497
|
+
* All portfolios that don't need to affirm the receivement of a given ticker.
|
|
1498
|
+
**/
|
|
1499
|
+
preApprovedPortfolios: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesIdentityIdPortfolioId | {
|
|
1500
|
+
did?: any;
|
|
1501
|
+
kind?: any;
|
|
1502
|
+
} | string | Uint8Array, arg2: PolymeshPrimitivesTicker | string | Uint8Array) => Observable<bool>, [
|
|
1503
|
+
PolymeshPrimitivesIdentityIdPortfolioId,
|
|
1504
|
+
PolymeshPrimitivesTicker
|
|
1505
|
+
]>;
|
|
1491
1506
|
/**
|
|
1492
1507
|
* Storage version.
|
|
1493
1508
|
**/
|
|
@@ -1611,7 +1626,7 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1611
1626
|
affirmsReceived: AugmentedQuery<ApiType, (arg1: u64 | AnyNumber | Uint8Array, arg2: PolymeshPrimitivesIdentityIdPortfolioId | {
|
|
1612
1627
|
did?: any;
|
|
1613
1628
|
kind?: any;
|
|
1614
|
-
} | string | Uint8Array) => Observable<
|
|
1629
|
+
} | string | Uint8Array) => Observable<PolymeshPrimitivesSettlementAffirmationStatus>, [
|
|
1615
1630
|
u64,
|
|
1616
1631
|
PolymeshPrimitivesIdentityIdPortfolioId
|
|
1617
1632
|
]>;
|
|
@@ -1635,34 +1650,40 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1635
1650
|
/**
|
|
1636
1651
|
* Details about an instruction. instruction_id -> instruction_details
|
|
1637
1652
|
**/
|
|
1638
|
-
instructionDetails: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<
|
|
1653
|
+
instructionDetails: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<PolymeshPrimitivesSettlementInstruction>, [
|
|
1639
1654
|
u64
|
|
1640
1655
|
]>;
|
|
1641
1656
|
/**
|
|
1642
1657
|
* Legs under an instruction. (instruction_id, leg_id) -> Leg
|
|
1643
1658
|
**/
|
|
1644
|
-
instructionLegs: AugmentedQuery<ApiType, (arg1: u64 | AnyNumber | Uint8Array, arg2: u64 | AnyNumber | Uint8Array) => Observable<
|
|
1659
|
+
instructionLegs: AugmentedQuery<ApiType, (arg1: u64 | AnyNumber | Uint8Array, arg2: u64 | AnyNumber | Uint8Array) => Observable<Option<PolymeshPrimitivesSettlementLeg>>, [
|
|
1645
1660
|
u64,
|
|
1646
1661
|
u64
|
|
1647
1662
|
]>;
|
|
1648
1663
|
/**
|
|
1649
1664
|
* Status of a leg under an instruction. (instruction_id, leg_id) -> LegStatus
|
|
1650
1665
|
**/
|
|
1651
|
-
instructionLegStatus: AugmentedQuery<ApiType, (arg1: u64 | AnyNumber | Uint8Array, arg2: u64 | AnyNumber | Uint8Array) => Observable<
|
|
1666
|
+
instructionLegStatus: AugmentedQuery<ApiType, (arg1: u64 | AnyNumber | Uint8Array, arg2: u64 | AnyNumber | Uint8Array) => Observable<PolymeshPrimitivesSettlementLegStatus>, [
|
|
1652
1667
|
u64,
|
|
1653
1668
|
u64
|
|
1654
1669
|
]>;
|
|
1655
1670
|
/**
|
|
1656
|
-
*
|
|
1671
|
+
* Instruction memo
|
|
1657
1672
|
**/
|
|
1658
|
-
|
|
1659
|
-
u64,
|
|
1673
|
+
instructionMemos: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<PolymeshPrimitivesMemo>>, [
|
|
1660
1674
|
u64
|
|
1661
1675
|
]>;
|
|
1662
1676
|
/**
|
|
1663
|
-
* Instruction
|
|
1677
|
+
* Instruction statuses. instruction_id -> InstructionStatus
|
|
1664
1678
|
**/
|
|
1665
|
-
|
|
1679
|
+
instructionStatuses: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<PolymeshPrimitivesSettlementInstructionStatus>, [
|
|
1680
|
+
u64
|
|
1681
|
+
]>;
|
|
1682
|
+
/**
|
|
1683
|
+
* Tracks the affirmation status for offchain legs in a instruction. [`(InstructionId, LegId)`] -> [`AffirmationStatus`]
|
|
1684
|
+
**/
|
|
1685
|
+
offChainAffirmations: AugmentedQuery<ApiType, (arg1: u64 | AnyNumber | Uint8Array, arg2: u64 | AnyNumber | Uint8Array) => Observable<PolymeshPrimitivesSettlementAffirmationStatus>, [
|
|
1686
|
+
u64,
|
|
1666
1687
|
u64
|
|
1667
1688
|
]>;
|
|
1668
1689
|
/**
|
|
@@ -1683,15 +1704,20 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1683
1704
|
userAffirmations: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesIdentityIdPortfolioId | {
|
|
1684
1705
|
did?: any;
|
|
1685
1706
|
kind?: any;
|
|
1686
|
-
} | string | Uint8Array, arg2: u64 | AnyNumber | Uint8Array) => Observable<
|
|
1707
|
+
} | string | Uint8Array, arg2: u64 | AnyNumber | Uint8Array) => Observable<PolymeshPrimitivesSettlementAffirmationStatus>, [
|
|
1687
1708
|
PolymeshPrimitivesIdentityIdPortfolioId,
|
|
1688
1709
|
u64
|
|
1689
1710
|
]>;
|
|
1690
1711
|
/**
|
|
1691
1712
|
* Array of venues created by an identity. Only needed for the UI. IdentityId -> Vec<venue_id>
|
|
1713
|
+
* Venues create by an identity.
|
|
1714
|
+
* Only needed for the UI.
|
|
1715
|
+
*
|
|
1716
|
+
* identity -> venue_id ()
|
|
1692
1717
|
**/
|
|
1693
|
-
userVenues: AugmentedQuery<ApiType, (
|
|
1694
|
-
PolymeshPrimitivesIdentityId
|
|
1718
|
+
userVenues: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesIdentityId | string | Uint8Array, arg2: u64 | AnyNumber | Uint8Array) => Observable<Null>, [
|
|
1719
|
+
PolymeshPrimitivesIdentityId,
|
|
1720
|
+
u64
|
|
1695
1721
|
]>;
|
|
1696
1722
|
/**
|
|
1697
1723
|
* Venues that are allowed to create instructions involving a particular ticker. Only used if filtering is enabled.
|
|
@@ -1714,7 +1740,7 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1714
1740
|
/**
|
|
1715
1741
|
* Info about a venue. venue_id -> venue
|
|
1716
1742
|
**/
|
|
1717
|
-
venueInfo: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<
|
|
1743
|
+
venueInfo: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<PolymeshPrimitivesSettlementVenue>>, [
|
|
1718
1744
|
u64
|
|
1719
1745
|
]>;
|
|
1720
1746
|
/**
|
|
@@ -2065,7 +2091,7 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
2065
2091
|
* Name for the Fundraiser. Only used offchain.
|
|
2066
2092
|
* (ticker, fundraiser_id) -> Fundraiser name
|
|
2067
2093
|
**/
|
|
2068
|
-
fundraiserNames: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesTicker | string | Uint8Array, arg2: u64 | AnyNumber | Uint8Array) => Observable<Bytes
|
|
2094
|
+
fundraiserNames: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesTicker | string | Uint8Array, arg2: u64 | AnyNumber | Uint8Array) => Observable<Option<Bytes>>, [
|
|
2069
2095
|
PolymeshPrimitivesTicker,
|
|
2070
2096
|
u64
|
|
2071
2097
|
]>;
|
|
@@ -2082,7 +2108,7 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
2082
2108
|
/**
|
|
2083
2109
|
* The `AccountId` of the sudo key.
|
|
2084
2110
|
**/
|
|
2085
|
-
key: AugmentedQuery<ApiType, () => Observable<AccountId32
|
|
2111
|
+
key: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []>;
|
|
2086
2112
|
};
|
|
2087
2113
|
system: {
|
|
2088
2114
|
/**
|
|
@@ -2311,6 +2337,10 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
2311
2337
|
]>;
|
|
2312
2338
|
};
|
|
2313
2339
|
utility: {
|
|
2340
|
+
/**
|
|
2341
|
+
* Nonce for `relay_tx`.
|
|
2342
|
+
* POLYMESH: added.
|
|
2343
|
+
**/
|
|
2314
2344
|
nonces: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<u64>, [
|
|
2315
2345
|
AccountId32
|
|
2316
2346
|
]>;
|