@polymeshassociation/polymesh-types 7.1.0 → 7.3.0
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/.yarn/install-state.gz +0 -0
- package/CHANGELOG.md +3 -2
- package/generated/types.d.ts +68 -8
- package/generated/types.d.ts.map +1 -1
- package/generated/types.js +66 -2
- package/generated/types.js.map +1 -1
- package/package.json +4 -3
- package/polkadot/asset/definitions.js +4 -4
- package/polkadot/asset/definitions.js.map +1 -1
- package/polkadot/augment-api-consts.d.ts +126 -4
- package/polkadot/augment-api-consts.d.ts.map +1 -1
- package/polkadot/augment-api-errors.d.ts +438 -109
- package/polkadot/augment-api-errors.d.ts.map +1 -1
- package/polkadot/augment-api-events.d.ts +269 -175
- package/polkadot/augment-api-events.d.ts.map +1 -1
- package/polkadot/augment-api-query.d.ts +325 -93
- package/polkadot/augment-api-query.d.ts.map +1 -1
- package/polkadot/augment-api-rpc.d.ts +22 -25
- package/polkadot/augment-api-rpc.d.ts.map +1 -1
- package/polkadot/augment-api-runtime.d.ts +295 -32
- package/polkadot/augment-api-runtime.d.ts.map +1 -1
- package/polkadot/augment-api-tx.d.ts +1031 -506
- package/polkadot/augment-api-tx.d.ts.map +1 -1
- package/polkadot/augment-types.d.ts +19 -2
- package/polkadot/augment-types.d.ts.map +1 -1
- package/polkadot/identity/definitions.d.ts +0 -18
- package/polkadot/identity/definitions.d.ts.map +1 -1
- package/polkadot/identity/definitions.js +0 -42
- package/polkadot/identity/definitions.js.map +1 -1
- package/polkadot/lookup.d.ts +4383 -3218
- package/polkadot/lookup.d.ts.map +1 -1
- package/polkadot/lookup.js +4643 -3386
- package/polkadot/lookup.js.map +1 -1
- package/polkadot/nft/definitions.js +4 -4
- package/polkadot/nft/definitions.js.map +1 -1
- package/polkadot/polymesh/definitions.d.ts +93 -8
- package/polkadot/polymesh/definitions.d.ts.map +1 -1
- package/polkadot/polymesh/definitions.js +228 -12
- package/polkadot/polymesh/definitions.js.map +1 -1
- package/polkadot/polymesh/types.d.ts +129 -20
- package/polkadot/polymesh/types.d.ts.map +1 -1
- package/polkadot/registry.d.ts +107 -15
- package/polkadot/registry.d.ts.map +1 -1
- package/polkadot/schema.d.ts +93 -26
- package/polkadot/schema.d.ts.map +1 -1
- package/polkadot/schema.js +238 -64
- package/polkadot/schema.js.map +1 -1
- package/polkadot/settlement/definitions.js +2 -2
- package/polkadot/types-lookup.d.ts +5274 -4326
- package/polkadot/types-lookup.d.ts.map +1 -1
- package/rpc/index.d.ts +0 -18
- package/rpc/index.d.ts.map +1 -1
- package/rpc/index.js +10 -52
- package/rpc/index.js.map +1 -1
- package/runtime/assetApi/v5.d.ts +3 -0
- package/runtime/assetApi/v5.d.ts.map +1 -0
- package/runtime/assetApi/v5.js +32 -0
- package/runtime/assetApi/v5.js.map +1 -0
- package/runtime/index.d.ts.map +1 -1
- package/runtime/index.js +6 -0
- package/runtime/index.js.map +1 -1
- package/runtime/nftApi/v3.d.ts +3 -0
- package/runtime/nftApi/v3.d.ts.map +1 -0
- package/runtime/nftApi/v3.js +28 -0
- package/runtime/nftApi/v3.js.map +1 -0
- package/runtime/settlementApi/v3.d.ts +3 -0
- package/runtime/settlementApi/v3.d.ts.map +1 -0
- package/runtime/settlementApi/v3.js +74 -0
- package/runtime/settlementApi/v3.js.map +1 -0
- package/signedExtensions/index.d.ts +4 -0
- package/signedExtensions/index.d.ts.map +1 -1
- package/signedExtensions/index.js +4 -0
- package/signedExtensions/index.js.map +1 -1
- package/types/7.4.x.json +659 -0
- package/types/8.0.x.json +96 -15
- package/types/index.d.ts +477 -0
- package/types/index.d.ts.map +1 -1
- package/types/index.js +2 -0
- package/types/index.js.map +1 -1
|
@@ -2,14 +2,35 @@ import '@polkadot/api-base/types/storage';
|
|
|
2
2
|
import type { ApiTypes, AugmentedQuery, QueryableStorageEntry } from '@polkadot/api-base/types';
|
|
3
3
|
import type { BTreeSet, Bytes, Null, Option, Struct, Text, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
|
|
4
4
|
import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
|
|
5
|
-
import type { AccountId32, Call, H256, Perbill, Percent, Permill } from '@polkadot/types/interfaces/runtime';
|
|
6
|
-
import type { FrameSupportDispatchPerDispatchClassWeight, FrameSupportTokensMiscIdAmount, FrameSystemAccountInfo, FrameSystemCodeUpgradeAuthorization, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, PalletAssetAssetDetails, PalletAssetTickerRegistration, PalletAssetTickerRegistrationConfig, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReserveData, PalletCommitteePolymeshVotes, PalletContractsStorageContractInfo, PalletContractsStorageDeletionQueueManager, PalletContractsWasmCodeInfo, PalletCorporateActionsBallotBallotMeta, PalletCorporateActionsBallotBallotTimeRange, PalletCorporateActionsBallotBallotVote, PalletCorporateActionsCaId, PalletCorporateActionsCorporateAction, PalletCorporateActionsDistribution, PalletCorporateActionsTargetIdentities, PalletElectionProviderMultiPhasePhase, PalletElectionProviderMultiPhaseReadySolution, PalletElectionProviderMultiPhaseRoundSnapshot, PalletElectionProviderMultiPhaseSignedSignedSubmission, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletIdentityClaim1stKey, PalletIdentityClaim2ndKey, PalletImOnlineSr25519AppSr25519Public, PalletPipsDepositInfo, PalletPipsPip, PalletPipsPipsMetadata, PalletPipsProposalState, PalletPipsSnapshotMetadata, PalletPipsSnapshottedPip, PalletPipsVote, PalletPipsVotingResult, PalletPreimageOldRequestStatus, PalletPreimageRequestStatus, PalletRelayerSubsidy, PalletSchedulerRetryConfig, PalletSchedulerScheduled, PalletStakingActiveEraInfo, PalletStakingEraRewardPoints, PalletStakingForcing, PalletStakingNominations, PalletStakingRewardDestination, PalletStakingSlashingSlashingSpans, PalletStakingSlashingSpanRecord, PalletStakingStakingLedger, PalletStakingUnappliedSlash, PalletStakingValidatorPrefs, PalletStoFundraiser, PalletTransactionPaymentReleases, PalletValidatorsPermissionedIdentityPrefs, PalletValidatorsSlashingSwitch,
|
|
5
|
+
import type { AccountId32, Call, H160, H256, Perbill, Percent, Permill } from '@polkadot/types/interfaces/runtime';
|
|
6
|
+
import type { FrameSupportDispatchPerDispatchClassWeight, FrameSupportTokensFungibleImbalance, FrameSupportTokensMiscIdAmount, FrameSystemAccountInfo, FrameSystemCodeUpgradeAuthorization, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, PalletAssetAssetDetails, PalletAssetTickerRegistration, PalletAssetTickerRegistrationConfig, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReserveData, PalletCommitteePolymeshVotes, PalletContractsStorageContractInfo, PalletContractsStorageDeletionQueueManager, PalletContractsWasmCodeInfo, PalletCorporateActionsBallotBallotMeta, PalletCorporateActionsBallotBallotTimeRange, PalletCorporateActionsBallotBallotVote, PalletCorporateActionsCaId, PalletCorporateActionsCorporateAction, PalletCorporateActionsDistribution, PalletCorporateActionsTargetIdentities, PalletElectionProviderMultiPhasePhase, PalletElectionProviderMultiPhaseReadySolution, PalletElectionProviderMultiPhaseRoundSnapshot, PalletElectionProviderMultiPhaseSignedSignedSubmission, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletIdentityClaim1stKey, PalletIdentityClaim2ndKey, PalletImOnlineSr25519AppSr25519Public, PalletPipsDepositInfo, PalletPipsPip, PalletPipsPipsMetadata, PalletPipsProposalState, PalletPipsSnapshotMetadata, PalletPipsSnapshottedPip, PalletPipsVote, PalletPipsVotingResult, PalletPreimageOldRequestStatus, PalletPreimageRequestStatus, PalletRelayerSubsidy, PalletReviveDebugDebugSettings, PalletReviveEvmApiRpcTypesGenBlock, PalletReviveEvmBlockHashBlockBuilderEthereumBlockBuilderIR, PalletReviveEvmBlockHashReceiptGasInfo, PalletReviveStorageAccountInfo, PalletReviveStorageDeletionQueueManager, PalletReviveVmCodeInfo, PalletSchedulerRetryConfig, PalletSchedulerScheduled, PalletStakingActiveEraInfo, PalletStakingEraRewardPoints, PalletStakingForcing, PalletStakingNominations, PalletStakingRewardDestination, PalletStakingSlashingSlashingSpans, PalletStakingSlashingSpanRecord, PalletStakingStakingLedger, PalletStakingUnappliedSlash, PalletStakingValidatorPrefs, PalletStoFundraiser, PalletTransactionPaymentReleases, PalletValidatorsPermissionedIdentityPrefs, PalletValidatorsSlashingSwitch, PolymeshContractsApi, PolymeshContractsApiCodeHash, PolymeshContractsChainExtensionExtrinsicId, PolymeshContractsNextUpgrade, PolymeshPrimitivesAgentAgentGroup, PolymeshPrimitivesAssetAssetHolder, PolymeshPrimitivesAssetAssetId, PolymeshPrimitivesAssetIdentifier, PolymeshPrimitivesAssetMetadataAssetMetadataKey, PolymeshPrimitivesAssetMetadataAssetMetadataSpec, PolymeshPrimitivesAssetMetadataAssetMetadataValueDetail, PolymeshPrimitivesAuthorization, PolymeshPrimitivesCheckpointNextCheckpoints, PolymeshPrimitivesCheckpointScheduleCheckpoints, PolymeshPrimitivesComplianceManagerAssetCompliance, PolymeshPrimitivesConditionTrustedIssuer, PolymeshPrimitivesDocument, PolymeshPrimitivesGroupInactiveMember, PolymeshPrimitivesIdentityClaim, PolymeshPrimitivesIdentityDidRecord, PolymeshPrimitivesIdentityId, PolymeshPrimitivesIdentityIdPortfolioId, PolymeshPrimitivesMaybeBlock, PolymeshPrimitivesMemo, PolymeshPrimitivesMultisigProposalState, PolymeshPrimitivesMultisigProposalVoteCount, PolymeshPrimitivesNftNftCollection, PolymeshPrimitivesNftNftOwnerStatus, PolymeshPrimitivesProtocolFeeProtocolOp, PolymeshPrimitivesSecondaryKeyExtrinsicPermissions, PolymeshPrimitivesSecondaryKeyKeyRecord, PolymeshPrimitivesSecondaryKeySignatory, PolymeshPrimitivesSettlementAffirmationStatus, PolymeshPrimitivesSettlementInstruction, PolymeshPrimitivesSettlementInstructionStatus, PolymeshPrimitivesSettlementLeg, PolymeshPrimitivesSettlementLegStatus, PolymeshPrimitivesSettlementMediatorAffirmationStatus, PolymeshPrimitivesSettlementVenue, PolymeshPrimitivesStatisticsStat1stKey, PolymeshPrimitivesStatisticsStat2ndKey, PolymeshPrimitivesStatisticsStatType, PolymeshPrimitivesSubsetSubsetRestrictionAssetId, PolymeshPrimitivesSubsetSubsetRestrictionPortfolioId, PolymeshPrimitivesTicker, PolymeshPrimitivesTransferComplianceAssetTransferCompliance, PolymeshPrimitivesTransferComplianceTransferConditionExemptKey, PolymeshRuntimeDevelopRuntimeRuntimeHoldReason, PolymeshRuntimeDevelopRuntimeSessionKeys, SpAuthorityDiscoveryAppPublic, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBabeDigestsPreDigest, SpConsensusBeefyEcdsaCryptoPublic, SpConsensusBeefyMmrBeefyAuthoritySet, SpConsensusGrandpaAppPublic, SpCoreCryptoKeyTypeId, SpNposElectionsElectionScore, SpRuntimeDigest, SpStakingExposure, SpStakingExposurePage, SpStakingOffenceOffenceDetails, SpStakingPagedExposureMetadata, SpWeightsWeightV2Weight } from '@polkadot/types/lookup';
|
|
7
7
|
import type { Observable } from '@polkadot/types/types';
|
|
8
8
|
export type __AugmentedQuery<ApiType extends ApiTypes> = AugmentedQuery<ApiType, () => unknown>;
|
|
9
9
|
export type __QueryableStorageEntry<ApiType extends ApiTypes> = QueryableStorageEntry<ApiType>;
|
|
10
10
|
declare module '@polkadot/api-base/types/storage' {
|
|
11
11
|
interface AugmentedQueries<ApiType extends ApiTypes> {
|
|
12
12
|
asset: {
|
|
13
|
+
/**
|
|
14
|
+
* Maps (owner, spender, asset_id) to the approved allowance amount.
|
|
15
|
+
*
|
|
16
|
+
* A non-existent entry returns 0 (via `ValueQuery`), matching ERC-20 behavior.
|
|
17
|
+
* When an allowance is revoked (set to 0), the entry is removed to bound storage growth.
|
|
18
|
+
*
|
|
19
|
+
* Uses `StorageNMap` so that all allowances for a given owner can be iterated
|
|
20
|
+
* via prefix.
|
|
21
|
+
**/
|
|
22
|
+
allowances: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: AccountId32 | string | Uint8Array, arg3: PolymeshPrimitivesAssetAssetId | string | Uint8Array) => Observable<u128>, [
|
|
23
|
+
AccountId32,
|
|
24
|
+
AccountId32,
|
|
25
|
+
PolymeshPrimitivesAssetAssetId
|
|
26
|
+
]>;
|
|
27
|
+
/**
|
|
28
|
+
* Tracks the total [`Balance`] held by the account for each [`AssetId`].
|
|
29
|
+
**/
|
|
30
|
+
assetBalance: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: PolymeshPrimitivesAssetAssetId | string | Uint8Array) => Observable<u128>, [
|
|
31
|
+
AccountId32,
|
|
32
|
+
PolymeshPrimitivesAssetAssetId
|
|
33
|
+
]>;
|
|
13
34
|
/**
|
|
14
35
|
* All [`Document`] attached to an asset.
|
|
15
36
|
**/
|
|
@@ -174,6 +195,14 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
174
195
|
ITuple<[PolymeshPrimitivesAssetAssetId, Bytes]>
|
|
175
196
|
]>;
|
|
176
197
|
/**
|
|
198
|
+
* Tracks the [`Balance`] of locked tokens for assets that are held by the key (i.e., not in a portfolio).
|
|
199
|
+
**/
|
|
200
|
+
lockedBalance: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: PolymeshPrimitivesAssetAssetId | string | Uint8Array) => Observable<u128>, [
|
|
201
|
+
AccountId32,
|
|
202
|
+
PolymeshPrimitivesAssetAssetId
|
|
203
|
+
]>;
|
|
204
|
+
/**
|
|
205
|
+
* Identities that require receiver affirmation for all incoming transfers.
|
|
177
206
|
* The list of mandatory mediators for every ticker.
|
|
178
207
|
**/
|
|
179
208
|
mandatoryMediators: AugmentedQuery<ApiType, (arg: PolymeshPrimitivesAssetAssetId | string | Uint8Array) => Observable<BTreeSet<PolymeshPrimitivesIdentityId>>, [
|
|
@@ -395,7 +424,7 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
395
424
|
* Holds on account balances.
|
|
396
425
|
**/
|
|
397
426
|
holds: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<{
|
|
398
|
-
readonly id:
|
|
427
|
+
readonly id: PolymeshRuntimeDevelopRuntimeRuntimeHoldReason;
|
|
399
428
|
readonly amount: u128;
|
|
400
429
|
} & Struct>>, [
|
|
401
430
|
AccountId32
|
|
@@ -426,6 +455,43 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
426
455
|
**/
|
|
427
456
|
totalIssuance: AugmentedQuery<ApiType, () => Observable<u128>, []>;
|
|
428
457
|
};
|
|
458
|
+
beefy: {
|
|
459
|
+
/**
|
|
460
|
+
* The current authorities set
|
|
461
|
+
**/
|
|
462
|
+
authorities: AugmentedQuery<ApiType, () => Observable<Vec<SpConsensusBeefyEcdsaCryptoPublic>>, [
|
|
463
|
+
]>;
|
|
464
|
+
/**
|
|
465
|
+
* Block number where BEEFY consensus is enabled/started.
|
|
466
|
+
* By changing this (through privileged `set_new_genesis()`), BEEFY consensus is effectively
|
|
467
|
+
* restarted from the newly set block number.
|
|
468
|
+
**/
|
|
469
|
+
genesisBlock: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []>;
|
|
470
|
+
/**
|
|
471
|
+
* Authorities set scheduled to be used with the next session
|
|
472
|
+
**/
|
|
473
|
+
nextAuthorities: AugmentedQuery<ApiType, () => Observable<Vec<SpConsensusBeefyEcdsaCryptoPublic>>, [
|
|
474
|
+
]>;
|
|
475
|
+
/**
|
|
476
|
+
* A mapping from BEEFY set ID to the index of the *most recent* session for which its
|
|
477
|
+
* members were responsible.
|
|
478
|
+
*
|
|
479
|
+
* This is only used for validating equivocation proofs. An equivocation proof must
|
|
480
|
+
* contains a key-ownership proof for a given session, therefore we need a way to tie
|
|
481
|
+
* together sessions and BEEFY set ids, i.e. we need to validate that a validator
|
|
482
|
+
* was the owner of a given key on a given session, and what the active set ID was
|
|
483
|
+
* during that session.
|
|
484
|
+
*
|
|
485
|
+
* TWOX-NOTE: `ValidatorSetId` is not under user control.
|
|
486
|
+
**/
|
|
487
|
+
setIdSession: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<u32>>, [
|
|
488
|
+
u64
|
|
489
|
+
]>;
|
|
490
|
+
/**
|
|
491
|
+
* The current validator set id
|
|
492
|
+
**/
|
|
493
|
+
validatorSetId: AugmentedQuery<ApiType, () => Observable<u64>, []>;
|
|
494
|
+
};
|
|
429
495
|
capitalDistribution: {
|
|
430
496
|
/**
|
|
431
497
|
* All capital distributions, tied to their respective corporate actions (CAs).
|
|
@@ -457,22 +523,6 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
457
523
|
**/
|
|
458
524
|
storageVersion: AugmentedQuery<ApiType, () => Observable<u8>, []>;
|
|
459
525
|
};
|
|
460
|
-
cddServiceProviders: {
|
|
461
|
-
/**
|
|
462
|
-
* The current "active" membership, stored as an ordered Vec.
|
|
463
|
-
**/
|
|
464
|
-
activeMembers: AugmentedQuery<ApiType, () => Observable<Vec<PolymeshPrimitivesIdentityId>>, [
|
|
465
|
-
]>;
|
|
466
|
-
/**
|
|
467
|
-
* Limit of how many "active" members there can be.
|
|
468
|
-
**/
|
|
469
|
-
activeMembersLimit: AugmentedQuery<ApiType, () => Observable<u32>, []>;
|
|
470
|
-
/**
|
|
471
|
-
* The current "inactive" membership, stored as an ordered Vec.
|
|
472
|
-
**/
|
|
473
|
-
inactiveMembers: AugmentedQuery<ApiType, () => Observable<Vec<PolymeshPrimitivesGroupInactiveMember>>, [
|
|
474
|
-
]>;
|
|
475
|
-
};
|
|
476
526
|
checkpoint: {
|
|
477
527
|
/**
|
|
478
528
|
* Balance of a DID at a checkpoint.
|
|
@@ -498,7 +548,7 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
498
548
|
*
|
|
499
549
|
* ([`AssetId`]) -> next checkpoints
|
|
500
550
|
**/
|
|
501
|
-
cachedNextCheckpoints: AugmentedQuery<ApiType, (arg: PolymeshPrimitivesAssetAssetId | string | Uint8Array) => Observable<Option<
|
|
551
|
+
cachedNextCheckpoints: AugmentedQuery<ApiType, (arg: PolymeshPrimitivesAssetAssetId | string | Uint8Array) => Observable<Option<PolymeshPrimitivesCheckpointNextCheckpoints>>, [
|
|
502
552
|
PolymeshPrimitivesAssetAssetId
|
|
503
553
|
]>;
|
|
504
554
|
/**
|
|
@@ -515,7 +565,7 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
515
565
|
*
|
|
516
566
|
* ([`AssetId`], schedule ID) -> schedule checkpoints
|
|
517
567
|
**/
|
|
518
|
-
scheduledCheckpoints: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesAssetAssetId | string | Uint8Array, arg2: u64 | AnyNumber | Uint8Array) => Observable<Option<
|
|
568
|
+
scheduledCheckpoints: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesAssetAssetId | string | Uint8Array, arg2: u64 | AnyNumber | Uint8Array) => Observable<Option<PolymeshPrimitivesCheckpointScheduleCheckpoints>>, [
|
|
519
569
|
PolymeshPrimitivesAssetAssetId,
|
|
520
570
|
u64
|
|
521
571
|
]>;
|
|
@@ -857,6 +907,22 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
857
907
|
PolymeshPrimitivesIdentityId
|
|
858
908
|
]>;
|
|
859
909
|
};
|
|
910
|
+
didRegistrars: {
|
|
911
|
+
/**
|
|
912
|
+
* The current "active" membership, stored as an ordered Vec.
|
|
913
|
+
**/
|
|
914
|
+
activeMembers: AugmentedQuery<ApiType, () => Observable<Vec<PolymeshPrimitivesIdentityId>>, [
|
|
915
|
+
]>;
|
|
916
|
+
/**
|
|
917
|
+
* Limit of how many "active" members there can be.
|
|
918
|
+
**/
|
|
919
|
+
activeMembersLimit: AugmentedQuery<ApiType, () => Observable<u32>, []>;
|
|
920
|
+
/**
|
|
921
|
+
* The current "inactive" membership, stored as an ordered Vec.
|
|
922
|
+
**/
|
|
923
|
+
inactiveMembers: AugmentedQuery<ApiType, () => Observable<Vec<PolymeshPrimitivesGroupInactiveMember>>, [
|
|
924
|
+
]>;
|
|
925
|
+
};
|
|
860
926
|
electionProviderMultiPhase: {
|
|
861
927
|
/**
|
|
862
928
|
* Current phase.
|
|
@@ -1050,7 +1116,8 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1050
1116
|
* Strong references will block a key from leaving it's identity.
|
|
1051
1117
|
*
|
|
1052
1118
|
* Pallets using "strong" references to account keys:
|
|
1053
|
-
* *
|
|
1119
|
+
* * Assets: Updated when an account holds an asset with non-zero balance.
|
|
1120
|
+
* * NFT: Updated when an account owns an NFT.
|
|
1054
1121
|
*
|
|
1055
1122
|
**/
|
|
1056
1123
|
accountKeyRefCount: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<u64>, [
|
|
@@ -1074,18 +1141,6 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1074
1141
|
PolymeshPrimitivesIdentityId,
|
|
1075
1142
|
u64
|
|
1076
1143
|
]>;
|
|
1077
|
-
/**
|
|
1078
|
-
* A config flag that, if set, instructs an authorization from a CDD provider in order to
|
|
1079
|
-
* change the primary key of an identity.
|
|
1080
|
-
**/
|
|
1081
|
-
cddAuthForPrimaryKeyRotation: AugmentedQuery<ApiType, () => Observable<bool>, []>;
|
|
1082
|
-
/**
|
|
1083
|
-
* All child identities of a parent (i.e ParentDID, ChildDID, true)
|
|
1084
|
-
**/
|
|
1085
|
-
childDid: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesIdentityId | string | Uint8Array, arg2: PolymeshPrimitivesIdentityId | string | Uint8Array) => Observable<bool>, [
|
|
1086
|
-
PolymeshPrimitivesIdentityId,
|
|
1087
|
-
PolymeshPrimitivesIdentityId
|
|
1088
|
-
]>;
|
|
1089
1144
|
/**
|
|
1090
1145
|
* (Target ID, claim type) (issuer,scope) -> Associated claims
|
|
1091
1146
|
**/
|
|
@@ -1103,10 +1158,6 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1103
1158
|
* Controls the authorization id.
|
|
1104
1159
|
**/
|
|
1105
1160
|
currentAuthId: AugmentedQuery<ApiType, () => Observable<u64>, []>;
|
|
1106
|
-
/**
|
|
1107
|
-
* It stores the current gas fee payer for the current transaction.
|
|
1108
|
-
**/
|
|
1109
|
-
currentPayer: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []>;
|
|
1110
1161
|
/**
|
|
1111
1162
|
* The next `CustomClaimTypeId`.
|
|
1112
1163
|
**/
|
|
@@ -1192,16 +1243,6 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1192
1243
|
} | string | Uint8Array) => Observable<Option<u64>>, [
|
|
1193
1244
|
PolymeshPrimitivesSecondaryKeySignatory
|
|
1194
1245
|
]>;
|
|
1195
|
-
/**
|
|
1196
|
-
* Parent identity if the DID is a child Identity.
|
|
1197
|
-
**/
|
|
1198
|
-
parentDid: AugmentedQuery<ApiType, (arg: PolymeshPrimitivesIdentityId | string | Uint8Array) => Observable<Option<PolymeshPrimitivesIdentityId>>, [
|
|
1199
|
-
PolymeshPrimitivesIdentityId
|
|
1200
|
-
]>;
|
|
1201
|
-
/**
|
|
1202
|
-
* Storage version.
|
|
1203
|
-
**/
|
|
1204
|
-
storageVersion: AugmentedQuery<ApiType, () => Observable<u8>, []>;
|
|
1205
1246
|
};
|
|
1206
1247
|
imOnline: {
|
|
1207
1248
|
/**
|
|
@@ -1247,6 +1288,39 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1247
1288
|
u32
|
|
1248
1289
|
]>;
|
|
1249
1290
|
};
|
|
1291
|
+
mmr: {
|
|
1292
|
+
/**
|
|
1293
|
+
* Hashes of the nodes in the MMR.
|
|
1294
|
+
*
|
|
1295
|
+
* Note this collection only contains MMR peaks, the inner nodes (and leaves)
|
|
1296
|
+
* are pruned and only stored in the Offchain DB.
|
|
1297
|
+
**/
|
|
1298
|
+
nodes: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<H256>>, [
|
|
1299
|
+
u64
|
|
1300
|
+
]>;
|
|
1301
|
+
/**
|
|
1302
|
+
* Current size of the MMR (number of leaves).
|
|
1303
|
+
**/
|
|
1304
|
+
numberOfLeaves: AugmentedQuery<ApiType, () => Observable<u64>, []>;
|
|
1305
|
+
/**
|
|
1306
|
+
* Latest MMR Root hash.
|
|
1307
|
+
**/
|
|
1308
|
+
rootHash: AugmentedQuery<ApiType, () => Observable<H256>, []>;
|
|
1309
|
+
};
|
|
1310
|
+
mmrLeaf: {
|
|
1311
|
+
/**
|
|
1312
|
+
* Details of current BEEFY authority set.
|
|
1313
|
+
**/
|
|
1314
|
+
beefyAuthorities: AugmentedQuery<ApiType, () => Observable<SpConsensusBeefyMmrBeefyAuthoritySet>, [
|
|
1315
|
+
]>;
|
|
1316
|
+
/**
|
|
1317
|
+
* Details of next BEEFY authority set.
|
|
1318
|
+
*
|
|
1319
|
+
* This storage entry is used as cache for calls to `update_beefy_next_authority_set`.
|
|
1320
|
+
**/
|
|
1321
|
+
beefyNextAuthorities: AugmentedQuery<ApiType, () => Observable<SpConsensusBeefyMmrBeefyAuthoritySet>, [
|
|
1322
|
+
]>;
|
|
1323
|
+
};
|
|
1250
1324
|
multiSig: {
|
|
1251
1325
|
/**
|
|
1252
1326
|
* The multisig's admin identity. The primary key of this identity
|
|
@@ -1404,9 +1478,10 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1404
1478
|
PolymeshPrimitivesAssetMetadataAssetMetadataKey
|
|
1405
1479
|
]>;
|
|
1406
1480
|
/**
|
|
1407
|
-
*
|
|
1481
|
+
* All NFTs associated to the account Key.
|
|
1408
1482
|
**/
|
|
1409
|
-
|
|
1483
|
+
nftHolder: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: PolymeshPrimitivesAssetAssetId | string | Uint8Array, arg3: u64 | AnyNumber | Uint8Array) => Observable<PolymeshPrimitivesNftNftOwnerStatus>, [
|
|
1484
|
+
AccountId32,
|
|
1410
1485
|
PolymeshPrimitivesAssetAssetId,
|
|
1411
1486
|
u64
|
|
1412
1487
|
]>;
|
|
@@ -1423,6 +1498,13 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1423
1498
|
PolymeshPrimitivesAssetAssetId,
|
|
1424
1499
|
PolymeshPrimitivesIdentityId
|
|
1425
1500
|
]>;
|
|
1501
|
+
/**
|
|
1502
|
+
* Reverse mapping for allowing to find the owner of a specific NFT.
|
|
1503
|
+
**/
|
|
1504
|
+
owner: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesAssetAssetId | string | Uint8Array, arg2: u64 | AnyNumber | Uint8Array) => Observable<Option<PolymeshPrimitivesAssetAssetHolder>>, [
|
|
1505
|
+
PolymeshPrimitivesAssetAssetId,
|
|
1506
|
+
u64
|
|
1507
|
+
]>;
|
|
1426
1508
|
};
|
|
1427
1509
|
offences: {
|
|
1428
1510
|
/**
|
|
@@ -1649,6 +1731,12 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1649
1731
|
**/
|
|
1650
1732
|
storageVersion: AugmentedQuery<ApiType, () => Observable<u8>, []>;
|
|
1651
1733
|
};
|
|
1734
|
+
polymeshTransactionPayment: {
|
|
1735
|
+
/**
|
|
1736
|
+
* It stores the current gas fee payer for the current transaction.
|
|
1737
|
+
**/
|
|
1738
|
+
currentPayer: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []>;
|
|
1739
|
+
};
|
|
1652
1740
|
portfolio: {
|
|
1653
1741
|
/**
|
|
1654
1742
|
* Custodians allowed to create and take custody of portfolios on an id's behalf.
|
|
@@ -1726,9 +1814,10 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1726
1814
|
portfolioNFT: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesIdentityIdPortfolioId | {
|
|
1727
1815
|
did?: any;
|
|
1728
1816
|
kind?: any;
|
|
1729
|
-
} | string | Uint8Array, arg2:
|
|
1817
|
+
} | string | Uint8Array, arg2: PolymeshPrimitivesAssetAssetId | string | Uint8Array, arg3: u64 | AnyNumber | Uint8Array) => Observable<bool>, [
|
|
1730
1818
|
PolymeshPrimitivesIdentityIdPortfolioId,
|
|
1731
|
-
|
|
1819
|
+
PolymeshPrimitivesAssetAssetId,
|
|
1820
|
+
u64
|
|
1732
1821
|
]>;
|
|
1733
1822
|
/**
|
|
1734
1823
|
* The set of existing portfolios with their names. If a certain pair of a DID and
|
|
@@ -1761,10 +1850,6 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1761
1850
|
PolymeshPrimitivesIdentityIdPortfolioId,
|
|
1762
1851
|
PolymeshPrimitivesAssetAssetId
|
|
1763
1852
|
]>;
|
|
1764
|
-
/**
|
|
1765
|
-
* Storage version.
|
|
1766
|
-
**/
|
|
1767
|
-
storageVersion: AugmentedQuery<ApiType, () => Observable<u8>, []>;
|
|
1768
1853
|
};
|
|
1769
1854
|
preimage: {
|
|
1770
1855
|
preimageFor: AugmentedQuery<ApiType, (arg: ITuple<[H256, u32]> | [H256 | string | Uint8Array, u32 | AnyNumber | Uint8Array]) => Observable<Option<Bytes>>, [
|
|
@@ -1789,35 +1874,146 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1789
1874
|
/**
|
|
1790
1875
|
* The mapping of operation names to the base fees of those operations.
|
|
1791
1876
|
**/
|
|
1792
|
-
baseFees: AugmentedQuery<ApiType, (arg:
|
|
1793
|
-
|
|
1877
|
+
baseFees: AugmentedQuery<ApiType, (arg: PolymeshPrimitivesProtocolFeeProtocolOp | 'AssetRegisterTicker' | 'AssetIssue' | 'AssetAddDocuments' | 'AssetCreateAsset' | 'CheckpointCreateSchedule' | 'ComplianceManagerAddComplianceRequirement' | 'IdentityRegisterDid' | 'IdentityAddClaim' | 'IdentityAddSecondaryKeysWithAuthorization' | 'PipsPropose' | 'ContractsPutCode' | 'CorporateBallotAttachBallot' | 'CapitalDistributionDistribute' | 'NFTCreateCollection' | 'NFTMint' | number | Uint8Array) => Observable<u128>, [
|
|
1878
|
+
PolymeshPrimitivesProtocolFeeProtocolOp
|
|
1794
1879
|
]>;
|
|
1795
1880
|
/**
|
|
1796
1881
|
* The fee coefficient as a positive rational (numerator, denominator).
|
|
1797
1882
|
**/
|
|
1798
1883
|
coefficient: AugmentedQuery<ApiType, () => Observable<ITuple<[u32, u32]>>, []>;
|
|
1799
1884
|
};
|
|
1800
|
-
|
|
1885
|
+
relayer: {
|
|
1801
1886
|
/**
|
|
1802
|
-
*
|
|
1803
|
-
*
|
|
1804
|
-
*
|
|
1887
|
+
* Pending subsidies for a `user_key` from a `paying_key`.
|
|
1888
|
+
*
|
|
1889
|
+
* This is used to track subsidies that have been authorised but not yet accepted.
|
|
1890
|
+
*
|
|
1891
|
+
* The paying key can update or cancel the subsidy before it is accepted.
|
|
1805
1892
|
**/
|
|
1806
|
-
|
|
1807
|
-
|
|
1808
|
-
|
|
1893
|
+
pendingSubsidies: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<u128>>, [
|
|
1894
|
+
AccountId32,
|
|
1895
|
+
AccountId32
|
|
1896
|
+
]>;
|
|
1897
|
+
/**
|
|
1898
|
+
* Nonce for `relay_tx`.
|
|
1899
|
+
**/
|
|
1900
|
+
relayTxNonces: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<u64>, [
|
|
1901
|
+
AccountId32
|
|
1902
|
+
]>;
|
|
1809
1903
|
/**
|
|
1810
1904
|
* The subsidy for a `user_key` if they are being subsidised,
|
|
1811
1905
|
* as a map `user_key` => `Subsidy`.
|
|
1812
1906
|
*
|
|
1813
|
-
* A key can only have one subsidy at a time.
|
|
1814
|
-
*
|
|
1815
|
-
* before they can accept a new subsidiser.
|
|
1907
|
+
* A key can only have one subsidy at a time. Accepting a new subsidy
|
|
1908
|
+
* will replace any existing subsidy.
|
|
1816
1909
|
**/
|
|
1817
1910
|
subsidies: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletRelayerSubsidy>>, [
|
|
1818
1911
|
AccountId32
|
|
1819
1912
|
]>;
|
|
1820
1913
|
};
|
|
1914
|
+
revive: {
|
|
1915
|
+
/**
|
|
1916
|
+
* The data associated to a contract or externally owned account.
|
|
1917
|
+
**/
|
|
1918
|
+
accountInfoOf: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<Option<PalletReviveStorageAccountInfo>>, [
|
|
1919
|
+
H160
|
|
1920
|
+
]>;
|
|
1921
|
+
/**
|
|
1922
|
+
* Mapping for block number and hashes.
|
|
1923
|
+
*
|
|
1924
|
+
* The maximum number of elements stored is capped by the block hash count `BLOCK_HASH_COUNT`.
|
|
1925
|
+
**/
|
|
1926
|
+
blockHash: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<H256>, [
|
|
1927
|
+
u32
|
|
1928
|
+
]>;
|
|
1929
|
+
/**
|
|
1930
|
+
* A mapping from a contract's code hash to its code info.
|
|
1931
|
+
**/
|
|
1932
|
+
codeInfoOf: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<PalletReviveVmCodeInfo>>, [
|
|
1933
|
+
H256
|
|
1934
|
+
]>;
|
|
1935
|
+
/**
|
|
1936
|
+
* Debugging settings that can be configured when DebugEnabled config is true.
|
|
1937
|
+
**/
|
|
1938
|
+
debugSettingsOf: AugmentedQuery<ApiType, () => Observable<PalletReviveDebugDebugSettings>, [
|
|
1939
|
+
]>;
|
|
1940
|
+
/**
|
|
1941
|
+
* Evicted contracts that await child trie deletion.
|
|
1942
|
+
*
|
|
1943
|
+
* Child trie deletion is a heavy operation depending on the amount of storage items
|
|
1944
|
+
* stored in said trie. Therefore this operation is performed lazily in `on_idle`.
|
|
1945
|
+
**/
|
|
1946
|
+
deletionQueue: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<Bytes>>, [
|
|
1947
|
+
u32
|
|
1948
|
+
]>;
|
|
1949
|
+
/**
|
|
1950
|
+
* A pair of monotonic counters used to track the latest contract marked for deletion
|
|
1951
|
+
* and the latest deleted contract in queue.
|
|
1952
|
+
**/
|
|
1953
|
+
deletionQueueCounter: AugmentedQuery<ApiType, () => Observable<PalletReviveStorageDeletionQueueManager>, [
|
|
1954
|
+
]>;
|
|
1955
|
+
/**
|
|
1956
|
+
* The first transaction and receipt of the ethereum block.
|
|
1957
|
+
*
|
|
1958
|
+
* These values are moved out of the `EthBlockBuilderIR` to avoid serializing and
|
|
1959
|
+
* deserializing them on every transaction. Instead, they are loaded when needed.
|
|
1960
|
+
**/
|
|
1961
|
+
ethBlockBuilderFirstValues: AugmentedQuery<ApiType, () => Observable<Option<ITuple<[Bytes, Bytes]>>>, [
|
|
1962
|
+
]>;
|
|
1963
|
+
/**
|
|
1964
|
+
* Incremental ethereum block builder.
|
|
1965
|
+
**/
|
|
1966
|
+
ethBlockBuilderIR: AugmentedQuery<ApiType, () => Observable<PalletReviveEvmBlockHashBlockBuilderEthereumBlockBuilderIR>, [
|
|
1967
|
+
]>;
|
|
1968
|
+
/**
|
|
1969
|
+
* The current Ethereum block that is stored in the `on_finalize` method.
|
|
1970
|
+
*
|
|
1971
|
+
* # Note
|
|
1972
|
+
*
|
|
1973
|
+
* This could be further optimized into the future to store only the minimum
|
|
1974
|
+
* information needed to reconstruct the Ethereum block at the RPC level.
|
|
1975
|
+
*
|
|
1976
|
+
* Since the block is convenient to have around, and the extra details are capped
|
|
1977
|
+
* by a few hashes and the vector of transaction hashes, we store the block here.
|
|
1978
|
+
**/
|
|
1979
|
+
ethereumBlock: AugmentedQuery<ApiType, () => Observable<PalletReviveEvmApiRpcTypesGenBlock>, [
|
|
1980
|
+
]>;
|
|
1981
|
+
/**
|
|
1982
|
+
* The immutable data associated with a given account.
|
|
1983
|
+
**/
|
|
1984
|
+
immutableDataOf: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<Option<Bytes>>, [
|
|
1985
|
+
H160
|
|
1986
|
+
]>;
|
|
1987
|
+
/**
|
|
1988
|
+
* Map a Ethereum address to its original `AccountId32`.
|
|
1989
|
+
*
|
|
1990
|
+
* When deriving a `H160` from an `AccountId32` we use a hash function. In order to
|
|
1991
|
+
* reconstruct the original account we need to store the reverse mapping here.
|
|
1992
|
+
* Register your `AccountId32` using [`Pallet::map_account`] in order to
|
|
1993
|
+
* use it with this pallet.
|
|
1994
|
+
**/
|
|
1995
|
+
originalAccount: AugmentedQuery<ApiType, (arg: H160 | string | Uint8Array) => Observable<Option<AccountId32>>, [
|
|
1996
|
+
H160
|
|
1997
|
+
]>;
|
|
1998
|
+
/**
|
|
1999
|
+
* A mapping from a contract's code hash to its code.
|
|
2000
|
+
* The code's size is bounded by [`crate::limits::BLOB_BYTES`] for PVM and
|
|
2001
|
+
* [`revm::primitives::eip170::MAX_CODE_SIZE`] for EVM bytecode.
|
|
2002
|
+
**/
|
|
2003
|
+
pristineCode: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<Bytes>>, [
|
|
2004
|
+
H256
|
|
2005
|
+
]>;
|
|
2006
|
+
/**
|
|
2007
|
+
* The details needed to reconstruct the receipt info offchain.
|
|
2008
|
+
*
|
|
2009
|
+
* This contains valuable information about the gas used by the transaction.
|
|
2010
|
+
*
|
|
2011
|
+
* NOTE: The item is unbound and should therefore never be read on chain.
|
|
2012
|
+
* It could otherwise inflate the PoV size of a block.
|
|
2013
|
+
**/
|
|
2014
|
+
receiptInfoData: AugmentedQuery<ApiType, () => Observable<Vec<PalletReviveEvmBlockHashReceiptGasInfo>>, [
|
|
2015
|
+
]>;
|
|
2016
|
+
};
|
|
1821
2017
|
scheduler: {
|
|
1822
2018
|
/**
|
|
1823
2019
|
* Items to be executed, indexed by the block number that they should be executed on.
|
|
@@ -1859,6 +2055,15 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1859
2055
|
**/
|
|
1860
2056
|
disabledValidators: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[u32, Perbill]>>>, [
|
|
1861
2057
|
]>;
|
|
2058
|
+
/**
|
|
2059
|
+
* Accounts whose keys were set via `SessionInterface` (external path) without
|
|
2060
|
+
* incrementing the consumer reference or placing a key deposit. `do_purge_keys`
|
|
2061
|
+
* only decrements consumers for accounts that were registered through the local
|
|
2062
|
+
* session pallet.
|
|
2063
|
+
**/
|
|
2064
|
+
externallySetKeys: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<Null>>, [
|
|
2065
|
+
AccountId32
|
|
2066
|
+
]>;
|
|
1862
2067
|
/**
|
|
1863
2068
|
* The owner of a key. The key is the `KeyTypeId` + the encoded key.
|
|
1864
2069
|
**/
|
|
@@ -1868,7 +2073,7 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1868
2073
|
/**
|
|
1869
2074
|
* The next session keys for a validator.
|
|
1870
2075
|
**/
|
|
1871
|
-
nextKeys: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<
|
|
2076
|
+
nextKeys: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PolymeshRuntimeDevelopRuntimeSessionKeys>>, [
|
|
1872
2077
|
AccountId32
|
|
1873
2078
|
]>;
|
|
1874
2079
|
/**
|
|
@@ -1880,7 +2085,7 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1880
2085
|
* The queued keys for the next session. When the next session begins, these keys
|
|
1881
2086
|
* will be used to determine the validator's session keys.
|
|
1882
2087
|
**/
|
|
1883
|
-
queuedKeys: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[AccountId32,
|
|
2088
|
+
queuedKeys: AugmentedQuery<ApiType, () => Observable<Vec<ITuple<[AccountId32, PolymeshRuntimeDevelopRuntimeSessionKeys]>>>, [
|
|
1884
2089
|
]>;
|
|
1885
2090
|
/**
|
|
1886
2091
|
* The current set of validators.
|
|
@@ -1891,12 +2096,13 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1891
2096
|
/**
|
|
1892
2097
|
* Tracks affirmations received for an instruction. (instruction_id, counter_party) -> AffirmationStatus
|
|
1893
2098
|
**/
|
|
1894
|
-
affirmsReceived: AugmentedQuery<ApiType, (arg1: u64 | AnyNumber | Uint8Array, arg2:
|
|
1895
|
-
|
|
1896
|
-
|
|
2099
|
+
affirmsReceived: AugmentedQuery<ApiType, (arg1: u64 | AnyNumber | Uint8Array, arg2: PolymeshPrimitivesAssetAssetHolder | {
|
|
2100
|
+
Portfolio: any;
|
|
2101
|
+
} | {
|
|
2102
|
+
Account: any;
|
|
1897
2103
|
} | string | Uint8Array) => Observable<PolymeshPrimitivesSettlementAffirmationStatus>, [
|
|
1898
2104
|
u64,
|
|
1899
|
-
|
|
2105
|
+
PolymeshPrimitivesAssetAssetHolder
|
|
1900
2106
|
]>;
|
|
1901
2107
|
/**
|
|
1902
2108
|
* Free-form text about a venue. venue_id -> `VenueDetails`
|
|
@@ -1948,6 +2154,12 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1948
2154
|
instructionMemos: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<PolymeshPrimitivesMemo>>, [
|
|
1949
2155
|
u64
|
|
1950
2156
|
]>;
|
|
2157
|
+
/**
|
|
2158
|
+
* The number of times an instruction has been relocked.
|
|
2159
|
+
**/
|
|
2160
|
+
instructionRelockCount: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<u32>, [
|
|
2161
|
+
u64
|
|
2162
|
+
]>;
|
|
1951
2163
|
/**
|
|
1952
2164
|
* Instruction statuses. instruction_id -> InstructionStatus
|
|
1953
2165
|
**/
|
|
@@ -1960,6 +2172,13 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1960
2172
|
lockedTimestamp: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<u64>>, [
|
|
1961
2173
|
u64
|
|
1962
2174
|
]>;
|
|
2175
|
+
/**
|
|
2176
|
+
* When `true`, the identity has opted in to mandatory receiver affirmation.
|
|
2177
|
+
* Default is `false` (no affirmation required).
|
|
2178
|
+
**/
|
|
2179
|
+
mandatoryReceiverAffirmation: AugmentedQuery<ApiType, (arg: PolymeshPrimitivesIdentityId | string | Uint8Array) => Observable<bool>, [
|
|
2180
|
+
PolymeshPrimitivesIdentityId
|
|
2181
|
+
]>;
|
|
1963
2182
|
/**
|
|
1964
2183
|
* Tracks the number of signers each venue has.
|
|
1965
2184
|
**/
|
|
@@ -1981,18 +2200,21 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1981
2200
|
u64
|
|
1982
2201
|
]>;
|
|
1983
2202
|
/**
|
|
1984
|
-
*
|
|
2203
|
+
* The moment the instruction was unlocked by a mediator. Used to enforce the relock cooldown.
|
|
1985
2204
|
**/
|
|
1986
|
-
|
|
2205
|
+
unlockedTimestamp: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Option<u64>>, [
|
|
2206
|
+
u64
|
|
2207
|
+
]>;
|
|
1987
2208
|
/**
|
|
1988
2209
|
* Helps a user track their pending instructions and affirmations (only needed for UI).
|
|
1989
2210
|
* (counter_party, instruction_id) -> AffirmationStatus
|
|
1990
2211
|
**/
|
|
1991
|
-
userAffirmations: AugmentedQuery<ApiType, (arg1:
|
|
1992
|
-
|
|
1993
|
-
|
|
2212
|
+
userAffirmations: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesAssetAssetHolder | {
|
|
2213
|
+
Portfolio: any;
|
|
2214
|
+
} | {
|
|
2215
|
+
Account: any;
|
|
1994
2216
|
} | string | Uint8Array, arg2: u64 | AnyNumber | Uint8Array) => Observable<PolymeshPrimitivesSettlementAffirmationStatus>, [
|
|
1995
|
-
|
|
2217
|
+
PolymeshPrimitivesAssetAssetHolder,
|
|
1996
2218
|
u64
|
|
1997
2219
|
]>;
|
|
1998
2220
|
/**
|
|
@@ -2460,6 +2682,12 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
2460
2682
|
**/
|
|
2461
2683
|
storageVersion: AugmentedQuery<ApiType, () => Observable<u8>, []>;
|
|
2462
2684
|
};
|
|
2685
|
+
sudo: {
|
|
2686
|
+
/**
|
|
2687
|
+
* The `AccountId` of the sudo key.
|
|
2688
|
+
**/
|
|
2689
|
+
key: AugmentedQuery<ApiType, () => Observable<Option<AccountId32>>, []>;
|
|
2690
|
+
};
|
|
2463
2691
|
system: {
|
|
2464
2692
|
/**
|
|
2465
2693
|
* The full account information for a particular account ID.
|
|
@@ -2467,10 +2695,6 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
2467
2695
|
account: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<FrameSystemAccountInfo>, [
|
|
2468
2696
|
AccountId32
|
|
2469
2697
|
]>;
|
|
2470
|
-
/**
|
|
2471
|
-
* Total length (in bytes) for all extrinsics put together, for the current block.
|
|
2472
|
-
**/
|
|
2473
|
-
allExtrinsicsLen: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []>;
|
|
2474
2698
|
/**
|
|
2475
2699
|
* `Some` if a code upgrade has been authorized.
|
|
2476
2700
|
**/
|
|
@@ -2482,6 +2706,16 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
2482
2706
|
blockHash: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<H256>, [
|
|
2483
2707
|
u32
|
|
2484
2708
|
]>;
|
|
2709
|
+
/**
|
|
2710
|
+
* Total size (in bytes) of the current block.
|
|
2711
|
+
*
|
|
2712
|
+
* Tracks the size of the header and all extrinsics.
|
|
2713
|
+
**/
|
|
2714
|
+
blockSize: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []>;
|
|
2715
|
+
/**
|
|
2716
|
+
* Number of blocks till the pending code upgrade is applied.
|
|
2717
|
+
**/
|
|
2718
|
+
blocksTillUpgrade: AugmentedQuery<ApiType, () => Observable<Option<u8>>, []>;
|
|
2485
2719
|
/**
|
|
2486
2720
|
* The current weight for the block.
|
|
2487
2721
|
**/
|
|
@@ -2643,6 +2877,13 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
2643
2877
|
nextFeeMultiplier: AugmentedQuery<ApiType, () => Observable<u128>, []>;
|
|
2644
2878
|
storageVersion: AugmentedQuery<ApiType, () => Observable<PalletTransactionPaymentReleases>, [
|
|
2645
2879
|
]>;
|
|
2880
|
+
/**
|
|
2881
|
+
* The `OnChargeTransaction` stores the withdrawn tx fee here.
|
|
2882
|
+
*
|
|
2883
|
+
* Use `withdraw_txfee` and `remaining_txfee` to access from outside the crate.
|
|
2884
|
+
**/
|
|
2885
|
+
txPaymentCredit: AugmentedQuery<ApiType, () => Observable<Option<FrameSupportTokensFungibleImbalance>>, [
|
|
2886
|
+
]>;
|
|
2646
2887
|
};
|
|
2647
2888
|
upgradeCommittee: {
|
|
2648
2889
|
/**
|
|
@@ -2698,15 +2939,6 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
2698
2939
|
inactiveMembers: AugmentedQuery<ApiType, () => Observable<Vec<PolymeshPrimitivesGroupInactiveMember>>, [
|
|
2699
2940
|
]>;
|
|
2700
2941
|
};
|
|
2701
|
-
utility: {
|
|
2702
|
-
/**
|
|
2703
|
-
* Nonce for `relay_tx`.
|
|
2704
|
-
* POLYMESH: added.
|
|
2705
|
-
**/
|
|
2706
|
-
nonces: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<u64>, [
|
|
2707
|
-
AccountId32
|
|
2708
|
-
]>;
|
|
2709
|
-
};
|
|
2710
2942
|
validators: {
|
|
2711
2943
|
/**
|
|
2712
2944
|
* Entities that are allowed to run operator/validator nodes.
|