@polkadot/api-augment 9.10.2 → 9.10.4
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/cjs/packageInfo.js +1 -1
- package/kusama/consts.d.ts +83 -50
- package/kusama/errors.d.ts +105 -39
- package/kusama/events.d.ts +173 -42
- package/kusama/query.d.ts +89 -33
- package/kusama/tx.d.ts +245 -56
- package/package.json +6 -6
- package/packageInfo.js +1 -1
- package/polkadot/events.d.ts +11 -2
- package/polkadot/query.d.ts +13 -7
- package/polkadot/tx.d.ts +14 -2
- package/substrate/consts.d.ts +96 -50
- package/substrate/errors.d.ts +103 -39
- package/substrate/events.d.ts +138 -43
- package/substrate/query.d.ts +61 -33
- package/substrate/tx.d.ts +133 -62
package/cjs/packageInfo.js
CHANGED
package/kusama/consts.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import '@polkadot/api-base/types/consts';
|
|
|
2
2
|
import type { ApiTypes, AugmentedConst } from '@polkadot/api-base/types';
|
|
3
3
|
import type { Bytes, Option, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
|
|
4
4
|
import type { Codec, ITuple } from '@polkadot/types-codec/types';
|
|
5
|
-
import type { Perbill, Percent, Permill } from '@polkadot/types/interfaces/runtime';
|
|
5
|
+
import type { Perbill, Percent, Permill, Perquintill } from '@polkadot/types/interfaces/runtime';
|
|
6
6
|
import type { FrameSupportPalletId, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, PalletReferendaTrackInfo, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight } from '@polkadot/types/lookup';
|
|
7
7
|
export type __AugmentedConst<ApiType extends ApiTypes> = AugmentedConst<ApiType>;
|
|
8
8
|
declare module '@polkadot/api-base/types/consts' {
|
|
@@ -386,55 +386,6 @@ declare module '@polkadot/api-base/types/consts' {
|
|
|
386
386
|
**/
|
|
387
387
|
[key: string]: Codec;
|
|
388
388
|
};
|
|
389
|
-
gilt: {
|
|
390
|
-
/**
|
|
391
|
-
* Portion of the queue which is free from ordering and just a FIFO.
|
|
392
|
-
*
|
|
393
|
-
* Must be no greater than `MaxQueueLen`.
|
|
394
|
-
**/
|
|
395
|
-
fifoQueueLen: u32 & AugmentedConst<ApiType>;
|
|
396
|
-
/**
|
|
397
|
-
* The number of blocks between consecutive attempts to issue more gilts in an effort to
|
|
398
|
-
* get to the target amount to be frozen.
|
|
399
|
-
*
|
|
400
|
-
* A larger value results in fewer storage hits each block, but a slower period to get to
|
|
401
|
-
* the target.
|
|
402
|
-
**/
|
|
403
|
-
intakePeriod: u32 & AugmentedConst<ApiType>;
|
|
404
|
-
/**
|
|
405
|
-
* The maximum amount of bids that can be turned into issued gilts each block. A larger
|
|
406
|
-
* value here means less of the block available for transactions should there be a glut of
|
|
407
|
-
* bids to make into gilts to reach the target.
|
|
408
|
-
**/
|
|
409
|
-
maxIntakeBids: u32 & AugmentedConst<ApiType>;
|
|
410
|
-
/**
|
|
411
|
-
* Maximum number of items that may be in each duration queue.
|
|
412
|
-
**/
|
|
413
|
-
maxQueueLen: u32 & AugmentedConst<ApiType>;
|
|
414
|
-
/**
|
|
415
|
-
* The minimum amount of funds that may be offered to freeze for a gilt. Note that this
|
|
416
|
-
* does not actually limit the amount which may be frozen in a gilt since gilts may be
|
|
417
|
-
* split up in order to satisfy the desired amount of funds under gilts.
|
|
418
|
-
*
|
|
419
|
-
* It should be at least big enough to ensure that there is no possible storage spam attack
|
|
420
|
-
* or queue-filling attack.
|
|
421
|
-
**/
|
|
422
|
-
minFreeze: u128 & AugmentedConst<ApiType>;
|
|
423
|
-
/**
|
|
424
|
-
* The base period for the duration queues. This is the common multiple across all
|
|
425
|
-
* supported freezing durations that can be bid upon.
|
|
426
|
-
**/
|
|
427
|
-
period: u32 & AugmentedConst<ApiType>;
|
|
428
|
-
/**
|
|
429
|
-
* Number of duration queues in total. This sets the maximum duration supported, which is
|
|
430
|
-
* this value multiplied by `Period`.
|
|
431
|
-
**/
|
|
432
|
-
queueCount: u32 & AugmentedConst<ApiType>;
|
|
433
|
-
/**
|
|
434
|
-
* Generic const
|
|
435
|
-
**/
|
|
436
|
-
[key: string]: Codec;
|
|
437
|
-
};
|
|
438
389
|
grandpa: {
|
|
439
390
|
/**
|
|
440
391
|
* Max Authorities in use
|
|
@@ -527,6 +478,88 @@ declare module '@polkadot/api-base/types/consts' {
|
|
|
527
478
|
**/
|
|
528
479
|
[key: string]: Codec;
|
|
529
480
|
};
|
|
481
|
+
nis: {
|
|
482
|
+
/**
|
|
483
|
+
* The base period for the duration queues. This is the common multiple across all
|
|
484
|
+
* supported freezing durations that can be bid upon.
|
|
485
|
+
**/
|
|
486
|
+
basePeriod: u32 & AugmentedConst<ApiType>;
|
|
487
|
+
/**
|
|
488
|
+
* Portion of the queue which is free from ordering and just a FIFO.
|
|
489
|
+
*
|
|
490
|
+
* Must be no greater than `MaxQueueLen`.
|
|
491
|
+
**/
|
|
492
|
+
fifoQueueLen: u32 & AugmentedConst<ApiType>;
|
|
493
|
+
/**
|
|
494
|
+
* The number of blocks between consecutive attempts to dequeue bids and create receipts.
|
|
495
|
+
*
|
|
496
|
+
* A larger value results in fewer storage hits each block, but a slower period to get to
|
|
497
|
+
* the target.
|
|
498
|
+
**/
|
|
499
|
+
intakePeriod: u32 & AugmentedConst<ApiType>;
|
|
500
|
+
/**
|
|
501
|
+
* The maximum amount of bids that can consolidated into receipts in a single intake. A
|
|
502
|
+
* larger value here means less of the block available for transactions should there be a
|
|
503
|
+
* glut of bids.
|
|
504
|
+
**/
|
|
505
|
+
maxIntakeWeight: SpWeightsWeightV2Weight & AugmentedConst<ApiType>;
|
|
506
|
+
/**
|
|
507
|
+
* Maximum number of items that may be in each duration queue.
|
|
508
|
+
*
|
|
509
|
+
* Must be larger than zero.
|
|
510
|
+
**/
|
|
511
|
+
maxQueueLen: u32 & AugmentedConst<ApiType>;
|
|
512
|
+
/**
|
|
513
|
+
* The minimum amount of funds that may be placed in a bid. Note that this
|
|
514
|
+
* does not actually limit the amount which may be represented in a receipt since bids may
|
|
515
|
+
* be split up by the system.
|
|
516
|
+
*
|
|
517
|
+
* It should be at least big enough to ensure that there is no possible storage spam attack
|
|
518
|
+
* or queue-filling attack.
|
|
519
|
+
**/
|
|
520
|
+
minBid: u128 & AugmentedConst<ApiType>;
|
|
521
|
+
/**
|
|
522
|
+
* The minimum amount of funds which may intentionally be left remaining under a single
|
|
523
|
+
* receipt.
|
|
524
|
+
**/
|
|
525
|
+
minReceipt: Perquintill & AugmentedConst<ApiType>;
|
|
526
|
+
/**
|
|
527
|
+
* The treasury's pallet id, used for deriving its sovereign account ID.
|
|
528
|
+
**/
|
|
529
|
+
palletId: FrameSupportPalletId & AugmentedConst<ApiType>;
|
|
530
|
+
/**
|
|
531
|
+
* Number of duration queues in total. This sets the maximum duration supported, which is
|
|
532
|
+
* this value multiplied by `Period`.
|
|
533
|
+
**/
|
|
534
|
+
queueCount: u32 & AugmentedConst<ApiType>;
|
|
535
|
+
/**
|
|
536
|
+
* The maximum proportion which may be thawed and the period over which it is reset.
|
|
537
|
+
**/
|
|
538
|
+
thawThrottle: ITuple<[Perquintill, u32]> & AugmentedConst<ApiType>;
|
|
539
|
+
/**
|
|
540
|
+
* Generic const
|
|
541
|
+
**/
|
|
542
|
+
[key: string]: Codec;
|
|
543
|
+
};
|
|
544
|
+
nisCounterpartBalances: {
|
|
545
|
+
/**
|
|
546
|
+
* The minimum amount required to keep an account open.
|
|
547
|
+
**/
|
|
548
|
+
existentialDeposit: u128 & AugmentedConst<ApiType>;
|
|
549
|
+
/**
|
|
550
|
+
* The maximum number of locks that should exist on an account.
|
|
551
|
+
* Not strictly enforced, but used for weight estimation.
|
|
552
|
+
**/
|
|
553
|
+
maxLocks: u32 & AugmentedConst<ApiType>;
|
|
554
|
+
/**
|
|
555
|
+
* The maximum number of named reserves that can exist on an account.
|
|
556
|
+
**/
|
|
557
|
+
maxReserves: u32 & AugmentedConst<ApiType>;
|
|
558
|
+
/**
|
|
559
|
+
* Generic const
|
|
560
|
+
**/
|
|
561
|
+
[key: string]: Codec;
|
|
562
|
+
};
|
|
530
563
|
nominationPools: {
|
|
531
564
|
/**
|
|
532
565
|
* The maximum pool points-to-balance ratio that an `open` pool can have.
|
package/kusama/errors.d.ts
CHANGED
|
@@ -680,6 +680,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
680
680
|
* The referendum index provided is invalid in this context.
|
|
681
681
|
**/
|
|
682
682
|
BadReferendum: AugmentedError<ApiType>;
|
|
683
|
+
/**
|
|
684
|
+
* The referendum status is invalid for this operation.
|
|
685
|
+
**/
|
|
686
|
+
BadStatus: AugmentedError<ApiType>;
|
|
683
687
|
/**
|
|
684
688
|
* The track identifier given was invalid.
|
|
685
689
|
**/
|
|
@@ -725,45 +729,6 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
725
729
|
**/
|
|
726
730
|
[key: string]: AugmentedError<ApiType>;
|
|
727
731
|
};
|
|
728
|
-
gilt: {
|
|
729
|
-
/**
|
|
730
|
-
* The amount of the bid is less than the minimum allowed.
|
|
731
|
-
**/
|
|
732
|
-
AmountTooSmall: AugmentedError<ApiType>;
|
|
733
|
-
/**
|
|
734
|
-
* The queue for the bid's duration is full and the amount bid is too low to get in
|
|
735
|
-
* through replacing an existing bid.
|
|
736
|
-
**/
|
|
737
|
-
BidTooLow: AugmentedError<ApiType>;
|
|
738
|
-
/**
|
|
739
|
-
* The duration is the bid is greater than the number of queues.
|
|
740
|
-
**/
|
|
741
|
-
DurationTooBig: AugmentedError<ApiType>;
|
|
742
|
-
/**
|
|
743
|
-
* The duration of the bid is less than one.
|
|
744
|
-
**/
|
|
745
|
-
DurationTooSmall: AugmentedError<ApiType>;
|
|
746
|
-
/**
|
|
747
|
-
* Gilt not yet at expiry date.
|
|
748
|
-
**/
|
|
749
|
-
NotExpired: AugmentedError<ApiType>;
|
|
750
|
-
/**
|
|
751
|
-
* The given bid for retraction is not found.
|
|
752
|
-
**/
|
|
753
|
-
NotFound: AugmentedError<ApiType>;
|
|
754
|
-
/**
|
|
755
|
-
* Not the owner of the gilt.
|
|
756
|
-
**/
|
|
757
|
-
NotOwner: AugmentedError<ApiType>;
|
|
758
|
-
/**
|
|
759
|
-
* Gilt index is unknown.
|
|
760
|
-
**/
|
|
761
|
-
Unknown: AugmentedError<ApiType>;
|
|
762
|
-
/**
|
|
763
|
-
* Generic error
|
|
764
|
-
**/
|
|
765
|
-
[key: string]: AugmentedError<ApiType>;
|
|
766
|
-
};
|
|
767
732
|
grandpa: {
|
|
768
733
|
/**
|
|
769
734
|
* Attempt to signal GRANDPA change with one already pending.
|
|
@@ -1062,6 +1027,103 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1062
1027
|
**/
|
|
1063
1028
|
[key: string]: AugmentedError<ApiType>;
|
|
1064
1029
|
};
|
|
1030
|
+
nis: {
|
|
1031
|
+
/**
|
|
1032
|
+
* The amount of the bid is less than the minimum allowed.
|
|
1033
|
+
**/
|
|
1034
|
+
AmountTooSmall: AugmentedError<ApiType>;
|
|
1035
|
+
/**
|
|
1036
|
+
* The queue for the bid's duration is full and the amount bid is too low to get in
|
|
1037
|
+
* through replacing an existing bid.
|
|
1038
|
+
**/
|
|
1039
|
+
BidTooLow: AugmentedError<ApiType>;
|
|
1040
|
+
/**
|
|
1041
|
+
* The duration is the bid is greater than the number of queues.
|
|
1042
|
+
**/
|
|
1043
|
+
DurationTooBig: AugmentedError<ApiType>;
|
|
1044
|
+
/**
|
|
1045
|
+
* The duration of the bid is less than one.
|
|
1046
|
+
**/
|
|
1047
|
+
DurationTooSmall: AugmentedError<ApiType>;
|
|
1048
|
+
/**
|
|
1049
|
+
* There are enough funds for what is required.
|
|
1050
|
+
**/
|
|
1051
|
+
Funded: AugmentedError<ApiType>;
|
|
1052
|
+
/**
|
|
1053
|
+
* The operation would result in a receipt worth an insignficant value.
|
|
1054
|
+
**/
|
|
1055
|
+
MakesDust: AugmentedError<ApiType>;
|
|
1056
|
+
/**
|
|
1057
|
+
* Bond not yet at expiry date.
|
|
1058
|
+
**/
|
|
1059
|
+
NotExpired: AugmentedError<ApiType>;
|
|
1060
|
+
/**
|
|
1061
|
+
* The given bid for retraction is not found.
|
|
1062
|
+
**/
|
|
1063
|
+
NotFound: AugmentedError<ApiType>;
|
|
1064
|
+
/**
|
|
1065
|
+
* Not the owner of the receipt.
|
|
1066
|
+
**/
|
|
1067
|
+
NotOwner: AugmentedError<ApiType>;
|
|
1068
|
+
/**
|
|
1069
|
+
* The thaw throttle has been reached for this period.
|
|
1070
|
+
**/
|
|
1071
|
+
Throttled: AugmentedError<ApiType>;
|
|
1072
|
+
/**
|
|
1073
|
+
* The portion supplied is beyond the value of the receipt.
|
|
1074
|
+
**/
|
|
1075
|
+
TooMuch: AugmentedError<ApiType>;
|
|
1076
|
+
/**
|
|
1077
|
+
* Not enough funds are held to pay out.
|
|
1078
|
+
**/
|
|
1079
|
+
Unfunded: AugmentedError<ApiType>;
|
|
1080
|
+
/**
|
|
1081
|
+
* Bond index is unknown.
|
|
1082
|
+
**/
|
|
1083
|
+
Unknown: AugmentedError<ApiType>;
|
|
1084
|
+
/**
|
|
1085
|
+
* Generic error
|
|
1086
|
+
**/
|
|
1087
|
+
[key: string]: AugmentedError<ApiType>;
|
|
1088
|
+
};
|
|
1089
|
+
nisCounterpartBalances: {
|
|
1090
|
+
/**
|
|
1091
|
+
* Beneficiary account must pre-exist
|
|
1092
|
+
**/
|
|
1093
|
+
DeadAccount: AugmentedError<ApiType>;
|
|
1094
|
+
/**
|
|
1095
|
+
* Value too low to create account due to existential deposit
|
|
1096
|
+
**/
|
|
1097
|
+
ExistentialDeposit: AugmentedError<ApiType>;
|
|
1098
|
+
/**
|
|
1099
|
+
* A vesting schedule already exists for this account
|
|
1100
|
+
**/
|
|
1101
|
+
ExistingVestingSchedule: AugmentedError<ApiType>;
|
|
1102
|
+
/**
|
|
1103
|
+
* Balance too low to send value.
|
|
1104
|
+
**/
|
|
1105
|
+
InsufficientBalance: AugmentedError<ApiType>;
|
|
1106
|
+
/**
|
|
1107
|
+
* Transfer/payment would kill account
|
|
1108
|
+
**/
|
|
1109
|
+
KeepAlive: AugmentedError<ApiType>;
|
|
1110
|
+
/**
|
|
1111
|
+
* Account liquidity restrictions prevent withdrawal
|
|
1112
|
+
**/
|
|
1113
|
+
LiquidityRestrictions: AugmentedError<ApiType>;
|
|
1114
|
+
/**
|
|
1115
|
+
* Number of named reserves exceed MaxReserves
|
|
1116
|
+
**/
|
|
1117
|
+
TooManyReserves: AugmentedError<ApiType>;
|
|
1118
|
+
/**
|
|
1119
|
+
* Vesting balance too high to send value
|
|
1120
|
+
**/
|
|
1121
|
+
VestingBalance: AugmentedError<ApiType>;
|
|
1122
|
+
/**
|
|
1123
|
+
* Generic error
|
|
1124
|
+
**/
|
|
1125
|
+
[key: string]: AugmentedError<ApiType>;
|
|
1126
|
+
};
|
|
1065
1127
|
nominationPools: {
|
|
1066
1128
|
/**
|
|
1067
1129
|
* An account is already delegating in another pool. An account may only belong to one
|
|
@@ -1634,6 +1696,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1634
1696
|
* The referendum index provided is invalid in this context.
|
|
1635
1697
|
**/
|
|
1636
1698
|
BadReferendum: AugmentedError<ApiType>;
|
|
1699
|
+
/**
|
|
1700
|
+
* The referendum status is invalid for this operation.
|
|
1701
|
+
**/
|
|
1702
|
+
BadStatus: AugmentedError<ApiType>;
|
|
1637
1703
|
/**
|
|
1638
1704
|
* The track identifier given was invalid.
|
|
1639
1705
|
**/
|
package/kusama/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 { EthereumAddress } from '@polkadot/types/interfaces/eth';
|
|
6
|
-
import type { AccountId32, H256 } from '@polkadot/types/interfaces/runtime';
|
|
6
|
+
import type { AccountId32, H256, Perbill, Perquintill } from '@polkadot/types/interfaces/runtime';
|
|
7
7
|
import type { FrameSupportDispatchDispatchInfo, FrameSupportDispatchPostDispatchInfo, FrameSupportPreimagesBounded, FrameSupportTokensMiscBalanceStatus, KusamaRuntimeProxyType, PalletConvictionVotingTally, PalletDemocracyVoteAccountVote, PalletDemocracyVoteThreshold, PalletElectionProviderMultiPhaseElectionCompute, PalletImOnlineSr25519AppSr25519Public, PalletMultisigTimepoint, PalletNominationPoolsPoolState, PalletRankedCollectiveTally, PalletRankedCollectiveVoteRecord, PalletStakingExposure, PalletStakingValidatorPrefs, PolkadotParachainPrimitivesHrmpChannelId, PolkadotPrimitivesV2CandidateReceipt, PolkadotRuntimeParachainsDisputesDisputeLocation, PolkadotRuntimeParachainsDisputesDisputeResult, SpFinalityGrandpaAppPublic, SpNposElectionsElectionScore, SpRuntimeDispatchError, SpRuntimeDispatchErrorWithPostInfo, SpWeightsWeightV2Weight, XcmV1MultiLocation, XcmV2Response, XcmV2TraitsError, XcmV2TraitsOutcome, XcmV2Xcm, XcmVersionedMultiAssets, XcmVersionedMultiLocation } from '@polkadot/types/lookup';
|
|
8
8
|
export type __AugmentedEvent<ApiType extends ApiTypes> = AugmentedEvent<ApiType>;
|
|
9
9
|
declare module '@polkadot/api-base/types/events' {
|
|
@@ -705,6 +705,14 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
705
705
|
index: u32;
|
|
706
706
|
tally: PalletRankedCollectiveTally;
|
|
707
707
|
}>;
|
|
708
|
+
/**
|
|
709
|
+
* The submission deposit has been refunded.
|
|
710
|
+
**/
|
|
711
|
+
SubmissionDepositRefunded: AugmentedEvent<ApiType, [index: u32, who: AccountId32, amount: u128], {
|
|
712
|
+
index: u32;
|
|
713
|
+
who: AccountId32;
|
|
714
|
+
amount: u128;
|
|
715
|
+
}>;
|
|
708
716
|
/**
|
|
709
717
|
* A referendum has been submitted.
|
|
710
718
|
**/
|
|
@@ -725,46 +733,6 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
725
733
|
**/
|
|
726
734
|
[key: string]: AugmentedEvent<ApiType>;
|
|
727
735
|
};
|
|
728
|
-
gilt: {
|
|
729
|
-
/**
|
|
730
|
-
* A bid was successfully placed.
|
|
731
|
-
**/
|
|
732
|
-
BidPlaced: AugmentedEvent<ApiType, [who: AccountId32, amount: u128, duration: u32], {
|
|
733
|
-
who: AccountId32;
|
|
734
|
-
amount: u128;
|
|
735
|
-
duration: u32;
|
|
736
|
-
}>;
|
|
737
|
-
/**
|
|
738
|
-
* A bid was successfully removed (before being accepted as a gilt).
|
|
739
|
-
**/
|
|
740
|
-
BidRetracted: AugmentedEvent<ApiType, [who: AccountId32, amount: u128, duration: u32], {
|
|
741
|
-
who: AccountId32;
|
|
742
|
-
amount: u128;
|
|
743
|
-
duration: u32;
|
|
744
|
-
}>;
|
|
745
|
-
/**
|
|
746
|
-
* A bid was accepted as a gilt. The balance may not be released until expiry.
|
|
747
|
-
**/
|
|
748
|
-
GiltIssued: AugmentedEvent<ApiType, [index: u32, expiry: u32, who: AccountId32, amount: u128], {
|
|
749
|
-
index: u32;
|
|
750
|
-
expiry: u32;
|
|
751
|
-
who: AccountId32;
|
|
752
|
-
amount: u128;
|
|
753
|
-
}>;
|
|
754
|
-
/**
|
|
755
|
-
* An expired gilt has been thawed.
|
|
756
|
-
**/
|
|
757
|
-
GiltThawed: AugmentedEvent<ApiType, [index: u32, who: AccountId32, originalAmount: u128, additionalAmount: u128], {
|
|
758
|
-
index: u32;
|
|
759
|
-
who: AccountId32;
|
|
760
|
-
originalAmount: u128;
|
|
761
|
-
additionalAmount: u128;
|
|
762
|
-
}>;
|
|
763
|
-
/**
|
|
764
|
-
* Generic event
|
|
765
|
-
**/
|
|
766
|
-
[key: string]: AugmentedEvent<ApiType>;
|
|
767
|
-
};
|
|
768
736
|
grandpa: {
|
|
769
737
|
/**
|
|
770
738
|
* New authority set has been applied.
|
|
@@ -982,6 +950,152 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
982
950
|
**/
|
|
983
951
|
[key: string]: AugmentedEvent<ApiType>;
|
|
984
952
|
};
|
|
953
|
+
nis: {
|
|
954
|
+
/**
|
|
955
|
+
* A bid was dropped from a queue because of another, more substantial, bid was present.
|
|
956
|
+
**/
|
|
957
|
+
BidDropped: AugmentedEvent<ApiType, [who: AccountId32, amount: u128, duration: u32], {
|
|
958
|
+
who: AccountId32;
|
|
959
|
+
amount: u128;
|
|
960
|
+
duration: u32;
|
|
961
|
+
}>;
|
|
962
|
+
/**
|
|
963
|
+
* A bid was successfully placed.
|
|
964
|
+
**/
|
|
965
|
+
BidPlaced: AugmentedEvent<ApiType, [who: AccountId32, amount: u128, duration: u32], {
|
|
966
|
+
who: AccountId32;
|
|
967
|
+
amount: u128;
|
|
968
|
+
duration: u32;
|
|
969
|
+
}>;
|
|
970
|
+
/**
|
|
971
|
+
* A bid was successfully removed (before being accepted).
|
|
972
|
+
**/
|
|
973
|
+
BidRetracted: AugmentedEvent<ApiType, [who: AccountId32, amount: u128, duration: u32], {
|
|
974
|
+
who: AccountId32;
|
|
975
|
+
amount: u128;
|
|
976
|
+
duration: u32;
|
|
977
|
+
}>;
|
|
978
|
+
/**
|
|
979
|
+
* An automatic funding of the deficit was made.
|
|
980
|
+
**/
|
|
981
|
+
Funded: AugmentedEvent<ApiType, [deficit: u128], {
|
|
982
|
+
deficit: u128;
|
|
983
|
+
}>;
|
|
984
|
+
/**
|
|
985
|
+
* A bid was accepted. The balance may not be released until expiry.
|
|
986
|
+
**/
|
|
987
|
+
Issued: AugmentedEvent<ApiType, [index: u32, expiry: u32, who: AccountId32, proportion: Perquintill, amount: u128], {
|
|
988
|
+
index: u32;
|
|
989
|
+
expiry: u32;
|
|
990
|
+
who: AccountId32;
|
|
991
|
+
proportion: Perquintill;
|
|
992
|
+
amount: u128;
|
|
993
|
+
}>;
|
|
994
|
+
/**
|
|
995
|
+
* An receipt has been (at least partially) thawed.
|
|
996
|
+
**/
|
|
997
|
+
Thawed: AugmentedEvent<ApiType, [index: u32, who: AccountId32, proportion: Perquintill, amount: u128, dropped: bool], {
|
|
998
|
+
index: u32;
|
|
999
|
+
who: AccountId32;
|
|
1000
|
+
proportion: Perquintill;
|
|
1001
|
+
amount: u128;
|
|
1002
|
+
dropped: bool;
|
|
1003
|
+
}>;
|
|
1004
|
+
/**
|
|
1005
|
+
* A receipt was transfered.
|
|
1006
|
+
**/
|
|
1007
|
+
Transferred: AugmentedEvent<ApiType, [from: AccountId32, to: AccountId32, index: u32], {
|
|
1008
|
+
from: AccountId32;
|
|
1009
|
+
to: AccountId32;
|
|
1010
|
+
index: u32;
|
|
1011
|
+
}>;
|
|
1012
|
+
/**
|
|
1013
|
+
* Generic event
|
|
1014
|
+
**/
|
|
1015
|
+
[key: string]: AugmentedEvent<ApiType>;
|
|
1016
|
+
};
|
|
1017
|
+
nisCounterpartBalances: {
|
|
1018
|
+
/**
|
|
1019
|
+
* A balance was set by root.
|
|
1020
|
+
**/
|
|
1021
|
+
BalanceSet: AugmentedEvent<ApiType, [who: AccountId32, free: u128, reserved: u128], {
|
|
1022
|
+
who: AccountId32;
|
|
1023
|
+
free: u128;
|
|
1024
|
+
reserved: u128;
|
|
1025
|
+
}>;
|
|
1026
|
+
/**
|
|
1027
|
+
* Some amount was deposited (e.g. for transaction fees).
|
|
1028
|
+
**/
|
|
1029
|
+
Deposit: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], {
|
|
1030
|
+
who: AccountId32;
|
|
1031
|
+
amount: u128;
|
|
1032
|
+
}>;
|
|
1033
|
+
/**
|
|
1034
|
+
* An account was removed whose balance was non-zero but below ExistentialDeposit,
|
|
1035
|
+
* resulting in an outright loss.
|
|
1036
|
+
**/
|
|
1037
|
+
DustLost: AugmentedEvent<ApiType, [account: AccountId32, amount: u128], {
|
|
1038
|
+
account: AccountId32;
|
|
1039
|
+
amount: u128;
|
|
1040
|
+
}>;
|
|
1041
|
+
/**
|
|
1042
|
+
* An account was created with some free balance.
|
|
1043
|
+
**/
|
|
1044
|
+
Endowed: AugmentedEvent<ApiType, [account: AccountId32, freeBalance: u128], {
|
|
1045
|
+
account: AccountId32;
|
|
1046
|
+
freeBalance: u128;
|
|
1047
|
+
}>;
|
|
1048
|
+
/**
|
|
1049
|
+
* Some balance was reserved (moved from free to reserved).
|
|
1050
|
+
**/
|
|
1051
|
+
Reserved: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], {
|
|
1052
|
+
who: AccountId32;
|
|
1053
|
+
amount: u128;
|
|
1054
|
+
}>;
|
|
1055
|
+
/**
|
|
1056
|
+
* Some balance was moved from the reserve of the first account to the second account.
|
|
1057
|
+
* Final argument indicates the destination balance type.
|
|
1058
|
+
**/
|
|
1059
|
+
ReserveRepatriated: AugmentedEvent<ApiType, [from: AccountId32, to: AccountId32, amount: u128, destinationStatus: FrameSupportTokensMiscBalanceStatus], {
|
|
1060
|
+
from: AccountId32;
|
|
1061
|
+
to: AccountId32;
|
|
1062
|
+
amount: u128;
|
|
1063
|
+
destinationStatus: FrameSupportTokensMiscBalanceStatus;
|
|
1064
|
+
}>;
|
|
1065
|
+
/**
|
|
1066
|
+
* Some amount was removed from the account (e.g. for misbehavior).
|
|
1067
|
+
**/
|
|
1068
|
+
Slashed: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], {
|
|
1069
|
+
who: AccountId32;
|
|
1070
|
+
amount: u128;
|
|
1071
|
+
}>;
|
|
1072
|
+
/**
|
|
1073
|
+
* Transfer succeeded.
|
|
1074
|
+
**/
|
|
1075
|
+
Transfer: AugmentedEvent<ApiType, [from: AccountId32, to: AccountId32, amount: u128], {
|
|
1076
|
+
from: AccountId32;
|
|
1077
|
+
to: AccountId32;
|
|
1078
|
+
amount: u128;
|
|
1079
|
+
}>;
|
|
1080
|
+
/**
|
|
1081
|
+
* Some balance was unreserved (moved from reserved to free).
|
|
1082
|
+
**/
|
|
1083
|
+
Unreserved: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], {
|
|
1084
|
+
who: AccountId32;
|
|
1085
|
+
amount: u128;
|
|
1086
|
+
}>;
|
|
1087
|
+
/**
|
|
1088
|
+
* Some amount was withdrawn from the account (e.g. for transaction fees).
|
|
1089
|
+
**/
|
|
1090
|
+
Withdraw: AugmentedEvent<ApiType, [who: AccountId32, amount: u128], {
|
|
1091
|
+
who: AccountId32;
|
|
1092
|
+
amount: u128;
|
|
1093
|
+
}>;
|
|
1094
|
+
/**
|
|
1095
|
+
* Generic event
|
|
1096
|
+
**/
|
|
1097
|
+
[key: string]: AugmentedEvent<ApiType>;
|
|
1098
|
+
};
|
|
985
1099
|
nominationPools: {
|
|
986
1100
|
/**
|
|
987
1101
|
* A member has became bonded in a pool.
|
|
@@ -1440,6 +1554,14 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1440
1554
|
index: u32;
|
|
1441
1555
|
tally: PalletConvictionVotingTally;
|
|
1442
1556
|
}>;
|
|
1557
|
+
/**
|
|
1558
|
+
* The submission deposit has been refunded.
|
|
1559
|
+
**/
|
|
1560
|
+
SubmissionDepositRefunded: AugmentedEvent<ApiType, [index: u32, who: AccountId32, amount: u128], {
|
|
1561
|
+
index: u32;
|
|
1562
|
+
who: AccountId32;
|
|
1563
|
+
amount: u128;
|
|
1564
|
+
}>;
|
|
1443
1565
|
/**
|
|
1444
1566
|
* A referendum has been submitted.
|
|
1445
1567
|
**/
|
|
@@ -1732,12 +1854,21 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1732
1854
|
amount: u128;
|
|
1733
1855
|
}>;
|
|
1734
1856
|
/**
|
|
1735
|
-
*
|
|
1857
|
+
* A staker (validator or nominator) has been slashed by the given amount.
|
|
1736
1858
|
**/
|
|
1737
1859
|
Slashed: AugmentedEvent<ApiType, [staker: AccountId32, amount: u128], {
|
|
1738
1860
|
staker: AccountId32;
|
|
1739
1861
|
amount: u128;
|
|
1740
1862
|
}>;
|
|
1863
|
+
/**
|
|
1864
|
+
* A slash for the given validator, for the given percentage of their stake, at the given
|
|
1865
|
+
* era as been reported.
|
|
1866
|
+
**/
|
|
1867
|
+
SlashReported: AugmentedEvent<ApiType, [validator: AccountId32, fraction: Perbill, slashEra: u32], {
|
|
1868
|
+
validator: AccountId32;
|
|
1869
|
+
fraction: Perbill;
|
|
1870
|
+
slashEra: u32;
|
|
1871
|
+
}>;
|
|
1741
1872
|
/**
|
|
1742
1873
|
* A new set of stakers was elected.
|
|
1743
1874
|
**/
|