@polymeshassociation/polymesh-types 7.4.0 → 7.6.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 +2 -3
- package/generated/types.d.ts +10 -2
- package/generated/types.d.ts.map +1 -1
- package/generated/types.js +8 -0
- package/generated/types.js.map +1 -1
- package/package.json +1 -1
- package/polkadot/augment-api-consts.d.ts +5 -85
- package/polkadot/augment-api-consts.d.ts.map +1 -1
- package/polkadot/augment-api-errors.d.ts +50 -214
- package/polkadot/augment-api-errors.d.ts.map +1 -1
- package/polkadot/augment-api-events.d.ts +110 -150
- package/polkadot/augment-api-events.d.ts.map +1 -1
- package/polkadot/augment-api-query.d.ts +96 -98
- package/polkadot/augment-api-query.d.ts.map +1 -1
- package/polkadot/augment-api-rpc.d.ts +6 -49
- package/polkadot/augment-api-rpc.d.ts.map +1 -1
- package/polkadot/augment-api-runtime.d.ts +40 -40
- package/polkadot/augment-api-runtime.d.ts.map +1 -1
- package/polkadot/augment-api-tx.d.ts +173 -336
- package/polkadot/augment-api-tx.d.ts.map +1 -1
- package/polkadot/augment-types.d.ts +72 -1
- package/polkadot/augment-types.d.ts.map +1 -1
- package/polkadot/definitions.d.ts +0 -4
- package/polkadot/definitions.d.ts.map +1 -1
- package/polkadot/definitions.js +5 -13
- package/polkadot/definitions.js.map +1 -1
- package/polkadot/lookup.d.ts +482 -781
- package/polkadot/lookup.d.ts.map +1 -1
- package/polkadot/lookup.js +493 -830
- package/polkadot/lookup.js.map +1 -1
- package/polkadot/polymesh/definitions.d.ts +5 -0
- package/polkadot/polymesh/definitions.d.ts.map +1 -1
- package/polkadot/polymesh/definitions.js +5 -0
- package/polkadot/polymesh/definitions.js.map +1 -1
- package/polkadot/polymesh/types.d.ts +3 -0
- package/polkadot/polymesh/types.d.ts.map +1 -1
- package/polkadot/registry.d.ts +1 -36
- package/polkadot/registry.d.ts.map +1 -1
- package/polkadot/schema.d.ts +7 -43
- package/polkadot/schema.d.ts.map +1 -1
- package/polkadot/schema.js +17 -103
- package/polkadot/schema.js.map +1 -1
- package/polkadot/settlement/definitions.d.ts +2 -0
- package/polkadot/settlement/definitions.d.ts.map +1 -1
- package/polkadot/settlement/definitions.js +13 -0
- package/polkadot/settlement/definitions.js.map +1 -1
- package/polkadot/types-lookup.d.ts +517 -799
- package/polkadot/types-lookup.d.ts.map +1 -1
- package/polkadot/types.d.ts +0 -4
- package/polkadot/types.d.ts.map +1 -1
- package/polkadot/types.js +0 -4
- package/polkadot/types.js.map +1 -1
- package/rpc/index.d.ts +2 -43
- package/rpc/index.d.ts.map +1 -1
- package/rpc/index.js +12 -103
- package/rpc/index.js.map +1 -1
- 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/8.1.x.json +744 -0
- package/types/index.d.ts.map +1 -1
- package/types/index.js +4 -2
- package/types/index.js.map +1 -1
- package/polkadot/asset/definitions.d.ts +0 -16
- package/polkadot/asset/definitions.d.ts.map +0 -1
- package/polkadot/asset/definitions.js +0 -44
- package/polkadot/asset/definitions.js.map +0 -1
- package/polkadot/asset/index.d.ts +0 -2
- package/polkadot/asset/index.d.ts.map +0 -1
- package/polkadot/asset/index.js +0 -20
- package/polkadot/asset/index.js.map +0 -1
- package/polkadot/asset/types.d.ts +0 -2
- package/polkadot/asset/types.d.ts.map +0 -1
- package/polkadot/asset/types.js +0 -5
- package/polkadot/asset/types.js.map +0 -1
- package/polkadot/compliance/definitions.d.ts +0 -15
- package/polkadot/compliance/definitions.d.ts.map +0 -1
- package/polkadot/compliance/definitions.js +0 -26
- package/polkadot/compliance/definitions.js.map +0 -1
- package/polkadot/compliance/index.d.ts +0 -2
- package/polkadot/compliance/index.d.ts.map +0 -1
- package/polkadot/compliance/index.js +0 -20
- package/polkadot/compliance/index.js.map +0 -1
- package/polkadot/compliance/types.d.ts +0 -2
- package/polkadot/compliance/types.d.ts.map +0 -1
- package/polkadot/compliance/types.js +0 -5
- package/polkadot/compliance/types.js.map +0 -1
- package/polkadot/nft/definitions.d.ts +0 -16
- package/polkadot/nft/definitions.d.ts.map +0 -1
- package/polkadot/nft/definitions.js +0 -39
- package/polkadot/nft/definitions.js.map +0 -1
- package/polkadot/nft/index.d.ts +0 -2
- package/polkadot/nft/index.d.ts.map +0 -1
- package/polkadot/nft/index.js +0 -20
- package/polkadot/nft/index.js.map +0 -1
- package/polkadot/nft/types.d.ts +0 -2
- package/polkadot/nft/types.d.ts.map +0 -1
- package/polkadot/nft/types.js +0 -5
- package/polkadot/nft/types.js.map +0 -1
- package/polkadot/staking/definitions.d.ts +0 -16
- package/polkadot/staking/definitions.d.ts.map +0 -1
- package/polkadot/staking/definitions.js +0 -19
- package/polkadot/staking/definitions.js.map +0 -1
- package/polkadot/staking/index.d.ts +0 -2
- package/polkadot/staking/index.d.ts.map +0 -1
- package/polkadot/staking/index.js +0 -20
- package/polkadot/staking/index.js.map +0 -1
- package/polkadot/staking/types.d.ts +0 -2
- package/polkadot/staking/types.d.ts.map +0 -1
- package/polkadot/staking/types.js +0 -5
- package/polkadot/staking/types.js.map +0 -1
- package/rpc/6.x.d.ts +0 -198
- package/rpc/6.x.d.ts.map +0 -1
- package/rpc/6.x.js +0 -378
- package/rpc/6.x.js.map +0 -1
|
@@ -3,7 +3,7 @@ import type { ApiTypes, AugmentedQuery, QueryableStorageEntry } from '@polkadot/
|
|
|
3
3
|
import type { BTreeSet, Bytes, Compact, 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
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, PalletConfidentialAssetsAssetDetails, PalletConfidentialAssetsCurveTreeCurveTreeTimestamp, PalletConfidentialAssetsCurveTreeTimestampedTreeRoot, PalletConfidentialAssetsSettlementAffirmationStatus, PalletConfidentialAssetsSettlementLegAffirmParty, PalletConfidentialAssetsSettlementSettlementStatus,
|
|
6
|
+
import type { FrameSupportDispatchPerDispatchClassWeight, FrameSupportTokensFungibleImbalance, FrameSupportTokensMiscIdAmount, FrameSystemAccountInfo, FrameSystemCodeUpgradeAuthorization, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, PalletAssetAssetDetails, PalletAssetTickerRegistration, PalletAssetTickerRegistrationConfig, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReserveData, PalletCommitteePolymeshVotes, PalletConfidentialAssetsAssetDetails, PalletConfidentialAssetsCurveTreeCurveTreeTimestamp, PalletConfidentialAssetsCurveTreeTimestampedTreeRoot, PalletConfidentialAssetsSettlementAffirmationStatus, PalletConfidentialAssetsSettlementLegAffirmParty, PalletConfidentialAssetsSettlementSettlementStatus, PalletCorporateActionsBallotBallotMeta, PalletCorporateActionsBallotBallotTimeRange, PalletCorporateActionsBallotBallotVote, PalletCorporateActionsCaId, PalletCorporateActionsCorporateAction, PalletCorporateActionsDistribution, PalletCorporateActionsTargetIdentities, PalletElectionProviderMultiPhasePhase, PalletElectionProviderMultiPhaseReadySolution, PalletElectionProviderMultiPhaseRoundSnapshot, PalletElectionProviderMultiPhaseSignedSignedSubmission, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletIdentityClaim1stKey, PalletIdentityClaim2ndKey, PalletImOnlineSr25519AppSr25519Public, PalletMigrationsMigrationCursor, 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, PolymeshDartBpAccountAccountStateCommitment, PolymeshDartBpAccountAccountStateNullifier, PolymeshDartBpAssetAssetKeys, PolymeshDartBpFeeFeeAccountStateCommitment, PolymeshDartBpFeeFeeAccountStateNullifier, PolymeshDartBpKeysAccountPublicKey, PolymeshDartBpKeysEncryptionPublicKey, PolymeshDartBpLegSettlementRef, PolymeshDartCurveTreeCommonCompressedInner, PolymeshDartCurveTreeCommonCompressedLeafValue, PolymeshDartCurveTreeCommonNodeLocation, PolymeshDartCurveTreeCompressedCurveTreeRoot, 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>;
|
|
@@ -182,6 +182,20 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
182
182
|
frozen: AugmentedQuery<ApiType, (arg: PolymeshPrimitivesAssetAssetId | string | Uint8Array) => Observable<bool>, [
|
|
183
183
|
PolymeshPrimitivesAssetAssetId
|
|
184
184
|
]>;
|
|
185
|
+
/**
|
|
186
|
+
* Tracks if the account is frozen.
|
|
187
|
+
**/
|
|
188
|
+
frozenAccounts: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: PolymeshPrimitivesAssetAssetId | string | Uint8Array) => Observable<bool>, [
|
|
189
|
+
AccountId32,
|
|
190
|
+
PolymeshPrimitivesAssetAssetId
|
|
191
|
+
]>;
|
|
192
|
+
/**
|
|
193
|
+
* Tracks the amount of frozen tokens for each asset held by the account.
|
|
194
|
+
**/
|
|
195
|
+
frozenBalance: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: PolymeshPrimitivesAssetAssetId | string | Uint8Array) => Observable<u128>, [
|
|
196
|
+
AccountId32,
|
|
197
|
+
PolymeshPrimitivesAssetAssetId
|
|
198
|
+
]>;
|
|
185
199
|
/**
|
|
186
200
|
* Maps each [`AssetId`] to the name of its founding round ([`FundingRoundName`]).
|
|
187
201
|
**/
|
|
@@ -1039,73 +1053,6 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1039
1053
|
u32
|
|
1040
1054
|
]>;
|
|
1041
1055
|
};
|
|
1042
|
-
contracts: {
|
|
1043
|
-
/**
|
|
1044
|
-
* A mapping from a contract's code hash to its code info.
|
|
1045
|
-
**/
|
|
1046
|
-
codeInfoOf: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<PalletContractsWasmCodeInfo>>, [
|
|
1047
|
-
H256
|
|
1048
|
-
]>;
|
|
1049
|
-
/**
|
|
1050
|
-
* The code associated with a given account.
|
|
1051
|
-
*
|
|
1052
|
-
* TWOX-NOTE: SAFE since `AccountId` is a secure hash.
|
|
1053
|
-
**/
|
|
1054
|
-
contractInfoOf: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletContractsStorageContractInfo>>, [
|
|
1055
|
-
AccountId32
|
|
1056
|
-
]>;
|
|
1057
|
-
/**
|
|
1058
|
-
* Evicted contracts that await child trie deletion.
|
|
1059
|
-
*
|
|
1060
|
-
* Child trie deletion is a heavy operation depending on the amount of storage items
|
|
1061
|
-
* stored in said trie. Therefore this operation is performed lazily in `on_idle`.
|
|
1062
|
-
**/
|
|
1063
|
-
deletionQueue: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<Bytes>>, [
|
|
1064
|
-
u32
|
|
1065
|
-
]>;
|
|
1066
|
-
/**
|
|
1067
|
-
* A pair of monotonic counters used to track the latest contract marked for deletion
|
|
1068
|
-
* and the latest deleted contract in queue.
|
|
1069
|
-
**/
|
|
1070
|
-
deletionQueueCounter: AugmentedQuery<ApiType, () => Observable<PalletContractsStorageDeletionQueueManager>, [
|
|
1071
|
-
]>;
|
|
1072
|
-
/**
|
|
1073
|
-
* A migration can span across multiple blocks. This storage defines a cursor to track the
|
|
1074
|
-
* progress of the migration, enabling us to resume from the last completed position.
|
|
1075
|
-
**/
|
|
1076
|
-
migrationInProgress: AugmentedQuery<ApiType, () => Observable<Option<Bytes>>, []>;
|
|
1077
|
-
/**
|
|
1078
|
-
* This is a **monotonic** counter incremented on contract instantiation.
|
|
1079
|
-
*
|
|
1080
|
-
* This is used in order to generate unique trie ids for contracts.
|
|
1081
|
-
* The trie id of a new contract is calculated from hash(account_id, nonce).
|
|
1082
|
-
* The nonce is required because otherwise the following sequence would lead to
|
|
1083
|
-
* a possible collision of storage:
|
|
1084
|
-
*
|
|
1085
|
-
* 1. Create a new contract.
|
|
1086
|
-
* 2. Terminate the contract.
|
|
1087
|
-
* 3. Immediately recreate the contract with the same account_id.
|
|
1088
|
-
*
|
|
1089
|
-
* This is bad because the contents of a trie are deleted lazily and there might be
|
|
1090
|
-
* storage of the old instantiation still in it when the new contract is created. Please
|
|
1091
|
-
* note that we can't replace the counter by the block number because the sequence above
|
|
1092
|
-
* can happen in the same block. We also can't keep the account counter in memory only
|
|
1093
|
-
* because storage is the only way to communicate across different extrinsics in the
|
|
1094
|
-
* same block.
|
|
1095
|
-
*
|
|
1096
|
-
* # Note
|
|
1097
|
-
*
|
|
1098
|
-
* Do not use it to determine the number of contracts. It won't be decremented if
|
|
1099
|
-
* a contract is destroyed.
|
|
1100
|
-
**/
|
|
1101
|
-
nonce: AugmentedQuery<ApiType, () => Observable<u64>, []>;
|
|
1102
|
-
/**
|
|
1103
|
-
* A mapping from a contract's code hash to its code.
|
|
1104
|
-
**/
|
|
1105
|
-
pristineCode: AugmentedQuery<ApiType, (arg: H256 | string | Uint8Array) => Observable<Option<Bytes>>, [
|
|
1106
|
-
H256
|
|
1107
|
-
]>;
|
|
1108
|
-
};
|
|
1109
1056
|
corporateAction: {
|
|
1110
1057
|
/**
|
|
1111
1058
|
* Associations from CAs to `Document`s via their IDs.
|
|
@@ -1870,6 +1817,20 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1870
1817
|
ITuple<[u64, u64]>,
|
|
1871
1818
|
PolymeshPrimitivesAssetMetadataAssetMetadataKey
|
|
1872
1819
|
]>;
|
|
1820
|
+
/**
|
|
1821
|
+
* The number of NFTs of a given collection held by an account key.
|
|
1822
|
+
*
|
|
1823
|
+
* This is the account-level counterpart of `pallet_portfolio::PortfolioNFTCount`, mirroring
|
|
1824
|
+
* the split used by `pallet_asset::FrozenBalance` / `PortfolioFrozenAssets`. A zero count is
|
|
1825
|
+
* never stored; the entry is removed instead.
|
|
1826
|
+
*
|
|
1827
|
+
* Unlike [`NumberOfNFTs`], which aggregates over a whole identity, this is scoped to a
|
|
1828
|
+
* single account key and is what the ERC-721 precompile reports as `balanceOf`.
|
|
1829
|
+
**/
|
|
1830
|
+
nftAccountCount: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: PolymeshPrimitivesAssetAssetId | string | Uint8Array) => Observable<u64>, [
|
|
1831
|
+
AccountId32,
|
|
1832
|
+
PolymeshPrimitivesAssetAssetId
|
|
1833
|
+
]>;
|
|
1873
1834
|
/**
|
|
1874
1835
|
* All NFTs associated to the account Key.
|
|
1875
1836
|
**/
|
|
@@ -1891,6 +1852,22 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1891
1852
|
PolymeshPrimitivesAssetAssetId,
|
|
1892
1853
|
PolymeshPrimitivesIdentityId
|
|
1893
1854
|
]>;
|
|
1855
|
+
/**
|
|
1856
|
+
* Collection-wide operator approvals, keyed by `(owner, operator, asset_id)`.
|
|
1857
|
+
*
|
|
1858
|
+
* Mirrors the ERC-721 `setApprovalForAll`, but scoped to a single collection rather than to
|
|
1859
|
+
* every collection the owner holds: each ERC-721 precompile address is one collection, and
|
|
1860
|
+
* this matches `pallet_asset::Allowances` being per-`AssetId`. `false` is never stored; the
|
|
1861
|
+
* entry is removed instead.
|
|
1862
|
+
*
|
|
1863
|
+
* Uses `StorageNMap` so that all operator approvals of a given owner can be iterated by
|
|
1864
|
+
* prefix.
|
|
1865
|
+
**/
|
|
1866
|
+
operatorApproval: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: AccountId32 | string | Uint8Array, arg3: PolymeshPrimitivesAssetAssetId | string | Uint8Array) => Observable<bool>, [
|
|
1867
|
+
AccountId32,
|
|
1868
|
+
AccountId32,
|
|
1869
|
+
PolymeshPrimitivesAssetAssetId
|
|
1870
|
+
]>;
|
|
1894
1871
|
/**
|
|
1895
1872
|
* Reverse mapping for allowing to find the owner of a specific NFT.
|
|
1896
1873
|
**/
|
|
@@ -1898,6 +1875,16 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1898
1875
|
PolymeshPrimitivesAssetAssetId,
|
|
1899
1876
|
u64
|
|
1900
1877
|
]>;
|
|
1878
|
+
/**
|
|
1879
|
+
* The account approved to transfer a specific NFT, if any.
|
|
1880
|
+
*
|
|
1881
|
+
* Mirrors the ERC-721 per-token approval. The entry is cleared whenever the NFT changes
|
|
1882
|
+
* hands, so an approval never survives a transfer.
|
|
1883
|
+
**/
|
|
1884
|
+
tokenApproval: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesAssetAssetId | string | Uint8Array, arg2: u64 | AnyNumber | Uint8Array) => Observable<Option<AccountId32>>, [
|
|
1885
|
+
PolymeshPrimitivesAssetAssetId,
|
|
1886
|
+
u64
|
|
1887
|
+
]>;
|
|
1901
1888
|
};
|
|
1902
1889
|
offences: {
|
|
1903
1890
|
/**
|
|
@@ -2094,36 +2081,6 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
2094
2081
|
H256
|
|
2095
2082
|
]>;
|
|
2096
2083
|
};
|
|
2097
|
-
polymeshContracts: {
|
|
2098
|
-
/**
|
|
2099
|
-
* Stores the chain version and code hash for the next chain upgrade.
|
|
2100
|
-
**/
|
|
2101
|
-
apiNextUpgrade: AugmentedQuery<ApiType, (arg: PolymeshContractsApi | {
|
|
2102
|
-
desc?: any;
|
|
2103
|
-
major?: any;
|
|
2104
|
-
} | string | Uint8Array) => Observable<Option<PolymeshContractsNextUpgrade>>, [
|
|
2105
|
-
PolymeshContractsApi
|
|
2106
|
-
]>;
|
|
2107
|
-
/**
|
|
2108
|
-
* Whitelist of extrinsics allowed to be called from contracts.
|
|
2109
|
-
**/
|
|
2110
|
-
callRuntimeWhitelist: AugmentedQuery<ApiType, (arg: PolymeshContractsChainExtensionExtrinsicId) => Observable<bool>, [
|
|
2111
|
-
PolymeshContractsChainExtensionExtrinsicId
|
|
2112
|
-
]>;
|
|
2113
|
-
/**
|
|
2114
|
-
* Stores the code hash for the current api.
|
|
2115
|
-
**/
|
|
2116
|
-
currentApiHash: AugmentedQuery<ApiType, (arg: PolymeshContractsApi | {
|
|
2117
|
-
desc?: any;
|
|
2118
|
-
major?: any;
|
|
2119
|
-
} | string | Uint8Array) => Observable<Option<PolymeshContractsApiCodeHash>>, [
|
|
2120
|
-
PolymeshContractsApi
|
|
2121
|
-
]>;
|
|
2122
|
-
/**
|
|
2123
|
-
* Storage version.
|
|
2124
|
-
**/
|
|
2125
|
-
storageVersion: AugmentedQuery<ApiType, () => Observable<u8>, []>;
|
|
2126
|
-
};
|
|
2127
2084
|
polymeshTransactionPayment: {
|
|
2128
2085
|
/**
|
|
2129
2086
|
* It stores the current gas fee payer for the current transaction.
|
|
@@ -2138,6 +2095,13 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
2138
2095
|
PolymeshPrimitivesIdentityId,
|
|
2139
2096
|
PolymeshPrimitivesIdentityId
|
|
2140
2097
|
]>;
|
|
2098
|
+
frozenPortfolios: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesIdentityIdPortfolioId | {
|
|
2099
|
+
did?: any;
|
|
2100
|
+
kind?: any;
|
|
2101
|
+
} | string | Uint8Array, arg2: PolymeshPrimitivesAssetAssetId | string | Uint8Array) => Observable<bool>, [
|
|
2102
|
+
PolymeshPrimitivesIdentityIdPortfolioId,
|
|
2103
|
+
PolymeshPrimitivesAssetAssetId
|
|
2104
|
+
]>;
|
|
2141
2105
|
/**
|
|
2142
2106
|
* Inverse map of `Portfolios` used to ensure bijectivitiy,
|
|
2143
2107
|
* and uniqueness of names in `Portfolios`.
|
|
@@ -2180,6 +2144,16 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
2180
2144
|
} | string | Uint8Array) => Observable<Option<PolymeshPrimitivesIdentityId>>, [
|
|
2181
2145
|
PolymeshPrimitivesIdentityIdPortfolioId
|
|
2182
2146
|
]>;
|
|
2147
|
+
/**
|
|
2148
|
+
* Amount of assets frozen in a portfolio.
|
|
2149
|
+
**/
|
|
2150
|
+
portfolioFrozenAssets: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesIdentityIdPortfolioId | {
|
|
2151
|
+
did?: any;
|
|
2152
|
+
kind?: any;
|
|
2153
|
+
} | string | Uint8Array, arg2: PolymeshPrimitivesAssetAssetId | string | Uint8Array) => Observable<u128>, [
|
|
2154
|
+
PolymeshPrimitivesIdentityIdPortfolioId,
|
|
2155
|
+
PolymeshPrimitivesAssetAssetId
|
|
2156
|
+
]>;
|
|
2183
2157
|
/**
|
|
2184
2158
|
* Amount of assets locked in a portfolio.
|
|
2185
2159
|
* These assets show up in portfolio balance but can not be transferred away.
|
|
@@ -2212,6 +2186,20 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
2212
2186
|
PolymeshPrimitivesAssetAssetId,
|
|
2213
2187
|
u64
|
|
2214
2188
|
]>;
|
|
2189
|
+
/**
|
|
2190
|
+
* The number of NFTs of a given collection held by a portfolio.
|
|
2191
|
+
*
|
|
2192
|
+
* This is the portfolio-level counterpart of `pallet_nft::NFTAccountCount`, mirroring the
|
|
2193
|
+
* split used by `PortfolioFrozenAssets` / `pallet_asset::FrozenBalance`. A zero count is
|
|
2194
|
+
* never stored; the entry is removed instead.
|
|
2195
|
+
**/
|
|
2196
|
+
portfolioNFTCount: AugmentedQuery<ApiType, (arg1: PolymeshPrimitivesIdentityIdPortfolioId | {
|
|
2197
|
+
did?: any;
|
|
2198
|
+
kind?: any;
|
|
2199
|
+
} | string | Uint8Array, arg2: PolymeshPrimitivesAssetAssetId | string | Uint8Array) => Observable<u64>, [
|
|
2200
|
+
PolymeshPrimitivesIdentityIdPortfolioId,
|
|
2201
|
+
PolymeshPrimitivesAssetAssetId
|
|
2202
|
+
]>;
|
|
2215
2203
|
/**
|
|
2216
2204
|
* The set of existing portfolios with their names. If a certain pair of a DID and
|
|
2217
2205
|
* portfolio number maps to `None` then such a portfolio doesn't exist. Conversely, if a
|
|
@@ -3333,6 +3321,16 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
3333
3321
|
]>;
|
|
3334
3322
|
};
|
|
3335
3323
|
validators: {
|
|
3324
|
+
/**
|
|
3325
|
+
* Current payout era index.
|
|
3326
|
+
**/
|
|
3327
|
+
currentPayoutEra: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []>;
|
|
3328
|
+
/**
|
|
3329
|
+
* Validators that are awaiting payout for a given era.
|
|
3330
|
+
**/
|
|
3331
|
+
pendingPayouts: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<AccountId32>>, [
|
|
3332
|
+
u32
|
|
3333
|
+
]>;
|
|
3336
3334
|
/**
|
|
3337
3335
|
* Entities that are allowed to run operator/validator nodes.
|
|
3338
3336
|
**/
|