@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.
Files changed (89) hide show
  1. package/CHANGELOG.md +61 -1
  2. package/api/client/Assets.js +1 -1
  3. package/api/entities/Account/index.d.ts.map +1 -1
  4. package/api/entities/Account/index.js +13 -3
  5. package/api/entities/Account/index.js.map +1 -1
  6. package/api/entities/Asset/Base/BaseAsset.d.ts +8 -0
  7. package/api/entities/Asset/Base/BaseAsset.d.ts.map +1 -1
  8. package/api/entities/Asset/Base/BaseAsset.js +5 -1
  9. package/api/entities/Asset/Base/BaseAsset.js.map +1 -1
  10. package/api/entities/Identity/Portfolios.d.ts +8 -0
  11. package/api/entities/Identity/Portfolios.d.ts.map +1 -1
  12. package/api/entities/Identity/Portfolios.js +21 -0
  13. package/api/entities/Identity/Portfolios.js.map +1 -1
  14. package/api/entities/Instruction/index.d.ts.map +1 -1
  15. package/api/entities/Instruction/index.js +8 -1
  16. package/api/entities/Instruction/index.js.map +1 -1
  17. package/api/entities/TickerReservation/index.js +1 -1
  18. package/api/entities/Venue/types.d.ts +1 -1
  19. package/api/entities/Venue/types.d.ts.map +1 -1
  20. package/api/procedures/createAsset.d.ts +1 -1
  21. package/api/procedures/createAsset.d.ts.map +1 -1
  22. package/api/procedures/createAsset.js +38 -20
  23. package/api/procedures/createAsset.js.map +1 -1
  24. package/api/procedures/types.d.ts +6 -1
  25. package/api/procedures/types.d.ts.map +1 -1
  26. package/api/procedures/types.js.map +1 -1
  27. package/api/procedures/unlinkTickerFromAsset.d.ts +28 -0
  28. package/api/procedures/unlinkTickerFromAsset.d.ts.map +1 -0
  29. package/api/procedures/unlinkTickerFromAsset.js +81 -0
  30. package/api/procedures/unlinkTickerFromAsset.js.map +1 -0
  31. package/base/Context.js +1 -1
  32. package/generated/types.d.ts +4 -2
  33. package/generated/types.d.ts.map +1 -1
  34. package/generated/types.js +2 -0
  35. package/generated/types.js.map +1 -1
  36. package/internal.d.ts +1 -0
  37. package/internal.d.ts.map +1 -1
  38. package/internal.js +4 -2
  39. package/internal.js.map +1 -1
  40. package/middleware/types.d.ts +1162 -3
  41. package/middleware/types.d.ts.map +1 -1
  42. package/middleware/types.js +540 -4
  43. package/middleware/types.js.map +1 -1
  44. package/npm-package/polymeshassociation-polymesh-sdk-26.0.0-beta.1.tgz +0 -0
  45. package/package.json +2 -2
  46. package/polkadot/asset/definitions.js +1 -1
  47. package/polkadot/augment-api-errors.d.ts +30 -6
  48. package/polkadot/augment-api-errors.d.ts.map +1 -1
  49. package/polkadot/augment-api-events.d.ts +120 -137
  50. package/polkadot/augment-api-events.d.ts.map +1 -1
  51. package/polkadot/augment-api-query.d.ts +170 -162
  52. package/polkadot/augment-api-query.d.ts.map +1 -1
  53. package/polkadot/augment-api-rpc.d.ts +4 -4
  54. package/polkadot/augment-api-rpc.d.ts.map +1 -1
  55. package/polkadot/augment-api-tx.d.ts +198 -258
  56. package/polkadot/augment-api-tx.d.ts.map +1 -1
  57. package/polkadot/augment-types.d.ts +1 -2
  58. package/polkadot/augment-types.d.ts.map +1 -1
  59. package/polkadot/compliance/definitions.js +1 -1
  60. package/polkadot/lookup.d.ts +248 -251
  61. package/polkadot/lookup.d.ts.map +1 -1
  62. package/polkadot/lookup.js +398 -395
  63. package/polkadot/lookup.js.map +1 -1
  64. package/polkadot/polymesh/definitions.d.ts +1 -2
  65. package/polkadot/polymesh/definitions.d.ts.map +1 -1
  66. package/polkadot/polymesh/definitions.js +9 -10
  67. package/polkadot/polymesh/definitions.js.map +1 -1
  68. package/polkadot/polymesh/types.d.ts +10 -11
  69. package/polkadot/polymesh/types.d.ts.map +1 -1
  70. package/polkadot/registry.d.ts +3 -3
  71. package/polkadot/schema.d.ts +1 -2
  72. package/polkadot/schema.d.ts.map +1 -1
  73. package/polkadot/schema.js +14 -15
  74. package/polkadot/schema.js.map +1 -1
  75. package/polkadot/types-lookup.d.ts +411 -414
  76. package/polkadot/types-lookup.d.ts.map +1 -1
  77. package/types/internal.d.ts +4 -4
  78. package/utils/constants.d.ts +1 -5
  79. package/utils/constants.d.ts.map +1 -1
  80. package/utils/constants.js +2 -6
  81. package/utils/constants.js.map +1 -1
  82. package/utils/conversion.d.ts +7 -7
  83. package/utils/conversion.js +2 -2
  84. package/utils/conversion.js.map +1 -1
  85. package/utils/internal.d.ts +2 -2
  86. package/utils/internal.d.ts.map +1 -1
  87. package/utils/internal.js +8 -3
  88. package/utils/internal.js.map +1 -1
  89. 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, 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";
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: PolymeshPrimitivesAssetAssetID | string | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<PolymeshPrimitivesDocument>>, [
17
- PolymeshPrimitivesAssetAssetID,
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 [`AssetID`].
21
+ * [`DocumentId`] counter per [`AssetId`].
22
22
  **/
23
- assetDocumentsIdSequence: AugmentedQuery<ApiType, (arg: PolymeshPrimitivesAssetAssetID | string | Uint8Array) => Observable<u32>, [
24
- PolymeshPrimitivesAssetAssetID
23
+ assetDocumentsIdSequence: AugmentedQuery<ApiType, (arg: PolymeshPrimitivesAssetAssetId | string | Uint8Array) => Observable<u32>, [
24
+ PolymeshPrimitivesAssetAssetId
25
25
  ]>;
26
26
  /**
27
- * Maps each [`AssetID`] to its asset identifiers ([`AssetIdentifier`]).
27
+ * Maps each [`AssetId`] to its asset identifiers ([`AssetIdentifier`]).
28
28
  **/
29
- assetIdentifiers: AugmentedQuery<ApiType, (arg: PolymeshPrimitivesAssetAssetID | string | Uint8Array) => Observable<Vec<PolymeshPrimitivesAssetIdentifier>>, [
30
- PolymeshPrimitivesAssetAssetID
29
+ assetIdentifiers: AugmentedQuery<ApiType, (arg: PolymeshPrimitivesAssetAssetId | string | Uint8Array) => Observable<Vec<PolymeshPrimitivesAssetIdentifier>>, [
30
+ PolymeshPrimitivesAssetAssetId
31
31
  ]>;
32
32
  /**
33
- * Maps all [`AssetID`] that are mapped to a [`Ticker`].
33
+ * Maps all [`AssetId`] that are mapped to a [`Ticker`].
34
34
  **/
35
- assetIDTicker: AugmentedQuery<ApiType, (arg: PolymeshPrimitivesAssetAssetID | string | Uint8Array) => Observable<Option<PolymeshPrimitivesTicker>>, [
36
- PolymeshPrimitivesAssetAssetID
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: PolymeshPrimitivesAssetAssetID | string | Uint8Array, arg2: u64 | AnyNumber | Uint8Array) => Observable<Option<Bytes>>, [
60
- PolymeshPrimitivesAssetAssetID,
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: PolymeshPrimitivesAssetAssetID | string | Uint8Array, arg2: Bytes | string | Uint8Array) => Observable<Option<u64>>, [
67
- PolymeshPrimitivesAssetAssetID,
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: PolymeshPrimitivesAssetAssetID | string | Uint8Array, arg2: u64 | AnyNumber | Uint8Array) => Observable<Option<PolymeshPrimitivesAssetMetadataAssetMetadataSpec>>, [
74
- PolymeshPrimitivesAssetAssetID,
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: PolymeshPrimitivesAssetAssetID | string | Uint8Array, arg2: PolymeshPrimitivesAssetMetadataAssetMetadataKey | {
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
- PolymeshPrimitivesAssetAssetID,
85
+ PolymeshPrimitivesAssetAssetId,
86
86
  PolymeshPrimitivesAssetMetadataAssetMetadataKey
87
87
  ]>;
88
88
  /**
89
89
  * Metatdata values for an asset.
90
90
  **/
91
- assetMetadataValues: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesAssetAssetID | string | Uint8Array, arg2: PolymeshPrimitivesAssetMetadataAssetMetadataKey | {
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
- PolymeshPrimitivesAssetAssetID,
96
+ PolymeshPrimitivesAssetAssetId,
97
97
  PolymeshPrimitivesAssetMetadataAssetMetadataKey
98
98
  ]>;
99
99
  /**
100
- * Maps each [`AssetID`] to its underling [`AssetName`].
100
+ * Maps each [`AssetId`] to its underling [`AssetName`].
101
101
  **/
102
- assetNames: AugmentedQuery<ApiType, (arg: PolymeshPrimitivesAssetAssetID | string | Uint8Array) => Observable<Option<Bytes>>, [
103
- PolymeshPrimitivesAssetAssetID
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 [`AssetID`].
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 [`AssetID`] to its underling [`AssetDetails`].
112
+ * Maps each [`AssetId`] to its underling [`AssetDetails`].
113
113
  **/
114
- assets: AugmentedQuery<ApiType, (arg: PolymeshPrimitivesAssetAssetID | string | Uint8Array) => Observable<Option<PalletAssetAssetDetails>>, [
115
- PolymeshPrimitivesAssetAssetID
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: PolymeshPrimitivesAssetAssetID | string | Uint8Array) => Observable<bool>, [
121
- PolymeshPrimitivesAssetAssetID
120
+ assetsExemptFromAffirmation: AugmentedQuery<ApiType, (arg: PolymeshPrimitivesAssetAssetId | string | Uint8Array) => Observable<bool>, [
121
+ PolymeshPrimitivesAssetAssetId
122
122
  ]>;
123
123
  /**
124
- * Tracks the total [`Balance`] for each [`AssetID`] per [`IdentityId`].
124
+ * Tracks the total [`Balance`] for each [`AssetId`] per [`IdentityId`].
125
125
  **/
126
- balanceOf: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesAssetAssetID | string | Uint8Array, arg2: PolymeshPrimitivesIdentityId | string | Uint8Array) => Observable<u128>, [
127
- PolymeshPrimitivesAssetAssetID,
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 [`AssetID`].
135
+ * The last [`AssetMetadataLocalKey`] used for [`AssetId`].
136
136
  **/
137
- currentAssetMetadataLocalKey: AugmentedQuery<ApiType, (arg: PolymeshPrimitivesAssetAssetID | string | Uint8Array) => Observable<Option<u64>>, [
138
- PolymeshPrimitivesAssetAssetID
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 [`AssetID`] are frozen. Otherwise, returns `false`.
159
+ * Returns `true` if transfers for the token associated to [`AssetId`] are frozen. Otherwise, returns `false`.
160
160
  **/
161
- frozen: AugmentedQuery<ApiType, (arg: PolymeshPrimitivesAssetAssetID | string | Uint8Array) => Observable<bool>, [
162
- PolymeshPrimitivesAssetAssetID
161
+ frozen: AugmentedQuery<ApiType, (arg: PolymeshPrimitivesAssetAssetId | string | Uint8Array) => Observable<bool>, [
162
+ PolymeshPrimitivesAssetAssetId
163
163
  ]>;
164
164
  /**
165
- * Maps each [`AssetID`] to the name of its founding round ([`FundingRoundName`]).
165
+ * Maps each [`AssetId`] to the name of its founding round ([`FundingRoundName`]).
166
166
  **/
167
- fundingRound: AugmentedQuery<ApiType, (arg: PolymeshPrimitivesAssetAssetID | string | Uint8Array) => Observable<Bytes>, [
168
- PolymeshPrimitivesAssetAssetID
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<[PolymeshPrimitivesAssetAssetID, Bytes]> | [PolymeshPrimitivesAssetAssetID | string | Uint8Array, Bytes | string | Uint8Array]) => Observable<u128>, [
174
- ITuple<[PolymeshPrimitivesAssetAssetID, Bytes]>
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: PolymeshPrimitivesAssetAssetID | string | Uint8Array) => Observable<BTreeSet<PolymeshPrimitivesIdentityId>>, [
180
- PolymeshPrimitivesAssetAssetID
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: PolymeshPrimitivesAssetAssetID | string | Uint8Array) => Observable<bool>, [
185
+ preApprovedAsset: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesIdentityId | string | Uint8Array, arg2: PolymeshPrimitivesAssetAssetId | string | Uint8Array) => Observable<bool>, [
186
186
  PolymeshPrimitivesIdentityId,
187
- PolymeshPrimitivesAssetAssetID
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: PolymeshPrimitivesAssetAssetID | string | Uint8Array) => Observable<bool>, [
192
+ securityTokensOwnedByUser: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesIdentityId | string | Uint8Array, arg2: PolymeshPrimitivesAssetAssetId | string | Uint8Array) => Observable<bool>, [
193
193
  PolymeshPrimitivesIdentityId,
194
- PolymeshPrimitivesAssetAssetID
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 [`AssetID`].
201
+ * Maps all [`Ticker`] that are linked to an [`AssetId`].
202
202
  **/
203
- tickerAssetID: AugmentedQuery<ApiType, (arg: PolymeshPrimitivesTicker | string | Uint8Array) => Observable<Option<PolymeshPrimitivesAssetAssetID>>, [
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
- * ([`AssetID`], did, checkpoint ID) -> Balance of a DID at a checkpoint
469
+ * ([`AssetId`], did, checkpoint ID) -> Balance of a DID at a checkpoint
470
470
  **/
471
- balance: AugmentedQuery<ApiType, (arg1: ITuple<[PolymeshPrimitivesAssetAssetID, u64]> | [PolymeshPrimitivesAssetAssetID | string | Uint8Array, u64 | AnyNumber | Uint8Array], arg2: PolymeshPrimitivesIdentityId | string | Uint8Array) => Observable<u128>, [
472
- ITuple<[PolymeshPrimitivesAssetAssetID, u64]>,
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
- * ([`AssetID`], did) -> [checkpoint ID where user balance changed]
477
+ * ([`AssetId`], did) -> [checkpoint ID where user balance changed]
478
478
  **/
479
- balanceUpdates: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesAssetAssetID | string | Uint8Array, arg2: PolymeshPrimitivesIdentityId | string | Uint8Array) => Observable<Vec<u64>>, [
480
- PolymeshPrimitivesAssetAssetID,
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
- * ([`AssetID`]) -> next checkpoints
488
+ * ([`AssetId`]) -> next checkpoints
489
489
  **/
490
- cachedNextCheckpoints: AugmentedQuery<ApiType, (arg: PolymeshPrimitivesAssetAssetID | string | Uint8Array) => Observable<Option<PolymeshCommonUtilitiesCheckpointNextCheckpoints>>, [
491
- PolymeshPrimitivesAssetAssetID
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
- * ([`AssetID`]) -> no. of checkpoints
497
+ * ([`AssetId`]) -> no. of checkpoints
498
498
  **/
499
- checkpointIdSequence: AugmentedQuery<ApiType, (arg: PolymeshPrimitivesAssetAssetID | string | Uint8Array) => Observable<u64>, [
500
- PolymeshPrimitivesAssetAssetID
499
+ checkpointIdSequence: AugmentedQuery<ApiType, (arg: PolymeshPrimitivesAssetAssetId | string | Uint8Array) => Observable<u64>, [
500
+ PolymeshPrimitivesAssetAssetId
501
501
  ]>;
502
502
  /**
503
503
  * Scheduled checkpoints.
504
504
  *
505
- * ([`AssetID`], schedule ID) -> schedule checkpoints
505
+ * ([`AssetId`], schedule ID) -> schedule checkpoints
506
506
  **/
507
- scheduledCheckpoints: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesAssetAssetID | string | Uint8Array, arg2: u64 | AnyNumber | Uint8Array) => Observable<Option<PolymeshCommonUtilitiesCheckpointScheduleCheckpoints>>, [
508
- PolymeshPrimitivesAssetAssetID,
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
- * ([`AssetID`]) -> schedule ID
514
+ * ([`AssetId`]) -> schedule ID
515
515
  **/
516
- scheduleIdSequence: AugmentedQuery<ApiType, (arg: PolymeshPrimitivesAssetAssetID | string | Uint8Array) => Observable<u64>, [
517
- PolymeshPrimitivesAssetAssetID
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
- * ([`AssetID`], schedule ID) -> [checkpoint ID]
522
+ * ([`AssetId`], schedule ID) -> [checkpoint ID]
523
523
  **/
524
- schedulePoints: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesAssetAssetID | string | Uint8Array, arg2: u64 | AnyNumber | Uint8Array) => Observable<Vec<u64>>, [
525
- PolymeshPrimitivesAssetAssetID,
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
- * ([`AssetID`], schedule ID) -> strong ref count
536
+ * ([`AssetId`], schedule ID) -> strong ref count
537
537
  **/
538
- scheduleRefCount: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesAssetAssetID | string | Uint8Array, arg2: u64 | AnyNumber | Uint8Array) => Observable<u32>, [
539
- PolymeshPrimitivesAssetAssetID,
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
- * ([`AssetID`]) -> (checkpoint ID) -> checkpoint timestamp
556
+ * ([`AssetId`]) -> (checkpoint ID) -> checkpoint timestamp
557
557
  **/
558
- timestamps: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesAssetAssetID | string | Uint8Array, arg2: u64 | AnyNumber | Uint8Array) => Observable<u64>, [
559
- PolymeshPrimitivesAssetAssetID,
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
- * ([`AssetID`], checkpointId) -> total supply at given checkpoint
565
+ * ([`AssetId`], checkpointId) -> total supply at given checkpoint
566
566
  **/
567
- totalSupply: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesAssetAssetID | string | Uint8Array, arg2: u64 | AnyNumber | Uint8Array) => Observable<u128>, [
568
- PolymeshPrimitivesAssetAssetID,
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 ([`AssetID`] -> [`AssetCompliance`])
590
+ * Compliance for an asset ([`AssetId`] -> [`AssetCompliance`])
591
591
  **/
592
- assetCompliances: AugmentedQuery<ApiType, (arg: PolymeshPrimitivesAssetAssetID | string | Uint8Array) => Observable<PolymeshPrimitivesComplianceManagerAssetCompliance>, [
593
- PolymeshPrimitivesAssetAssetID
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 [`AssetID`] -> Issuer Identity
600
+ * List of trusted claim issuer [`AssetId`] -> Issuer Identity
601
601
  **/
602
- trustedClaimIssuer: AugmentedQuery<ApiType, (arg: PolymeshPrimitivesAssetAssetID | string | Uint8Array) => Observable<Vec<PolymeshPrimitivesConditionTrustedIssuer>>, [
603
- PolymeshPrimitivesAssetAssetID
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 `AssetID => LocalId => The CA`,
673
- * so we can infer `AssetID => CAId`. Therefore, we don't need a double map.
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-`AssetID` CA ID in the sequence.
683
- * The full ID is defined as a combination of `AssetID` and a number in this sequence.
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: PolymeshPrimitivesAssetAssetID | string | Uint8Array) => Observable<u32>, [
686
- PolymeshPrimitivesAssetAssetID
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
- * (AssetID => local ID => the corporate action)
693
+ * (AssetId => local ID => the corporate action)
694
694
  **/
695
- corporateActions: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesAssetAssetID | string | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletCorporateActionsCorporateAction>>, [
696
- PolymeshPrimitivesAssetAssetID,
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
- * (AssetID => target identities)
703
+ * (AssetId => target identities)
704
704
  **/
705
- defaultTargetIdentities: AugmentedQuery<ApiType, (arg: PolymeshPrimitivesAssetAssetID | string | Uint8Array) => Observable<PalletCorporateActionsTargetIdentities>, [
706
- PolymeshPrimitivesAssetAssetID
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
- * (AssetID => % to withhold)
716
+ * (AssetId => % to withhold)
717
717
  **/
718
- defaultWithholdingTax: AugmentedQuery<ApiType, (arg: PolymeshPrimitivesAssetAssetID | string | Uint8Array) => Observable<Permill>, [
719
- PolymeshPrimitivesAssetAssetID
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 AssetID x DID.
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
- * (AssetID => [(did, % to withhold)]
735
+ * (AssetId => [(did, % to withhold)]
736
736
  **/
737
- didWithholdingTax: AugmentedQuery<ApiType, (arg: PolymeshPrimitivesAssetAssetID | string | Uint8Array) => Observable<Vec<ITuple<[PolymeshPrimitivesIdentityId, Permill]>>>, [
738
- PolymeshPrimitivesAssetAssetID
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: PolymeshPrimitivesAssetAssetID | string | Uint8Array) => Observable<Null>, [
930
+ agentOf: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesIdentityId | string | Uint8Array, arg2: PolymeshPrimitivesAssetAssetId | string | Uint8Array) => Observable<Null>, [
931
931
  PolymeshPrimitivesIdentityId,
932
- PolymeshPrimitivesAssetAssetID
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 `AssetID` and a number in this sequence,
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: PolymeshPrimitivesAssetAssetID | string | Uint8Array) => Observable<u32>, [
941
- PolymeshPrimitivesAssetAssetID
940
+ agIdSequence: AugmentedQuery<ApiType, (arg: PolymeshPrimitivesAssetAssetId | string | Uint8Array) => Observable<u32>, [
941
+ PolymeshPrimitivesAssetAssetId
942
942
  ]>;
943
943
  /**
944
- * Maps agents (`IdentityId`) for an `AssetID` to what AG they belong to, if any.
944
+ * Maps agents (`IdentityId`) for an `AssetId` to what AG they belong to, if any.
945
945
  **/
946
- groupOfAgent: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesAssetAssetID | string | Uint8Array, arg2: PolymeshPrimitivesIdentityId | string | Uint8Array) => Observable<Option<PolymeshPrimitivesAgentAgentGroup>>, [
947
- PolymeshPrimitivesAssetAssetID,
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 `AssetID`, maps to what permissions an agent in that AG would have.
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: PolymeshPrimitivesAssetAssetID | string | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<PolymeshPrimitivesSecondaryKeyExtrinsicPermissions>>, [
954
- PolymeshPrimitivesAssetAssetID,
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 `AssetID` to the number of `Full` agents for it.
958
+ * Maps an `AssetId` to the number of `Full` agents for it.
959
959
  **/
960
- numFullAgents: AugmentedQuery<ApiType, (arg: PolymeshPrimitivesAssetAssetID | string | Uint8Array) => Observable<u32>, [
961
- PolymeshPrimitivesAssetAssetID
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<PolymeshPrimitivesSubsetSubsetRestrictionAssetID>>, [
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: PolymeshPrimitivesAssetAssetID | string | Uint8Array) => Observable<u64>, [
1328
- PolymeshPrimitivesAssetAssetID
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: PolymeshPrimitivesAssetAssetID | string | Uint8Array, arg2: u64 | AnyNumber | Uint8Array) => Observable<Option<PolymeshPrimitivesIdentityIdPortfolioId>>, [
1361
- PolymeshPrimitivesAssetAssetID,
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: PolymeshPrimitivesAssetAssetID | string | Uint8Array) => Observable<u64>, [
1368
- PolymeshPrimitivesAssetAssetID
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: PolymeshPrimitivesAssetAssetID | string | Uint8Array, arg2: PolymeshPrimitivesIdentityId | string | Uint8Array) => Observable<u64>, [
1374
- PolymeshPrimitivesAssetAssetID,
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: PolymeshPrimitivesAssetAssetID | string | Uint8Array) => Observable<u128>, [
1642
+ } | string | Uint8Array, arg2: PolymeshPrimitivesAssetAssetId | string | Uint8Array) => Observable<u128>, [
1635
1643
  PolymeshPrimitivesIdentityIdPortfolioId,
1636
- PolymeshPrimitivesAssetAssetID
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: PolymeshPrimitivesAssetAssetID | string | Uint8Array) => Observable<u128>, [
1671
+ } | string | Uint8Array, arg2: PolymeshPrimitivesAssetAssetId | string | Uint8Array) => Observable<u128>, [
1664
1672
  PolymeshPrimitivesIdentityIdPortfolioId,
1665
- PolymeshPrimitivesAssetAssetID
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<[PolymeshPrimitivesAssetAssetID, u64]> | [PolymeshPrimitivesAssetAssetID | string | Uint8Array, u64 | AnyNumber | Uint8Array]) => Observable<bool>, [
1681
+ } | string | Uint8Array, arg2: ITuple<[PolymeshPrimitivesAssetAssetId, u64]> | [PolymeshPrimitivesAssetAssetId | string | Uint8Array, u64 | AnyNumber | Uint8Array]) => Observable<bool>, [
1674
1682
  PolymeshPrimitivesIdentityIdPortfolioId,
1675
- ITuple<[PolymeshPrimitivesAssetAssetID, u64]>
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<[PolymeshPrimitivesAssetAssetID, u64]> | [PolymeshPrimitivesAssetAssetID | string | Uint8Array, u64 | AnyNumber | Uint8Array]) => Observable<bool>, [
1691
+ } | string | Uint8Array, arg2: ITuple<[PolymeshPrimitivesAssetAssetId, u64]> | [PolymeshPrimitivesAssetAssetId | string | Uint8Array, u64 | AnyNumber | Uint8Array]) => Observable<bool>, [
1684
1692
  PolymeshPrimitivesIdentityIdPortfolioId,
1685
- ITuple<[PolymeshPrimitivesAssetAssetID, u64]>
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 [`AssetID`].
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: PolymeshPrimitivesAssetAssetID | string | Uint8Array) => Observable<bool>, [
1722
+ } | string | Uint8Array, arg2: PolymeshPrimitivesAssetAssetId | string | Uint8Array) => Observable<bool>, [
1715
1723
  PolymeshPrimitivesIdentityIdPortfolioId,
1716
- PolymeshPrimitivesAssetAssetID
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
- * ([`AssetID`], venue_id) -> allowed
1949
+ * ([`AssetId`], venue_id) -> allowed
1942
1950
  **/
1943
- venueAllowList: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesAssetAssetID | string | Uint8Array, arg2: u64 | AnyNumber | Uint8Array) => Observable<bool>, [
1944
- PolymeshPrimitivesAssetAssetID,
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. AssetID -> filtering_enabled
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: PolymeshPrimitivesAssetAssetID | string | Uint8Array) => Observable<bool>, [
1955
- PolymeshPrimitivesAssetAssetID
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 [`AssetID`].
2279
+ * Maps a set of [`StatType`] for each [`AssetId`].
2272
2280
  **/
2273
- activeAssetStats: AugmentedQuery<ApiType, (arg: PolymeshPrimitivesAssetAssetID | string | Uint8Array) => Observable<BTreeSet<PolymeshPrimitivesStatisticsStatType>>, [
2274
- PolymeshPrimitivesAssetAssetID
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 [`AssetID`].
2299
+ * The [`AssetTransferCompliance`] for each [`AssetId`].
2292
2300
  **/
2293
- assetTransferCompliances: AugmentedQuery<ApiType, (arg: PolymeshPrimitivesAssetAssetID | string | Uint8Array) => Observable<PolymeshPrimitivesTransferComplianceAssetTransferCompliance>, [
2294
- PolymeshPrimitivesAssetAssetID
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: PolymeshPrimitivesAssetAssetID | string | Uint8Array) => Observable<u64>, [
2317
- PolymeshPrimitivesAssetAssetID
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
- * (AssetID, fundraiser_id) -> Fundraiser name
2329
+ * (AssetId, fundraiser_id) -> Fundraiser name
2322
2330
  **/
2323
- fundraiserNames: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesAssetAssetID | string | Uint8Array, arg2: u64 | AnyNumber | Uint8Array) => Observable<Option<Bytes>>, [
2324
- PolymeshPrimitivesAssetAssetID,
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
- * (AssetID, fundraiser_id) -> Fundraiser
2337
+ * (AssetId, fundraiser_id) -> Fundraiser
2330
2338
  **/
2331
- fundraisers: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesAssetAssetID | string | Uint8Array, arg2: u64 | AnyNumber | Uint8Array) => Observable<Option<PalletStoFundraiser>>, [
2332
- PolymeshPrimitivesAssetAssetID,
2339
+ fundraisers: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesAssetAssetId | string | Uint8Array, arg2: u64 | AnyNumber | Uint8Array) => Observable<Option<PalletStoFundraiser>>, [
2340
+ PolymeshPrimitivesAssetAssetId,
2333
2341
  u64
2334
2342
  ]>;
2335
2343
  /**