@polymeshassociation/polymesh-sdk 26.0.0-alpha.4 → 26.0.0-beta.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 +61 -1
- package/api/client/Assets.js +1 -1
- package/api/entities/Account/index.d.ts.map +1 -1
- package/api/entities/Account/index.js +13 -3
- package/api/entities/Account/index.js.map +1 -1
- package/api/entities/Asset/Base/BaseAsset.d.ts +8 -0
- package/api/entities/Asset/Base/BaseAsset.d.ts.map +1 -1
- package/api/entities/Asset/Base/BaseAsset.js +5 -1
- package/api/entities/Asset/Base/BaseAsset.js.map +1 -1
- package/api/entities/Identity/Portfolios.d.ts +8 -0
- package/api/entities/Identity/Portfolios.d.ts.map +1 -1
- package/api/entities/Identity/Portfolios.js +21 -0
- package/api/entities/Identity/Portfolios.js.map +1 -1
- package/api/entities/Instruction/index.d.ts.map +1 -1
- package/api/entities/Instruction/index.js +8 -1
- package/api/entities/Instruction/index.js.map +1 -1
- package/api/entities/TickerReservation/index.js +1 -1
- package/api/entities/Venue/types.d.ts +1 -1
- package/api/entities/Venue/types.d.ts.map +1 -1
- package/api/procedures/createAsset.d.ts +1 -1
- package/api/procedures/createAsset.d.ts.map +1 -1
- package/api/procedures/createAsset.js +38 -20
- package/api/procedures/createAsset.js.map +1 -1
- package/api/procedures/types.d.ts +6 -1
- package/api/procedures/types.d.ts.map +1 -1
- package/api/procedures/types.js.map +1 -1
- package/api/procedures/unlinkTickerFromAsset.d.ts +28 -0
- package/api/procedures/unlinkTickerFromAsset.d.ts.map +1 -0
- package/api/procedures/unlinkTickerFromAsset.js +81 -0
- package/api/procedures/unlinkTickerFromAsset.js.map +1 -0
- package/base/Context.js +1 -1
- package/generated/types.d.ts +4 -2
- package/generated/types.d.ts.map +1 -1
- package/generated/types.js +2 -0
- package/generated/types.js.map +1 -1
- package/internal.d.ts +1 -0
- package/internal.d.ts.map +1 -1
- package/internal.js +4 -2
- package/internal.js.map +1 -1
- package/middleware/types.d.ts +1162 -3
- package/middleware/types.d.ts.map +1 -1
- package/middleware/types.js +540 -4
- package/middleware/types.js.map +1 -1
- package/npm-package/polymeshassociation-polymesh-sdk-26.0.0-beta.1.tgz +0 -0
- package/package.json +2 -2
- package/polkadot/asset/definitions.js +1 -1
- package/polkadot/augment-api-errors.d.ts +30 -6
- package/polkadot/augment-api-errors.d.ts.map +1 -1
- package/polkadot/augment-api-events.d.ts +120 -137
- package/polkadot/augment-api-events.d.ts.map +1 -1
- package/polkadot/augment-api-query.d.ts +170 -162
- package/polkadot/augment-api-query.d.ts.map +1 -1
- package/polkadot/augment-api-rpc.d.ts +4 -4
- package/polkadot/augment-api-rpc.d.ts.map +1 -1
- package/polkadot/augment-api-tx.d.ts +198 -258
- package/polkadot/augment-api-tx.d.ts.map +1 -1
- package/polkadot/augment-types.d.ts +1 -2
- package/polkadot/augment-types.d.ts.map +1 -1
- package/polkadot/compliance/definitions.js +1 -1
- package/polkadot/lookup.d.ts +248 -251
- package/polkadot/lookup.d.ts.map +1 -1
- package/polkadot/lookup.js +398 -395
- package/polkadot/lookup.js.map +1 -1
- package/polkadot/polymesh/definitions.d.ts +1 -2
- package/polkadot/polymesh/definitions.d.ts.map +1 -1
- package/polkadot/polymesh/definitions.js +9 -10
- package/polkadot/polymesh/definitions.js.map +1 -1
- package/polkadot/polymesh/types.d.ts +10 -11
- package/polkadot/polymesh/types.d.ts.map +1 -1
- package/polkadot/registry.d.ts +3 -3
- package/polkadot/schema.d.ts +1 -2
- package/polkadot/schema.d.ts.map +1 -1
- package/polkadot/schema.js +14 -15
- package/polkadot/schema.js.map +1 -1
- package/polkadot/types-lookup.d.ts +411 -414
- package/polkadot/types-lookup.d.ts.map +1 -1
- package/types/internal.d.ts +4 -4
- package/utils/constants.d.ts +1 -5
- package/utils/constants.d.ts.map +1 -1
- package/utils/constants.js +2 -6
- package/utils/constants.js.map +1 -1
- package/utils/conversion.d.ts +7 -7
- package/utils/conversion.js +2 -2
- package/utils/conversion.js.map +1 -1
- package/utils/internal.d.ts +2 -2
- package/utils/internal.d.ts.map +1 -1
- package/utils/internal.js +8 -3
- package/utils/internal.js.map +1 -1
- package/npm-package/polymeshassociation-polymesh-sdk-26.0.0-alpha.4.tgz +0 -0
|
@@ -3,7 +3,7 @@ import type { ApiTypes, AugmentedQuery, QueryableStorageEntry } from '@polkadot/
|
|
|
3
3
|
import type { BTreeSet, Bytes, Null, Option, U8aFixed, Vec, WrapperOpaque, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
|
|
4
4
|
import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
|
|
5
5
|
import type { AccountId32, Call, H256, Perbill, Percent, Permill } from '@polkadot/types/interfaces/runtime';
|
|
6
|
-
import type { FrameSupportDispatchPerDispatchClassWeight, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, PalletAssetAssetDetails, PalletAssetTickerRegistration, PalletAssetTickerRegistrationConfig, PalletBalancesBalanceLock, PalletBridgeBridgeTxDetail, PalletCommitteePolymeshVotes, PalletContractsStorageContractInfo, PalletContractsStorageDeletedContract, PalletContractsWasmOwnerInfo, PalletContractsWasmPrefabWasmModule, PalletCorporateActionsBallotBallotMeta, PalletCorporateActionsBallotBallotTimeRange, PalletCorporateActionsBallotBallotVote, PalletCorporateActionsCaId, PalletCorporateActionsCorporateAction, PalletCorporateActionsDistribution, PalletCorporateActionsTargetIdentities, PalletElectionProviderMultiPhasePhase, PalletElectionProviderMultiPhaseReadySolution, PalletElectionProviderMultiPhaseRoundSnapshot, PalletElectionProviderMultiPhaseSignedSignedSubmission, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletIdentityClaim1stKey, PalletIdentityClaim2ndKey, PalletImOnlineBoundedOpaqueNetworkState, PalletImOnlineSr25519AppSr25519Public, PalletPipsDepositInfo, PalletPipsPip, PalletPipsPipsMetadata, PalletPipsProposalState, PalletPipsSnapshotMetadata, PalletPipsSnapshottedPip, PalletPipsVote, PalletPipsVotingResult, PalletPreimageRequestStatus, PalletRelayerSubsidy, PalletSchedulerScheduled, PalletStakingActiveEraInfo, PalletStakingEraRewardPoints, PalletStakingExposure, PalletStakingForcing, PalletStakingNominations, PalletStakingPermissionedIdentityPrefs, PalletStakingRewardDestination, PalletStakingSlashingSlashingSpans, PalletStakingSlashingSpanRecord, PalletStakingSlashingSwitch, PalletStakingStakingLedger, PalletStakingUnappliedSlash, PalletStakingValidatorPrefs, PalletStoFundraiser, PalletTransactionPaymentReleases, PolymeshCommonUtilitiesCheckpointNextCheckpoints, PolymeshCommonUtilitiesCheckpointScheduleCheckpoints, PolymeshCommonUtilitiesGroupInactiveMember, PolymeshCommonUtilitiesMaybeBlock, PolymeshCommonUtilitiesProtocolFeeProtocolOp, PolymeshContractsApi, PolymeshContractsApiCodeHash, PolymeshContractsChainExtensionExtrinsicId, PolymeshContractsNextUpgrade, PolymeshPrimitivesAgentAgentGroup,
|
|
6
|
+
import type { FrameSupportDispatchPerDispatchClassWeight, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, PalletAssetAssetDetails, PalletAssetTickerRegistration, PalletAssetTickerRegistrationConfig, PalletBalancesBalanceLock, PalletBridgeBridgeTxDetail, PalletCommitteePolymeshVotes, PalletContractsStorageContractInfo, PalletContractsStorageDeletedContract, PalletContractsWasmOwnerInfo, PalletContractsWasmPrefabWasmModule, PalletCorporateActionsBallotBallotMeta, PalletCorporateActionsBallotBallotTimeRange, PalletCorporateActionsBallotBallotVote, PalletCorporateActionsCaId, PalletCorporateActionsCorporateAction, PalletCorporateActionsDistribution, PalletCorporateActionsTargetIdentities, PalletElectionProviderMultiPhasePhase, PalletElectionProviderMultiPhaseReadySolution, PalletElectionProviderMultiPhaseRoundSnapshot, PalletElectionProviderMultiPhaseSignedSignedSubmission, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletIdentityClaim1stKey, PalletIdentityClaim2ndKey, PalletImOnlineBoundedOpaqueNetworkState, PalletImOnlineSr25519AppSr25519Public, PalletPipsDepositInfo, PalletPipsPip, PalletPipsPipsMetadata, PalletPipsProposalState, PalletPipsSnapshotMetadata, PalletPipsSnapshottedPip, PalletPipsVote, PalletPipsVotingResult, PalletPreimageRequestStatus, PalletRelayerSubsidy, PalletSchedulerScheduled, PalletStakingActiveEraInfo, PalletStakingEraRewardPoints, PalletStakingExposure, PalletStakingForcing, PalletStakingNominations, PalletStakingPermissionedIdentityPrefs, PalletStakingRewardDestination, PalletStakingSlashingSlashingSpans, PalletStakingSlashingSpanRecord, PalletStakingSlashingSwitch, PalletStakingStakingLedger, PalletStakingUnappliedSlash, PalletStakingValidatorPrefs, PalletStoFundraiser, PalletTransactionPaymentReleases, PolymeshCommonUtilitiesCheckpointNextCheckpoints, PolymeshCommonUtilitiesCheckpointScheduleCheckpoints, PolymeshCommonUtilitiesGroupInactiveMember, PolymeshCommonUtilitiesMaybeBlock, PolymeshCommonUtilitiesProtocolFeeProtocolOp, PolymeshContractsApi, PolymeshContractsApiCodeHash, PolymeshContractsChainExtensionExtrinsicId, PolymeshContractsNextUpgrade, PolymeshPrimitivesAgentAgentGroup, PolymeshPrimitivesAssetAssetId, PolymeshPrimitivesAssetIdentifier, PolymeshPrimitivesAssetMetadataAssetMetadataKey, PolymeshPrimitivesAssetMetadataAssetMetadataSpec, PolymeshPrimitivesAssetMetadataAssetMetadataValueDetail, PolymeshPrimitivesAuthorization, PolymeshPrimitivesComplianceManagerAssetCompliance, PolymeshPrimitivesConditionTrustedIssuer, PolymeshPrimitivesDocument, PolymeshPrimitivesIdentityClaim, PolymeshPrimitivesIdentityDidRecord, PolymeshPrimitivesIdentityId, PolymeshPrimitivesIdentityIdPortfolioId, PolymeshPrimitivesMemo, PolymeshPrimitivesMultisigProposalState, PolymeshPrimitivesMultisigProposalVoteCount, PolymeshPrimitivesNftNftCollection, PolymeshPrimitivesSecondaryKeyExtrinsicPermissions, PolymeshPrimitivesSecondaryKeyKeyRecord, PolymeshPrimitivesSecondaryKeySignatory, PolymeshPrimitivesSettlementAffirmationStatus, PolymeshPrimitivesSettlementInstruction, PolymeshPrimitivesSettlementInstructionStatus, PolymeshPrimitivesSettlementLeg, PolymeshPrimitivesSettlementLegStatus, PolymeshPrimitivesSettlementMediatorAffirmationStatus, PolymeshPrimitivesSettlementVenue, PolymeshPrimitivesStatisticsStat1stKey, PolymeshPrimitivesStatisticsStat2ndKey, PolymeshPrimitivesStatisticsStatType, PolymeshPrimitivesSubsetSubsetRestrictionAssetId, PolymeshPrimitivesSubsetSubsetRestrictionPortfolioId, PolymeshPrimitivesTicker, PolymeshPrimitivesTransferComplianceAssetTransferCompliance, PolymeshPrimitivesTransferComplianceTransferConditionExemptKey, PolymeshRuntimeDevelopRuntimeSessionKeys, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBabeDigestsPreDigest, SpCoreCryptoKeyTypeId, SpNposElectionsElectionScore, SpRuntimeDigest, SpStakingOffenceOffenceDetails } from "./types-lookup.ts";
|
|
7
7
|
import type { Observable } from '@polkadot/types/types';
|
|
8
8
|
export declare type __AugmentedQuery<ApiType extends ApiTypes> = AugmentedQuery<ApiType, () => unknown>;
|
|
9
9
|
export declare type __QueryableStorageEntry<ApiType extends ApiTypes> = QueryableStorageEntry<ApiType>;
|
|
@@ -13,27 +13,27 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
13
13
|
/**
|
|
14
14
|
* All [`Document`] attached to an asset.
|
|
15
15
|
**/
|
|
16
|
-
assetDocuments: AugmentedQuery<ApiType, (arg1:
|
|
17
|
-
|
|
16
|
+
assetDocuments: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesAssetAssetId | string | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<PolymeshPrimitivesDocument>>, [
|
|
17
|
+
PolymeshPrimitivesAssetAssetId,
|
|
18
18
|
u32
|
|
19
19
|
]>;
|
|
20
20
|
/**
|
|
21
|
-
* [`DocumentId`] counter per [`
|
|
21
|
+
* [`DocumentId`] counter per [`AssetId`].
|
|
22
22
|
**/
|
|
23
|
-
assetDocumentsIdSequence: AugmentedQuery<ApiType, (arg:
|
|
24
|
-
|
|
23
|
+
assetDocumentsIdSequence: AugmentedQuery<ApiType, (arg: PolymeshPrimitivesAssetAssetId | string | Uint8Array) => Observable<u32>, [
|
|
24
|
+
PolymeshPrimitivesAssetAssetId
|
|
25
25
|
]>;
|
|
26
26
|
/**
|
|
27
|
-
* Maps each [`
|
|
27
|
+
* Maps each [`AssetId`] to its asset identifiers ([`AssetIdentifier`]).
|
|
28
28
|
**/
|
|
29
|
-
assetIdentifiers: AugmentedQuery<ApiType, (arg:
|
|
30
|
-
|
|
29
|
+
assetIdentifiers: AugmentedQuery<ApiType, (arg: PolymeshPrimitivesAssetAssetId | string | Uint8Array) => Observable<Vec<PolymeshPrimitivesAssetIdentifier>>, [
|
|
30
|
+
PolymeshPrimitivesAssetAssetId
|
|
31
31
|
]>;
|
|
32
32
|
/**
|
|
33
|
-
* Maps all [`
|
|
33
|
+
* Maps all [`AssetId`] that are mapped to a [`Ticker`].
|
|
34
34
|
**/
|
|
35
|
-
|
|
36
|
-
|
|
35
|
+
assetIdTicker: AugmentedQuery<ApiType, (arg: PolymeshPrimitivesAssetAssetId | string | Uint8Array) => Observable<Option<PolymeshPrimitivesTicker>>, [
|
|
36
|
+
PolymeshPrimitivesAssetAssetId
|
|
37
37
|
]>;
|
|
38
38
|
/**
|
|
39
39
|
* Asset Metadata Global Key -> Name.
|
|
@@ -56,75 +56,75 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
56
56
|
/**
|
|
57
57
|
* Asset Metadata Local Key -> Name.
|
|
58
58
|
**/
|
|
59
|
-
assetMetadataLocalKeyToName: AugmentedQuery<ApiType, (arg1:
|
|
60
|
-
|
|
59
|
+
assetMetadataLocalKeyToName: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesAssetAssetId | string | Uint8Array, arg2: u64 | AnyNumber | Uint8Array) => Observable<Option<Bytes>>, [
|
|
60
|
+
PolymeshPrimitivesAssetAssetId,
|
|
61
61
|
u64
|
|
62
62
|
]>;
|
|
63
63
|
/**
|
|
64
64
|
* Asset Metadata Local Name -> Key.
|
|
65
65
|
**/
|
|
66
|
-
assetMetadataLocalNameToKey: AugmentedQuery<ApiType, (arg1:
|
|
67
|
-
|
|
66
|
+
assetMetadataLocalNameToKey: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesAssetAssetId | string | Uint8Array, arg2: Bytes | string | Uint8Array) => Observable<Option<u64>>, [
|
|
67
|
+
PolymeshPrimitivesAssetAssetId,
|
|
68
68
|
Bytes
|
|
69
69
|
]>;
|
|
70
70
|
/**
|
|
71
71
|
* Asset Metadata Local Key specs.
|
|
72
72
|
**/
|
|
73
|
-
assetMetadataLocalSpecs: AugmentedQuery<ApiType, (arg1:
|
|
74
|
-
|
|
73
|
+
assetMetadataLocalSpecs: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesAssetAssetId | string | Uint8Array, arg2: u64 | AnyNumber | Uint8Array) => Observable<Option<PolymeshPrimitivesAssetMetadataAssetMetadataSpec>>, [
|
|
74
|
+
PolymeshPrimitivesAssetAssetId,
|
|
75
75
|
u64
|
|
76
76
|
]>;
|
|
77
77
|
/**
|
|
78
78
|
* Details for an asset's Metadata values.
|
|
79
79
|
**/
|
|
80
|
-
assetMetadataValueDetails: AugmentedQuery<ApiType, (arg1:
|
|
80
|
+
assetMetadataValueDetails: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesAssetAssetId | string | Uint8Array, arg2: PolymeshPrimitivesAssetMetadataAssetMetadataKey | {
|
|
81
81
|
Global: any;
|
|
82
82
|
} | {
|
|
83
83
|
Local: any;
|
|
84
84
|
} | string | Uint8Array) => Observable<Option<PolymeshPrimitivesAssetMetadataAssetMetadataValueDetail>>, [
|
|
85
|
-
|
|
85
|
+
PolymeshPrimitivesAssetAssetId,
|
|
86
86
|
PolymeshPrimitivesAssetMetadataAssetMetadataKey
|
|
87
87
|
]>;
|
|
88
88
|
/**
|
|
89
89
|
* Metatdata values for an asset.
|
|
90
90
|
**/
|
|
91
|
-
assetMetadataValues: AugmentedQuery<ApiType, (arg1:
|
|
91
|
+
assetMetadataValues: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesAssetAssetId | string | Uint8Array, arg2: PolymeshPrimitivesAssetMetadataAssetMetadataKey | {
|
|
92
92
|
Global: any;
|
|
93
93
|
} | {
|
|
94
94
|
Local: any;
|
|
95
95
|
} | string | Uint8Array) => Observable<Option<Bytes>>, [
|
|
96
|
-
|
|
96
|
+
PolymeshPrimitivesAssetAssetId,
|
|
97
97
|
PolymeshPrimitivesAssetMetadataAssetMetadataKey
|
|
98
98
|
]>;
|
|
99
99
|
/**
|
|
100
|
-
* Maps each [`
|
|
100
|
+
* Maps each [`AssetId`] to its underling [`AssetName`].
|
|
101
101
|
**/
|
|
102
|
-
assetNames: AugmentedQuery<ApiType, (arg:
|
|
103
|
-
|
|
102
|
+
assetNames: AugmentedQuery<ApiType, (arg: PolymeshPrimitivesAssetAssetId | string | Uint8Array) => Observable<Option<Bytes>>, [
|
|
103
|
+
PolymeshPrimitivesAssetAssetId
|
|
104
104
|
]>;
|
|
105
105
|
/**
|
|
106
|
-
* A per account nonce that is used for generating an [`
|
|
106
|
+
* A per account nonce that is used for generating an [`AssetId`].
|
|
107
107
|
**/
|
|
108
108
|
assetNonce: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<u64>, [
|
|
109
109
|
AccountId32
|
|
110
110
|
]>;
|
|
111
111
|
/**
|
|
112
|
-
* Maps each [`
|
|
112
|
+
* Maps each [`AssetId`] to its underling [`AssetDetails`].
|
|
113
113
|
**/
|
|
114
|
-
assets: AugmentedQuery<ApiType, (arg:
|
|
115
|
-
|
|
114
|
+
assets: AugmentedQuery<ApiType, (arg: PolymeshPrimitivesAssetAssetId | string | Uint8Array) => Observable<Option<PalletAssetAssetDetails>>, [
|
|
115
|
+
PolymeshPrimitivesAssetAssetId
|
|
116
116
|
]>;
|
|
117
117
|
/**
|
|
118
118
|
* A list of assets that exempt all users from affirming its receivement.
|
|
119
119
|
**/
|
|
120
|
-
assetsExemptFromAffirmation: AugmentedQuery<ApiType, (arg:
|
|
121
|
-
|
|
120
|
+
assetsExemptFromAffirmation: AugmentedQuery<ApiType, (arg: PolymeshPrimitivesAssetAssetId | string | Uint8Array) => Observable<bool>, [
|
|
121
|
+
PolymeshPrimitivesAssetAssetId
|
|
122
122
|
]>;
|
|
123
123
|
/**
|
|
124
|
-
* Tracks the total [`Balance`] for each [`
|
|
124
|
+
* Tracks the total [`Balance`] for each [`AssetId`] per [`IdentityId`].
|
|
125
125
|
**/
|
|
126
|
-
balanceOf: AugmentedQuery<ApiType, (arg1:
|
|
127
|
-
|
|
126
|
+
balanceOf: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesAssetAssetId | string | Uint8Array, arg2: PolymeshPrimitivesIdentityId | string | Uint8Array) => Observable<u128>, [
|
|
127
|
+
PolymeshPrimitivesAssetAssetId,
|
|
128
128
|
PolymeshPrimitivesIdentityId
|
|
129
129
|
]>;
|
|
130
130
|
/**
|
|
@@ -132,10 +132,10 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
132
132
|
**/
|
|
133
133
|
currentAssetMetadataGlobalKey: AugmentedQuery<ApiType, () => Observable<Option<u64>>, []>;
|
|
134
134
|
/**
|
|
135
|
-
* The last [`AssetMetadataLocalKey`] used for [`
|
|
135
|
+
* The last [`AssetMetadataLocalKey`] used for [`AssetId`].
|
|
136
136
|
**/
|
|
137
|
-
currentAssetMetadataLocalKey: AugmentedQuery<ApiType, (arg:
|
|
138
|
-
|
|
137
|
+
currentAssetMetadataLocalKey: AugmentedQuery<ApiType, (arg: PolymeshPrimitivesAssetAssetId | string | Uint8Array) => Observable<Option<u64>>, [
|
|
138
|
+
PolymeshPrimitivesAssetAssetId
|
|
139
139
|
]>;
|
|
140
140
|
/**
|
|
141
141
|
* The next `AssetType::Custom` ID in the sequence.
|
|
@@ -156,51 +156,51 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
156
156
|
Bytes
|
|
157
157
|
]>;
|
|
158
158
|
/**
|
|
159
|
-
* Returns `true` if transfers for the token associated to [`
|
|
159
|
+
* Returns `true` if transfers for the token associated to [`AssetId`] are frozen. Otherwise, returns `false`.
|
|
160
160
|
**/
|
|
161
|
-
frozen: AugmentedQuery<ApiType, (arg:
|
|
162
|
-
|
|
161
|
+
frozen: AugmentedQuery<ApiType, (arg: PolymeshPrimitivesAssetAssetId | string | Uint8Array) => Observable<bool>, [
|
|
162
|
+
PolymeshPrimitivesAssetAssetId
|
|
163
163
|
]>;
|
|
164
164
|
/**
|
|
165
|
-
* Maps each [`
|
|
165
|
+
* Maps each [`AssetId`] to the name of its founding round ([`FundingRoundName`]).
|
|
166
166
|
**/
|
|
167
|
-
fundingRound: AugmentedQuery<ApiType, (arg:
|
|
168
|
-
|
|
167
|
+
fundingRound: AugmentedQuery<ApiType, (arg: PolymeshPrimitivesAssetAssetId | string | Uint8Array) => Observable<Bytes>, [
|
|
168
|
+
PolymeshPrimitivesAssetAssetId
|
|
169
169
|
]>;
|
|
170
170
|
/**
|
|
171
171
|
* The total [`Balance`] of tokens issued in all recorded funding rounds ([`FundingRoundName`]).
|
|
172
172
|
**/
|
|
173
|
-
issuedInFundingRound: AugmentedQuery<ApiType, (arg: ITuple<[
|
|
174
|
-
ITuple<[
|
|
173
|
+
issuedInFundingRound: AugmentedQuery<ApiType, (arg: ITuple<[PolymeshPrimitivesAssetAssetId, Bytes]> | [PolymeshPrimitivesAssetAssetId | string | Uint8Array, Bytes | string | Uint8Array]) => Observable<u128>, [
|
|
174
|
+
ITuple<[PolymeshPrimitivesAssetAssetId, Bytes]>
|
|
175
175
|
]>;
|
|
176
176
|
/**
|
|
177
177
|
* The list of mandatory mediators for every ticker.
|
|
178
178
|
**/
|
|
179
|
-
mandatoryMediators: AugmentedQuery<ApiType, (arg:
|
|
180
|
-
|
|
179
|
+
mandatoryMediators: AugmentedQuery<ApiType, (arg: PolymeshPrimitivesAssetAssetId | string | Uint8Array) => Observable<BTreeSet<PolymeshPrimitivesIdentityId>>, [
|
|
180
|
+
PolymeshPrimitivesAssetAssetId
|
|
181
181
|
]>;
|
|
182
182
|
/**
|
|
183
183
|
* All assets that don't need an affirmation to be received by an identity.
|
|
184
184
|
**/
|
|
185
|
-
preApprovedAsset: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesIdentityId | string | Uint8Array, arg2:
|
|
185
|
+
preApprovedAsset: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesIdentityId | string | Uint8Array, arg2: PolymeshPrimitivesAssetAssetId | string | Uint8Array) => Observable<bool>, [
|
|
186
186
|
PolymeshPrimitivesIdentityId,
|
|
187
|
-
|
|
187
|
+
PolymeshPrimitivesAssetAssetId
|
|
188
188
|
]>;
|
|
189
189
|
/**
|
|
190
190
|
* All security tokens owned by a user.
|
|
191
191
|
**/
|
|
192
|
-
securityTokensOwnedByUser: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesIdentityId | string | Uint8Array, arg2:
|
|
192
|
+
securityTokensOwnedByUser: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesIdentityId | string | Uint8Array, arg2: PolymeshPrimitivesAssetAssetId | string | Uint8Array) => Observable<bool>, [
|
|
193
193
|
PolymeshPrimitivesIdentityId,
|
|
194
|
-
|
|
194
|
+
PolymeshPrimitivesAssetAssetId
|
|
195
195
|
]>;
|
|
196
196
|
/**
|
|
197
197
|
* Storage version.
|
|
198
198
|
**/
|
|
199
199
|
storageVersion: AugmentedQuery<ApiType, () => Observable<u8>, []>;
|
|
200
200
|
/**
|
|
201
|
-
* Maps all [`Ticker`] that are linked to an [`
|
|
201
|
+
* Maps all [`Ticker`] that are linked to an [`AssetId`].
|
|
202
202
|
**/
|
|
203
|
-
|
|
203
|
+
tickerAssetId: AugmentedQuery<ApiType, (arg: PolymeshPrimitivesTicker | string | Uint8Array) => Observable<Option<PolymeshPrimitivesAssetAssetId>>, [
|
|
204
204
|
PolymeshPrimitivesTicker
|
|
205
205
|
]>;
|
|
206
206
|
/**
|
|
@@ -466,18 +466,18 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
466
466
|
/**
|
|
467
467
|
* Balance of a DID at a checkpoint.
|
|
468
468
|
*
|
|
469
|
-
* ([`
|
|
469
|
+
* ([`AssetId`], did, checkpoint ID) -> Balance of a DID at a checkpoint
|
|
470
470
|
**/
|
|
471
|
-
balance: AugmentedQuery<ApiType, (arg1: ITuple<[
|
|
472
|
-
ITuple<[
|
|
471
|
+
balance: AugmentedQuery<ApiType, (arg1: ITuple<[PolymeshPrimitivesAssetAssetId, u64]> | [PolymeshPrimitivesAssetAssetId | string | Uint8Array, u64 | AnyNumber | Uint8Array], arg2: PolymeshPrimitivesIdentityId | string | Uint8Array) => Observable<u128>, [
|
|
472
|
+
ITuple<[PolymeshPrimitivesAssetAssetId, u64]>,
|
|
473
473
|
PolymeshPrimitivesIdentityId
|
|
474
474
|
]>;
|
|
475
475
|
/**
|
|
476
476
|
* Checkpoints where a DID's balance was updated.
|
|
477
|
-
* ([`
|
|
477
|
+
* ([`AssetId`], did) -> [checkpoint ID where user balance changed]
|
|
478
478
|
**/
|
|
479
|
-
balanceUpdates: AugmentedQuery<ApiType, (arg1:
|
|
480
|
-
|
|
479
|
+
balanceUpdates: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesAssetAssetId | string | Uint8Array, arg2: PolymeshPrimitivesIdentityId | string | Uint8Array) => Observable<Vec<u64>>, [
|
|
480
|
+
PolymeshPrimitivesAssetAssetId,
|
|
481
481
|
PolymeshPrimitivesIdentityId
|
|
482
482
|
]>;
|
|
483
483
|
/**
|
|
@@ -485,44 +485,44 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
485
485
|
*
|
|
486
486
|
* This is used to quickly find the next checkpoint from a asset's schedules.
|
|
487
487
|
*
|
|
488
|
-
* ([`
|
|
488
|
+
* ([`AssetId`]) -> next checkpoints
|
|
489
489
|
**/
|
|
490
|
-
cachedNextCheckpoints: AugmentedQuery<ApiType, (arg:
|
|
491
|
-
|
|
490
|
+
cachedNextCheckpoints: AugmentedQuery<ApiType, (arg: PolymeshPrimitivesAssetAssetId | string | Uint8Array) => Observable<Option<PolymeshCommonUtilitiesCheckpointNextCheckpoints>>, [
|
|
491
|
+
PolymeshPrimitivesAssetAssetId
|
|
492
492
|
]>;
|
|
493
493
|
/**
|
|
494
494
|
* Checkpoints ID generator sequence.
|
|
495
495
|
* ID of first checkpoint is 1 instead of 0.
|
|
496
496
|
*
|
|
497
|
-
* ([`
|
|
497
|
+
* ([`AssetId`]) -> no. of checkpoints
|
|
498
498
|
**/
|
|
499
|
-
checkpointIdSequence: AugmentedQuery<ApiType, (arg:
|
|
500
|
-
|
|
499
|
+
checkpointIdSequence: AugmentedQuery<ApiType, (arg: PolymeshPrimitivesAssetAssetId | string | Uint8Array) => Observable<u64>, [
|
|
500
|
+
PolymeshPrimitivesAssetAssetId
|
|
501
501
|
]>;
|
|
502
502
|
/**
|
|
503
503
|
* Scheduled checkpoints.
|
|
504
504
|
*
|
|
505
|
-
* ([`
|
|
505
|
+
* ([`AssetId`], schedule ID) -> schedule checkpoints
|
|
506
506
|
**/
|
|
507
|
-
scheduledCheckpoints: AugmentedQuery<ApiType, (arg1:
|
|
508
|
-
|
|
507
|
+
scheduledCheckpoints: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesAssetAssetId | string | Uint8Array, arg2: u64 | AnyNumber | Uint8Array) => Observable<Option<PolymeshCommonUtilitiesCheckpointScheduleCheckpoints>>, [
|
|
508
|
+
PolymeshPrimitivesAssetAssetId,
|
|
509
509
|
u64
|
|
510
510
|
]>;
|
|
511
511
|
/**
|
|
512
512
|
* Checkpoint schedule ID sequence for assets.
|
|
513
513
|
*
|
|
514
|
-
* ([`
|
|
514
|
+
* ([`AssetId`]) -> schedule ID
|
|
515
515
|
**/
|
|
516
|
-
scheduleIdSequence: AugmentedQuery<ApiType, (arg:
|
|
517
|
-
|
|
516
|
+
scheduleIdSequence: AugmentedQuery<ApiType, (arg: PolymeshPrimitivesAssetAssetId | string | Uint8Array) => Observable<u64>, [
|
|
517
|
+
PolymeshPrimitivesAssetAssetId
|
|
518
518
|
]>;
|
|
519
519
|
/**
|
|
520
520
|
* All the checkpoints a given schedule originated.
|
|
521
521
|
*
|
|
522
|
-
* ([`
|
|
522
|
+
* ([`AssetId`], schedule ID) -> [checkpoint ID]
|
|
523
523
|
**/
|
|
524
|
-
schedulePoints: AugmentedQuery<ApiType, (arg1:
|
|
525
|
-
|
|
524
|
+
schedulePoints: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesAssetAssetId | string | Uint8Array, arg2: u64 | AnyNumber | Uint8Array) => Observable<Vec<u64>>, [
|
|
525
|
+
PolymeshPrimitivesAssetAssetId,
|
|
526
526
|
u64
|
|
527
527
|
]>;
|
|
528
528
|
/**
|
|
@@ -533,10 +533,10 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
533
533
|
* Thus, as long as `strong_ref_count(schedule_id) > 0`,
|
|
534
534
|
* `remove_schedule(schedule_id)` will error.
|
|
535
535
|
*
|
|
536
|
-
* ([`
|
|
536
|
+
* ([`AssetId`], schedule ID) -> strong ref count
|
|
537
537
|
**/
|
|
538
|
-
scheduleRefCount: AugmentedQuery<ApiType, (arg1:
|
|
539
|
-
|
|
538
|
+
scheduleRefCount: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesAssetAssetId | string | Uint8Array, arg2: u64 | AnyNumber | Uint8Array) => Observable<u32>, [
|
|
539
|
+
PolymeshPrimitivesAssetAssetId,
|
|
540
540
|
u64
|
|
541
541
|
]>;
|
|
542
542
|
/**
|
|
@@ -553,19 +553,19 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
553
553
|
* Every schedule-originated checkpoint maps its ID to its due time.
|
|
554
554
|
* Every checkpoint manually created maps its ID to the time of recording.
|
|
555
555
|
*
|
|
556
|
-
* ([`
|
|
556
|
+
* ([`AssetId`]) -> (checkpoint ID) -> checkpoint timestamp
|
|
557
557
|
**/
|
|
558
|
-
timestamps: AugmentedQuery<ApiType, (arg1:
|
|
559
|
-
|
|
558
|
+
timestamps: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesAssetAssetId | string | Uint8Array, arg2: u64 | AnyNumber | Uint8Array) => Observable<u64>, [
|
|
559
|
+
PolymeshPrimitivesAssetAssetId,
|
|
560
560
|
u64
|
|
561
561
|
]>;
|
|
562
562
|
/**
|
|
563
563
|
* Total supply of the token at the checkpoint.
|
|
564
564
|
*
|
|
565
|
-
* ([`
|
|
565
|
+
* ([`AssetId`], checkpointId) -> total supply at given checkpoint
|
|
566
566
|
**/
|
|
567
|
-
totalSupply: AugmentedQuery<ApiType, (arg1:
|
|
568
|
-
|
|
567
|
+
totalSupply: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesAssetAssetId | string | Uint8Array, arg2: u64 | AnyNumber | Uint8Array) => Observable<u128>, [
|
|
568
|
+
PolymeshPrimitivesAssetAssetId,
|
|
569
569
|
u64
|
|
570
570
|
]>;
|
|
571
571
|
};
|
|
@@ -587,20 +587,20 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
587
587
|
};
|
|
588
588
|
complianceManager: {
|
|
589
589
|
/**
|
|
590
|
-
* Compliance for an asset ([`
|
|
590
|
+
* Compliance for an asset ([`AssetId`] -> [`AssetCompliance`])
|
|
591
591
|
**/
|
|
592
|
-
assetCompliances: AugmentedQuery<ApiType, (arg:
|
|
593
|
-
|
|
592
|
+
assetCompliances: AugmentedQuery<ApiType, (arg: PolymeshPrimitivesAssetAssetId | string | Uint8Array) => Observable<PolymeshPrimitivesComplianceManagerAssetCompliance>, [
|
|
593
|
+
PolymeshPrimitivesAssetAssetId
|
|
594
594
|
]>;
|
|
595
595
|
/**
|
|
596
596
|
* Storage version.
|
|
597
597
|
**/
|
|
598
598
|
storageVersion: AugmentedQuery<ApiType, () => Observable<u8>, []>;
|
|
599
599
|
/**
|
|
600
|
-
* List of trusted claim issuer [`
|
|
600
|
+
* List of trusted claim issuer [`AssetId`] -> Issuer Identity
|
|
601
601
|
**/
|
|
602
|
-
trustedClaimIssuer: AugmentedQuery<ApiType, (arg:
|
|
603
|
-
|
|
602
|
+
trustedClaimIssuer: AugmentedQuery<ApiType, (arg: PolymeshPrimitivesAssetAssetId | string | Uint8Array) => Observable<Vec<PolymeshPrimitivesConditionTrustedIssuer>>, [
|
|
603
|
+
PolymeshPrimitivesAssetAssetId
|
|
604
604
|
]>;
|
|
605
605
|
};
|
|
606
606
|
contracts: {
|
|
@@ -669,8 +669,8 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
669
669
|
* Associations from CAs to `Document`s via their IDs.
|
|
670
670
|
* (CAId => [DocumentId])
|
|
671
671
|
*
|
|
672
|
-
* The `CorporateActions` map stores `
|
|
673
|
-
* so we can infer `
|
|
672
|
+
* The `CorporateActions` map stores `AssetId => LocalId => The CA`,
|
|
673
|
+
* so we can infer `AssetId => CAId`. Therefore, we don't need a double map.
|
|
674
674
|
**/
|
|
675
675
|
caDocLink: AugmentedQuery<ApiType, (arg: PalletCorporateActionsCaId | {
|
|
676
676
|
assetId?: any;
|
|
@@ -679,31 +679,31 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
679
679
|
PalletCorporateActionsCaId
|
|
680
680
|
]>;
|
|
681
681
|
/**
|
|
682
|
-
* The next per-`
|
|
683
|
-
* The full ID is defined as a combination of `
|
|
682
|
+
* The next per-`AssetId` CA ID in the sequence.
|
|
683
|
+
* The full ID is defined as a combination of `AssetId` and a number in this sequence.
|
|
684
684
|
**/
|
|
685
|
-
caIdSequence: AugmentedQuery<ApiType, (arg:
|
|
686
|
-
|
|
685
|
+
caIdSequence: AugmentedQuery<ApiType, (arg: PolymeshPrimitivesAssetAssetId | string | Uint8Array) => Observable<u32>, [
|
|
686
|
+
PolymeshPrimitivesAssetAssetId
|
|
687
687
|
]>;
|
|
688
688
|
/**
|
|
689
689
|
* All recorded CAs thus far.
|
|
690
690
|
* Only generic information is stored here.
|
|
691
691
|
* Specific `CAKind`s, e.g., benefits and corporate ballots, may use additional on-chain storage.
|
|
692
692
|
*
|
|
693
|
-
* (
|
|
693
|
+
* (AssetId => local ID => the corporate action)
|
|
694
694
|
**/
|
|
695
|
-
corporateActions: AugmentedQuery<ApiType, (arg1:
|
|
696
|
-
|
|
695
|
+
corporateActions: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesAssetAssetId | string | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletCorporateActionsCorporateAction>>, [
|
|
696
|
+
PolymeshPrimitivesAssetAssetId,
|
|
697
697
|
u32
|
|
698
698
|
]>;
|
|
699
699
|
/**
|
|
700
700
|
* The identities targeted by default for CAs for this asset,
|
|
701
701
|
* either to be excluded or included.
|
|
702
702
|
*
|
|
703
|
-
* (
|
|
703
|
+
* (AssetId => target identities)
|
|
704
704
|
**/
|
|
705
|
-
defaultTargetIdentities: AugmentedQuery<ApiType, (arg:
|
|
706
|
-
|
|
705
|
+
defaultTargetIdentities: AugmentedQuery<ApiType, (arg: PolymeshPrimitivesAssetAssetId | string | Uint8Array) => Observable<PalletCorporateActionsTargetIdentities>, [
|
|
706
|
+
PolymeshPrimitivesAssetAssetId
|
|
707
707
|
]>;
|
|
708
708
|
/**
|
|
709
709
|
* The default amount of tax to withhold ("withholding tax", WT) for this asset when distributing dividends.
|
|
@@ -713,10 +713,10 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
713
713
|
* Alice lives in Sweden, so Skatteverket (the Swedish tax authority) wants 30% of that.
|
|
714
714
|
* Then those 100 * 30% are withheld from Alice, and ACME will send them to Skatteverket.
|
|
715
715
|
*
|
|
716
|
-
* (
|
|
716
|
+
* (AssetId => % to withhold)
|
|
717
717
|
**/
|
|
718
|
-
defaultWithholdingTax: AugmentedQuery<ApiType, (arg:
|
|
719
|
-
|
|
718
|
+
defaultWithholdingTax: AugmentedQuery<ApiType, (arg: PolymeshPrimitivesAssetAssetId | string | Uint8Array) => Observable<Permill>, [
|
|
719
|
+
PolymeshPrimitivesAssetAssetId
|
|
720
720
|
]>;
|
|
721
721
|
/**
|
|
722
722
|
* Associates details in free-form text with a CA by its ID.
|
|
@@ -729,13 +729,13 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
729
729
|
PalletCorporateActionsCaId
|
|
730
730
|
]>;
|
|
731
731
|
/**
|
|
732
|
-
* The amount of tax to withhold ("withholding tax", WT) for a certain
|
|
732
|
+
* The amount of tax to withhold ("withholding tax", WT) for a certain AssetId x DID.
|
|
733
733
|
* If an entry exists for a certain DID, it overrides the default in `DefaultWithholdingTax`.
|
|
734
734
|
*
|
|
735
|
-
* (
|
|
735
|
+
* (AssetId => [(did, % to withhold)]
|
|
736
736
|
**/
|
|
737
|
-
didWithholdingTax: AugmentedQuery<ApiType, (arg:
|
|
738
|
-
|
|
737
|
+
didWithholdingTax: AugmentedQuery<ApiType, (arg: PolymeshPrimitivesAssetAssetId | string | Uint8Array) => Observable<Vec<ITuple<[PolymeshPrimitivesIdentityId, Permill]>>>, [
|
|
738
|
+
PolymeshPrimitivesAssetAssetId
|
|
739
739
|
]>;
|
|
740
740
|
/**
|
|
741
741
|
* Determines the maximum number of bytes that the free-form `details` of a CA can store.
|
|
@@ -927,38 +927,38 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
927
927
|
/**
|
|
928
928
|
* Maps an agent (`IdentityId`) to all assets they belong to, if any.
|
|
929
929
|
**/
|
|
930
|
-
agentOf: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesIdentityId | string | Uint8Array, arg2:
|
|
930
|
+
agentOf: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesIdentityId | string | Uint8Array, arg2: PolymeshPrimitivesAssetAssetId | string | Uint8Array) => Observable<Null>, [
|
|
931
931
|
PolymeshPrimitivesIdentityId,
|
|
932
|
-
|
|
932
|
+
PolymeshPrimitivesAssetAssetId
|
|
933
933
|
]>;
|
|
934
934
|
/**
|
|
935
935
|
* The next per-asset AG ID in the sequence.
|
|
936
936
|
*
|
|
937
|
-
* The full ID is defined as a combination of `
|
|
937
|
+
* The full ID is defined as a combination of `AssetId` and a number in this sequence,
|
|
938
938
|
* which starts from 1, rather than 0.
|
|
939
939
|
**/
|
|
940
|
-
agIdSequence: AugmentedQuery<ApiType, (arg:
|
|
941
|
-
|
|
940
|
+
agIdSequence: AugmentedQuery<ApiType, (arg: PolymeshPrimitivesAssetAssetId | string | Uint8Array) => Observable<u32>, [
|
|
941
|
+
PolymeshPrimitivesAssetAssetId
|
|
942
942
|
]>;
|
|
943
943
|
/**
|
|
944
|
-
* Maps agents (`IdentityId`) for an `
|
|
944
|
+
* Maps agents (`IdentityId`) for an `AssetId` to what AG they belong to, if any.
|
|
945
945
|
**/
|
|
946
|
-
groupOfAgent: AugmentedQuery<ApiType, (arg1:
|
|
947
|
-
|
|
946
|
+
groupOfAgent: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesAssetAssetId | string | Uint8Array, arg2: PolymeshPrimitivesIdentityId | string | Uint8Array) => Observable<Option<PolymeshPrimitivesAgentAgentGroup>>, [
|
|
947
|
+
PolymeshPrimitivesAssetAssetId,
|
|
948
948
|
PolymeshPrimitivesIdentityId
|
|
949
949
|
]>;
|
|
950
950
|
/**
|
|
951
|
-
* For custom AGs of an `
|
|
951
|
+
* For custom AGs of an `AssetId`, maps to what permissions an agent in that AG would have.
|
|
952
952
|
**/
|
|
953
|
-
groupPermissions: AugmentedQuery<ApiType, (arg1:
|
|
954
|
-
|
|
953
|
+
groupPermissions: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesAssetAssetId | string | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<PolymeshPrimitivesSecondaryKeyExtrinsicPermissions>>, [
|
|
954
|
+
PolymeshPrimitivesAssetAssetId,
|
|
955
955
|
u32
|
|
956
956
|
]>;
|
|
957
957
|
/**
|
|
958
|
-
* Maps an `
|
|
958
|
+
* Maps an `AssetId` to the number of `Full` agents for it.
|
|
959
959
|
**/
|
|
960
|
-
numFullAgents: AugmentedQuery<ApiType, (arg:
|
|
961
|
-
|
|
960
|
+
numFullAgents: AugmentedQuery<ApiType, (arg: PolymeshPrimitivesAssetAssetId | string | Uint8Array) => Observable<u32>, [
|
|
961
|
+
PolymeshPrimitivesAssetAssetId
|
|
962
962
|
]>;
|
|
963
963
|
storageVersion: AugmentedQuery<ApiType, () => Observable<u8>, []>;
|
|
964
964
|
};
|
|
@@ -1103,7 +1103,7 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1103
1103
|
/**
|
|
1104
1104
|
* A secondary key's asset permissions.
|
|
1105
1105
|
**/
|
|
1106
|
-
keyAssetPermissions: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<
|
|
1106
|
+
keyAssetPermissions: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PolymeshPrimitivesSubsetSubsetRestrictionAssetId>>, [
|
|
1107
1107
|
AccountId32
|
|
1108
1108
|
]>;
|
|
1109
1109
|
/**
|
|
@@ -1229,6 +1229,14 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1229
1229
|
* Proposal execution reentry guard.
|
|
1230
1230
|
**/
|
|
1231
1231
|
executionReentry: AugmentedQuery<ApiType, () => Observable<bool>, []>;
|
|
1232
|
+
/**
|
|
1233
|
+
* The last proposal id before the multisig changed signers or signatures required.
|
|
1234
|
+
*
|
|
1235
|
+
* multisig => Option<proposal id>
|
|
1236
|
+
**/
|
|
1237
|
+
lastInvalidProposal: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<u64>>, [
|
|
1238
|
+
AccountId32
|
|
1239
|
+
]>;
|
|
1232
1240
|
/**
|
|
1233
1241
|
* Nonce to ensure unique MultiSig addresses are generated; starts from 1.
|
|
1234
1242
|
**/
|
|
@@ -1324,8 +1332,8 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1324
1332
|
/**
|
|
1325
1333
|
* The collection id corresponding to each asset.
|
|
1326
1334
|
**/
|
|
1327
|
-
collectionAsset: AugmentedQuery<ApiType, (arg:
|
|
1328
|
-
|
|
1335
|
+
collectionAsset: AugmentedQuery<ApiType, (arg: PolymeshPrimitivesAssetAssetId | string | Uint8Array) => Observable<u64>, [
|
|
1336
|
+
PolymeshPrimitivesAssetAssetId
|
|
1329
1337
|
]>;
|
|
1330
1338
|
/**
|
|
1331
1339
|
* All mandatory metadata keys for a given collection.
|
|
@@ -1357,21 +1365,21 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1357
1365
|
/**
|
|
1358
1366
|
* Tracks the owner of an NFT
|
|
1359
1367
|
**/
|
|
1360
|
-
nftOwner: AugmentedQuery<ApiType, (arg1:
|
|
1361
|
-
|
|
1368
|
+
nftOwner: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesAssetAssetId | string | Uint8Array, arg2: u64 | AnyNumber | Uint8Array) => Observable<Option<PolymeshPrimitivesIdentityIdPortfolioId>>, [
|
|
1369
|
+
PolymeshPrimitivesAssetAssetId,
|
|
1362
1370
|
u64
|
|
1363
1371
|
]>;
|
|
1364
1372
|
/**
|
|
1365
1373
|
* The total number of NFTs in a collection
|
|
1366
1374
|
**/
|
|
1367
|
-
nfTsInCollection: AugmentedQuery<ApiType, (arg:
|
|
1368
|
-
|
|
1375
|
+
nfTsInCollection: AugmentedQuery<ApiType, (arg: PolymeshPrimitivesAssetAssetId | string | Uint8Array) => Observable<u64>, [
|
|
1376
|
+
PolymeshPrimitivesAssetAssetId
|
|
1369
1377
|
]>;
|
|
1370
1378
|
/**
|
|
1371
1379
|
* The total number of NFTs per identity.
|
|
1372
1380
|
**/
|
|
1373
|
-
numberOfNFTs: AugmentedQuery<ApiType, (arg1:
|
|
1374
|
-
|
|
1381
|
+
numberOfNFTs: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesAssetAssetId | string | Uint8Array, arg2: PolymeshPrimitivesIdentityId | string | Uint8Array) => Observable<u64>, [
|
|
1382
|
+
PolymeshPrimitivesAssetAssetId,
|
|
1375
1383
|
PolymeshPrimitivesIdentityId
|
|
1376
1384
|
]>;
|
|
1377
1385
|
/**
|
|
@@ -1631,9 +1639,9 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1631
1639
|
portfolioAssetBalances: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesIdentityIdPortfolioId | {
|
|
1632
1640
|
did?: any;
|
|
1633
1641
|
kind?: any;
|
|
1634
|
-
} | string | Uint8Array, arg2:
|
|
1642
|
+
} | string | Uint8Array, arg2: PolymeshPrimitivesAssetAssetId | string | Uint8Array) => Observable<u128>, [
|
|
1635
1643
|
PolymeshPrimitivesIdentityIdPortfolioId,
|
|
1636
|
-
|
|
1644
|
+
PolymeshPrimitivesAssetAssetId
|
|
1637
1645
|
]>;
|
|
1638
1646
|
/**
|
|
1639
1647
|
* How many assets with non-zero balance this portfolio contains.
|
|
@@ -1660,9 +1668,9 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1660
1668
|
portfolioLockedAssets: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesIdentityIdPortfolioId | {
|
|
1661
1669
|
did?: any;
|
|
1662
1670
|
kind?: any;
|
|
1663
|
-
} | string | Uint8Array, arg2:
|
|
1671
|
+
} | string | Uint8Array, arg2: PolymeshPrimitivesAssetAssetId | string | Uint8Array) => Observable<u128>, [
|
|
1664
1672
|
PolymeshPrimitivesIdentityIdPortfolioId,
|
|
1665
|
-
|
|
1673
|
+
PolymeshPrimitivesAssetAssetId
|
|
1666
1674
|
]>;
|
|
1667
1675
|
/**
|
|
1668
1676
|
* All locked nft for a given portfolio.
|
|
@@ -1670,9 +1678,9 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1670
1678
|
portfolioLockedNFT: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesIdentityIdPortfolioId | {
|
|
1671
1679
|
did?: any;
|
|
1672
1680
|
kind?: any;
|
|
1673
|
-
} | string | Uint8Array, arg2: ITuple<[
|
|
1681
|
+
} | string | Uint8Array, arg2: ITuple<[PolymeshPrimitivesAssetAssetId, u64]> | [PolymeshPrimitivesAssetAssetId | string | Uint8Array, u64 | AnyNumber | Uint8Array]) => Observable<bool>, [
|
|
1674
1682
|
PolymeshPrimitivesIdentityIdPortfolioId,
|
|
1675
|
-
ITuple<[
|
|
1683
|
+
ITuple<[PolymeshPrimitivesAssetAssetId, u64]>
|
|
1676
1684
|
]>;
|
|
1677
1685
|
/**
|
|
1678
1686
|
* The nft associated to the portfolio.
|
|
@@ -1680,9 +1688,9 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1680
1688
|
portfolioNFT: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesIdentityIdPortfolioId | {
|
|
1681
1689
|
did?: any;
|
|
1682
1690
|
kind?: any;
|
|
1683
|
-
} | string | Uint8Array, arg2: ITuple<[
|
|
1691
|
+
} | string | Uint8Array, arg2: ITuple<[PolymeshPrimitivesAssetAssetId, u64]> | [PolymeshPrimitivesAssetAssetId | string | Uint8Array, u64 | AnyNumber | Uint8Array]) => Observable<bool>, [
|
|
1684
1692
|
PolymeshPrimitivesIdentityIdPortfolioId,
|
|
1685
|
-
ITuple<[
|
|
1693
|
+
ITuple<[PolymeshPrimitivesAssetAssetId, u64]>
|
|
1686
1694
|
]>;
|
|
1687
1695
|
/**
|
|
1688
1696
|
* The set of existing portfolios with their names. If a certain pair of a DID and
|
|
@@ -1706,14 +1714,14 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1706
1714
|
PolymeshPrimitivesIdentityIdPortfolioId
|
|
1707
1715
|
]>;
|
|
1708
1716
|
/**
|
|
1709
|
-
* All portfolios that don't need to affirm the receivement of a given [`
|
|
1717
|
+
* All portfolios that don't need to affirm the receivement of a given [`AssetId`].
|
|
1710
1718
|
**/
|
|
1711
1719
|
preApprovedPortfolios: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesIdentityIdPortfolioId | {
|
|
1712
1720
|
did?: any;
|
|
1713
1721
|
kind?: any;
|
|
1714
|
-
} | string | Uint8Array, arg2:
|
|
1722
|
+
} | string | Uint8Array, arg2: PolymeshPrimitivesAssetAssetId | string | Uint8Array) => Observable<bool>, [
|
|
1715
1723
|
PolymeshPrimitivesIdentityIdPortfolioId,
|
|
1716
|
-
|
|
1724
|
+
PolymeshPrimitivesAssetAssetId
|
|
1717
1725
|
]>;
|
|
1718
1726
|
/**
|
|
1719
1727
|
* Storage version.
|
|
@@ -1938,10 +1946,10 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1938
1946
|
]>;
|
|
1939
1947
|
/**
|
|
1940
1948
|
* Venues that are allowed to create instructions involving a particular asset. Only used if filtering is enabled.
|
|
1941
|
-
* ([`
|
|
1949
|
+
* ([`AssetId`], venue_id) -> allowed
|
|
1942
1950
|
**/
|
|
1943
|
-
venueAllowList: AugmentedQuery<ApiType, (arg1:
|
|
1944
|
-
|
|
1951
|
+
venueAllowList: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesAssetAssetId | string | Uint8Array, arg2: u64 | AnyNumber | Uint8Array) => Observable<bool>, [
|
|
1952
|
+
PolymeshPrimitivesAssetAssetId,
|
|
1945
1953
|
u64
|
|
1946
1954
|
]>;
|
|
1947
1955
|
/**
|
|
@@ -1949,10 +1957,10 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1949
1957
|
**/
|
|
1950
1958
|
venueCounter: AugmentedQuery<ApiType, () => Observable<u64>, []>;
|
|
1951
1959
|
/**
|
|
1952
|
-
* Tracks if a token has enabled filtering venues that can create instructions involving their token.
|
|
1960
|
+
* Tracks if a token has enabled filtering venues that can create instructions involving their token. AssetId -> filtering_enabled
|
|
1953
1961
|
**/
|
|
1954
|
-
venueFiltering: AugmentedQuery<ApiType, (arg:
|
|
1955
|
-
|
|
1962
|
+
venueFiltering: AugmentedQuery<ApiType, (arg: PolymeshPrimitivesAssetAssetId | string | Uint8Array) => Observable<bool>, [
|
|
1963
|
+
PolymeshPrimitivesAssetAssetId
|
|
1956
1964
|
]>;
|
|
1957
1965
|
/**
|
|
1958
1966
|
* Info about a venue. venue_id -> venue
|
|
@@ -2268,10 +2276,10 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
2268
2276
|
};
|
|
2269
2277
|
statistics: {
|
|
2270
2278
|
/**
|
|
2271
|
-
* Maps a set of [`StatType`] for each [`
|
|
2279
|
+
* Maps a set of [`StatType`] for each [`AssetId`].
|
|
2272
2280
|
**/
|
|
2273
|
-
activeAssetStats: AugmentedQuery<ApiType, (arg:
|
|
2274
|
-
|
|
2281
|
+
activeAssetStats: AugmentedQuery<ApiType, (arg: PolymeshPrimitivesAssetAssetId | string | Uint8Array) => Observable<BTreeSet<PolymeshPrimitivesStatisticsStatType>>, [
|
|
2282
|
+
PolymeshPrimitivesAssetAssetId
|
|
2275
2283
|
]>;
|
|
2276
2284
|
/**
|
|
2277
2285
|
* Asset stats.
|
|
@@ -2288,10 +2296,10 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
2288
2296
|
PolymeshPrimitivesStatisticsStat2ndKey
|
|
2289
2297
|
]>;
|
|
2290
2298
|
/**
|
|
2291
|
-
* The [`AssetTransferCompliance`] for each [`
|
|
2299
|
+
* The [`AssetTransferCompliance`] for each [`AssetId`].
|
|
2292
2300
|
**/
|
|
2293
|
-
assetTransferCompliances: AugmentedQuery<ApiType, (arg:
|
|
2294
|
-
|
|
2301
|
+
assetTransferCompliances: AugmentedQuery<ApiType, (arg: PolymeshPrimitivesAssetAssetId | string | Uint8Array) => Observable<PolymeshPrimitivesTransferComplianceAssetTransferCompliance>, [
|
|
2302
|
+
PolymeshPrimitivesAssetAssetId
|
|
2295
2303
|
]>;
|
|
2296
2304
|
/**
|
|
2297
2305
|
* Storage migration version.
|
|
@@ -2313,23 +2321,23 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
2313
2321
|
/**
|
|
2314
2322
|
* Total fundraisers created for a token.
|
|
2315
2323
|
**/
|
|
2316
|
-
fundraiserCount: AugmentedQuery<ApiType, (arg:
|
|
2317
|
-
|
|
2324
|
+
fundraiserCount: AugmentedQuery<ApiType, (arg: PolymeshPrimitivesAssetAssetId | string | Uint8Array) => Observable<u64>, [
|
|
2325
|
+
PolymeshPrimitivesAssetAssetId
|
|
2318
2326
|
]>;
|
|
2319
2327
|
/**
|
|
2320
2328
|
* Name for the Fundraiser. Only used offchain.
|
|
2321
|
-
* (
|
|
2329
|
+
* (AssetId, fundraiser_id) -> Fundraiser name
|
|
2322
2330
|
**/
|
|
2323
|
-
fundraiserNames: AugmentedQuery<ApiType, (arg1:
|
|
2324
|
-
|
|
2331
|
+
fundraiserNames: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesAssetAssetId | string | Uint8Array, arg2: u64 | AnyNumber | Uint8Array) => Observable<Option<Bytes>>, [
|
|
2332
|
+
PolymeshPrimitivesAssetAssetId,
|
|
2325
2333
|
u64
|
|
2326
2334
|
]>;
|
|
2327
2335
|
/**
|
|
2328
2336
|
* All fundraisers that are currently running.
|
|
2329
|
-
* (
|
|
2337
|
+
* (AssetId, fundraiser_id) -> Fundraiser
|
|
2330
2338
|
**/
|
|
2331
|
-
fundraisers: AugmentedQuery<ApiType, (arg1:
|
|
2332
|
-
|
|
2339
|
+
fundraisers: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesAssetAssetId | string | Uint8Array, arg2: u64 | AnyNumber | Uint8Array) => Observable<Option<PalletStoFundraiser>>, [
|
|
2340
|
+
PolymeshPrimitivesAssetAssetId,
|
|
2333
2341
|
u64
|
|
2334
2342
|
]>;
|
|
2335
2343
|
/**
|