@polkadot/api-augment 10.7.3 → 10.9.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.
@@ -2,8 +2,8 @@ import '@polkadot/api-base/types/events';
2
2
  import type { ApiTypes, AugmentedEvent } from '@polkadot/api-base/types';
3
3
  import type { Bytes, Null, Option, Result, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
4
4
  import type { ITuple } from '@polkadot/types-codec/types';
5
- import type { AccountId32, H256, Perbill, Perquintill } from '@polkadot/types/interfaces/runtime';
6
- import type { FrameSupportDispatchDispatchInfo, FrameSupportDispatchPostDispatchInfo, FrameSupportMessagesProcessMessageError, FrameSupportPreimagesBounded, FrameSupportTokensMiscBalanceStatus, KitchensinkRuntimeProxyType, PalletAllianceCid, PalletAllianceUnscrupulousItem, PalletContractsOrigin, PalletConvictionVotingTally, PalletCoreFellowshipParamsType, PalletCoreFellowshipWish, PalletDemocracyMetadataOwner, PalletDemocracyVoteAccountVote, PalletDemocracyVoteThreshold, PalletElectionProviderMultiPhaseElectionCompute, PalletElectionProviderMultiPhasePhase, PalletImOnlineSr25519AppSr25519Public, PalletMultisigTimepoint, PalletNftsAttributeNamespace, PalletNftsPalletAttributes, PalletNftsPriceWithDirection, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsPoolState, PalletRankedCollectiveTally, PalletRankedCollectiveVoteRecord, PalletStakingExposure, PalletStakingForcing, PalletStakingValidatorPrefs, PalletStateTrieMigrationError, PalletStateTrieMigrationMigrationCompute, SpConsensusGrandpaAppPublic, SpNposElectionsElectionScore, SpRuntimeDispatchError, SpRuntimeDispatchErrorWithPostInfo, SpStatementStoreStatement, SpWeightsWeightV2Weight } from '@polkadot/types/lookup';
5
+ import type { AccountId32, H256, Perbill, Permill, Perquintill } from '@polkadot/types/interfaces/runtime';
6
+ import type { FrameSupportDispatchDispatchInfo, FrameSupportDispatchPostDispatchInfo, FrameSupportMessagesProcessMessageError, FrameSupportPreimagesBounded, FrameSupportTokensMiscBalanceStatus, KitchensinkRuntimeProxyType, PalletAllianceCid, PalletAllianceUnscrupulousItem, PalletAssetConversionNativeOrAssetId, PalletContractsOrigin, PalletConvictionVotingTally, PalletCoreFellowshipParamsType, PalletCoreFellowshipWish, PalletDemocracyMetadataOwner, PalletDemocracyVoteAccountVote, PalletDemocracyVoteThreshold, PalletElectionProviderMultiPhaseElectionCompute, PalletElectionProviderMultiPhasePhase, PalletImOnlineSr25519AppSr25519Public, PalletMultisigTimepoint, PalletNftsAttributeNamespace, PalletNftsPalletAttributes, PalletNftsPriceWithDirection, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsPoolState, PalletRankedCollectiveTally, PalletRankedCollectiveVoteRecord, PalletStakingExposure, PalletStakingForcing, PalletStakingValidatorPrefs, PalletStateTrieMigrationError, PalletStateTrieMigrationMigrationCompute, SpConsensusGrandpaAppPublic, SpNposElectionsElectionScore, SpRuntimeDispatchError, SpRuntimeDispatchErrorWithPostInfo, SpStatementStoreStatement, SpWeightsWeightV2Weight } from '@polkadot/types/lookup';
7
7
  export type __AugmentedEvent<ApiType extends ApiTypes> = AugmentedEvent<ApiType>;
8
8
  declare module '@polkadot/api-base/types/events' {
9
9
  interface AugmentedEvents<ApiType extends ApiTypes> {
@@ -159,6 +159,65 @@ declare module '@polkadot/api-base/types/events' {
159
159
  **/
160
160
  [key: string]: AugmentedEvent<ApiType>;
161
161
  };
162
+ assetConversion: {
163
+ /**
164
+ * A successful call of the `AddLiquidity` extrinsic will create this event.
165
+ **/
166
+ LiquidityAdded: AugmentedEvent<ApiType, [who: AccountId32, mintTo: AccountId32, poolId: ITuple<[PalletAssetConversionNativeOrAssetId, PalletAssetConversionNativeOrAssetId]>, amount1Provided: u128, amount2Provided: u128, lpToken: u32, lpTokenMinted: u128], {
167
+ who: AccountId32;
168
+ mintTo: AccountId32;
169
+ poolId: ITuple<[PalletAssetConversionNativeOrAssetId, PalletAssetConversionNativeOrAssetId]>;
170
+ amount1Provided: u128;
171
+ amount2Provided: u128;
172
+ lpToken: u32;
173
+ lpTokenMinted: u128;
174
+ }>;
175
+ /**
176
+ * A successful call of the `RemoveLiquidity` extrinsic will create this event.
177
+ **/
178
+ LiquidityRemoved: AugmentedEvent<ApiType, [who: AccountId32, withdrawTo: AccountId32, poolId: ITuple<[PalletAssetConversionNativeOrAssetId, PalletAssetConversionNativeOrAssetId]>, amount1: u128, amount2: u128, lpToken: u32, lpTokenBurned: u128, withdrawalFee: Permill], {
179
+ who: AccountId32;
180
+ withdrawTo: AccountId32;
181
+ poolId: ITuple<[PalletAssetConversionNativeOrAssetId, PalletAssetConversionNativeOrAssetId]>;
182
+ amount1: u128;
183
+ amount2: u128;
184
+ lpToken: u32;
185
+ lpTokenBurned: u128;
186
+ withdrawalFee: Permill;
187
+ }>;
188
+ /**
189
+ * A successful call of the `CretaPool` extrinsic will create this event.
190
+ **/
191
+ PoolCreated: AugmentedEvent<ApiType, [creator: AccountId32, poolId: ITuple<[PalletAssetConversionNativeOrAssetId, PalletAssetConversionNativeOrAssetId]>, lpToken: u32], {
192
+ creator: AccountId32;
193
+ poolId: ITuple<[PalletAssetConversionNativeOrAssetId, PalletAssetConversionNativeOrAssetId]>;
194
+ lpToken: u32;
195
+ }>;
196
+ /**
197
+ * Assets have been converted from one to another. Both `SwapExactTokenForToken`
198
+ * and `SwapTokenForExactToken` will generate this event.
199
+ **/
200
+ SwapExecuted: AugmentedEvent<ApiType, [who: AccountId32, sendTo: AccountId32, path: Vec<PalletAssetConversionNativeOrAssetId>, amountIn: u128, amountOut: u128], {
201
+ who: AccountId32;
202
+ sendTo: AccountId32;
203
+ path: Vec<PalletAssetConversionNativeOrAssetId>;
204
+ amountIn: u128;
205
+ amountOut: u128;
206
+ }>;
207
+ /**
208
+ * An amount has been transferred from one account to another.
209
+ **/
210
+ Transfer: AugmentedEvent<ApiType, [from: AccountId32, to: AccountId32, asset: PalletAssetConversionNativeOrAssetId, amount: u128], {
211
+ from: AccountId32;
212
+ to: AccountId32;
213
+ asset: PalletAssetConversionNativeOrAssetId;
214
+ amount: u128;
215
+ }>;
216
+ /**
217
+ * Generic event
218
+ **/
219
+ [key: string]: AugmentedEvent<ApiType>;
220
+ };
162
221
  assetRate: {
163
222
  AssetRateCreated: AugmentedEvent<ApiType, [assetId: u32, rate: u128], {
164
223
  assetId: u32;
@@ -1126,19 +1185,19 @@ declare module '@polkadot/api-base/types/events' {
1126
1185
  };
1127
1186
  glutton: {
1128
1187
  /**
1129
- * The computation limit has been updated by root.
1188
+ * The computation limit has been updated.
1130
1189
  **/
1131
1190
  ComputationLimitSet: AugmentedEvent<ApiType, [compute: Perbill], {
1132
1191
  compute: Perbill;
1133
1192
  }>;
1134
1193
  /**
1135
- * The pallet has been (re)initialized by root.
1194
+ * The pallet has been (re)initialized.
1136
1195
  **/
1137
1196
  PalletInitialized: AugmentedEvent<ApiType, [reinit: bool], {
1138
1197
  reinit: bool;
1139
1198
  }>;
1140
1199
  /**
1141
- * The storage limit has been updated by root.
1200
+ * The storage limit has been updated.
1142
1201
  **/
1143
1202
  StorageLimitSet: AugmentedEvent<ApiType, [storage: Perbill], {
1144
1203
  storage: Perbill;
@@ -1323,18 +1382,11 @@ declare module '@polkadot/api-base/types/events' {
1323
1382
  [key: string]: AugmentedEvent<ApiType>;
1324
1383
  };
1325
1384
  messageQueue: {
1326
- /**
1327
- * Message discarded due to an inability to decode the item. Usually caused by state
1328
- * corruption.
1329
- **/
1330
- Discarded: AugmentedEvent<ApiType, [hash_: H256], {
1331
- hash_: H256;
1332
- }>;
1333
1385
  /**
1334
1386
  * Message placed in overweight queue.
1335
1387
  **/
1336
- OverweightEnqueued: AugmentedEvent<ApiType, [hash_: H256, origin: u32, pageIndex: u32, messageIndex: u32], {
1337
- hash_: H256;
1388
+ OverweightEnqueued: AugmentedEvent<ApiType, [id: U8aFixed, origin: u32, pageIndex: u32, messageIndex: u32], {
1389
+ id: U8aFixed;
1338
1390
  origin: u32;
1339
1391
  pageIndex: u32;
1340
1392
  messageIndex: u32;
@@ -1349,8 +1401,8 @@ declare module '@polkadot/api-base/types/events' {
1349
1401
  /**
1350
1402
  * Message is processed.
1351
1403
  **/
1352
- Processed: AugmentedEvent<ApiType, [hash_: H256, origin: u32, weightUsed: SpWeightsWeightV2Weight, success: bool], {
1353
- hash_: H256;
1404
+ Processed: AugmentedEvent<ApiType, [id: U8aFixed, origin: u32, weightUsed: SpWeightsWeightV2Weight, success: bool], {
1405
+ id: U8aFixed;
1354
1406
  origin: u32;
1355
1407
  weightUsed: SpWeightsWeightV2Weight;
1356
1408
  success: bool;
@@ -1358,8 +1410,8 @@ declare module '@polkadot/api-base/types/events' {
1358
1410
  /**
1359
1411
  * Message discarded due to an error in the `MessageProcessor` (usually a format error).
1360
1412
  **/
1361
- ProcessingFailed: AugmentedEvent<ApiType, [hash_: H256, origin: u32, error: FrameSupportMessagesProcessMessageError], {
1362
- hash_: H256;
1413
+ ProcessingFailed: AugmentedEvent<ApiType, [id: U8aFixed, origin: u32, error: FrameSupportMessagesProcessMessageError], {
1414
+ id: U8aFixed;
1363
1415
  origin: u32;
1364
1416
  error: FrameSupportMessagesProcessMessageError;
1365
1417
  }>;
@@ -1410,6 +1462,31 @@ declare module '@polkadot/api-base/types/events' {
1410
1462
  **/
1411
1463
  [key: string]: AugmentedEvent<ApiType>;
1412
1464
  };
1465
+ nftFractionalization: {
1466
+ /**
1467
+ * An NFT was successfully fractionalized.
1468
+ **/
1469
+ NftFractionalized: AugmentedEvent<ApiType, [nftCollection: u32, nft: u32, fractions: u128, asset: u32, beneficiary: AccountId32], {
1470
+ nftCollection: u32;
1471
+ nft: u32;
1472
+ fractions: u128;
1473
+ asset: u32;
1474
+ beneficiary: AccountId32;
1475
+ }>;
1476
+ /**
1477
+ * An NFT was successfully returned back.
1478
+ **/
1479
+ NftUnified: AugmentedEvent<ApiType, [nftCollection: u32, nft: u32, asset: u32, beneficiary: AccountId32], {
1480
+ nftCollection: u32;
1481
+ nft: u32;
1482
+ asset: u32;
1483
+ beneficiary: AccountId32;
1484
+ }>;
1485
+ /**
1486
+ * Generic event
1487
+ **/
1488
+ [key: string]: AugmentedEvent<ApiType>;
1489
+ };
1413
1490
  nfts: {
1414
1491
  /**
1415
1492
  * All approvals of an item got cancelled.
@@ -1944,6 +2021,194 @@ declare module '@polkadot/api-base/types/events' {
1944
2021
  **/
1945
2022
  [key: string]: AugmentedEvent<ApiType>;
1946
2023
  };
2024
+ poolAssets: {
2025
+ /**
2026
+ * Accounts were destroyed for given asset.
2027
+ **/
2028
+ AccountsDestroyed: AugmentedEvent<ApiType, [assetId: u32, accountsDestroyed: u32, accountsRemaining: u32], {
2029
+ assetId: u32;
2030
+ accountsDestroyed: u32;
2031
+ accountsRemaining: u32;
2032
+ }>;
2033
+ /**
2034
+ * An approval for account `delegate` was cancelled by `owner`.
2035
+ **/
2036
+ ApprovalCancelled: AugmentedEvent<ApiType, [assetId: u32, owner: AccountId32, delegate: AccountId32], {
2037
+ assetId: u32;
2038
+ owner: AccountId32;
2039
+ delegate: AccountId32;
2040
+ }>;
2041
+ /**
2042
+ * Approvals were destroyed for given asset.
2043
+ **/
2044
+ ApprovalsDestroyed: AugmentedEvent<ApiType, [assetId: u32, approvalsDestroyed: u32, approvalsRemaining: u32], {
2045
+ assetId: u32;
2046
+ approvalsDestroyed: u32;
2047
+ approvalsRemaining: u32;
2048
+ }>;
2049
+ /**
2050
+ * (Additional) funds have been approved for transfer to a destination account.
2051
+ **/
2052
+ ApprovedTransfer: AugmentedEvent<ApiType, [assetId: u32, source: AccountId32, delegate: AccountId32, amount: u128], {
2053
+ assetId: u32;
2054
+ source: AccountId32;
2055
+ delegate: AccountId32;
2056
+ amount: u128;
2057
+ }>;
2058
+ /**
2059
+ * Some asset `asset_id` was frozen.
2060
+ **/
2061
+ AssetFrozen: AugmentedEvent<ApiType, [assetId: u32], {
2062
+ assetId: u32;
2063
+ }>;
2064
+ /**
2065
+ * The min_balance of an asset has been updated by the asset owner.
2066
+ **/
2067
+ AssetMinBalanceChanged: AugmentedEvent<ApiType, [assetId: u32, newMinBalance: u128], {
2068
+ assetId: u32;
2069
+ newMinBalance: u128;
2070
+ }>;
2071
+ /**
2072
+ * An asset has had its attributes changed by the `Force` origin.
2073
+ **/
2074
+ AssetStatusChanged: AugmentedEvent<ApiType, [assetId: u32], {
2075
+ assetId: u32;
2076
+ }>;
2077
+ /**
2078
+ * Some asset `asset_id` was thawed.
2079
+ **/
2080
+ AssetThawed: AugmentedEvent<ApiType, [assetId: u32], {
2081
+ assetId: u32;
2082
+ }>;
2083
+ /**
2084
+ * Some account `who` was blocked.
2085
+ **/
2086
+ Blocked: AugmentedEvent<ApiType, [assetId: u32, who: AccountId32], {
2087
+ assetId: u32;
2088
+ who: AccountId32;
2089
+ }>;
2090
+ /**
2091
+ * Some assets were destroyed.
2092
+ **/
2093
+ Burned: AugmentedEvent<ApiType, [assetId: u32, owner: AccountId32, balance: u128], {
2094
+ assetId: u32;
2095
+ owner: AccountId32;
2096
+ balance: u128;
2097
+ }>;
2098
+ /**
2099
+ * Some asset class was created.
2100
+ **/
2101
+ Created: AugmentedEvent<ApiType, [assetId: u32, creator: AccountId32, owner: AccountId32], {
2102
+ assetId: u32;
2103
+ creator: AccountId32;
2104
+ owner: AccountId32;
2105
+ }>;
2106
+ /**
2107
+ * An asset class was destroyed.
2108
+ **/
2109
+ Destroyed: AugmentedEvent<ApiType, [assetId: u32], {
2110
+ assetId: u32;
2111
+ }>;
2112
+ /**
2113
+ * An asset class is in the process of being destroyed.
2114
+ **/
2115
+ DestructionStarted: AugmentedEvent<ApiType, [assetId: u32], {
2116
+ assetId: u32;
2117
+ }>;
2118
+ /**
2119
+ * Some asset class was force-created.
2120
+ **/
2121
+ ForceCreated: AugmentedEvent<ApiType, [assetId: u32, owner: AccountId32], {
2122
+ assetId: u32;
2123
+ owner: AccountId32;
2124
+ }>;
2125
+ /**
2126
+ * Some account `who` was frozen.
2127
+ **/
2128
+ Frozen: AugmentedEvent<ApiType, [assetId: u32, who: AccountId32], {
2129
+ assetId: u32;
2130
+ who: AccountId32;
2131
+ }>;
2132
+ /**
2133
+ * Some assets were issued.
2134
+ **/
2135
+ Issued: AugmentedEvent<ApiType, [assetId: u32, owner: AccountId32, amount: u128], {
2136
+ assetId: u32;
2137
+ owner: AccountId32;
2138
+ amount: u128;
2139
+ }>;
2140
+ /**
2141
+ * Metadata has been cleared for an asset.
2142
+ **/
2143
+ MetadataCleared: AugmentedEvent<ApiType, [assetId: u32], {
2144
+ assetId: u32;
2145
+ }>;
2146
+ /**
2147
+ * New metadata has been set for an asset.
2148
+ **/
2149
+ MetadataSet: AugmentedEvent<ApiType, [assetId: u32, name: Bytes, symbol_: Bytes, decimals: u8, isFrozen: bool], {
2150
+ assetId: u32;
2151
+ name: Bytes;
2152
+ symbol: Bytes;
2153
+ decimals: u8;
2154
+ isFrozen: bool;
2155
+ }>;
2156
+ /**
2157
+ * The owner changed.
2158
+ **/
2159
+ OwnerChanged: AugmentedEvent<ApiType, [assetId: u32, owner: AccountId32], {
2160
+ assetId: u32;
2161
+ owner: AccountId32;
2162
+ }>;
2163
+ /**
2164
+ * The management team changed.
2165
+ **/
2166
+ TeamChanged: AugmentedEvent<ApiType, [assetId: u32, issuer: AccountId32, admin: AccountId32, freezer: AccountId32], {
2167
+ assetId: u32;
2168
+ issuer: AccountId32;
2169
+ admin: AccountId32;
2170
+ freezer: AccountId32;
2171
+ }>;
2172
+ /**
2173
+ * Some account `who` was thawed.
2174
+ **/
2175
+ Thawed: AugmentedEvent<ApiType, [assetId: u32, who: AccountId32], {
2176
+ assetId: u32;
2177
+ who: AccountId32;
2178
+ }>;
2179
+ /**
2180
+ * Some account `who` was created with a deposit from `depositor`.
2181
+ **/
2182
+ Touched: AugmentedEvent<ApiType, [assetId: u32, who: AccountId32, depositor: AccountId32], {
2183
+ assetId: u32;
2184
+ who: AccountId32;
2185
+ depositor: AccountId32;
2186
+ }>;
2187
+ /**
2188
+ * Some assets were transferred.
2189
+ **/
2190
+ Transferred: AugmentedEvent<ApiType, [assetId: u32, from: AccountId32, to: AccountId32, amount: u128], {
2191
+ assetId: u32;
2192
+ from: AccountId32;
2193
+ to: AccountId32;
2194
+ amount: u128;
2195
+ }>;
2196
+ /**
2197
+ * An `amount` was transferred in its entirety from `owner` to `destination` by
2198
+ * the approved `delegate`.
2199
+ **/
2200
+ TransferredApproved: AugmentedEvent<ApiType, [assetId: u32, owner: AccountId32, delegate: AccountId32, destination: AccountId32, amount: u128], {
2201
+ assetId: u32;
2202
+ owner: AccountId32;
2203
+ delegate: AccountId32;
2204
+ destination: AccountId32;
2205
+ amount: u128;
2206
+ }>;
2207
+ /**
2208
+ * Generic event
2209
+ **/
2210
+ [key: string]: AugmentedEvent<ApiType>;
2211
+ };
1947
2212
  pov: {
1948
2213
  TestEvent: AugmentedEvent<ApiType, []>;
1949
2214
  /**
@@ -4,7 +4,7 @@ import type { Data } from '@polkadot/types';
4
4
  import type { BTreeSet, Bytes, Null, Option, Struct, U8aFixed, Vec, WrapperOpaque, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
5
5
  import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
6
6
  import type { AccountId32, Call, H256, Perbill, Percent } from '@polkadot/types/interfaces/runtime';
7
- import type { FrameSupportDispatchPerDispatchClassWeight, FrameSupportPreimagesBounded, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, KitchensinkRuntimeHoldReason, KitchensinkRuntimeSessionKeys, PalletAllianceCid, PalletAllianceMemberRole, PalletAssetsApproval, PalletAssetsAssetAccount, PalletAssetsAssetDetails, PalletAssetsAssetMetadata, PalletBagsListListBag, PalletBagsListListNode, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesIdAmount, PalletBalancesReserveData, PalletBountiesBounty, PalletChildBountiesChildBounty, PalletCollectiveVotes, PalletContractsStorageContractInfo, PalletContractsStorageDeletionQueueManager, PalletContractsWasmOwnerInfo, PalletContractsWasmPrefabWasmModule, PalletConvictionVotingVoteVoting, PalletCoreFellowshipMemberStatus, PalletCoreFellowshipParamsType, PalletCoreFellowshipWish, PalletDemocracyMetadataOwner, PalletDemocracyReferendumInfo, PalletDemocracyVoteThreshold, PalletDemocracyVoteVoting, PalletElectionProviderMultiPhasePhase, PalletElectionProviderMultiPhaseReadySolution, PalletElectionProviderMultiPhaseRoundSnapshot, PalletElectionProviderMultiPhaseSignedSignedSubmission, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenSeatHolder, PalletElectionsPhragmenVoter, PalletFastUnstakeUnstakeRequest, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletImOnlineBoundedOpaqueNetworkState, PalletImOnlineSr25519AppSr25519Public, PalletLotteryLotteryConfig, PalletMessageQueueBookState, PalletMessageQueuePage, PalletMultisigMultisig, PalletNftsAttributeDeposit, PalletNftsAttributeNamespace, PalletNftsCollectionConfig, PalletNftsCollectionDetails, PalletNftsCollectionMetadata, PalletNftsItemConfig, PalletNftsItemDetails, PalletNftsItemMetadata, PalletNftsPendingSwap, PalletNisBid, PalletNisReceiptRecord, PalletNisSummaryRecord, PalletNominationPoolsBondedPoolInner, PalletNominationPoolsClaimPermission, PalletNominationPoolsPoolMember, PalletNominationPoolsRewardPool, PalletNominationPoolsSubPools, PalletPreimageRequestStatus, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletRankedCollectiveMemberRecord, PalletRankedCollectiveVoteRecord, PalletRecoveryActiveRecovery, PalletRecoveryRecoveryConfig, PalletReferendaReferendumInfoConvictionVotingTally, PalletReferendaReferendumInfoRankedCollectiveTally, PalletSalaryClaimantStatus, PalletSalaryStatusType, PalletSchedulerScheduled, PalletSocietyBid, PalletSocietyBidKind, PalletSocietyVote, PalletSocietyVouchingStatus, PalletStakingActiveEraInfo, PalletStakingEraRewardPoints, PalletStakingExposure, PalletStakingForcing, PalletStakingNominations, PalletStakingRewardDestination, PalletStakingSlashingSlashingSpans, PalletStakingSlashingSpanRecord, PalletStakingStakingLedger, PalletStakingUnappliedSlash, PalletStakingValidatorPrefs, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletTipsOpenTip, PalletTransactionPaymentReleases, PalletTransactionStorageTransactionInfo, PalletTreasuryProposal, PalletUniquesCollectionDetails, PalletUniquesCollectionMetadata, PalletUniquesItemDetails, PalletUniquesItemMetadata, PalletVestingReleases, PalletVestingVestingInfo, SpAuthorityDiscoveryAppPublic, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBabeDigestsPreDigest, SpCoreCryptoKeyTypeId, SpNposElectionsElectionScore, SpRuntimeDigest, SpStakingOffenceOffenceDetails } from '@polkadot/types/lookup';
7
+ import type { FrameSupportDispatchPerDispatchClassWeight, FrameSupportPreimagesBounded, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, KitchensinkRuntimeRuntimeHoldReason, KitchensinkRuntimeSessionKeys, PalletAllianceCid, PalletAllianceMemberRole, PalletAssetConversionNativeOrAssetId, PalletAssetConversionPoolInfo, PalletAssetsApproval, PalletAssetsAssetAccount, PalletAssetsAssetDetails, PalletAssetsAssetMetadata, PalletBagsListListBag, PalletBagsListListNode, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesIdAmount, PalletBalancesReserveData, PalletBountiesBounty, PalletChildBountiesChildBounty, PalletCollectiveVotes, PalletContractsStorageContractInfo, PalletContractsStorageDeletionQueueManager, PalletContractsWasmOwnerInfo, PalletContractsWasmPrefabWasmModule, PalletConvictionVotingVoteVoting, PalletCoreFellowshipMemberStatus, PalletCoreFellowshipParamsType, PalletCoreFellowshipWish, PalletDemocracyMetadataOwner, PalletDemocracyReferendumInfo, PalletDemocracyVoteThreshold, PalletDemocracyVoteVoting, PalletElectionProviderMultiPhasePhase, PalletElectionProviderMultiPhaseReadySolution, PalletElectionProviderMultiPhaseRoundSnapshot, PalletElectionProviderMultiPhaseSignedSignedSubmission, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenSeatHolder, PalletElectionsPhragmenVoter, PalletFastUnstakeUnstakeRequest, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletImOnlineBoundedOpaqueNetworkState, PalletImOnlineSr25519AppSr25519Public, PalletLotteryLotteryConfig, PalletMessageQueueBookState, PalletMessageQueuePage, PalletMultisigMultisig, PalletNftFractionalizationDetails, PalletNftsAttributeDeposit, PalletNftsAttributeNamespace, PalletNftsCollectionConfig, PalletNftsCollectionDetails, PalletNftsCollectionMetadata, PalletNftsItemConfig, PalletNftsItemDetails, PalletNftsItemMetadata, PalletNftsPendingSwap, PalletNisBid, PalletNisReceiptRecord, PalletNisSummaryRecord, PalletNominationPoolsBondedPoolInner, PalletNominationPoolsClaimPermission, PalletNominationPoolsPoolMember, PalletNominationPoolsRewardPool, PalletNominationPoolsSubPools, PalletPreimageRequestStatus, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletRankedCollectiveMemberRecord, PalletRankedCollectiveVoteRecord, PalletRecoveryActiveRecovery, PalletRecoveryRecoveryConfig, PalletReferendaReferendumInfoConvictionVotingTally, PalletReferendaReferendumInfoRankedCollectiveTally, PalletSalaryClaimantStatus, PalletSalaryStatusType, PalletSchedulerScheduled, PalletSocietyBid, PalletSocietyBidKind, PalletSocietyVote, PalletSocietyVouchingStatus, PalletStakingActiveEraInfo, PalletStakingEraRewardPoints, PalletStakingExposure, PalletStakingForcing, PalletStakingNominations, PalletStakingRewardDestination, PalletStakingSlashingSlashingSpans, PalletStakingSlashingSpanRecord, PalletStakingStakingLedger, PalletStakingUnappliedSlash, PalletStakingValidatorPrefs, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletTipsOpenTip, PalletTransactionPaymentReleases, PalletTransactionStorageTransactionInfo, PalletTreasuryProposal, PalletUniquesCollectionDetails, PalletUniquesCollectionMetadata, PalletUniquesItemDetails, PalletUniquesItemMetadata, PalletVestingReleases, PalletVestingVestingInfo, SpAuthorityDiscoveryAppPublic, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBabeDigestsPreDigest, SpCoreCryptoKeyTypeId, SpNposElectionsElectionScore, SpRuntimeDigest, SpStakingOffenceOffenceDetails } from '@polkadot/types/lookup';
8
8
  import type { Observable } from '@polkadot/types/types';
9
9
  export type __AugmentedQuery<ApiType extends ApiTypes> = AugmentedQuery<ApiType, () => unknown>;
10
10
  export type __QueryableStorageEntry<ApiType extends ApiTypes> = QueryableStorageEntry<ApiType>;
@@ -77,6 +77,30 @@ declare module '@polkadot/api-base/types/storage' {
77
77
  **/
78
78
  [key: string]: QueryableStorageEntry<ApiType>;
79
79
  };
80
+ assetConversion: {
81
+ /**
82
+ * Stores the `PoolAssetId` that is going to be used for the next lp token.
83
+ * This gets incremented whenever a new lp pool is created.
84
+ **/
85
+ nextPoolAssetId: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
86
+ /**
87
+ * Map from `PoolAssetId` to `PoolInfo`. This establishes whether a pool has been officially
88
+ * created rather than people sending tokens directly to a pool's public account.
89
+ **/
90
+ pools: AugmentedQuery<ApiType, (arg: ITuple<[PalletAssetConversionNativeOrAssetId, PalletAssetConversionNativeOrAssetId]> | [PalletAssetConversionNativeOrAssetId | {
91
+ Native: any;
92
+ } | {
93
+ Asset: any;
94
+ } | string | Uint8Array, PalletAssetConversionNativeOrAssetId | {
95
+ Native: any;
96
+ } | {
97
+ Asset: any;
98
+ } | string | Uint8Array]) => Observable<Option<PalletAssetConversionPoolInfo>>, [ITuple<[PalletAssetConversionNativeOrAssetId, PalletAssetConversionNativeOrAssetId]>]> & QueryableStorageEntry<ApiType, [ITuple<[PalletAssetConversionNativeOrAssetId, PalletAssetConversionNativeOrAssetId]>]>;
99
+ /**
100
+ * Generic query
101
+ **/
102
+ [key: string]: QueryableStorageEntry<ApiType>;
103
+ };
80
104
  assetRate: {
81
105
  /**
82
106
  * Maps an asset to its fixed point representation in the native balance.
@@ -286,7 +310,7 @@ declare module '@polkadot/api-base/types/storage' {
286
310
  * Holds on account balances.
287
311
  **/
288
312
  holds: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Vec<{
289
- readonly id: KitchensinkRuntimeHoldReason;
313
+ readonly id: KitchensinkRuntimeRuntimeHoldReason;
290
314
  readonly amount: u128;
291
315
  } & Struct>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
292
316
  /**
@@ -383,6 +407,7 @@ declare module '@polkadot/api-base/types/storage' {
383
407
  * and the latest deleted contract in queue.
384
408
  **/
385
409
  deletionQueueCounter: AugmentedQuery<ApiType, () => Observable<PalletContractsStorageDeletionQueueManager>, []> & QueryableStorageEntry<ApiType, []>;
410
+ migrationInProgress: AugmentedQuery<ApiType, () => Observable<Option<Bytes>>, []> & QueryableStorageEntry<ApiType, []>;
386
411
  /**
387
412
  * This is a **monotonic** counter incremented on contract instantiation.
388
413
  *
@@ -691,22 +716,24 @@ declare module '@polkadot/api-base/types/storage' {
691
716
  /**
692
717
  * Number of eras to check per block.
693
718
  *
694
- * If set to 0, this pallet does absolutely nothing.
719
+ * If set to 0, this pallet does absolutely nothing. Cannot be set to more than
720
+ * [`Config::MaxErasToCheckPerBlock`].
695
721
  *
696
- * Based on the amount of weight available at `on_idle`, up to this many eras of a single
697
- * nominator might be checked.
722
+ * Based on the amount of weight available at [`Pallet::on_idle`], up to this many eras are
723
+ * checked. The checking is represented by updating [`UnstakeRequest::checked`], which is
724
+ * stored in [`Head`].
698
725
  **/
699
726
  erasToCheckPerBlock: AugmentedQuery<ApiType, () => Observable<u32>, []> & QueryableStorageEntry<ApiType, []>;
700
727
  /**
701
728
  * The current "head of the queue" being unstaked.
729
+ *
730
+ * The head in itself can be a batch of up to [`Config::BatchSize`] stakers.
702
731
  **/
703
732
  head: AugmentedQuery<ApiType, () => Observable<Option<PalletFastUnstakeUnstakeRequest>>, []> & QueryableStorageEntry<ApiType, []>;
704
733
  /**
705
734
  * The map of all accounts wishing to be unstaked.
706
735
  *
707
736
  * Keeps track of `AccountId` wishing to unstake and it's corresponding deposit.
708
- *
709
- * TWOX-NOTE: SAFE since `AccountId` is a secure hash.
710
737
  **/
711
738
  queue: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<u128>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
712
739
  /**
@@ -941,6 +968,16 @@ declare module '@polkadot/api-base/types/storage' {
941
968
  **/
942
969
  [key: string]: QueryableStorageEntry<ApiType>;
943
970
  };
971
+ nftFractionalization: {
972
+ /**
973
+ * Keeps track of the corresponding NFT ID, asset ID and amount minted.
974
+ **/
975
+ nftToAsset: AugmentedQuery<ApiType, (arg: ITuple<[u32, u32]> | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array]) => Observable<Option<PalletNftFractionalizationDetails>>, [ITuple<[u32, u32]>]> & QueryableStorageEntry<ApiType, [ITuple<[u32, u32]>]>;
976
+ /**
977
+ * Generic query
978
+ **/
979
+ [key: string]: QueryableStorageEntry<ApiType>;
980
+ };
944
981
  nfts: {
945
982
  /**
946
983
  * The items held by any given account; set out this way so that items owned by a single
@@ -1163,6 +1200,30 @@ declare module '@polkadot/api-base/types/storage' {
1163
1200
  **/
1164
1201
  [key: string]: QueryableStorageEntry<ApiType>;
1165
1202
  };
1203
+ poolAssets: {
1204
+ /**
1205
+ * The holdings of a specific account for a specific asset.
1206
+ **/
1207
+ account: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<PalletAssetsAssetAccount>>, [u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;
1208
+ /**
1209
+ * Approved balance transfers. First balance is the amount approved for transfer. Second
1210
+ * is the amount of `T::Currency` reserved for storing this.
1211
+ * First key is the asset ID, second key is the owner and third key is the delegate.
1212
+ **/
1213
+ approvals: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array, arg3: AccountId32 | string | Uint8Array) => Observable<Option<PalletAssetsApproval>>, [u32, AccountId32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32, AccountId32]>;
1214
+ /**
1215
+ * Details of an asset.
1216
+ **/
1217
+ asset: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletAssetsAssetDetails>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1218
+ /**
1219
+ * Metadata of an asset.
1220
+ **/
1221
+ metadata: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<PalletAssetsAssetMetadata>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
1222
+ /**
1223
+ * Generic query
1224
+ **/
1225
+ [key: string]: QueryableStorageEntry<ApiType>;
1226
+ };
1166
1227
  pov: {
1167
1228
  /**
1168
1229
  * A value with a MEL bound of 32 byte.