@storagehub/api-augment 0.1.0 → 0.2.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/LICENSE +674 -0
- package/biome.json +2 -9
- package/dist/parachain/index.js.map +1 -0
- package/dist/parachain/interfaces/augment-api-consts.js.map +1 -0
- package/dist/parachain/interfaces/augment-api-errors.js.map +1 -0
- package/dist/parachain/interfaces/augment-api-events.js.map +1 -0
- package/dist/parachain/interfaces/augment-api-query.js.map +1 -0
- package/dist/parachain/interfaces/augment-api-rpc.js.map +1 -0
- package/dist/parachain/interfaces/augment-api-runtime.js.map +1 -0
- package/dist/parachain/interfaces/augment-api-tx.js.map +1 -0
- package/dist/parachain/interfaces/augment-api.js.map +1 -0
- package/dist/parachain/interfaces/augment-types.js.map +1 -0
- package/dist/parachain/interfaces/definitions.js.map +1 -0
- package/dist/parachain/interfaces/index.js.map +1 -0
- package/dist/{interfaces → parachain/interfaces}/lookup.js +1465 -813
- package/dist/parachain/interfaces/lookup.js.map +1 -0
- package/dist/parachain/interfaces/registry.js.map +1 -0
- package/dist/parachain/interfaces/storagehubclient/definitions.js +7 -0
- package/dist/parachain/interfaces/storagehubclient/definitions.js.map +1 -0
- package/dist/parachain/interfaces/storagehubclient/index.js.map +1 -0
- package/dist/parachain/interfaces/storagehubclient/runtime.js.map +1 -0
- package/dist/parachain/interfaces/storagehubclient/types.js.map +1 -0
- package/dist/parachain/interfaces/types-lookup.js.map +1 -0
- package/dist/parachain/interfaces/types.js.map +1 -0
- package/dist/solochain-evm/index.js +4 -0
- package/dist/solochain-evm/index.js.map +1 -0
- package/dist/solochain-evm/interfaces/augment-api-consts.js +6 -0
- package/dist/solochain-evm/interfaces/augment-api-consts.js.map +1 -0
- package/dist/solochain-evm/interfaces/augment-api-errors.js +6 -0
- package/dist/solochain-evm/interfaces/augment-api-errors.js.map +1 -0
- package/dist/solochain-evm/interfaces/augment-api-events.js +6 -0
- package/dist/solochain-evm/interfaces/augment-api-events.js.map +1 -0
- package/dist/solochain-evm/interfaces/augment-api-query.js +6 -0
- package/dist/solochain-evm/interfaces/augment-api-query.js.map +1 -0
- package/dist/solochain-evm/interfaces/augment-api-rpc.js +6 -0
- package/dist/solochain-evm/interfaces/augment-api-rpc.js.map +1 -0
- package/dist/solochain-evm/interfaces/augment-api-runtime.js +6 -0
- package/dist/solochain-evm/interfaces/augment-api-runtime.js.map +1 -0
- package/dist/solochain-evm/interfaces/augment-api-tx.js +6 -0
- package/dist/solochain-evm/interfaces/augment-api-tx.js.map +1 -0
- package/dist/solochain-evm/interfaces/augment-api.js +10 -0
- package/dist/solochain-evm/interfaces/augment-api.js.map +1 -0
- package/dist/solochain-evm/interfaces/augment-types.js +6 -0
- package/dist/solochain-evm/interfaces/augment-types.js.map +1 -0
- package/dist/solochain-evm/interfaces/definitions.js +2 -0
- package/dist/solochain-evm/interfaces/definitions.js.map +1 -0
- package/dist/solochain-evm/interfaces/index.js +4 -0
- package/dist/solochain-evm/interfaces/index.js.map +1 -0
- package/dist/solochain-evm/interfaces/lookup.js +3744 -0
- package/dist/solochain-evm/interfaces/lookup.js.map +1 -0
- package/dist/solochain-evm/interfaces/registry.js +6 -0
- package/dist/solochain-evm/interfaces/registry.js.map +1 -0
- package/dist/solochain-evm/interfaces/storagehubclient/definitions.js +7 -0
- package/dist/solochain-evm/interfaces/storagehubclient/definitions.js.map +1 -0
- package/dist/solochain-evm/interfaces/storagehubclient/index.js +4 -0
- package/dist/solochain-evm/interfaces/storagehubclient/index.js.map +1 -0
- package/dist/solochain-evm/interfaces/storagehubclient/types.js +4 -0
- package/dist/solochain-evm/interfaces/storagehubclient/types.js.map +1 -0
- package/dist/solochain-evm/interfaces/types-lookup.js +6 -0
- package/dist/solochain-evm/interfaces/types-lookup.js.map +1 -0
- package/dist/solochain-evm/interfaces/types.js +4 -0
- package/dist/solochain-evm/interfaces/types.js.map +1 -0
- package/dist/types/{interfaces → parachain/interfaces}/augment-api-consts.d.ts +147 -20
- package/dist/types/{interfaces → parachain/interfaces}/augment-api-errors.d.ts +235 -8
- package/dist/types/{interfaces → parachain/interfaces}/augment-api-events.d.ts +542 -118
- package/dist/types/{interfaces → parachain/interfaces}/augment-api-query.d.ts +208 -118
- package/dist/types/{interfaces → parachain/interfaces}/augment-api-rpc.d.ts +61 -4
- package/dist/types/{interfaces → parachain/interfaces}/augment-api-runtime.d.ts +105 -8
- package/dist/types/{interfaces → parachain/interfaces}/augment-api-tx.d.ts +356 -181
- package/dist/types/{interfaces → parachain/interfaces}/augment-types.d.ts +145 -11
- package/dist/types/{interfaces → parachain/interfaces}/lookup.d.ts +1067 -513
- package/dist/types/parachain/interfaces/registry.d.ts +311 -0
- package/dist/types/{interfaces → parachain/interfaces}/storagehubclient/types.d.ts +135 -18
- package/dist/types/{interfaces → parachain/interfaces}/types-lookup.d.ts +1619 -887
- package/dist/types/solochain-evm/interfaces/augment-api-consts.d.ts +641 -0
- package/dist/types/solochain-evm/interfaces/augment-api-errors.d.ts +1260 -0
- package/dist/types/solochain-evm/interfaces/augment-api-events.d.ts +2058 -0
- package/dist/types/solochain-evm/interfaces/augment-api-query.d.ts +1317 -0
- package/dist/types/solochain-evm/interfaces/augment-api-rpc.d.ts +775 -0
- package/dist/types/solochain-evm/interfaces/augment-api-runtime.d.ts +543 -0
- package/dist/types/solochain-evm/interfaces/augment-api-tx.d.ts +2381 -0
- package/dist/types/solochain-evm/interfaces/augment-api.d.ts +7 -0
- package/dist/types/solochain-evm/interfaces/augment-types.d.ts +1419 -0
- package/dist/types/solochain-evm/interfaces/index.d.ts +1 -0
- package/dist/types/solochain-evm/interfaces/lookup.d.ts +3363 -0
- package/dist/types/solochain-evm/interfaces/registry.d.ts +252 -0
- package/dist/types/solochain-evm/interfaces/storagehubclient/definitions.d.ts +6 -0
- package/dist/types/solochain-evm/interfaces/storagehubclient/index.d.ts +1 -0
- package/dist/types/solochain-evm/interfaces/storagehubclient/types.d.ts +325 -0
- package/dist/types/solochain-evm/interfaces/types-lookup.d.ts +3577 -0
- package/dist/types/solochain-evm/interfaces/types.d.ts +1 -0
- package/metadata-sh-parachain.json +5 -0
- package/metadata-sh-solochain-evm.json +5 -0
- package/package.json +41 -26
- package/scripts/scrapeMetadata.ts +41 -29
- package/src/parachain/index.ts +3 -0
- package/src/{interfaces → parachain/interfaces}/augment-api-consts.ts +147 -20
- package/src/{interfaces → parachain/interfaces}/augment-api-errors.ts +235 -8
- package/src/{interfaces → parachain/interfaces}/augment-api-events.ts +527 -137
- package/src/{interfaces → parachain/interfaces}/augment-api-query.ts +272 -145
- package/src/{interfaces → parachain/interfaces}/augment-api-rpc.ts +123 -5
- package/src/{interfaces → parachain/interfaces}/augment-api-runtime.ts +202 -8
- package/src/{interfaces → parachain/interfaces}/augment-api-tx.ts +374 -182
- package/src/{interfaces → parachain/interfaces}/augment-types.ts +280 -12
- package/src/parachain/interfaces/definitions.ts +1 -0
- package/src/{interfaces → parachain/interfaces}/lookup.ts +1497 -813
- package/src/{interfaces → parachain/interfaces}/registry.ts +176 -98
- package/src/parachain/interfaces/storagehubclient/definitions.ts +7 -0
- package/src/{interfaces → parachain/interfaces}/storagehubclient/types.ts +165 -18
- package/src/{interfaces → parachain/interfaces}/types-lookup.ts +1970 -896
- package/src/solochain-evm/index.ts +3 -0
- package/src/solochain-evm/interfaces/augment-api-consts.ts +655 -0
- package/src/solochain-evm/interfaces/augment-api-errors.ts +1268 -0
- package/src/solochain-evm/interfaces/augment-api-events.ts +1813 -0
- package/src/solochain-evm/interfaces/augment-api-query.ts +1838 -0
- package/src/solochain-evm/interfaces/augment-api-rpc.ts +1319 -0
- package/src/solochain-evm/interfaces/augment-api-runtime.ts +977 -0
- package/src/solochain-evm/interfaces/augment-api-tx.ts +2818 -0
- package/src/solochain-evm/interfaces/augment-api.ts +10 -0
- package/src/solochain-evm/interfaces/augment-types.ts +2776 -0
- package/src/solochain-evm/interfaces/definitions.ts +1 -0
- package/src/solochain-evm/interfaces/index.ts +4 -0
- package/src/solochain-evm/interfaces/lookup.ts +3788 -0
- package/src/solochain-evm/interfaces/registry.ts +506 -0
- package/src/solochain-evm/interfaces/storagehubclient/definitions.ts +7 -0
- package/src/solochain-evm/interfaces/storagehubclient/index.ts +4 -0
- package/src/solochain-evm/interfaces/storagehubclient/types.ts +398 -0
- package/src/solochain-evm/interfaces/types-lookup.ts +4616 -0
- package/src/solochain-evm/interfaces/types.ts +4 -0
- package/tsconfig.json +17 -20
- package/tsconfig.parachain.json +17 -0
- package/tsconfig.solochain-evm.json +17 -0
- package/tsconfig.tsbuildinfo +1 -0
- package/dist/index.js.map +0 -1
- package/dist/interfaces/augment-api-consts.js.map +0 -1
- package/dist/interfaces/augment-api-errors.js.map +0 -1
- package/dist/interfaces/augment-api-events.js.map +0 -1
- package/dist/interfaces/augment-api-query.js.map +0 -1
- package/dist/interfaces/augment-api-rpc.js.map +0 -1
- package/dist/interfaces/augment-api-runtime.js.map +0 -1
- package/dist/interfaces/augment-api-tx.js.map +0 -1
- package/dist/interfaces/augment-api.js.map +0 -1
- package/dist/interfaces/augment-types.js.map +0 -1
- package/dist/interfaces/definitions.js.map +0 -1
- package/dist/interfaces/index.js.map +0 -1
- package/dist/interfaces/lookup.js.map +0 -1
- package/dist/interfaces/registry.js.map +0 -1
- package/dist/interfaces/storagehubclient/definitions.js +0 -7
- package/dist/interfaces/storagehubclient/definitions.js.map +0 -1
- package/dist/interfaces/storagehubclient/index.js.map +0 -1
- package/dist/interfaces/storagehubclient/runtime.js.map +0 -1
- package/dist/interfaces/storagehubclient/types.js.map +0 -1
- package/dist/interfaces/types-lookup.js.map +0 -1
- package/dist/interfaces/types.js.map +0 -1
- package/dist/types/interfaces/registry.d.ts +0 -272
- package/src/interfaces/storagehubclient/definitions.ts +0 -7
- package/storagehub.json +0 -1
- /package/dist/{index.js → parachain/index.js} +0 -0
- /package/dist/{interfaces → parachain/interfaces}/augment-api-consts.js +0 -0
- /package/dist/{interfaces → parachain/interfaces}/augment-api-errors.js +0 -0
- /package/dist/{interfaces → parachain/interfaces}/augment-api-events.js +0 -0
- /package/dist/{interfaces → parachain/interfaces}/augment-api-query.js +0 -0
- /package/dist/{interfaces → parachain/interfaces}/augment-api-rpc.js +0 -0
- /package/dist/{interfaces → parachain/interfaces}/augment-api-runtime.js +0 -0
- /package/dist/{interfaces → parachain/interfaces}/augment-api-tx.js +0 -0
- /package/dist/{interfaces → parachain/interfaces}/augment-api.js +0 -0
- /package/dist/{interfaces → parachain/interfaces}/augment-types.js +0 -0
- /package/dist/{interfaces → parachain/interfaces}/definitions.js +0 -0
- /package/dist/{interfaces → parachain/interfaces}/index.js +0 -0
- /package/dist/{interfaces → parachain/interfaces}/registry.js +0 -0
- /package/dist/{interfaces → parachain/interfaces}/storagehubclient/index.js +0 -0
- /package/dist/{interfaces → parachain/interfaces}/storagehubclient/runtime.js +0 -0
- /package/dist/{interfaces → parachain/interfaces}/storagehubclient/types.js +0 -0
- /package/dist/{interfaces → parachain/interfaces}/types-lookup.js +0 -0
- /package/dist/{interfaces → parachain/interfaces}/types.js +0 -0
- /package/dist/types/{index.d.ts → parachain/index.d.ts} +0 -0
- /package/dist/types/{interfaces → parachain/interfaces}/augment-api.d.ts +0 -0
- /package/dist/types/{interfaces → parachain/interfaces}/definitions.d.ts +0 -0
- /package/dist/types/{interfaces → parachain/interfaces}/index.d.ts +0 -0
- /package/dist/types/{interfaces → parachain/interfaces}/storagehubclient/definitions.d.ts +0 -0
- /package/dist/types/{interfaces → parachain/interfaces}/storagehubclient/index.d.ts +0 -0
- /package/dist/types/{interfaces → parachain/interfaces}/storagehubclient/runtime.d.ts +0 -0
- /package/dist/types/{interfaces → parachain/interfaces}/types.d.ts +0 -0
- /package/{src/index.ts → dist/types/solochain-evm/index.d.ts} +0 -0
- /package/{src/interfaces/definitions.ts → dist/types/solochain-evm/interfaces/definitions.d.ts} +0 -0
- /package/src/{interfaces → parachain/interfaces}/augment-api.ts +0 -0
- /package/src/{interfaces → parachain/interfaces}/index.ts +0 -0
- /package/src/{interfaces → parachain/interfaces}/storagehubclient/index.ts +0 -0
- /package/src/{interfaces → parachain/interfaces}/storagehubclient/runtime.ts +0 -0
- /package/src/{interfaces → parachain/interfaces}/types.ts +0 -0
|
@@ -23,28 +23,34 @@ import type { ITuple } from "@polkadot/types-codec/types";
|
|
|
23
23
|
import type { AccountId32, H256 } from "@polkadot/types/interfaces/runtime";
|
|
24
24
|
import type {
|
|
25
25
|
CumulusPrimitivesCoreAggregateMessageOrigin,
|
|
26
|
-
FrameSupportDispatchDispatchInfo,
|
|
27
26
|
FrameSupportMessagesProcessMessageError,
|
|
28
27
|
FrameSupportTokensMiscBalanceStatus,
|
|
28
|
+
FrameSystemDispatchEventInfo,
|
|
29
29
|
PalletFileSystemEitherAccountIdOrMspId,
|
|
30
|
-
|
|
30
|
+
PalletFileSystemFileOperationIntention,
|
|
31
|
+
PalletFileSystemRejectedStorageRequestReason,
|
|
31
32
|
PalletNftsAttributeNamespace,
|
|
32
33
|
PalletNftsPalletAttributes,
|
|
33
34
|
PalletNftsPriceWithDirection,
|
|
35
|
+
PalletProofsDealerCustomChallenge,
|
|
34
36
|
PalletProofsDealerProof,
|
|
35
37
|
PalletStorageProvidersStorageProviderId,
|
|
38
|
+
PalletStorageProvidersTopUpMetadata,
|
|
36
39
|
PalletStorageProvidersValueProposition,
|
|
37
|
-
|
|
40
|
+
PalletStorageProvidersValuePropositionWithId,
|
|
41
|
+
ShParachainRuntimeConfigsRuntimeParamsRuntimeParametersKey,
|
|
42
|
+
ShParachainRuntimeConfigsRuntimeParamsRuntimeParametersValue,
|
|
43
|
+
ShpFileMetadataFileMetadata,
|
|
44
|
+
ShpTraitsTrieMutation,
|
|
38
45
|
SpRuntimeDispatchError,
|
|
46
|
+
SpRuntimeMultiSignature,
|
|
39
47
|
SpWeightsWeightV2Weight,
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
StorageHubRuntimeConfigsRuntimeParamsRuntimeParametersValue,
|
|
47
|
-
XcmV3TraitsError,
|
|
48
|
+
StagingXcmV5AssetAssets,
|
|
49
|
+
StagingXcmV5Location,
|
|
50
|
+
StagingXcmV5Response,
|
|
51
|
+
StagingXcmV5TraitsOutcome,
|
|
52
|
+
StagingXcmV5Xcm,
|
|
53
|
+
XcmV5TraitsError,
|
|
48
54
|
XcmVersionedAssets,
|
|
49
55
|
XcmVersionedLocation
|
|
50
56
|
} from "@polkadot/types/lookup";
|
|
@@ -353,7 +359,7 @@ declare module "@polkadot/api-base/types/events" {
|
|
|
353
359
|
* Downward message executed with the given outcome.
|
|
354
360
|
* \[ id, outcome \]
|
|
355
361
|
**/
|
|
356
|
-
ExecutedDownward: AugmentedEvent<ApiType, [U8aFixed,
|
|
362
|
+
ExecutedDownward: AugmentedEvent<ApiType, [U8aFixed, StagingXcmV5TraitsOutcome]>;
|
|
357
363
|
/**
|
|
358
364
|
* Downward message is invalid XCM.
|
|
359
365
|
* \[ id \]
|
|
@@ -408,8 +414,20 @@ declare module "@polkadot/api-base/types/events" {
|
|
|
408
414
|
**/
|
|
409
415
|
BspConfirmedStoring: AugmentedEvent<
|
|
410
416
|
ApiType,
|
|
411
|
-
[
|
|
412
|
-
|
|
417
|
+
[
|
|
418
|
+
who: AccountId32,
|
|
419
|
+
bspId: H256,
|
|
420
|
+
confirmedFileKeys: Vec<ITuple<[H256, ShpFileMetadataFileMetadata]>>,
|
|
421
|
+
skippedFileKeys: Vec<H256>,
|
|
422
|
+
newRoot: H256
|
|
423
|
+
],
|
|
424
|
+
{
|
|
425
|
+
who: AccountId32;
|
|
426
|
+
bspId: H256;
|
|
427
|
+
confirmedFileKeys: Vec<ITuple<[H256, ShpFileMetadataFileMetadata]>>;
|
|
428
|
+
skippedFileKeys: Vec<H256>;
|
|
429
|
+
newRoot: H256;
|
|
430
|
+
}
|
|
413
431
|
>;
|
|
414
432
|
/**
|
|
415
433
|
* Notifies that a BSP has stopped storing a file.
|
|
@@ -420,13 +438,64 @@ declare module "@polkadot/api-base/types/events" {
|
|
|
420
438
|
{ bspId: H256; fileKey: H256; newRoot: H256 }
|
|
421
439
|
>;
|
|
422
440
|
/**
|
|
423
|
-
* Notifies that a
|
|
441
|
+
* Notifies that a file deletion has been completed successfully for a BSP.
|
|
424
442
|
**/
|
|
443
|
+
BspFileDeletionCompleted: AugmentedEvent<
|
|
444
|
+
ApiType,
|
|
445
|
+
[
|
|
446
|
+
user: AccountId32,
|
|
447
|
+
fileKey: H256,
|
|
448
|
+
fileSize: u64,
|
|
449
|
+
bspId: H256,
|
|
450
|
+
oldRoot: H256,
|
|
451
|
+
newRoot: H256
|
|
452
|
+
],
|
|
453
|
+
{
|
|
454
|
+
user: AccountId32;
|
|
455
|
+
fileKey: H256;
|
|
456
|
+
fileSize: u64;
|
|
457
|
+
bspId: H256;
|
|
458
|
+
oldRoot: H256;
|
|
459
|
+
newRoot: H256;
|
|
460
|
+
}
|
|
461
|
+
>;
|
|
425
462
|
BspRequestedToStopStoring: AugmentedEvent<
|
|
426
463
|
ApiType,
|
|
427
464
|
[bspId: H256, fileKey: H256, owner: AccountId32, location: Bytes],
|
|
428
465
|
{ bspId: H256; fileKey: H256; owner: AccountId32; location: Bytes }
|
|
429
466
|
>;
|
|
467
|
+
/**
|
|
468
|
+
* Notifies that an empty bucket has been deleted.
|
|
469
|
+
**/
|
|
470
|
+
BucketDeleted: AugmentedEvent<
|
|
471
|
+
ApiType,
|
|
472
|
+
[who: AccountId32, bucketId: H256, maybeCollectionId: Option<u32>],
|
|
473
|
+
{ who: AccountId32; bucketId: H256; maybeCollectionId: Option<u32> }
|
|
474
|
+
>;
|
|
475
|
+
/**
|
|
476
|
+
* Notifies that a file deletion has been completed successfully for a Bucket.
|
|
477
|
+
**/
|
|
478
|
+
BucketFileDeletionCompleted: AugmentedEvent<
|
|
479
|
+
ApiType,
|
|
480
|
+
[
|
|
481
|
+
user: AccountId32,
|
|
482
|
+
fileKey: H256,
|
|
483
|
+
fileSize: u64,
|
|
484
|
+
bucketId: H256,
|
|
485
|
+
mspId: Option<H256>,
|
|
486
|
+
oldRoot: H256,
|
|
487
|
+
newRoot: H256
|
|
488
|
+
],
|
|
489
|
+
{
|
|
490
|
+
user: AccountId32;
|
|
491
|
+
fileKey: H256;
|
|
492
|
+
fileSize: u64;
|
|
493
|
+
bucketId: H256;
|
|
494
|
+
mspId: Option<H256>;
|
|
495
|
+
oldRoot: H256;
|
|
496
|
+
newRoot: H256;
|
|
497
|
+
}
|
|
498
|
+
>;
|
|
430
499
|
/**
|
|
431
500
|
* Notifies that a bucket's privacy has been updated.
|
|
432
501
|
**/
|
|
@@ -436,68 +505,185 @@ declare module "@polkadot/api-base/types/events" {
|
|
|
436
505
|
{ who: AccountId32; bucketId: H256; collectionId: Option<u32>; private: bool }
|
|
437
506
|
>;
|
|
438
507
|
/**
|
|
439
|
-
*
|
|
508
|
+
* Failed to decrease MSP's used capacity for expired file deletion request
|
|
509
|
+
**/
|
|
510
|
+
FailedToDecreaseMspUsedCapacity: AugmentedEvent<
|
|
511
|
+
ApiType,
|
|
512
|
+
[
|
|
513
|
+
user: AccountId32,
|
|
514
|
+
mspId: H256,
|
|
515
|
+
fileKey: H256,
|
|
516
|
+
fileSize: u64,
|
|
517
|
+
error: SpRuntimeDispatchError
|
|
518
|
+
],
|
|
519
|
+
{
|
|
520
|
+
user: AccountId32;
|
|
521
|
+
mspId: H256;
|
|
522
|
+
fileKey: H256;
|
|
523
|
+
fileSize: u64;
|
|
524
|
+
error: SpRuntimeDispatchError;
|
|
525
|
+
}
|
|
526
|
+
>;
|
|
527
|
+
/**
|
|
528
|
+
* Failed to get the MSP owner of the bucket for an expired file deletion request
|
|
529
|
+
* This is different from the bucket not having a MSP, which is allowed and won't error
|
|
440
530
|
**/
|
|
441
|
-
|
|
531
|
+
FailedToGetMspOfBucket: AugmentedEvent<
|
|
442
532
|
ApiType,
|
|
443
|
-
[
|
|
444
|
-
{
|
|
533
|
+
[bucketId: H256, error: SpRuntimeDispatchError],
|
|
534
|
+
{ bucketId: H256; error: SpRuntimeDispatchError }
|
|
445
535
|
>;
|
|
446
536
|
/**
|
|
447
|
-
* Notifies that a priority challenge failed to be queued
|
|
537
|
+
* Notifies that a priority challenge with a trie remove mutation failed to be queued in the `on_idle` hook.
|
|
538
|
+
* This can happen if the priority challenge queue is full, and the failed challenge should be manually
|
|
539
|
+
* queued at a later time.
|
|
448
540
|
**/
|
|
449
541
|
FailedToQueuePriorityChallenge: AugmentedEvent<
|
|
450
542
|
ApiType,
|
|
451
|
-
[
|
|
452
|
-
{
|
|
543
|
+
[fileKey: H256, error: SpRuntimeDispatchError],
|
|
544
|
+
{ fileKey: H256; error: SpRuntimeDispatchError }
|
|
545
|
+
>;
|
|
546
|
+
/**
|
|
547
|
+
* Event to notify if, in the `on_idle` hook when cleaning up an expired storage request,
|
|
548
|
+
* the return of that storage request's deposit to the user failed.
|
|
549
|
+
**/
|
|
550
|
+
FailedToReleaseStorageRequestCreationDeposit: AugmentedEvent<
|
|
551
|
+
ApiType,
|
|
552
|
+
[fileKey: H256, owner: AccountId32, amountToReturn: u128, error: SpRuntimeDispatchError],
|
|
553
|
+
{ fileKey: H256; owner: AccountId32; amountToReturn: u128; error: SpRuntimeDispatchError }
|
|
554
|
+
>;
|
|
555
|
+
/**
|
|
556
|
+
* Event to notify if, in the `on_idle` hook when cleaning up an expired storage request,
|
|
557
|
+
* the transfer of a part of that storage request's deposit to one of the volunteered BSPs failed.
|
|
558
|
+
**/
|
|
559
|
+
FailedToTransferDepositFundsToBsp: AugmentedEvent<
|
|
560
|
+
ApiType,
|
|
561
|
+
[
|
|
562
|
+
fileKey: H256,
|
|
563
|
+
owner: AccountId32,
|
|
564
|
+
bspId: H256,
|
|
565
|
+
amountToTransfer: u128,
|
|
566
|
+
error: SpRuntimeDispatchError
|
|
567
|
+
],
|
|
568
|
+
{
|
|
569
|
+
fileKey: H256;
|
|
570
|
+
owner: AccountId32;
|
|
571
|
+
bspId: H256;
|
|
572
|
+
amountToTransfer: u128;
|
|
573
|
+
error: SpRuntimeDispatchError;
|
|
574
|
+
}
|
|
575
|
+
>;
|
|
576
|
+
/**
|
|
577
|
+
* Notifies that a file has been deleted from a rejected storage request.
|
|
578
|
+
**/
|
|
579
|
+
FileDeletedFromIncompleteStorageRequest: AugmentedEvent<
|
|
580
|
+
ApiType,
|
|
581
|
+
[fileKey: H256, bspId: Option<H256>],
|
|
582
|
+
{ fileKey: H256; bspId: Option<H256> }
|
|
453
583
|
>;
|
|
454
584
|
/**
|
|
455
585
|
* Notifies that a file will be deleted.
|
|
456
586
|
**/
|
|
457
587
|
FileDeletionRequest: AugmentedEvent<
|
|
458
588
|
ApiType,
|
|
459
|
-
[
|
|
460
|
-
|
|
589
|
+
[
|
|
590
|
+
user: AccountId32,
|
|
591
|
+
fileKey: H256,
|
|
592
|
+
fileSize: u64,
|
|
593
|
+
bucketId: H256,
|
|
594
|
+
mspId: H256,
|
|
595
|
+
proofOfInclusion: bool
|
|
596
|
+
],
|
|
597
|
+
{
|
|
598
|
+
user: AccountId32;
|
|
599
|
+
fileKey: H256;
|
|
600
|
+
fileSize: u64;
|
|
601
|
+
bucketId: H256;
|
|
602
|
+
mspId: H256;
|
|
603
|
+
proofOfInclusion: bool;
|
|
604
|
+
}
|
|
461
605
|
>;
|
|
462
606
|
/**
|
|
463
|
-
* Notifies that a
|
|
607
|
+
* Notifies that a file deletion has been requested.
|
|
608
|
+
* Contains a signed intention that allows any actor to execute the actual deletion.
|
|
609
|
+
**/
|
|
610
|
+
FileDeletionRequested: AugmentedEvent<
|
|
611
|
+
ApiType,
|
|
612
|
+
[
|
|
613
|
+
signedDeleteIntention: PalletFileSystemFileOperationIntention,
|
|
614
|
+
signature: SpRuntimeMultiSignature
|
|
615
|
+
],
|
|
616
|
+
{
|
|
617
|
+
signedDeleteIntention: PalletFileSystemFileOperationIntention;
|
|
618
|
+
signature: SpRuntimeMultiSignature;
|
|
619
|
+
}
|
|
620
|
+
>;
|
|
621
|
+
/**
|
|
622
|
+
* Notifies that a storage request was marked as incomplete.
|
|
623
|
+
*
|
|
624
|
+
* This is important for fisherman nodes to listen and react to, to delete
|
|
625
|
+
* the file key from the BSPs and/or Bucket storing that file from their forest.
|
|
626
|
+
**/
|
|
627
|
+
IncompleteStorageRequest: AugmentedEvent<ApiType, [fileKey: H256], { fileKey: H256 }>;
|
|
628
|
+
/**
|
|
629
|
+
* Notifies that a bucket has been moved to a new MSP under a new value proposition.
|
|
464
630
|
**/
|
|
465
631
|
MoveBucketAccepted: AugmentedEvent<
|
|
466
632
|
ApiType,
|
|
467
|
-
[bucketId: H256,
|
|
468
|
-
{ bucketId: H256;
|
|
633
|
+
[bucketId: H256, oldMspId: Option<H256>, newMspId: H256, valuePropId: H256],
|
|
634
|
+
{ bucketId: H256; oldMspId: Option<H256>; newMspId: H256; valuePropId: H256 }
|
|
469
635
|
>;
|
|
470
636
|
/**
|
|
471
637
|
* Notifies that a bucket move request has been rejected by the MSP.
|
|
472
638
|
**/
|
|
473
639
|
MoveBucketRejected: AugmentedEvent<
|
|
474
640
|
ApiType,
|
|
475
|
-
[bucketId: H256,
|
|
476
|
-
{ bucketId: H256;
|
|
641
|
+
[bucketId: H256, oldMspId: Option<H256>, newMspId: H256],
|
|
642
|
+
{ bucketId: H256; oldMspId: Option<H256>; newMspId: H256 }
|
|
477
643
|
>;
|
|
478
644
|
/**
|
|
479
645
|
* Notifies that a bucket is being moved to a new MSP.
|
|
480
646
|
**/
|
|
481
647
|
MoveBucketRequested: AugmentedEvent<
|
|
482
648
|
ApiType,
|
|
483
|
-
[who: AccountId32, bucketId: H256, newMspId: H256],
|
|
484
|
-
{ who: AccountId32; bucketId: H256; newMspId: H256 }
|
|
649
|
+
[who: AccountId32, bucketId: H256, newMspId: H256, newValuePropId: H256],
|
|
650
|
+
{ who: AccountId32; bucketId: H256; newMspId: H256; newValuePropId: H256 }
|
|
485
651
|
>;
|
|
486
652
|
/**
|
|
487
653
|
* Notifies that a move bucket request has expired.
|
|
488
654
|
**/
|
|
489
|
-
MoveBucketRequestExpired: AugmentedEvent<
|
|
655
|
+
MoveBucketRequestExpired: AugmentedEvent<ApiType, [bucketId: H256], { bucketId: H256 }>;
|
|
656
|
+
/**
|
|
657
|
+
* Notifies that a Main Storage Provider (MSP) has accepted a storage request for a specific file key.
|
|
658
|
+
*
|
|
659
|
+
* This event is emitted when an MSP agrees to store a file, but the storage request
|
|
660
|
+
* is not yet fully fulfilled (i.e., the required number of Backup Storage Providers
|
|
661
|
+
* have not yet confirmed storage).
|
|
662
|
+
*
|
|
663
|
+
* # Note
|
|
664
|
+
* This event is not emitted when the storage request is immediately fulfilled upon
|
|
665
|
+
* MSP acceptance. In such cases, a [`StorageRequestFulfilled`] event is emitted instead.
|
|
666
|
+
**/
|
|
667
|
+
MspAcceptedStorageRequest: AugmentedEvent<
|
|
490
668
|
ApiType,
|
|
491
|
-
[
|
|
492
|
-
{
|
|
669
|
+
[fileKey: H256, fileMetadata: ShpFileMetadataFileMetadata],
|
|
670
|
+
{ fileKey: H256; fileMetadata: ShpFileMetadataFileMetadata }
|
|
493
671
|
>;
|
|
494
672
|
/**
|
|
495
|
-
* Notifies that a MSP has
|
|
673
|
+
* Notifies that a MSP has stopped storing a bucket.
|
|
496
674
|
**/
|
|
497
|
-
|
|
675
|
+
MspStoppedStoringBucket: AugmentedEvent<
|
|
498
676
|
ApiType,
|
|
499
|
-
[
|
|
500
|
-
{
|
|
677
|
+
[mspId: H256, owner: AccountId32, bucketId: H256],
|
|
678
|
+
{ mspId: H256; owner: AccountId32; bucketId: H256 }
|
|
679
|
+
>;
|
|
680
|
+
/**
|
|
681
|
+
* Notifies that a MSP has stopped storing a bucket because its owner has become insolvent.
|
|
682
|
+
**/
|
|
683
|
+
MspStopStoringBucketInsolventUser: AugmentedEvent<
|
|
684
|
+
ApiType,
|
|
685
|
+
[mspId: H256, owner: AccountId32, bucketId: H256],
|
|
686
|
+
{ mspId: H256; owner: AccountId32; bucketId: H256 }
|
|
501
687
|
>;
|
|
502
688
|
/**
|
|
503
689
|
* Notifies that a new bucket has been created.
|
|
@@ -509,16 +695,20 @@ declare module "@polkadot/api-base/types/events" {
|
|
|
509
695
|
mspId: H256,
|
|
510
696
|
bucketId: H256,
|
|
511
697
|
name: Bytes,
|
|
698
|
+
root: H256,
|
|
512
699
|
collectionId: Option<u32>,
|
|
513
|
-
private: bool
|
|
700
|
+
private: bool,
|
|
701
|
+
valuePropId: H256
|
|
514
702
|
],
|
|
515
703
|
{
|
|
516
704
|
who: AccountId32;
|
|
517
705
|
mspId: H256;
|
|
518
706
|
bucketId: H256;
|
|
519
707
|
name: Bytes;
|
|
708
|
+
root: H256;
|
|
520
709
|
collectionId: Option<u32>;
|
|
521
710
|
private: bool;
|
|
711
|
+
valuePropId: H256;
|
|
522
712
|
}
|
|
523
713
|
>;
|
|
524
714
|
/**
|
|
@@ -541,7 +731,8 @@ declare module "@polkadot/api-base/types/events" {
|
|
|
541
731
|
location: Bytes,
|
|
542
732
|
fingerprint: H256,
|
|
543
733
|
size_: u64,
|
|
544
|
-
peerIds: Vec<Bytes
|
|
734
|
+
peerIds: Vec<Bytes>,
|
|
735
|
+
expiresAt: u32
|
|
545
736
|
],
|
|
546
737
|
{
|
|
547
738
|
who: AccountId32;
|
|
@@ -551,6 +742,7 @@ declare module "@polkadot/api-base/types/events" {
|
|
|
551
742
|
fingerprint: H256;
|
|
552
743
|
size_: u64;
|
|
553
744
|
peerIds: Vec<Bytes>;
|
|
745
|
+
expiresAt: u32;
|
|
554
746
|
}
|
|
555
747
|
>;
|
|
556
748
|
/**
|
|
@@ -566,8 +758,22 @@ declare module "@polkadot/api-base/types/events" {
|
|
|
566
758
|
**/
|
|
567
759
|
ProofSubmittedForPendingFileDeletionRequest: AugmentedEvent<
|
|
568
760
|
ApiType,
|
|
569
|
-
[
|
|
570
|
-
|
|
761
|
+
[
|
|
762
|
+
user: AccountId32,
|
|
763
|
+
fileKey: H256,
|
|
764
|
+
fileSize: u64,
|
|
765
|
+
bucketId: H256,
|
|
766
|
+
mspId: H256,
|
|
767
|
+
proofOfInclusion: bool
|
|
768
|
+
],
|
|
769
|
+
{
|
|
770
|
+
user: AccountId32;
|
|
771
|
+
fileKey: H256;
|
|
772
|
+
fileSize: u64;
|
|
773
|
+
bucketId: H256;
|
|
774
|
+
mspId: H256;
|
|
775
|
+
proofOfInclusion: bool;
|
|
776
|
+
}
|
|
571
777
|
>;
|
|
572
778
|
/**
|
|
573
779
|
* Notifies that a SP has stopped storing a file because its owner has become insolvent.
|
|
@@ -578,17 +784,43 @@ declare module "@polkadot/api-base/types/events" {
|
|
|
578
784
|
{ spId: H256; fileKey: H256; owner: AccountId32; location: Bytes; newRoot: H256 }
|
|
579
785
|
>;
|
|
580
786
|
/**
|
|
581
|
-
* Notifies the expiration of a storage request.
|
|
787
|
+
* Notifies the expiration of a storage request. This means that the storage request has
|
|
788
|
+
* been accepted by the MSP but the BSP target has not been reached (possibly 0 BSPs).
|
|
789
|
+
* Note: This is a valid storage outcome, the user being responsible to track the number
|
|
790
|
+
* of BSPs and choose to either delete the file and re-issue a storage request or continue.
|
|
582
791
|
**/
|
|
583
792
|
StorageRequestExpired: AugmentedEvent<ApiType, [fileKey: H256], { fileKey: H256 }>;
|
|
584
793
|
/**
|
|
585
794
|
* Notifies that a storage request for a file key has been fulfilled.
|
|
795
|
+
* This means that the storage request has been accepted by the MSP and the BSP target
|
|
796
|
+
* has been reached.
|
|
586
797
|
**/
|
|
587
798
|
StorageRequestFulfilled: AugmentedEvent<ApiType, [fileKey: H256], { fileKey: H256 }>;
|
|
799
|
+
/**
|
|
800
|
+
* Notifies that a storage request has either been directly rejected by the MSP or
|
|
801
|
+
* the MSP did not respond to the storage request in time.
|
|
802
|
+
* Note: the storage request will be marked as "incomplete", and it is expected that fisherman
|
|
803
|
+
* nodes will pick it up and delete the file from the confirmed BSPs as well as the Bucket.
|
|
804
|
+
**/
|
|
805
|
+
StorageRequestRejected: AugmentedEvent<
|
|
806
|
+
ApiType,
|
|
807
|
+
[fileKey: H256, reason: PalletFileSystemRejectedStorageRequestReason],
|
|
808
|
+
{ fileKey: H256; reason: PalletFileSystemRejectedStorageRequestReason }
|
|
809
|
+
>;
|
|
588
810
|
/**
|
|
589
811
|
* Notifies that a storage request has been revoked by the user who initiated it.
|
|
812
|
+
* Note: the storage request will be marked as "incomplete", and it is expected that fisherman
|
|
813
|
+
* nodes will pick it up and delete the file from the confirmed BSPs as well as the Bucket.
|
|
590
814
|
**/
|
|
591
815
|
StorageRequestRevoked: AugmentedEvent<ApiType, [fileKey: H256], { fileKey: H256 }>;
|
|
816
|
+
/**
|
|
817
|
+
* Event to notify of incoherencies in used capacity.
|
|
818
|
+
**/
|
|
819
|
+
UsedCapacityShouldBeZero: AugmentedEvent<
|
|
820
|
+
ApiType,
|
|
821
|
+
[actualUsedCapacity: u64],
|
|
822
|
+
{ actualUsedCapacity: u64 }
|
|
823
|
+
>;
|
|
592
824
|
/**
|
|
593
825
|
* Generic event
|
|
594
826
|
**/
|
|
@@ -1098,14 +1330,14 @@ declare module "@polkadot/api-base/types/events" {
|
|
|
1098
1330
|
Updated: AugmentedEvent<
|
|
1099
1331
|
ApiType,
|
|
1100
1332
|
[
|
|
1101
|
-
key:
|
|
1102
|
-
oldValue: Option<
|
|
1103
|
-
newValue: Option<
|
|
1333
|
+
key: ShParachainRuntimeConfigsRuntimeParamsRuntimeParametersKey,
|
|
1334
|
+
oldValue: Option<ShParachainRuntimeConfigsRuntimeParamsRuntimeParametersValue>,
|
|
1335
|
+
newValue: Option<ShParachainRuntimeConfigsRuntimeParamsRuntimeParametersValue>
|
|
1104
1336
|
],
|
|
1105
1337
|
{
|
|
1106
|
-
key:
|
|
1107
|
-
oldValue: Option<
|
|
1108
|
-
newValue: Option<
|
|
1338
|
+
key: ShParachainRuntimeConfigsRuntimeParamsRuntimeParametersKey;
|
|
1339
|
+
oldValue: Option<ShParachainRuntimeConfigsRuntimeParamsRuntimeParametersValue>;
|
|
1340
|
+
newValue: Option<ShParachainRuntimeConfigsRuntimeParamsRuntimeParametersValue>;
|
|
1109
1341
|
}
|
|
1110
1342
|
>;
|
|
1111
1343
|
/**
|
|
@@ -1166,6 +1398,14 @@ declare module "@polkadot/api-base/types/events" {
|
|
|
1166
1398
|
[userAccount: AccountId32, providerId: H256, newRate: u128],
|
|
1167
1399
|
{ userAccount: AccountId32; providerId: H256; newRate: u128 }
|
|
1168
1400
|
>;
|
|
1401
|
+
/**
|
|
1402
|
+
* Event emitted when the `on_poll` hook detects that the tick of the proof submitters that needs to process is not the one immediately after the last processed tick.
|
|
1403
|
+
**/
|
|
1404
|
+
InconsistentTickProcessing: AugmentedEvent<
|
|
1405
|
+
ApiType,
|
|
1406
|
+
[lastProcessedTick: u32, tickToProcess: u32],
|
|
1407
|
+
{ lastProcessedTick: u32; tickToProcess: u32 }
|
|
1408
|
+
>;
|
|
1169
1409
|
/**
|
|
1170
1410
|
* Event emitted when a Provider's last chargeable tick and price index are updated. Provides information about the Provider of the stream,
|
|
1171
1411
|
* the tick number of the last chargeable tick and the price index at that tick.
|
|
@@ -1199,7 +1439,20 @@ declare module "@polkadot/api-base/types/events" {
|
|
|
1199
1439
|
/**
|
|
1200
1440
|
* Event emitted when a User that has been flagged as not having enough funds to pay for their contracted services has paid all its outstanding debt.
|
|
1201
1441
|
**/
|
|
1202
|
-
|
|
1442
|
+
UserPaidAllDebts: AugmentedEvent<ApiType, [who: AccountId32], { who: AccountId32 }>;
|
|
1443
|
+
/**
|
|
1444
|
+
* Event emitted when a User that has been flagged as not having enough funds to pay for their contracted services has paid some (but not all) of its outstanding debt.
|
|
1445
|
+
**/
|
|
1446
|
+
UserPaidSomeDebts: AugmentedEvent<ApiType, [who: AccountId32], { who: AccountId32 }>;
|
|
1447
|
+
/**
|
|
1448
|
+
* Event emitted when multiple payment streams have been charged from a Provider. Provides information about
|
|
1449
|
+
* the charged users, the Provider that received the funds and the tick when the charge happened.
|
|
1450
|
+
**/
|
|
1451
|
+
UsersCharged: AugmentedEvent<
|
|
1452
|
+
ApiType,
|
|
1453
|
+
[userAccounts: Vec<AccountId32>, providerId: H256, chargedAtTick: u32],
|
|
1454
|
+
{ userAccounts: Vec<AccountId32>; providerId: H256; chargedAtTick: u32 }
|
|
1455
|
+
>;
|
|
1203
1456
|
/**
|
|
1204
1457
|
* Event emitted when a User that has been flagged as not having enough funds to pay for their contracted services has waited the cooldown period,
|
|
1205
1458
|
* correctly paid all their outstanding debt and can now contract new services again.
|
|
@@ -1222,32 +1475,32 @@ declare module "@polkadot/api-base/types/events" {
|
|
|
1222
1475
|
**/
|
|
1223
1476
|
AssetsClaimed: AugmentedEvent<
|
|
1224
1477
|
ApiType,
|
|
1225
|
-
[hash_: H256, origin:
|
|
1226
|
-
{ hash_: H256; origin:
|
|
1478
|
+
[hash_: H256, origin: StagingXcmV5Location, assets: XcmVersionedAssets],
|
|
1479
|
+
{ hash_: H256; origin: StagingXcmV5Location; assets: XcmVersionedAssets }
|
|
1227
1480
|
>;
|
|
1228
1481
|
/**
|
|
1229
1482
|
* Some assets have been placed in an asset trap.
|
|
1230
1483
|
**/
|
|
1231
1484
|
AssetsTrapped: AugmentedEvent<
|
|
1232
1485
|
ApiType,
|
|
1233
|
-
[hash_: H256, origin:
|
|
1234
|
-
{ hash_: H256; origin:
|
|
1486
|
+
[hash_: H256, origin: StagingXcmV5Location, assets: XcmVersionedAssets],
|
|
1487
|
+
{ hash_: H256; origin: StagingXcmV5Location; assets: XcmVersionedAssets }
|
|
1235
1488
|
>;
|
|
1236
1489
|
/**
|
|
1237
1490
|
* Execution of an XCM message was attempted.
|
|
1238
1491
|
**/
|
|
1239
1492
|
Attempted: AugmentedEvent<
|
|
1240
1493
|
ApiType,
|
|
1241
|
-
[outcome:
|
|
1242
|
-
{ outcome:
|
|
1494
|
+
[outcome: StagingXcmV5TraitsOutcome],
|
|
1495
|
+
{ outcome: StagingXcmV5TraitsOutcome }
|
|
1243
1496
|
>;
|
|
1244
1497
|
/**
|
|
1245
1498
|
* Fees were paid from a location for an operation (often for using `SendXcm`).
|
|
1246
1499
|
**/
|
|
1247
1500
|
FeesPaid: AugmentedEvent<
|
|
1248
1501
|
ApiType,
|
|
1249
|
-
[paying:
|
|
1250
|
-
{ paying:
|
|
1502
|
+
[paying: StagingXcmV5Location, fees: StagingXcmV5AssetAssets],
|
|
1503
|
+
{ paying: StagingXcmV5Location; fees: StagingXcmV5AssetAssets }
|
|
1251
1504
|
>;
|
|
1252
1505
|
/**
|
|
1253
1506
|
* Expected query response has been received but the querier location of the response does
|
|
@@ -1257,16 +1510,16 @@ declare module "@polkadot/api-base/types/events" {
|
|
|
1257
1510
|
InvalidQuerier: AugmentedEvent<
|
|
1258
1511
|
ApiType,
|
|
1259
1512
|
[
|
|
1260
|
-
origin:
|
|
1513
|
+
origin: StagingXcmV5Location,
|
|
1261
1514
|
queryId: u64,
|
|
1262
|
-
expectedQuerier:
|
|
1263
|
-
maybeActualQuerier: Option<
|
|
1515
|
+
expectedQuerier: StagingXcmV5Location,
|
|
1516
|
+
maybeActualQuerier: Option<StagingXcmV5Location>
|
|
1264
1517
|
],
|
|
1265
1518
|
{
|
|
1266
|
-
origin:
|
|
1519
|
+
origin: StagingXcmV5Location;
|
|
1267
1520
|
queryId: u64;
|
|
1268
|
-
expectedQuerier:
|
|
1269
|
-
maybeActualQuerier: Option<
|
|
1521
|
+
expectedQuerier: StagingXcmV5Location;
|
|
1522
|
+
maybeActualQuerier: Option<StagingXcmV5Location>;
|
|
1270
1523
|
}
|
|
1271
1524
|
>;
|
|
1272
1525
|
/**
|
|
@@ -1280,8 +1533,8 @@ declare module "@polkadot/api-base/types/events" {
|
|
|
1280
1533
|
**/
|
|
1281
1534
|
InvalidQuerierVersion: AugmentedEvent<
|
|
1282
1535
|
ApiType,
|
|
1283
|
-
[origin:
|
|
1284
|
-
{ origin:
|
|
1536
|
+
[origin: StagingXcmV5Location, queryId: u64],
|
|
1537
|
+
{ origin: StagingXcmV5Location; queryId: u64 }
|
|
1285
1538
|
>;
|
|
1286
1539
|
/**
|
|
1287
1540
|
* Expected query response has been received but the origin location of the response does
|
|
@@ -1291,14 +1544,14 @@ declare module "@polkadot/api-base/types/events" {
|
|
|
1291
1544
|
InvalidResponder: AugmentedEvent<
|
|
1292
1545
|
ApiType,
|
|
1293
1546
|
[
|
|
1294
|
-
origin:
|
|
1547
|
+
origin: StagingXcmV5Location,
|
|
1295
1548
|
queryId: u64,
|
|
1296
|
-
expectedLocation: Option<
|
|
1549
|
+
expectedLocation: Option<StagingXcmV5Location>
|
|
1297
1550
|
],
|
|
1298
1551
|
{
|
|
1299
|
-
origin:
|
|
1552
|
+
origin: StagingXcmV5Location;
|
|
1300
1553
|
queryId: u64;
|
|
1301
|
-
expectedLocation: Option<
|
|
1554
|
+
expectedLocation: Option<StagingXcmV5Location>;
|
|
1302
1555
|
}
|
|
1303
1556
|
>;
|
|
1304
1557
|
/**
|
|
@@ -1312,8 +1565,8 @@ declare module "@polkadot/api-base/types/events" {
|
|
|
1312
1565
|
**/
|
|
1313
1566
|
InvalidResponderVersion: AugmentedEvent<
|
|
1314
1567
|
ApiType,
|
|
1315
|
-
[origin:
|
|
1316
|
-
{ origin:
|
|
1568
|
+
[origin: StagingXcmV5Location, queryId: u64],
|
|
1569
|
+
{ origin: StagingXcmV5Location; queryId: u64 }
|
|
1317
1570
|
>;
|
|
1318
1571
|
/**
|
|
1319
1572
|
* Query response has been received and query is removed. The registered notification has
|
|
@@ -1380,8 +1633,8 @@ declare module "@polkadot/api-base/types/events" {
|
|
|
1380
1633
|
**/
|
|
1381
1634
|
NotifyTargetSendFail: AugmentedEvent<
|
|
1382
1635
|
ApiType,
|
|
1383
|
-
[location:
|
|
1384
|
-
{ location:
|
|
1636
|
+
[location: StagingXcmV5Location, queryId: u64, error: XcmV5TraitsError],
|
|
1637
|
+
{ location: StagingXcmV5Location; queryId: u64; error: XcmV5TraitsError }
|
|
1385
1638
|
>;
|
|
1386
1639
|
/**
|
|
1387
1640
|
* Query response has been received and is ready for taking with `take_response`. There is
|
|
@@ -1389,8 +1642,8 @@ declare module "@polkadot/api-base/types/events" {
|
|
|
1389
1642
|
**/
|
|
1390
1643
|
ResponseReady: AugmentedEvent<
|
|
1391
1644
|
ApiType,
|
|
1392
|
-
[queryId: u64, response:
|
|
1393
|
-
{ queryId: u64; response:
|
|
1645
|
+
[queryId: u64, response: StagingXcmV5Response],
|
|
1646
|
+
{ queryId: u64; response: StagingXcmV5Response }
|
|
1394
1647
|
>;
|
|
1395
1648
|
/**
|
|
1396
1649
|
* Received query response has been read and removed.
|
|
@@ -1402,15 +1655,15 @@ declare module "@polkadot/api-base/types/events" {
|
|
|
1402
1655
|
Sent: AugmentedEvent<
|
|
1403
1656
|
ApiType,
|
|
1404
1657
|
[
|
|
1405
|
-
origin:
|
|
1406
|
-
destination:
|
|
1407
|
-
message:
|
|
1658
|
+
origin: StagingXcmV5Location,
|
|
1659
|
+
destination: StagingXcmV5Location,
|
|
1660
|
+
message: StagingXcmV5Xcm,
|
|
1408
1661
|
messageId: U8aFixed
|
|
1409
1662
|
],
|
|
1410
1663
|
{
|
|
1411
|
-
origin:
|
|
1412
|
-
destination:
|
|
1413
|
-
message:
|
|
1664
|
+
origin: StagingXcmV5Location;
|
|
1665
|
+
destination: StagingXcmV5Location;
|
|
1666
|
+
message: StagingXcmV5Xcm;
|
|
1414
1667
|
messageId: U8aFixed;
|
|
1415
1668
|
}
|
|
1416
1669
|
>;
|
|
@@ -1420,8 +1673,8 @@ declare module "@polkadot/api-base/types/events" {
|
|
|
1420
1673
|
**/
|
|
1421
1674
|
SupportedVersionChanged: AugmentedEvent<
|
|
1422
1675
|
ApiType,
|
|
1423
|
-
[location:
|
|
1424
|
-
{ location:
|
|
1676
|
+
[location: StagingXcmV5Location, version: u32],
|
|
1677
|
+
{ location: StagingXcmV5Location; version: u32 }
|
|
1425
1678
|
>;
|
|
1426
1679
|
/**
|
|
1427
1680
|
* Query response received which does not match a registered query. This may be because a
|
|
@@ -1430,8 +1683,8 @@ declare module "@polkadot/api-base/types/events" {
|
|
|
1430
1683
|
**/
|
|
1431
1684
|
UnexpectedResponse: AugmentedEvent<
|
|
1432
1685
|
ApiType,
|
|
1433
|
-
[origin:
|
|
1434
|
-
{ origin:
|
|
1686
|
+
[origin: StagingXcmV5Location, queryId: u64],
|
|
1687
|
+
{ origin: StagingXcmV5Location; queryId: u64 }
|
|
1435
1688
|
>;
|
|
1436
1689
|
/**
|
|
1437
1690
|
* An XCM version change notification message has been attempted to be sent.
|
|
@@ -1441,15 +1694,15 @@ declare module "@polkadot/api-base/types/events" {
|
|
|
1441
1694
|
VersionChangeNotified: AugmentedEvent<
|
|
1442
1695
|
ApiType,
|
|
1443
1696
|
[
|
|
1444
|
-
destination:
|
|
1697
|
+
destination: StagingXcmV5Location,
|
|
1445
1698
|
result: u32,
|
|
1446
|
-
cost:
|
|
1699
|
+
cost: StagingXcmV5AssetAssets,
|
|
1447
1700
|
messageId: U8aFixed
|
|
1448
1701
|
],
|
|
1449
1702
|
{
|
|
1450
|
-
destination:
|
|
1703
|
+
destination: StagingXcmV5Location;
|
|
1451
1704
|
result: u32;
|
|
1452
|
-
cost:
|
|
1705
|
+
cost: StagingXcmV5AssetAssets;
|
|
1453
1706
|
messageId: U8aFixed;
|
|
1454
1707
|
}
|
|
1455
1708
|
>;
|
|
@@ -1462,8 +1715,8 @@ declare module "@polkadot/api-base/types/events" {
|
|
|
1462
1715
|
**/
|
|
1463
1716
|
VersionNotifyRequested: AugmentedEvent<
|
|
1464
1717
|
ApiType,
|
|
1465
|
-
[destination:
|
|
1466
|
-
{ destination:
|
|
1718
|
+
[destination: StagingXcmV5Location, cost: StagingXcmV5AssetAssets, messageId: U8aFixed],
|
|
1719
|
+
{ destination: StagingXcmV5Location; cost: StagingXcmV5AssetAssets; messageId: U8aFixed }
|
|
1467
1720
|
>;
|
|
1468
1721
|
/**
|
|
1469
1722
|
* A remote has requested XCM version change notification from us and we have honored it.
|
|
@@ -1471,8 +1724,8 @@ declare module "@polkadot/api-base/types/events" {
|
|
|
1471
1724
|
**/
|
|
1472
1725
|
VersionNotifyStarted: AugmentedEvent<
|
|
1473
1726
|
ApiType,
|
|
1474
|
-
[destination:
|
|
1475
|
-
{ destination:
|
|
1727
|
+
[destination: StagingXcmV5Location, cost: StagingXcmV5AssetAssets, messageId: U8aFixed],
|
|
1728
|
+
{ destination: StagingXcmV5Location; cost: StagingXcmV5AssetAssets; messageId: U8aFixed }
|
|
1476
1729
|
>;
|
|
1477
1730
|
/**
|
|
1478
1731
|
* We have requested that a remote chain stops sending us XCM version change
|
|
@@ -1480,8 +1733,8 @@ declare module "@polkadot/api-base/types/events" {
|
|
|
1480
1733
|
**/
|
|
1481
1734
|
VersionNotifyUnrequested: AugmentedEvent<
|
|
1482
1735
|
ApiType,
|
|
1483
|
-
[destination:
|
|
1484
|
-
{ destination:
|
|
1736
|
+
[destination: StagingXcmV5Location, cost: StagingXcmV5AssetAssets, messageId: U8aFixed],
|
|
1737
|
+
{ destination: StagingXcmV5Location; cost: StagingXcmV5AssetAssets; messageId: U8aFixed }
|
|
1485
1738
|
>;
|
|
1486
1739
|
/**
|
|
1487
1740
|
* Generic event
|
|
@@ -1494,18 +1747,44 @@ declare module "@polkadot/api-base/types/events" {
|
|
|
1494
1747
|
**/
|
|
1495
1748
|
ChallengesTickerSet: AugmentedEvent<ApiType, [paused: bool], { paused: bool }>;
|
|
1496
1749
|
/**
|
|
1497
|
-
* A set of mutations has been applied to
|
|
1750
|
+
* A set of mutations has been applied to a given Forest.
|
|
1751
|
+
* This is the generic version of [`MutationsAppliedForProvider`](Event::MutationsAppliedForProvider)
|
|
1752
|
+
* when [`generic_apply_delta`](ProofsDealerInterface::generic_apply_delta) is used
|
|
1753
|
+
* and the root is not necessarily linked to a specific Provider.
|
|
1754
|
+
*
|
|
1755
|
+
* Additional information for context on where the mutations were applied can be provided
|
|
1756
|
+
* by using the `event_info` field.
|
|
1498
1757
|
**/
|
|
1499
1758
|
MutationsApplied: AugmentedEvent<
|
|
1500
1759
|
ApiType,
|
|
1501
1760
|
[
|
|
1502
|
-
|
|
1503
|
-
|
|
1761
|
+
mutations: Vec<ITuple<[H256, ShpTraitsTrieMutation]>>,
|
|
1762
|
+
oldRoot: H256,
|
|
1763
|
+
newRoot: H256,
|
|
1764
|
+
eventInfo: Option<Bytes>
|
|
1765
|
+
],
|
|
1766
|
+
{
|
|
1767
|
+
mutations: Vec<ITuple<[H256, ShpTraitsTrieMutation]>>;
|
|
1768
|
+
oldRoot: H256;
|
|
1769
|
+
newRoot: H256;
|
|
1770
|
+
eventInfo: Option<Bytes>;
|
|
1771
|
+
}
|
|
1772
|
+
>;
|
|
1773
|
+
/**
|
|
1774
|
+
* A set of mutations has been applied to the Forest of a given Provider.
|
|
1775
|
+
**/
|
|
1776
|
+
MutationsAppliedForProvider: AugmentedEvent<
|
|
1777
|
+
ApiType,
|
|
1778
|
+
[
|
|
1779
|
+
providerId: H256,
|
|
1780
|
+
mutations: Vec<ITuple<[H256, ShpTraitsTrieMutation]>>,
|
|
1781
|
+
oldRoot: H256,
|
|
1504
1782
|
newRoot: H256
|
|
1505
1783
|
],
|
|
1506
1784
|
{
|
|
1507
|
-
|
|
1508
|
-
mutations: Vec<ITuple<[H256,
|
|
1785
|
+
providerId: H256;
|
|
1786
|
+
mutations: Vec<ITuple<[H256, ShpTraitsTrieMutation]>>;
|
|
1787
|
+
oldRoot: H256;
|
|
1509
1788
|
newRoot: H256;
|
|
1510
1789
|
}
|
|
1511
1790
|
>;
|
|
@@ -1514,8 +1793,8 @@ declare module "@polkadot/api-base/types/events" {
|
|
|
1514
1793
|
**/
|
|
1515
1794
|
NewChallenge: AugmentedEvent<
|
|
1516
1795
|
ApiType,
|
|
1517
|
-
[who: AccountId32
|
|
1518
|
-
{ who: AccountId32
|
|
1796
|
+
[who: Option<AccountId32>, keyChallenged: H256],
|
|
1797
|
+
{ who: Option<AccountId32>; keyChallenged: H256 }
|
|
1519
1798
|
>;
|
|
1520
1799
|
/**
|
|
1521
1800
|
* A provider's challenge cycle was initialised.
|
|
@@ -1548,14 +1827,16 @@ declare module "@polkadot/api-base/types/events" {
|
|
|
1548
1827
|
**/
|
|
1549
1828
|
NewCheckpointChallenge: AugmentedEvent<
|
|
1550
1829
|
ApiType,
|
|
1551
|
-
[
|
|
1552
|
-
|
|
1553
|
-
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
|
|
1830
|
+
[challengesTicker: u32, challenges: Vec<PalletProofsDealerCustomChallenge>],
|
|
1831
|
+
{ challengesTicker: u32; challenges: Vec<PalletProofsDealerCustomChallenge> }
|
|
1832
|
+
>;
|
|
1833
|
+
/**
|
|
1834
|
+
* A priority challenge was submitted.
|
|
1835
|
+
**/
|
|
1836
|
+
NewPriorityChallenge: AugmentedEvent<
|
|
1837
|
+
ApiType,
|
|
1838
|
+
[who: Option<AccountId32>, keyChallenged: H256, shouldRemoveKey: bool],
|
|
1839
|
+
{ who: Option<AccountId32>; keyChallenged: H256; shouldRemoveKey: bool }
|
|
1559
1840
|
>;
|
|
1560
1841
|
/**
|
|
1561
1842
|
* No record of the last tick the Provider submitted a proof for.
|
|
@@ -1566,8 +1847,8 @@ declare module "@polkadot/api-base/types/events" {
|
|
|
1566
1847
|
**/
|
|
1567
1848
|
ProofAccepted: AugmentedEvent<
|
|
1568
1849
|
ApiType,
|
|
1569
|
-
[
|
|
1570
|
-
{
|
|
1850
|
+
[providerId: H256, proof: PalletProofsDealerProof, lastTickProven: u32],
|
|
1851
|
+
{ providerId: H256; proof: PalletProofsDealerProof; lastTickProven: u32 }
|
|
1571
1852
|
>;
|
|
1572
1853
|
/**
|
|
1573
1854
|
* A provider was marked as slashable and their challenge deadline was forcefully pushed.
|
|
@@ -1583,6 +1864,19 @@ declare module "@polkadot/api-base/types/events" {
|
|
|
1583
1864
|
[key: string]: AugmentedEvent<ApiType>;
|
|
1584
1865
|
};
|
|
1585
1866
|
providers: {
|
|
1867
|
+
/**
|
|
1868
|
+
* Event emitted when a provider has been slashed and they have reached a capacity deficit (i.e. the provider's capacity fell below their used capacity)
|
|
1869
|
+
* signalling the end of the grace period since an automatic top up could not be performed due to insufficient free balance.
|
|
1870
|
+
**/
|
|
1871
|
+
AwaitingTopUp: AugmentedEvent<
|
|
1872
|
+
ApiType,
|
|
1873
|
+
[providerId: H256, topUpMetadata: PalletStorageProvidersTopUpMetadata],
|
|
1874
|
+
{ providerId: H256; topUpMetadata: PalletStorageProvidersTopUpMetadata }
|
|
1875
|
+
>;
|
|
1876
|
+
/**
|
|
1877
|
+
* Event emitted when a BSP has been deleted.
|
|
1878
|
+
**/
|
|
1879
|
+
BspDeleted: AugmentedEvent<ApiType, [providerId: H256], { providerId: H256 }>;
|
|
1586
1880
|
/**
|
|
1587
1881
|
* Event emitted when a Backup Storage Provider has requested to sign up successfully. Provides information about
|
|
1588
1882
|
* that BSP's account id, its multiaddresses, and the total data it can store according to its stake.
|
|
@@ -1603,12 +1897,30 @@ declare module "@polkadot/api-base/types/events" {
|
|
|
1603
1897
|
>;
|
|
1604
1898
|
/**
|
|
1605
1899
|
* Event emitted when a Backup Storage Provider has confirmed its sign up successfully. Provides information about
|
|
1606
|
-
* that BSP's account id, the
|
|
1900
|
+
* that BSP's account id, the initial root of the Merkle Patricia Trie that it stores, the total data it can store
|
|
1901
|
+
* according to its stake, and its multiaddress.
|
|
1607
1902
|
**/
|
|
1608
1903
|
BspSignUpSuccess: AugmentedEvent<
|
|
1609
1904
|
ApiType,
|
|
1610
|
-
[who: AccountId32, bspId: H256, multiaddresses: Vec<Bytes>, capacity: u64],
|
|
1611
|
-
{ who: AccountId32; bspId: H256; multiaddresses: Vec<Bytes>; capacity: u64 }
|
|
1905
|
+
[who: AccountId32, bspId: H256, root: H256, multiaddresses: Vec<Bytes>, capacity: u64],
|
|
1906
|
+
{ who: AccountId32; bspId: H256; root: H256; multiaddresses: Vec<Bytes>; capacity: u64 }
|
|
1907
|
+
>;
|
|
1908
|
+
/**
|
|
1909
|
+
* Event emitted when a bucket's root has been changed.
|
|
1910
|
+
**/
|
|
1911
|
+
BucketRootChanged: AugmentedEvent<
|
|
1912
|
+
ApiType,
|
|
1913
|
+
[bucketId: H256, oldRoot: H256, newRoot: H256],
|
|
1914
|
+
{ bucketId: H256; oldRoot: H256; newRoot: H256 }
|
|
1915
|
+
>;
|
|
1916
|
+
/**
|
|
1917
|
+
* Event emitted when the provider that has been marked as insolvent was a MSP. It notifies the users of that MSP
|
|
1918
|
+
* the buckets that it was holding, so they can take appropriate measures.
|
|
1919
|
+
**/
|
|
1920
|
+
BucketsOfInsolventMsp: AugmentedEvent<
|
|
1921
|
+
ApiType,
|
|
1922
|
+
[mspId: H256, buckets: Vec<H256>],
|
|
1923
|
+
{ mspId: H256; buckets: Vec<H256> }
|
|
1612
1924
|
>;
|
|
1613
1925
|
/**
|
|
1614
1926
|
* Event emitted when a SP has changed its capacity successfully. Provides information about
|
|
@@ -1631,24 +1943,55 @@ declare module "@polkadot/api-base/types/events" {
|
|
|
1631
1943
|
nextBlockWhenChangeAllowed: u32;
|
|
1632
1944
|
}
|
|
1633
1945
|
>;
|
|
1946
|
+
/**
|
|
1947
|
+
* Event emitted when the account ID of a provider that has just been marked as insolvent can't be found in storage.
|
|
1948
|
+
**/
|
|
1949
|
+
FailedToGetOwnerAccountOfInsolventProvider: AugmentedEvent<
|
|
1950
|
+
ApiType,
|
|
1951
|
+
[providerId: H256],
|
|
1952
|
+
{ providerId: H256 }
|
|
1953
|
+
>;
|
|
1954
|
+
/**
|
|
1955
|
+
* Event emitted when there was an inconsistency error and the provider was found in `ProviderTopUpExpirations`
|
|
1956
|
+
* for a tick that wasn't actually when its top up expired, and when trying to insert it with the actual
|
|
1957
|
+
* expiration tick in `ProviderTopUpExpirations` the append failed.
|
|
1958
|
+
*
|
|
1959
|
+
* The result of this is that the provider's top up expiration will be reinserted at the correct expiration tick based on the
|
|
1960
|
+
* `TopUpMetadata` found in `AwaitingTopUpFromProviders` storage.
|
|
1961
|
+
**/
|
|
1962
|
+
FailedToInsertProviderTopUpExpiration: AugmentedEvent<
|
|
1963
|
+
ApiType,
|
|
1964
|
+
[providerId: H256, expirationTick: u32],
|
|
1965
|
+
{ providerId: H256; expirationTick: u32 }
|
|
1966
|
+
>;
|
|
1967
|
+
/**
|
|
1968
|
+
* Event emitted when there's an error slashing the now insolvent provider.
|
|
1969
|
+
**/
|
|
1970
|
+
FailedToSlashInsolventProvider: AugmentedEvent<
|
|
1971
|
+
ApiType,
|
|
1972
|
+
[providerId: H256, amountToSlash: u128, error: SpRuntimeDispatchError],
|
|
1973
|
+
{ providerId: H256; amountToSlash: u128; error: SpRuntimeDispatchError }
|
|
1974
|
+
>;
|
|
1975
|
+
/**
|
|
1976
|
+
* Event emitted when there's an error stopping all cycles for an insolvent Backup Storage Provider.
|
|
1977
|
+
**/
|
|
1978
|
+
FailedToStopAllCyclesForInsolventBsp: AugmentedEvent<
|
|
1979
|
+
ApiType,
|
|
1980
|
+
[providerId: H256, error: SpRuntimeDispatchError],
|
|
1981
|
+
{ providerId: H256; error: SpRuntimeDispatchError }
|
|
1982
|
+
>;
|
|
1983
|
+
/**
|
|
1984
|
+
* Event emitted when an MSP has been deleted.
|
|
1985
|
+
**/
|
|
1986
|
+
MspDeleted: AugmentedEvent<ApiType, [providerId: H256], { providerId: H256 }>;
|
|
1634
1987
|
/**
|
|
1635
1988
|
* Event emitted when a Main Storage Provider has requested to sign up successfully. Provides information about
|
|
1636
1989
|
* that MSP's account id, its multiaddresses, the total data it can store according to its stake, and its value proposition.
|
|
1637
1990
|
**/
|
|
1638
1991
|
MspRequestSignUpSuccess: AugmentedEvent<
|
|
1639
1992
|
ApiType,
|
|
1640
|
-
[
|
|
1641
|
-
|
|
1642
|
-
multiaddresses: Vec<Bytes>,
|
|
1643
|
-
capacity: u64,
|
|
1644
|
-
valueProp: PalletStorageProvidersValueProposition
|
|
1645
|
-
],
|
|
1646
|
-
{
|
|
1647
|
-
who: AccountId32;
|
|
1648
|
-
multiaddresses: Vec<Bytes>;
|
|
1649
|
-
capacity: u64;
|
|
1650
|
-
valueProp: PalletStorageProvidersValueProposition;
|
|
1651
|
-
}
|
|
1993
|
+
[who: AccountId32, multiaddresses: Vec<Bytes>, capacity: u64],
|
|
1994
|
+
{ who: AccountId32; multiaddresses: Vec<Bytes>; capacity: u64 }
|
|
1652
1995
|
>;
|
|
1653
1996
|
/**
|
|
1654
1997
|
* Event emitted when a Main Storage Provider has signed off successfully. Provides information about
|
|
@@ -1670,28 +2013,75 @@ declare module "@polkadot/api-base/types/events" {
|
|
|
1670
2013
|
mspId: H256,
|
|
1671
2014
|
multiaddresses: Vec<Bytes>,
|
|
1672
2015
|
capacity: u64,
|
|
1673
|
-
valueProp:
|
|
2016
|
+
valueProp: PalletStorageProvidersValuePropositionWithId
|
|
1674
2017
|
],
|
|
1675
2018
|
{
|
|
1676
2019
|
who: AccountId32;
|
|
1677
2020
|
mspId: H256;
|
|
1678
2021
|
multiaddresses: Vec<Bytes>;
|
|
1679
2022
|
capacity: u64;
|
|
1680
|
-
valueProp:
|
|
2023
|
+
valueProp: PalletStorageProvidersValuePropositionWithId;
|
|
1681
2024
|
}
|
|
1682
2025
|
>;
|
|
2026
|
+
/**
|
|
2027
|
+
* Event emitted when a Provider has added a new MultiAddress to its account.
|
|
2028
|
+
**/
|
|
2029
|
+
MultiAddressAdded: AugmentedEvent<
|
|
2030
|
+
ApiType,
|
|
2031
|
+
[providerId: H256, newMultiaddress: Bytes],
|
|
2032
|
+
{ providerId: H256; newMultiaddress: Bytes }
|
|
2033
|
+
>;
|
|
2034
|
+
/**
|
|
2035
|
+
* Event emitted when a Provider has removed a MultiAddress from its account.
|
|
2036
|
+
**/
|
|
2037
|
+
MultiAddressRemoved: AugmentedEvent<
|
|
2038
|
+
ApiType,
|
|
2039
|
+
[providerId: H256, removedMultiaddress: Bytes],
|
|
2040
|
+
{ providerId: H256; removedMultiaddress: Bytes }
|
|
2041
|
+
>;
|
|
2042
|
+
/**
|
|
2043
|
+
* Event emitted when a provider has been marked as insolvent.
|
|
2044
|
+
*
|
|
2045
|
+
* This happens when the provider hasn't topped up their deposit within the grace period after being slashed
|
|
2046
|
+
* and they have a capacity deficit (i.e. their capacity based on their stake is below their used capacity by the files it stores).
|
|
2047
|
+
**/
|
|
2048
|
+
ProviderInsolvent: AugmentedEvent<ApiType, [providerId: H256], { providerId: H256 }>;
|
|
1683
2049
|
/**
|
|
1684
2050
|
* Event emitted when a sign up request has been canceled successfully. Provides information about
|
|
1685
2051
|
* the account id of the user that canceled the request.
|
|
1686
2052
|
**/
|
|
1687
2053
|
SignUpRequestCanceled: AugmentedEvent<ApiType, [who: AccountId32], { who: AccountId32 }>;
|
|
1688
2054
|
/**
|
|
1689
|
-
* Event emitted when
|
|
2055
|
+
* Event emitted when a SP has been slashed.
|
|
1690
2056
|
**/
|
|
1691
2057
|
Slashed: AugmentedEvent<
|
|
1692
2058
|
ApiType,
|
|
1693
|
-
[providerId: H256,
|
|
1694
|
-
{ providerId: H256;
|
|
2059
|
+
[providerId: H256, amount: u128],
|
|
2060
|
+
{ providerId: H256; amount: u128 }
|
|
2061
|
+
>;
|
|
2062
|
+
/**
|
|
2063
|
+
* Event emitted when an SP has topped up its deposit based on slash amount.
|
|
2064
|
+
**/
|
|
2065
|
+
TopUpFulfilled: AugmentedEvent<
|
|
2066
|
+
ApiType,
|
|
2067
|
+
[providerId: H256, amount: u128],
|
|
2068
|
+
{ providerId: H256; amount: u128 }
|
|
2069
|
+
>;
|
|
2070
|
+
/**
|
|
2071
|
+
* Event emitted when an MSP adds a new value proposition.
|
|
2072
|
+
**/
|
|
2073
|
+
ValuePropAdded: AugmentedEvent<
|
|
2074
|
+
ApiType,
|
|
2075
|
+
[mspId: H256, valuePropId: H256, valueProp: PalletStorageProvidersValueProposition],
|
|
2076
|
+
{ mspId: H256; valuePropId: H256; valueProp: PalletStorageProvidersValueProposition }
|
|
2077
|
+
>;
|
|
2078
|
+
/**
|
|
2079
|
+
* Event emitted when an MSP's value proposition is made unavailable.
|
|
2080
|
+
**/
|
|
2081
|
+
ValuePropUnavailable: AugmentedEvent<
|
|
2082
|
+
ApiType,
|
|
2083
|
+
[mspId: H256, valuePropId: H256],
|
|
2084
|
+
{ mspId: H256; valuePropId: H256 }
|
|
1695
2085
|
>;
|
|
1696
2086
|
/**
|
|
1697
2087
|
* Generic event
|
|
@@ -1767,16 +2157,16 @@ declare module "@polkadot/api-base/types/events" {
|
|
|
1767
2157
|
**/
|
|
1768
2158
|
ExtrinsicFailed: AugmentedEvent<
|
|
1769
2159
|
ApiType,
|
|
1770
|
-
[dispatchError: SpRuntimeDispatchError, dispatchInfo:
|
|
1771
|
-
{ dispatchError: SpRuntimeDispatchError; dispatchInfo:
|
|
2160
|
+
[dispatchError: SpRuntimeDispatchError, dispatchInfo: FrameSystemDispatchEventInfo],
|
|
2161
|
+
{ dispatchError: SpRuntimeDispatchError; dispatchInfo: FrameSystemDispatchEventInfo }
|
|
1772
2162
|
>;
|
|
1773
2163
|
/**
|
|
1774
2164
|
* An extrinsic completed successfully.
|
|
1775
2165
|
**/
|
|
1776
2166
|
ExtrinsicSuccess: AugmentedEvent<
|
|
1777
2167
|
ApiType,
|
|
1778
|
-
[dispatchInfo:
|
|
1779
|
-
{ dispatchInfo:
|
|
2168
|
+
[dispatchInfo: FrameSystemDispatchEventInfo],
|
|
2169
|
+
{ dispatchInfo: FrameSystemDispatchEventInfo }
|
|
1780
2170
|
>;
|
|
1781
2171
|
/**
|
|
1782
2172
|
* An account was reaped.
|