@polkadot/api-augment 9.10.5 → 9.11.2
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/base.js +1 -1
- package/bundle.js +1 -1
- package/cjs/detectOther.js +1 -1
- package/cjs/detectPackage.js +1 -1
- package/cjs/packageInfo.js +2 -2
- package/detectOther.js +1 -1
- package/detectPackage.js +1 -1
- package/index.js +1 -1
- package/kusama/events.d.ts +7 -0
- package/kusama/index.js +1 -1
- package/kusama/query.d.ts +2 -9
- package/kusama/registry.js +1 -1
- package/kusama/tx.d.ts +17 -7
- package/package.json +8 -8
- package/packageInfo.js +2 -2
- package/polkadot/events.d.ts +7 -0
- package/polkadot/index.js +1 -1
- package/polkadot/query.d.ts +2 -9
- package/polkadot/registry.js +1 -1
- package/polkadot/tx.d.ts +17 -7
- package/substrate/consts.d.ts +73 -0
- package/substrate/errors.d.ts +150 -5
- package/substrate/events.d.ts +307 -1
- package/substrate/index.js +1 -1
- package/substrate/query.d.ts +81 -10
- package/substrate/registry.js +1 -1
- package/substrate/tx.d.ts +828 -3
package/substrate/errors.d.ts
CHANGED
|
@@ -440,11 +440,6 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
440
440
|
* Contract trapped during execution.
|
|
441
441
|
**/
|
|
442
442
|
ContractTrapped: AugmentedError<ApiType>;
|
|
443
|
-
/**
|
|
444
|
-
* The debug buffer size used during contract execution exceeded the limit determined by
|
|
445
|
-
* the `MaxDebugBufferLen` pallet config parameter.
|
|
446
|
-
**/
|
|
447
|
-
DebugBufferExhausted: AugmentedError<ApiType>;
|
|
448
443
|
/**
|
|
449
444
|
* The debug message specified to `seal_debug_message` does contain invalid UTF-8.
|
|
450
445
|
**/
|
|
@@ -1202,6 +1197,156 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1202
1197
|
**/
|
|
1203
1198
|
[key: string]: AugmentedError<ApiType>;
|
|
1204
1199
|
};
|
|
1200
|
+
nfts: {
|
|
1201
|
+
/**
|
|
1202
|
+
* The provided Item was already used for claiming.
|
|
1203
|
+
**/
|
|
1204
|
+
AlreadyClaimed: AugmentedError<ApiType>;
|
|
1205
|
+
/**
|
|
1206
|
+
* The item ID has already been used for an item.
|
|
1207
|
+
**/
|
|
1208
|
+
AlreadyExists: AugmentedError<ApiType>;
|
|
1209
|
+
/**
|
|
1210
|
+
* The approval had a deadline that expired, so the approval isn't valid anymore.
|
|
1211
|
+
**/
|
|
1212
|
+
ApprovalExpired: AugmentedError<ApiType>;
|
|
1213
|
+
/**
|
|
1214
|
+
* The witness data given does not match the current state of the chain.
|
|
1215
|
+
**/
|
|
1216
|
+
BadWitness: AugmentedError<ApiType>;
|
|
1217
|
+
/**
|
|
1218
|
+
* The provided bid is too low.
|
|
1219
|
+
**/
|
|
1220
|
+
BidTooLow: AugmentedError<ApiType>;
|
|
1221
|
+
/**
|
|
1222
|
+
* Collection ID is already taken.
|
|
1223
|
+
**/
|
|
1224
|
+
CollectionIdInUse: AugmentedError<ApiType>;
|
|
1225
|
+
/**
|
|
1226
|
+
* The deadline has already expired.
|
|
1227
|
+
**/
|
|
1228
|
+
DeadlineExpired: AugmentedError<ApiType>;
|
|
1229
|
+
/**
|
|
1230
|
+
* Item's config already exists and should be equal to the provided one.
|
|
1231
|
+
**/
|
|
1232
|
+
InconsistentItemConfig: AugmentedError<ApiType>;
|
|
1233
|
+
/**
|
|
1234
|
+
* The provided data is incorrect.
|
|
1235
|
+
**/
|
|
1236
|
+
IncorrectData: AugmentedError<ApiType>;
|
|
1237
|
+
/**
|
|
1238
|
+
* The item is locked (non-transferable).
|
|
1239
|
+
**/
|
|
1240
|
+
ItemLocked: AugmentedError<ApiType>;
|
|
1241
|
+
/**
|
|
1242
|
+
* Items within that collection are non-transferable.
|
|
1243
|
+
**/
|
|
1244
|
+
ItemsNonTransferable: AugmentedError<ApiType>;
|
|
1245
|
+
/**
|
|
1246
|
+
* Collection's attributes are locked.
|
|
1247
|
+
**/
|
|
1248
|
+
LockedCollectionAttributes: AugmentedError<ApiType>;
|
|
1249
|
+
/**
|
|
1250
|
+
* Collection's metadata is locked.
|
|
1251
|
+
**/
|
|
1252
|
+
LockedCollectionMetadata: AugmentedError<ApiType>;
|
|
1253
|
+
/**
|
|
1254
|
+
* Item's attributes are locked.
|
|
1255
|
+
**/
|
|
1256
|
+
LockedItemAttributes: AugmentedError<ApiType>;
|
|
1257
|
+
/**
|
|
1258
|
+
* Item's metadata is locked.
|
|
1259
|
+
**/
|
|
1260
|
+
LockedItemMetadata: AugmentedError<ApiType>;
|
|
1261
|
+
/**
|
|
1262
|
+
* The max supply is locked and can't be changed.
|
|
1263
|
+
**/
|
|
1264
|
+
MaxSupplyLocked: AugmentedError<ApiType>;
|
|
1265
|
+
/**
|
|
1266
|
+
* All items have been minted.
|
|
1267
|
+
**/
|
|
1268
|
+
MaxSupplyReached: AugmentedError<ApiType>;
|
|
1269
|
+
/**
|
|
1270
|
+
* The provided max supply is less than the number of items a collection already has.
|
|
1271
|
+
**/
|
|
1272
|
+
MaxSupplyTooSmall: AugmentedError<ApiType>;
|
|
1273
|
+
/**
|
|
1274
|
+
* The method is disabled by system settings.
|
|
1275
|
+
**/
|
|
1276
|
+
MethodDisabled: AugmentedError<ApiType>;
|
|
1277
|
+
/**
|
|
1278
|
+
* Mint has already ended.
|
|
1279
|
+
**/
|
|
1280
|
+
MintEnded: AugmentedError<ApiType>;
|
|
1281
|
+
/**
|
|
1282
|
+
* Mint has not started yet.
|
|
1283
|
+
**/
|
|
1284
|
+
MintNotStarted: AugmentedError<ApiType>;
|
|
1285
|
+
/**
|
|
1286
|
+
* Config for a collection or an item can't be found.
|
|
1287
|
+
**/
|
|
1288
|
+
NoConfig: AugmentedError<ApiType>;
|
|
1289
|
+
/**
|
|
1290
|
+
* The signing account has no permission to do the operation.
|
|
1291
|
+
**/
|
|
1292
|
+
NoPermission: AugmentedError<ApiType>;
|
|
1293
|
+
/**
|
|
1294
|
+
* The provided account is not a delegate.
|
|
1295
|
+
**/
|
|
1296
|
+
NotDelegate: AugmentedError<ApiType>;
|
|
1297
|
+
/**
|
|
1298
|
+
* Item is not for sale.
|
|
1299
|
+
**/
|
|
1300
|
+
NotForSale: AugmentedError<ApiType>;
|
|
1301
|
+
/**
|
|
1302
|
+
* The item has reached its approval limit.
|
|
1303
|
+
**/
|
|
1304
|
+
ReachedApprovalLimit: AugmentedError<ApiType>;
|
|
1305
|
+
/**
|
|
1306
|
+
* Some roles were not cleared.
|
|
1307
|
+
**/
|
|
1308
|
+
RolesNotCleared: AugmentedError<ApiType>;
|
|
1309
|
+
/**
|
|
1310
|
+
* The named owner has not signed ownership acceptance of the collection.
|
|
1311
|
+
**/
|
|
1312
|
+
Unaccepted: AugmentedError<ApiType>;
|
|
1313
|
+
/**
|
|
1314
|
+
* No approval exists that would allow the transfer.
|
|
1315
|
+
**/
|
|
1316
|
+
Unapproved: AugmentedError<ApiType>;
|
|
1317
|
+
/**
|
|
1318
|
+
* The given item ID is unknown.
|
|
1319
|
+
**/
|
|
1320
|
+
UnknownCollection: AugmentedError<ApiType>;
|
|
1321
|
+
/**
|
|
1322
|
+
* The given item ID is unknown.
|
|
1323
|
+
**/
|
|
1324
|
+
UnknownItem: AugmentedError<ApiType>;
|
|
1325
|
+
/**
|
|
1326
|
+
* Swap doesn't exist.
|
|
1327
|
+
**/
|
|
1328
|
+
UnknownSwap: AugmentedError<ApiType>;
|
|
1329
|
+
/**
|
|
1330
|
+
* The delegate turned out to be different to what was expected.
|
|
1331
|
+
**/
|
|
1332
|
+
WrongDelegate: AugmentedError<ApiType>;
|
|
1333
|
+
/**
|
|
1334
|
+
* The duration provided should be less than or equal to `MaxDeadlineDuration`.
|
|
1335
|
+
**/
|
|
1336
|
+
WrongDuration: AugmentedError<ApiType>;
|
|
1337
|
+
/**
|
|
1338
|
+
* The owner turned out to be different to what was expected.
|
|
1339
|
+
**/
|
|
1340
|
+
WrongOwner: AugmentedError<ApiType>;
|
|
1341
|
+
/**
|
|
1342
|
+
* The provided setting can't be set.
|
|
1343
|
+
**/
|
|
1344
|
+
WrongSetting: AugmentedError<ApiType>;
|
|
1345
|
+
/**
|
|
1346
|
+
* Generic error
|
|
1347
|
+
**/
|
|
1348
|
+
[key: string]: AugmentedError<ApiType>;
|
|
1349
|
+
};
|
|
1205
1350
|
nis: {
|
|
1206
1351
|
/**
|
|
1207
1352
|
* The amount of the bid is less than the minimum allowed.
|
package/substrate/events.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ 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
5
|
import type { AccountId32, H256, Perbill, Perquintill } from '@polkadot/types/interfaces/runtime';
|
|
6
|
-
import type { FrameSupportDispatchDispatchInfo, FrameSupportDispatchPostDispatchInfo, FrameSupportMessagesProcessMessageError, FrameSupportPreimagesBounded, FrameSupportTokensMiscBalanceStatus, KitchensinkRuntimeProxyType, PalletAllianceCid, PalletAllianceUnscrupulousItem, PalletConvictionVotingTally, PalletDemocracyVoteAccountVote, PalletDemocracyVoteThreshold, PalletElectionProviderMultiPhaseElectionCompute, PalletImOnlineSr25519AppSr25519Public, PalletMessageQueueMockHelpersMessageOrigin, PalletMultisigTimepoint, PalletNominationPoolsPoolState, PalletRankedCollectiveTally, PalletRankedCollectiveVoteRecord, PalletStakingExposure, PalletStakingValidatorPrefs, PalletStateTrieMigrationError, PalletStateTrieMigrationMigrationCompute, SpFinalityGrandpaAppPublic, SpNposElectionsElectionScore, SpRuntimeDispatchError, SpRuntimeDispatchErrorWithPostInfo, SpWeightsWeightV2Weight } from '@polkadot/types/lookup';
|
|
6
|
+
import type { FrameSupportDispatchDispatchInfo, FrameSupportDispatchPostDispatchInfo, FrameSupportMessagesProcessMessageError, FrameSupportPreimagesBounded, FrameSupportTokensMiscAttributeNamespace, FrameSupportTokensMiscBalanceStatus, KitchensinkRuntimeProxyType, PalletAllianceCid, PalletAllianceUnscrupulousItem, PalletConvictionVotingTally, PalletDemocracyVoteAccountVote, PalletDemocracyVoteThreshold, PalletElectionProviderMultiPhaseElectionCompute, PalletImOnlineSr25519AppSr25519Public, PalletMessageQueueMockHelpersMessageOrigin, PalletMultisigTimepoint, PalletNftsPriceWithDirection, PalletNominationPoolsPoolState, PalletRankedCollectiveTally, PalletRankedCollectiveVoteRecord, PalletStakingExposure, PalletStakingValidatorPrefs, PalletStateTrieMigrationError, PalletStateTrieMigrationMigrationCompute, SpFinalityGrandpaAppPublic, SpNposElectionsElectionScore, SpRuntimeDispatchError, SpRuntimeDispatchErrorWithPostInfo, 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> {
|
|
@@ -1173,6 +1173,305 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1173
1173
|
**/
|
|
1174
1174
|
[key: string]: AugmentedEvent<ApiType>;
|
|
1175
1175
|
};
|
|
1176
|
+
nfts: {
|
|
1177
|
+
/**
|
|
1178
|
+
* All approvals of an item got cancelled.
|
|
1179
|
+
**/
|
|
1180
|
+
AllApprovalsCancelled: AugmentedEvent<ApiType, [collection: u32, item: u32, owner: AccountId32], {
|
|
1181
|
+
collection: u32;
|
|
1182
|
+
item: u32;
|
|
1183
|
+
owner: AccountId32;
|
|
1184
|
+
}>;
|
|
1185
|
+
/**
|
|
1186
|
+
* An approval for a `delegate` account to transfer the `item` of an item
|
|
1187
|
+
* `collection` was cancelled by its `owner`.
|
|
1188
|
+
**/
|
|
1189
|
+
ApprovalCancelled: AugmentedEvent<ApiType, [collection: u32, item: u32, owner: AccountId32, delegate: AccountId32], {
|
|
1190
|
+
collection: u32;
|
|
1191
|
+
item: u32;
|
|
1192
|
+
owner: AccountId32;
|
|
1193
|
+
delegate: AccountId32;
|
|
1194
|
+
}>;
|
|
1195
|
+
/**
|
|
1196
|
+
* Attribute metadata has been cleared for a `collection` or `item`.
|
|
1197
|
+
**/
|
|
1198
|
+
AttributeCleared: AugmentedEvent<ApiType, [collection: u32, maybeItem: Option<u32>, key: Bytes, namespace: FrameSupportTokensMiscAttributeNamespace], {
|
|
1199
|
+
collection: u32;
|
|
1200
|
+
maybeItem: Option<u32>;
|
|
1201
|
+
key: Bytes;
|
|
1202
|
+
namespace: FrameSupportTokensMiscAttributeNamespace;
|
|
1203
|
+
}>;
|
|
1204
|
+
/**
|
|
1205
|
+
* New attribute metadata has been set for a `collection` or `item`.
|
|
1206
|
+
**/
|
|
1207
|
+
AttributeSet: AugmentedEvent<ApiType, [collection: u32, maybeItem: Option<u32>, key: Bytes, value: Bytes, namespace: FrameSupportTokensMiscAttributeNamespace], {
|
|
1208
|
+
collection: u32;
|
|
1209
|
+
maybeItem: Option<u32>;
|
|
1210
|
+
key: Bytes;
|
|
1211
|
+
value: Bytes;
|
|
1212
|
+
namespace: FrameSupportTokensMiscAttributeNamespace;
|
|
1213
|
+
}>;
|
|
1214
|
+
/**
|
|
1215
|
+
* An `item` was destroyed.
|
|
1216
|
+
**/
|
|
1217
|
+
Burned: AugmentedEvent<ApiType, [collection: u32, item: u32, owner: AccountId32], {
|
|
1218
|
+
collection: u32;
|
|
1219
|
+
item: u32;
|
|
1220
|
+
owner: AccountId32;
|
|
1221
|
+
}>;
|
|
1222
|
+
/**
|
|
1223
|
+
* A `collection` has had its config changed by the `Force` origin.
|
|
1224
|
+
**/
|
|
1225
|
+
CollectionConfigChanged: AugmentedEvent<ApiType, [collection: u32], {
|
|
1226
|
+
collection: u32;
|
|
1227
|
+
}>;
|
|
1228
|
+
/**
|
|
1229
|
+
* Some `collection` was locked.
|
|
1230
|
+
**/
|
|
1231
|
+
CollectionLocked: AugmentedEvent<ApiType, [collection: u32], {
|
|
1232
|
+
collection: u32;
|
|
1233
|
+
}>;
|
|
1234
|
+
/**
|
|
1235
|
+
* Max supply has been set for a collection.
|
|
1236
|
+
**/
|
|
1237
|
+
CollectionMaxSupplySet: AugmentedEvent<ApiType, [collection: u32, maxSupply: u32], {
|
|
1238
|
+
collection: u32;
|
|
1239
|
+
maxSupply: u32;
|
|
1240
|
+
}>;
|
|
1241
|
+
/**
|
|
1242
|
+
* Metadata has been cleared for a `collection`.
|
|
1243
|
+
**/
|
|
1244
|
+
CollectionMetadataCleared: AugmentedEvent<ApiType, [collection: u32], {
|
|
1245
|
+
collection: u32;
|
|
1246
|
+
}>;
|
|
1247
|
+
/**
|
|
1248
|
+
* New metadata has been set for a `collection`.
|
|
1249
|
+
**/
|
|
1250
|
+
CollectionMetadataSet: AugmentedEvent<ApiType, [collection: u32, data: Bytes], {
|
|
1251
|
+
collection: u32;
|
|
1252
|
+
data: Bytes;
|
|
1253
|
+
}>;
|
|
1254
|
+
/**
|
|
1255
|
+
* Mint settings for a collection had changed.
|
|
1256
|
+
**/
|
|
1257
|
+
CollectionMintSettingsUpdated: AugmentedEvent<ApiType, [collection: u32], {
|
|
1258
|
+
collection: u32;
|
|
1259
|
+
}>;
|
|
1260
|
+
/**
|
|
1261
|
+
* A `collection` was created.
|
|
1262
|
+
**/
|
|
1263
|
+
Created: AugmentedEvent<ApiType, [collection: u32, creator: AccountId32, owner: AccountId32], {
|
|
1264
|
+
collection: u32;
|
|
1265
|
+
creator: AccountId32;
|
|
1266
|
+
owner: AccountId32;
|
|
1267
|
+
}>;
|
|
1268
|
+
/**
|
|
1269
|
+
* A `collection` was destroyed.
|
|
1270
|
+
**/
|
|
1271
|
+
Destroyed: AugmentedEvent<ApiType, [collection: u32], {
|
|
1272
|
+
collection: u32;
|
|
1273
|
+
}>;
|
|
1274
|
+
/**
|
|
1275
|
+
* A `collection` was force-created.
|
|
1276
|
+
**/
|
|
1277
|
+
ForceCreated: AugmentedEvent<ApiType, [collection: u32, owner: AccountId32], {
|
|
1278
|
+
collection: u32;
|
|
1279
|
+
owner: AccountId32;
|
|
1280
|
+
}>;
|
|
1281
|
+
/**
|
|
1282
|
+
* An `item` was issued.
|
|
1283
|
+
**/
|
|
1284
|
+
Issued: AugmentedEvent<ApiType, [collection: u32, item: u32, owner: AccountId32], {
|
|
1285
|
+
collection: u32;
|
|
1286
|
+
item: u32;
|
|
1287
|
+
owner: AccountId32;
|
|
1288
|
+
}>;
|
|
1289
|
+
/**
|
|
1290
|
+
* A new approval to modify item attributes was added.
|
|
1291
|
+
**/
|
|
1292
|
+
ItemAttributesApprovalAdded: AugmentedEvent<ApiType, [collection: u32, item: u32, delegate: AccountId32], {
|
|
1293
|
+
collection: u32;
|
|
1294
|
+
item: u32;
|
|
1295
|
+
delegate: AccountId32;
|
|
1296
|
+
}>;
|
|
1297
|
+
/**
|
|
1298
|
+
* A new approval to modify item attributes was removed.
|
|
1299
|
+
**/
|
|
1300
|
+
ItemAttributesApprovalRemoved: AugmentedEvent<ApiType, [collection: u32, item: u32, delegate: AccountId32], {
|
|
1301
|
+
collection: u32;
|
|
1302
|
+
item: u32;
|
|
1303
|
+
delegate: AccountId32;
|
|
1304
|
+
}>;
|
|
1305
|
+
/**
|
|
1306
|
+
* An item was bought.
|
|
1307
|
+
**/
|
|
1308
|
+
ItemBought: AugmentedEvent<ApiType, [collection: u32, item: u32, price: u128, seller: AccountId32, buyer: AccountId32], {
|
|
1309
|
+
collection: u32;
|
|
1310
|
+
item: u32;
|
|
1311
|
+
price: u128;
|
|
1312
|
+
seller: AccountId32;
|
|
1313
|
+
buyer: AccountId32;
|
|
1314
|
+
}>;
|
|
1315
|
+
/**
|
|
1316
|
+
* Metadata has been cleared for an item.
|
|
1317
|
+
**/
|
|
1318
|
+
ItemMetadataCleared: AugmentedEvent<ApiType, [collection: u32, item: u32], {
|
|
1319
|
+
collection: u32;
|
|
1320
|
+
item: u32;
|
|
1321
|
+
}>;
|
|
1322
|
+
/**
|
|
1323
|
+
* New metadata has been set for an item.
|
|
1324
|
+
**/
|
|
1325
|
+
ItemMetadataSet: AugmentedEvent<ApiType, [collection: u32, item: u32, data: Bytes], {
|
|
1326
|
+
collection: u32;
|
|
1327
|
+
item: u32;
|
|
1328
|
+
data: Bytes;
|
|
1329
|
+
}>;
|
|
1330
|
+
/**
|
|
1331
|
+
* The price for the item was removed.
|
|
1332
|
+
**/
|
|
1333
|
+
ItemPriceRemoved: AugmentedEvent<ApiType, [collection: u32, item: u32], {
|
|
1334
|
+
collection: u32;
|
|
1335
|
+
item: u32;
|
|
1336
|
+
}>;
|
|
1337
|
+
/**
|
|
1338
|
+
* The price was set for the item.
|
|
1339
|
+
**/
|
|
1340
|
+
ItemPriceSet: AugmentedEvent<ApiType, [collection: u32, item: u32, price: u128, whitelistedBuyer: Option<AccountId32>], {
|
|
1341
|
+
collection: u32;
|
|
1342
|
+
item: u32;
|
|
1343
|
+
price: u128;
|
|
1344
|
+
whitelistedBuyer: Option<AccountId32>;
|
|
1345
|
+
}>;
|
|
1346
|
+
/**
|
|
1347
|
+
* `item` metadata or attributes were locked.
|
|
1348
|
+
**/
|
|
1349
|
+
ItemPropertiesLocked: AugmentedEvent<ApiType, [collection: u32, item: u32, lockMetadata: bool, lockAttributes: bool], {
|
|
1350
|
+
collection: u32;
|
|
1351
|
+
item: u32;
|
|
1352
|
+
lockMetadata: bool;
|
|
1353
|
+
lockAttributes: bool;
|
|
1354
|
+
}>;
|
|
1355
|
+
/**
|
|
1356
|
+
* An `item` became non-transferable.
|
|
1357
|
+
**/
|
|
1358
|
+
ItemTransferLocked: AugmentedEvent<ApiType, [collection: u32, item: u32], {
|
|
1359
|
+
collection: u32;
|
|
1360
|
+
item: u32;
|
|
1361
|
+
}>;
|
|
1362
|
+
/**
|
|
1363
|
+
* An `item` became transferable.
|
|
1364
|
+
**/
|
|
1365
|
+
ItemTransferUnlocked: AugmentedEvent<ApiType, [collection: u32, item: u32], {
|
|
1366
|
+
collection: u32;
|
|
1367
|
+
item: u32;
|
|
1368
|
+
}>;
|
|
1369
|
+
/**
|
|
1370
|
+
* Event gets emitted when the `NextCollectionId` gets incremented.
|
|
1371
|
+
**/
|
|
1372
|
+
NextCollectionIdIncremented: AugmentedEvent<ApiType, [nextId: u32], {
|
|
1373
|
+
nextId: u32;
|
|
1374
|
+
}>;
|
|
1375
|
+
/**
|
|
1376
|
+
* The owner changed.
|
|
1377
|
+
**/
|
|
1378
|
+
OwnerChanged: AugmentedEvent<ApiType, [collection: u32, newOwner: AccountId32], {
|
|
1379
|
+
collection: u32;
|
|
1380
|
+
newOwner: AccountId32;
|
|
1381
|
+
}>;
|
|
1382
|
+
/**
|
|
1383
|
+
* Ownership acceptance has changed for an account.
|
|
1384
|
+
**/
|
|
1385
|
+
OwnershipAcceptanceChanged: AugmentedEvent<ApiType, [who: AccountId32, maybeCollection: Option<u32>], {
|
|
1386
|
+
who: AccountId32;
|
|
1387
|
+
maybeCollection: Option<u32>;
|
|
1388
|
+
}>;
|
|
1389
|
+
/**
|
|
1390
|
+
* The deposit for a set of `item`s within a `collection` has been updated.
|
|
1391
|
+
**/
|
|
1392
|
+
Redeposited: AugmentedEvent<ApiType, [collection: u32, successfulItems: Vec<u32>], {
|
|
1393
|
+
collection: u32;
|
|
1394
|
+
successfulItems: Vec<u32>;
|
|
1395
|
+
}>;
|
|
1396
|
+
/**
|
|
1397
|
+
* The swap was cancelled.
|
|
1398
|
+
**/
|
|
1399
|
+
SwapCancelled: AugmentedEvent<ApiType, [offeredCollection: u32, offeredItem: u32, desiredCollection: u32, desiredItem: Option<u32>, price: Option<PalletNftsPriceWithDirection>, deadline: u32], {
|
|
1400
|
+
offeredCollection: u32;
|
|
1401
|
+
offeredItem: u32;
|
|
1402
|
+
desiredCollection: u32;
|
|
1403
|
+
desiredItem: Option<u32>;
|
|
1404
|
+
price: Option<PalletNftsPriceWithDirection>;
|
|
1405
|
+
deadline: u32;
|
|
1406
|
+
}>;
|
|
1407
|
+
/**
|
|
1408
|
+
* The swap has been claimed.
|
|
1409
|
+
**/
|
|
1410
|
+
SwapClaimed: AugmentedEvent<ApiType, [sentCollection: u32, sentItem: u32, sentItemOwner: AccountId32, receivedCollection: u32, receivedItem: u32, receivedItemOwner: AccountId32, price: Option<PalletNftsPriceWithDirection>, deadline: u32], {
|
|
1411
|
+
sentCollection: u32;
|
|
1412
|
+
sentItem: u32;
|
|
1413
|
+
sentItemOwner: AccountId32;
|
|
1414
|
+
receivedCollection: u32;
|
|
1415
|
+
receivedItem: u32;
|
|
1416
|
+
receivedItemOwner: AccountId32;
|
|
1417
|
+
price: Option<PalletNftsPriceWithDirection>;
|
|
1418
|
+
deadline: u32;
|
|
1419
|
+
}>;
|
|
1420
|
+
/**
|
|
1421
|
+
* An `item` swap intent was created.
|
|
1422
|
+
**/
|
|
1423
|
+
SwapCreated: AugmentedEvent<ApiType, [offeredCollection: u32, offeredItem: u32, desiredCollection: u32, desiredItem: Option<u32>, price: Option<PalletNftsPriceWithDirection>, deadline: u32], {
|
|
1424
|
+
offeredCollection: u32;
|
|
1425
|
+
offeredItem: u32;
|
|
1426
|
+
desiredCollection: u32;
|
|
1427
|
+
desiredItem: Option<u32>;
|
|
1428
|
+
price: Option<PalletNftsPriceWithDirection>;
|
|
1429
|
+
deadline: u32;
|
|
1430
|
+
}>;
|
|
1431
|
+
/**
|
|
1432
|
+
* The management team changed.
|
|
1433
|
+
**/
|
|
1434
|
+
TeamChanged: AugmentedEvent<ApiType, [collection: u32, issuer: AccountId32, admin: AccountId32, freezer: AccountId32], {
|
|
1435
|
+
collection: u32;
|
|
1436
|
+
issuer: AccountId32;
|
|
1437
|
+
admin: AccountId32;
|
|
1438
|
+
freezer: AccountId32;
|
|
1439
|
+
}>;
|
|
1440
|
+
/**
|
|
1441
|
+
* A tip was sent.
|
|
1442
|
+
**/
|
|
1443
|
+
TipSent: AugmentedEvent<ApiType, [collection: u32, item: u32, sender: AccountId32, receiver: AccountId32, amount: u128], {
|
|
1444
|
+
collection: u32;
|
|
1445
|
+
item: u32;
|
|
1446
|
+
sender: AccountId32;
|
|
1447
|
+
receiver: AccountId32;
|
|
1448
|
+
amount: u128;
|
|
1449
|
+
}>;
|
|
1450
|
+
/**
|
|
1451
|
+
* An `item` of a `collection` has been approved by the `owner` for transfer by
|
|
1452
|
+
* a `delegate`.
|
|
1453
|
+
**/
|
|
1454
|
+
TransferApproved: AugmentedEvent<ApiType, [collection: u32, item: u32, owner: AccountId32, delegate: AccountId32, deadline: Option<u32>], {
|
|
1455
|
+
collection: u32;
|
|
1456
|
+
item: u32;
|
|
1457
|
+
owner: AccountId32;
|
|
1458
|
+
delegate: AccountId32;
|
|
1459
|
+
deadline: Option<u32>;
|
|
1460
|
+
}>;
|
|
1461
|
+
/**
|
|
1462
|
+
* An `item` was transferred.
|
|
1463
|
+
**/
|
|
1464
|
+
Transferred: AugmentedEvent<ApiType, [collection: u32, item: u32, from: AccountId32, to: AccountId32], {
|
|
1465
|
+
collection: u32;
|
|
1466
|
+
item: u32;
|
|
1467
|
+
from: AccountId32;
|
|
1468
|
+
to: AccountId32;
|
|
1469
|
+
}>;
|
|
1470
|
+
/**
|
|
1471
|
+
* Generic event
|
|
1472
|
+
**/
|
|
1473
|
+
[key: string]: AugmentedEvent<ApiType>;
|
|
1474
|
+
};
|
|
1176
1475
|
nis: {
|
|
1177
1476
|
/**
|
|
1178
1477
|
* A bid was dropped from a queue because of another, more substantial, bid was present.
|
|
@@ -2332,6 +2631,13 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
2332
2631
|
Spending: AugmentedEvent<ApiType, [budgetRemaining: u128], {
|
|
2333
2632
|
budgetRemaining: u128;
|
|
2334
2633
|
}>;
|
|
2634
|
+
/**
|
|
2635
|
+
* The inactive funds of the pallet have been updated.
|
|
2636
|
+
**/
|
|
2637
|
+
UpdatedInactive: AugmentedEvent<ApiType, [reactivated: u128, deactivated: u128], {
|
|
2638
|
+
reactivated: u128;
|
|
2639
|
+
deactivated: u128;
|
|
2640
|
+
}>;
|
|
2335
2641
|
/**
|
|
2336
2642
|
* Generic event
|
|
2337
2643
|
**/
|
package/substrate/index.js
CHANGED
package/substrate/query.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import '@polkadot/api-base/types/storage';
|
|
2
2
|
import type { ApiTypes, AugmentedQuery, QueryableStorageEntry } from '@polkadot/api-base/types';
|
|
3
3
|
import type { Data } from '@polkadot/types';
|
|
4
|
-
import type { Bytes, Null, Option, U8aFixed, Vec, WrapperOpaque, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
|
|
4
|
+
import type { BTreeSet, Bytes, Null, Option, 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, KitchensinkRuntimeSessionKeys, PalletAllianceCid, PalletAllianceMemberRole, PalletAssetsApproval, PalletAssetsAssetAccount, PalletAssetsAssetDetails, PalletAssetsAssetMetadata, PalletAuthorshipUncleEntryItem, PalletBagsListListBag, PalletBagsListListNode, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReserveData, PalletBountiesBounty, PalletChildBountiesChildBounty, PalletCollectiveVotes, PalletContractsStorageContractInfo, PalletContractsStorageDeletedContract, PalletContractsWasmOwnerInfo, PalletContractsWasmPrefabWasmModule, PalletConvictionVotingVoteVoting, PalletDemocracyReferendumInfo, PalletDemocracyVoteThreshold, PalletDemocracyVoteVoting, PalletElectionProviderMultiPhasePhase, PalletElectionProviderMultiPhaseReadySolution, PalletElectionProviderMultiPhaseRoundSnapshot, PalletElectionProviderMultiPhaseSignedSignedSubmission, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenSeatHolder, PalletElectionsPhragmenVoter, PalletFastUnstakeUnstakeRequest, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletImOnlineBoundedOpaqueNetworkState, PalletImOnlineSr25519AppSr25519Public, PalletLotteryLotteryConfig, PalletMessageQueueBookState, PalletMessageQueueMockHelpersMessageOrigin, PalletMessageQueuePage, PalletMultisigMultisig, PalletNisBid, PalletNisReceiptRecord, PalletNisSummaryRecord, PalletNominationPoolsBondedPoolInner, PalletNominationPoolsPoolMember, PalletNominationPoolsRewardPool, PalletNominationPoolsSubPools, PalletPreimageRequestStatus, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletRankedCollectiveMemberRecord, PalletRankedCollectiveVoteRecord, PalletRecoveryActiveRecovery, PalletRecoveryRecoveryConfig, PalletReferendaReferendumInfoConvictionVotingTally, PalletReferendaReferendumInfoRankedCollectiveTally, PalletSchedulerScheduled, PalletSocietyBid, PalletSocietyBidKind, PalletSocietyVote, PalletSocietyVouchingStatus, PalletStakingActiveEraInfo, PalletStakingEraRewardPoints, PalletStakingExposure, PalletStakingForcing, PalletStakingNominations,
|
|
7
|
+
import type { FrameSupportDispatchPerDispatchClassWeight, FrameSupportPreimagesBounded, FrameSupportTokensMiscAttributeNamespace, FrameSystemAccountInfo, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, KitchensinkRuntimeSessionKeys, PalletAllianceCid, PalletAllianceMemberRole, PalletAssetsApproval, PalletAssetsAssetAccount, PalletAssetsAssetDetails, PalletAssetsAssetMetadata, PalletAuthorshipUncleEntryItem, PalletBagsListListBag, PalletBagsListListNode, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReserveData, PalletBountiesBounty, PalletChildBountiesChildBounty, PalletCollectiveVotes, PalletContractsStorageContractInfo, PalletContractsStorageDeletedContract, PalletContractsWasmOwnerInfo, PalletContractsWasmPrefabWasmModule, PalletConvictionVotingVoteVoting, PalletDemocracyReferendumInfo, PalletDemocracyVoteThreshold, PalletDemocracyVoteVoting, PalletElectionProviderMultiPhasePhase, PalletElectionProviderMultiPhaseReadySolution, PalletElectionProviderMultiPhaseRoundSnapshot, PalletElectionProviderMultiPhaseSignedSignedSubmission, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenSeatHolder, PalletElectionsPhragmenVoter, PalletFastUnstakeUnstakeRequest, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletIdentityRegistrarInfo, PalletIdentityRegistration, PalletImOnlineBoundedOpaqueNetworkState, PalletImOnlineSr25519AppSr25519Public, PalletLotteryLotteryConfig, PalletMessageQueueBookState, PalletMessageQueueMockHelpersMessageOrigin, PalletMessageQueuePage, PalletMultisigMultisig, PalletNftsAttributeDeposit, PalletNftsCollectionConfig, PalletNftsCollectionDetails, PalletNftsCollectionMetadata, PalletNftsItemConfig, PalletNftsItemDetails, PalletNftsItemMetadata, PalletNftsPendingSwap, PalletNisBid, PalletNisReceiptRecord, PalletNisSummaryRecord, PalletNominationPoolsBondedPoolInner, PalletNominationPoolsPoolMember, PalletNominationPoolsRewardPool, PalletNominationPoolsSubPools, PalletPreimageRequestStatus, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletRankedCollectiveMemberRecord, PalletRankedCollectiveVoteRecord, PalletRecoveryActiveRecovery, PalletRecoveryRecoveryConfig, PalletReferendaReferendumInfoConvictionVotingTally, PalletReferendaReferendumInfoRankedCollectiveTally, 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>;
|
|
@@ -848,6 +848,84 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
848
848
|
**/
|
|
849
849
|
[key: string]: QueryableStorageEntry<ApiType>;
|
|
850
850
|
};
|
|
851
|
+
nfts: {
|
|
852
|
+
/**
|
|
853
|
+
* The items held by any given account; set out this way so that items owned by a single
|
|
854
|
+
* account can be enumerated.
|
|
855
|
+
**/
|
|
856
|
+
account: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: u32 | AnyNumber | Uint8Array, arg3: u32 | AnyNumber | Uint8Array) => Observable<Option<Null>>, [AccountId32, u32, u32]> & QueryableStorageEntry<ApiType, [AccountId32, u32, u32]>;
|
|
857
|
+
/**
|
|
858
|
+
* Attributes of a collection.
|
|
859
|
+
**/
|
|
860
|
+
attribute: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: Option<u32> | null | Uint8Array | u32 | AnyNumber, arg3: FrameSupportTokensMiscAttributeNamespace | {
|
|
861
|
+
Pallet: any;
|
|
862
|
+
} | {
|
|
863
|
+
CollectionOwner: any;
|
|
864
|
+
} | {
|
|
865
|
+
ItemOwner: any;
|
|
866
|
+
} | {
|
|
867
|
+
Account: any;
|
|
868
|
+
} | string | Uint8Array, arg4: Bytes | string | Uint8Array) => Observable<Option<ITuple<[Bytes, PalletNftsAttributeDeposit]>>>, [u32, Option<u32>, FrameSupportTokensMiscAttributeNamespace, Bytes]> & QueryableStorageEntry<ApiType, [u32, Option<u32>, FrameSupportTokensMiscAttributeNamespace, Bytes]>;
|
|
869
|
+
/**
|
|
870
|
+
* Details of a collection.
|
|
871
|
+
**/
|
|
872
|
+
collection: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletNftsCollectionDetails>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
873
|
+
/**
|
|
874
|
+
* The collections owned by any given account; set out this way so that collections owned by
|
|
875
|
+
* a single account can be enumerated.
|
|
876
|
+
**/
|
|
877
|
+
collectionAccount: AugmentedQuery<ApiType, (arg1: AccountId32 | string | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<Null>>, [AccountId32, u32]> & QueryableStorageEntry<ApiType, [AccountId32, u32]>;
|
|
878
|
+
/**
|
|
879
|
+
* Config of a collection.
|
|
880
|
+
**/
|
|
881
|
+
collectionConfigOf: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletNftsCollectionConfig>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
882
|
+
/**
|
|
883
|
+
* Metadata of a collection.
|
|
884
|
+
**/
|
|
885
|
+
collectionMetadataOf: AugmentedQuery<ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletNftsCollectionMetadata>>, [u32]> & QueryableStorageEntry<ApiType, [u32]>;
|
|
886
|
+
/**
|
|
887
|
+
* The items in existence and their ownership details.
|
|
888
|
+
* Stores collection roles as per account.
|
|
889
|
+
**/
|
|
890
|
+
collectionRoleOf: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: AccountId32 | string | Uint8Array) => Observable<Option<u8>>, [u32, AccountId32]> & QueryableStorageEntry<ApiType, [u32, AccountId32]>;
|
|
891
|
+
/**
|
|
892
|
+
* The items in existence and their ownership details.
|
|
893
|
+
**/
|
|
894
|
+
item: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletNftsItemDetails>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;
|
|
895
|
+
/**
|
|
896
|
+
* Item attribute approvals.
|
|
897
|
+
**/
|
|
898
|
+
itemAttributesApprovalsOf: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<BTreeSet<AccountId32>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;
|
|
899
|
+
/**
|
|
900
|
+
* Config of an item.
|
|
901
|
+
**/
|
|
902
|
+
itemConfigOf: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletNftsItemConfig>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;
|
|
903
|
+
/**
|
|
904
|
+
* Metadata of an item.
|
|
905
|
+
**/
|
|
906
|
+
itemMetadataOf: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletNftsItemMetadata>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;
|
|
907
|
+
/**
|
|
908
|
+
* A price of an item.
|
|
909
|
+
**/
|
|
910
|
+
itemPriceOf: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<ITuple<[u128, Option<AccountId32>]>>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;
|
|
911
|
+
/**
|
|
912
|
+
* Stores the `CollectionId` that is going to be used for the next collection.
|
|
913
|
+
* This gets incremented whenever a new collection is created.
|
|
914
|
+
**/
|
|
915
|
+
nextCollectionId: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
916
|
+
/**
|
|
917
|
+
* The collection, if any, of which an account is willing to take ownership.
|
|
918
|
+
**/
|
|
919
|
+
ownershipAcceptance: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<u32>>, [AccountId32]> & QueryableStorageEntry<ApiType, [AccountId32]>;
|
|
920
|
+
/**
|
|
921
|
+
* Handles all the pending swaps.
|
|
922
|
+
**/
|
|
923
|
+
pendingSwapOf: AugmentedQuery<ApiType, (arg1: u32 | AnyNumber | Uint8Array, arg2: u32 | AnyNumber | Uint8Array) => Observable<Option<PalletNftsPendingSwap>>, [u32, u32]> & QueryableStorageEntry<ApiType, [u32, u32]>;
|
|
924
|
+
/**
|
|
925
|
+
* Generic query
|
|
926
|
+
**/
|
|
927
|
+
[key: string]: QueryableStorageEntry<ApiType>;
|
|
928
|
+
};
|
|
851
929
|
nis: {
|
|
852
930
|
/**
|
|
853
931
|
* The queues of bids. Indexed by duration (in `Period`s).
|
|
@@ -1465,13 +1543,6 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1465
1543
|
* as well as how much reward has been paid out.
|
|
1466
1544
|
**/
|
|
1467
1545
|
spanSlash: AugmentedQuery<ApiType, (arg: ITuple<[AccountId32, u32]> | [AccountId32 | string | Uint8Array, u32 | AnyNumber | Uint8Array]) => Observable<PalletStakingSlashingSpanRecord>, [ITuple<[AccountId32, u32]>]> & QueryableStorageEntry<ApiType, [ITuple<[AccountId32, u32]>]>;
|
|
1468
|
-
/**
|
|
1469
|
-
* True if network has been upgraded to this version.
|
|
1470
|
-
* Storage version of the pallet.
|
|
1471
|
-
*
|
|
1472
|
-
* This is set to v7.0.0 for new networks.
|
|
1473
|
-
**/
|
|
1474
|
-
storageVersion: AugmentedQuery<ApiType, () => Observable<PalletStakingReleases>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1475
1546
|
/**
|
|
1476
1547
|
* All unapplied slashes that are queued for later.
|
|
1477
1548
|
**/
|
|
@@ -1738,7 +1809,7 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1738
1809
|
/**
|
|
1739
1810
|
* The amount which has been reported as inactive to Currency.
|
|
1740
1811
|
**/
|
|
1741
|
-
|
|
1812
|
+
deactivated: AugmentedQuery<ApiType, () => Observable<u128>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1742
1813
|
/**
|
|
1743
1814
|
* Number of proposals that have been made.
|
|
1744
1815
|
**/
|
package/substrate/registry.js
CHANGED