@dedot/chaintypes 0.123.0 → 0.132.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/aleph/index.d.ts +2 -0
- package/aleph/view-functions.d.ts +5 -0
- package/astar/consts.d.ts +0 -9
- package/astar/index.d.ts +3 -1
- package/astar/query.d.ts +0 -15
- package/astar/view-functions.d.ts +5 -0
- package/basilisk/index.d.ts +2 -0
- package/basilisk/view-functions.d.ts +5 -0
- package/hydration/consts.d.ts +29 -0
- package/hydration/errors.d.ts +172 -10
- package/hydration/events.d.ts +105 -0
- package/hydration/index.d.ts +3 -1
- package/hydration/json-rpc.d.ts +1 -0
- package/hydration/query.d.ts +50 -0
- package/hydration/tx.d.ts +408 -0
- package/hydration/types.d.ts +695 -12
- package/hydration/view-functions.d.ts +5 -0
- package/kusama/consts.d.ts +27 -7
- package/kusama/errors.d.ts +51 -4
- package/kusama/events.d.ts +212 -4
- package/kusama/index.d.ts +3 -1
- package/kusama/query.d.ts +44 -19
- package/kusama/runtime.d.ts +22 -0
- package/kusama/tx.d.ts +377 -25
- package/kusama/types.d.ts +638 -80
- package/kusama/view-functions.d.ts +5 -0
- package/kusama-asset-hub/index.d.ts +2 -0
- package/kusama-asset-hub/view-functions.d.ts +5 -0
- package/kusama-people/index.d.ts +2 -0
- package/kusama-people/view-functions.d.ts +5 -0
- package/moonbeam/index.d.ts +3 -1
- package/moonbeam/view-functions.d.ts +5 -0
- package/package.json +3 -3
- package/paseo/index.d.ts +2 -0
- package/paseo/view-functions.d.ts +5 -0
- package/paseo-asset-hub/index.d.ts +2 -0
- package/paseo-asset-hub/view-functions.d.ts +5 -0
- package/paseo-hydration/index.d.ts +2 -0
- package/paseo-hydration/view-functions.d.ts +5 -0
- package/paseo-people/index.d.ts +2 -0
- package/paseo-people/view-functions.d.ts +5 -0
- package/polkadot/consts.d.ts +23 -5
- package/polkadot/errors.d.ts +51 -4
- package/polkadot/events.d.ts +207 -4
- package/polkadot/index.d.ts +3 -1
- package/polkadot/query.d.ts +44 -19
- package/polkadot/runtime.d.ts +22 -0
- package/polkadot/tx.d.ts +376 -24
- package/polkadot/types.d.ts +630 -78
- package/polkadot/view-functions.d.ts +5 -0
- package/polkadot-asset-hub/index.d.ts +2 -0
- package/polkadot-asset-hub/view-functions.d.ts +5 -0
- package/polkadot-people/index.d.ts +2 -0
- package/polkadot-people/view-functions.d.ts +5 -0
- package/substrate/index.d.ts +2 -0
- package/substrate/runtime.d.ts +11 -11
- package/substrate/types.d.ts +8 -1
- package/substrate/view-functions.d.ts +5 -0
- package/vara/index.d.ts +2 -0
- package/vara/view-functions.d.ts +5 -0
- package/westend/consts.d.ts +28 -9
- package/westend/errors.d.ts +23 -37
- package/westend/events.d.ts +25 -49
- package/westend/index.d.ts +3 -1
- package/westend/query.d.ts +42 -70
- package/westend/runtime.d.ts +7 -0
- package/westend/tx.d.ts +89 -124
- package/westend/types.d.ts +239 -339
- package/westend/view-functions.d.ts +84 -0
- package/westend-asset-hub/consts.d.ts +41 -14
- package/westend-asset-hub/errors.d.ts +14 -96
- package/westend-asset-hub/events.d.ts +29 -81
- package/westend-asset-hub/index.d.ts +3 -1
- package/westend-asset-hub/query.d.ts +63 -125
- package/westend-asset-hub/runtime.d.ts +47 -1
- package/westend-asset-hub/tx.d.ts +105 -549
- package/westend-asset-hub/types.d.ts +569 -1040
- package/westend-asset-hub/view-functions.d.ts +82 -0
- package/westend-people/index.d.ts +2 -0
- package/westend-people/view-functions.d.ts +5 -0
package/kusama/consts.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
// Generated by dedot cli
|
|
2
2
|
|
|
3
3
|
import type { GenericChainConsts, RpcVersion } from 'dedot/types';
|
|
4
|
-
import type { RuntimeVersion, Permill, Bytes, Perbill, Perquintill, FixedU128 } from 'dedot/codecs';
|
|
4
|
+
import type { RuntimeVersion, Permill, AccountId32, Bytes, Perbill, Perquintill, FixedU128 } from 'dedot/codecs';
|
|
5
5
|
import type {
|
|
6
6
|
FrameSystemLimitsBlockWeights,
|
|
7
7
|
FrameSystemLimitsBlockLength,
|
|
8
8
|
SpWeightsRuntimeDbWeight,
|
|
9
9
|
FrameSupportPalletId,
|
|
10
|
-
|
|
10
|
+
PalletReferendaTrackDetails,
|
|
11
11
|
SpWeightsWeightV2Weight,
|
|
12
12
|
StagingXcmV5Junctions,
|
|
13
13
|
} from './types.js';
|
|
@@ -387,6 +387,11 @@ export interface ChainConsts<Rv extends RpcVersion> extends GenericChainConsts<R
|
|
|
387
387
|
**/
|
|
388
388
|
payoutPeriod: number;
|
|
389
389
|
|
|
390
|
+
/**
|
|
391
|
+
* Gets this pallet's derived pot account.
|
|
392
|
+
**/
|
|
393
|
+
potAccount: AccountId32;
|
|
394
|
+
|
|
390
395
|
/**
|
|
391
396
|
* Generic pallet constant
|
|
392
397
|
**/
|
|
@@ -445,9 +450,11 @@ export interface ChainConsts<Rv extends RpcVersion> extends GenericChainConsts<R
|
|
|
445
450
|
alarmInterval: number;
|
|
446
451
|
|
|
447
452
|
/**
|
|
448
|
-
*
|
|
453
|
+
* A list of tracks.
|
|
454
|
+
*
|
|
455
|
+
* Note: if the tracks are dynamic, the value in the static metadata might be inaccurate.
|
|
449
456
|
**/
|
|
450
|
-
tracks: Array<[number,
|
|
457
|
+
tracks: Array<[number, PalletReferendaTrackDetails]>;
|
|
451
458
|
|
|
452
459
|
/**
|
|
453
460
|
* Generic pallet constant
|
|
@@ -491,9 +498,11 @@ export interface ChainConsts<Rv extends RpcVersion> extends GenericChainConsts<R
|
|
|
491
498
|
alarmInterval: number;
|
|
492
499
|
|
|
493
500
|
/**
|
|
494
|
-
*
|
|
501
|
+
* A list of tracks.
|
|
502
|
+
*
|
|
503
|
+
* Note: if the tracks are dynamic, the value in the static metadata might be inaccurate.
|
|
495
504
|
**/
|
|
496
|
-
tracks: Array<[number,
|
|
505
|
+
tracks: Array<[number, PalletReferendaTrackDetails]>;
|
|
497
506
|
|
|
498
507
|
/**
|
|
499
508
|
* Generic pallet constant
|
|
@@ -800,7 +809,12 @@ export interface ChainConsts<Rv extends RpcVersion> extends GenericChainConsts<R
|
|
|
800
809
|
bountyDepositPayoutDelay: number;
|
|
801
810
|
|
|
802
811
|
/**
|
|
803
|
-
*
|
|
812
|
+
* The time limit for a curator to act before a bounty expires.
|
|
813
|
+
*
|
|
814
|
+
* The period that starts when a curator is approved, during which they must execute or
|
|
815
|
+
* update the bounty via `extend_bounty_expiry`. If missed, the bounty expires, and the
|
|
816
|
+
* curator may be slashed. If `BlockNumberFor::MAX`, bounties stay active indefinitely,
|
|
817
|
+
* removing the need for `extend_bounty_expiry`.
|
|
804
818
|
**/
|
|
805
819
|
bountyUpdatePeriod: number;
|
|
806
820
|
|
|
@@ -1449,6 +1463,12 @@ export interface ChainConsts<Rv extends RpcVersion> extends GenericChainConsts<R
|
|
|
1449
1463
|
* Pallet `XcmPallet`'s constants
|
|
1450
1464
|
**/
|
|
1451
1465
|
xcmPallet: {
|
|
1466
|
+
/**
|
|
1467
|
+
* The latest supported version that we advertise. Generally just set it to
|
|
1468
|
+
* `pallet_xcm::CurrentXcmVersion`.
|
|
1469
|
+
**/
|
|
1470
|
+
advertisedXcmVersion: number;
|
|
1471
|
+
|
|
1452
1472
|
/**
|
|
1453
1473
|
* Generic pallet constant
|
|
1454
1474
|
**/
|
package/kusama/errors.d.ts
CHANGED
|
@@ -356,6 +356,22 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
356
356
|
**/
|
|
357
357
|
VirtualStakerNotAllowed: GenericPalletError<Rv>;
|
|
358
358
|
|
|
359
|
+
/**
|
|
360
|
+
* Stash could not be reaped as other pallet might depend on it.
|
|
361
|
+
**/
|
|
362
|
+
CannotReapStash: GenericPalletError<Rv>;
|
|
363
|
+
|
|
364
|
+
/**
|
|
365
|
+
* The stake of this account is already migrated to `Fungible` holds.
|
|
366
|
+
**/
|
|
367
|
+
AlreadyMigrated: GenericPalletError<Rv>;
|
|
368
|
+
|
|
369
|
+
/**
|
|
370
|
+
* Account is restricted from participation in staking. This may happen if the account is
|
|
371
|
+
* staking in another way already, such as via pool.
|
|
372
|
+
**/
|
|
373
|
+
Restricted: GenericPalletError<Rv>;
|
|
374
|
+
|
|
359
375
|
/**
|
|
360
376
|
* Generic pallet error
|
|
361
377
|
**/
|
|
@@ -1302,12 +1318,13 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
1302
1318
|
SenderInSignatories: GenericPalletError<Rv>;
|
|
1303
1319
|
|
|
1304
1320
|
/**
|
|
1305
|
-
* Multisig operation not found
|
|
1321
|
+
* Multisig operation not found in storage.
|
|
1306
1322
|
**/
|
|
1307
1323
|
NotFound: GenericPalletError<Rv>;
|
|
1308
1324
|
|
|
1309
1325
|
/**
|
|
1310
|
-
* Only the account that originally created the multisig is able to cancel it
|
|
1326
|
+
* Only the account that originally created the multisig is able to cancel it or update
|
|
1327
|
+
* its deposits.
|
|
1311
1328
|
**/
|
|
1312
1329
|
NotOwner: GenericPalletError<Rv>;
|
|
1313
1330
|
|
|
@@ -1908,6 +1925,11 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
1908
1925
|
**/
|
|
1909
1926
|
NothingToSlash: GenericPalletError<Rv>;
|
|
1910
1927
|
|
|
1928
|
+
/**
|
|
1929
|
+
* The slash amount is too low to be applied.
|
|
1930
|
+
**/
|
|
1931
|
+
SlashTooLow: GenericPalletError<Rv>;
|
|
1932
|
+
|
|
1911
1933
|
/**
|
|
1912
1934
|
* The pool or member delegation has already migrated to delegate stake.
|
|
1913
1935
|
**/
|
|
@@ -1919,11 +1941,16 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
1919
1941
|
NotMigrated: GenericPalletError<Rv>;
|
|
1920
1942
|
|
|
1921
1943
|
/**
|
|
1922
|
-
* This call is not allowed in the current state of the pallet
|
|
1923
|
-
* occurred.
|
|
1944
|
+
* This call is not allowed in the current state of the pallet.
|
|
1924
1945
|
**/
|
|
1925
1946
|
NotSupported: GenericPalletError<Rv>;
|
|
1926
1947
|
|
|
1948
|
+
/**
|
|
1949
|
+
* Account is restricted from participation in pools. This may happen if the account is
|
|
1950
|
+
* staking in another way already.
|
|
1951
|
+
**/
|
|
1952
|
+
Restricted: GenericPalletError<Rv>;
|
|
1953
|
+
|
|
1927
1954
|
/**
|
|
1928
1955
|
* Generic pallet error
|
|
1929
1956
|
**/
|
|
@@ -2477,6 +2504,11 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
2477
2504
|
**/
|
|
2478
2505
|
SpotPriceHigherThanMaxAmount: GenericPalletError<Rv>;
|
|
2479
2506
|
|
|
2507
|
+
/**
|
|
2508
|
+
* The account doesn't have enough credits to purchase on-demand coretime.
|
|
2509
|
+
**/
|
|
2510
|
+
InsufficientCredits: GenericPalletError<Rv>;
|
|
2511
|
+
|
|
2480
2512
|
/**
|
|
2481
2513
|
* Generic pallet error
|
|
2482
2514
|
**/
|
|
@@ -2920,6 +2952,21 @@ export interface ChainErrors<Rv extends RpcVersion> extends GenericChainErrors<R
|
|
|
2920
2952
|
**/
|
|
2921
2953
|
LocalExecutionIncomplete: GenericPalletError<Rv>;
|
|
2922
2954
|
|
|
2955
|
+
/**
|
|
2956
|
+
* Too many locations authorized to alias origin.
|
|
2957
|
+
**/
|
|
2958
|
+
TooManyAuthorizedAliases: GenericPalletError<Rv>;
|
|
2959
|
+
|
|
2960
|
+
/**
|
|
2961
|
+
* Expiry block number is in the past.
|
|
2962
|
+
**/
|
|
2963
|
+
ExpiresInPast: GenericPalletError<Rv>;
|
|
2964
|
+
|
|
2965
|
+
/**
|
|
2966
|
+
* The alias to remove authorization for was not found.
|
|
2967
|
+
**/
|
|
2968
|
+
AliasNotFound: GenericPalletError<Rv>;
|
|
2969
|
+
|
|
2923
2970
|
/**
|
|
2924
2971
|
* Generic pallet error
|
|
2925
2972
|
**/
|
package/kusama/events.d.ts
CHANGED
|
@@ -33,6 +33,7 @@ import type {
|
|
|
33
33
|
StagingKusamaRuntimeRuntimeParametersValue,
|
|
34
34
|
PalletSocietyGroupParams,
|
|
35
35
|
KusamaRuntimeConstantsProxyProxyType,
|
|
36
|
+
PalletProxyDepositKind,
|
|
36
37
|
PalletMultisigTimepoint,
|
|
37
38
|
PalletElectionProviderMultiPhaseElectionCompute,
|
|
38
39
|
SpNposElectionsElectionScore,
|
|
@@ -40,6 +41,7 @@ import type {
|
|
|
40
41
|
PalletNominationPoolsPoolState,
|
|
41
42
|
PalletNominationPoolsCommissionChangeRate,
|
|
42
43
|
PalletNominationPoolsCommissionClaimPermission,
|
|
44
|
+
PalletNominationPoolsClaimPermission,
|
|
43
45
|
PolkadotPrimitivesVstagingCandidateReceiptV2,
|
|
44
46
|
PolkadotParachainPrimitivesPrimitivesHeadData,
|
|
45
47
|
PolkadotPrimitivesV8CoreIndex,
|
|
@@ -53,11 +55,12 @@ import type {
|
|
|
53
55
|
StagingXcmV5TraitsOutcome,
|
|
54
56
|
StagingXcmV5Location,
|
|
55
57
|
StagingXcmV5Xcm,
|
|
58
|
+
XcmV3TraitsSendError,
|
|
59
|
+
XcmV5TraitsError,
|
|
56
60
|
StagingXcmV5Response,
|
|
57
61
|
SpWeightsWeightV2Weight,
|
|
58
62
|
XcmVersionedAssets,
|
|
59
63
|
StagingXcmV5AssetAssets,
|
|
60
|
-
XcmV5TraitsError,
|
|
61
64
|
PolkadotRuntimeParachainsInclusionAggregateMessageOrigin,
|
|
62
65
|
FrameSupportMessagesProcessMessageError,
|
|
63
66
|
} from './types.js';
|
|
@@ -112,6 +115,16 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
112
115
|
**/
|
|
113
116
|
UpgradeAuthorized: GenericPalletEvent<Rv, 'System', 'UpgradeAuthorized', { codeHash: H256; checkVersion: boolean }>;
|
|
114
117
|
|
|
118
|
+
/**
|
|
119
|
+
* An invalid authorized upgrade was rejected while trying to apply it.
|
|
120
|
+
**/
|
|
121
|
+
RejectedInvalidAuthorizedUpgrade: GenericPalletEvent<
|
|
122
|
+
Rv,
|
|
123
|
+
'System',
|
|
124
|
+
'RejectedInvalidAuthorizedUpgrade',
|
|
125
|
+
{ codeHash: H256; error: DispatchError }
|
|
126
|
+
>;
|
|
127
|
+
|
|
115
128
|
/**
|
|
116
129
|
* Generic pallet event
|
|
117
130
|
**/
|
|
@@ -136,6 +149,16 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
136
149
|
**/
|
|
137
150
|
IndexFrozen: GenericPalletEvent<Rv, 'Indices', 'IndexFrozen', { index: number; who: AccountId32 }>;
|
|
138
151
|
|
|
152
|
+
/**
|
|
153
|
+
* A deposit to reserve an index has been poked/reconsidered.
|
|
154
|
+
**/
|
|
155
|
+
DepositPoked: GenericPalletEvent<
|
|
156
|
+
Rv,
|
|
157
|
+
'Indices',
|
|
158
|
+
'DepositPoked',
|
|
159
|
+
{ who: AccountId32; index: number; oldDeposit: bigint; newDeposit: bigint }
|
|
160
|
+
>;
|
|
161
|
+
|
|
139
162
|
/**
|
|
140
163
|
* Generic pallet event
|
|
141
164
|
**/
|
|
@@ -418,6 +441,17 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
418
441
|
**/
|
|
419
442
|
ControllerBatchDeprecated: GenericPalletEvent<Rv, 'Staking', 'ControllerBatchDeprecated', { failures: number }>;
|
|
420
443
|
|
|
444
|
+
/**
|
|
445
|
+
* Staking balance migrated from locks to holds, with any balance that could not be held
|
|
446
|
+
* is force withdrawn.
|
|
447
|
+
**/
|
|
448
|
+
CurrencyMigrated: GenericPalletEvent<
|
|
449
|
+
Rv,
|
|
450
|
+
'Staking',
|
|
451
|
+
'CurrencyMigrated',
|
|
452
|
+
{ stash: AccountId32; forceWithdraw: bigint }
|
|
453
|
+
>;
|
|
454
|
+
|
|
421
455
|
/**
|
|
422
456
|
* Generic pallet event
|
|
423
457
|
**/
|
|
@@ -449,6 +483,16 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
449
483
|
**/
|
|
450
484
|
NewSession: GenericPalletEvent<Rv, 'Session', 'NewSession', { sessionIndex: number }>;
|
|
451
485
|
|
|
486
|
+
/**
|
|
487
|
+
* Validator has been disabled.
|
|
488
|
+
**/
|
|
489
|
+
ValidatorDisabled: GenericPalletEvent<Rv, 'Session', 'ValidatorDisabled', { validator: AccountId32 }>;
|
|
490
|
+
|
|
491
|
+
/**
|
|
492
|
+
* Validator has been re-enabled.
|
|
493
|
+
**/
|
|
494
|
+
ValidatorReenabled: GenericPalletEvent<Rv, 'Session', 'ValidatorReenabled', { validator: AccountId32 }>;
|
|
495
|
+
|
|
452
496
|
/**
|
|
453
497
|
* Generic pallet event
|
|
454
498
|
**/
|
|
@@ -595,7 +639,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
595
639
|
Undelegated: GenericPalletEvent<Rv, 'ConvictionVoting', 'Undelegated', AccountId32>;
|
|
596
640
|
|
|
597
641
|
/**
|
|
598
|
-
* An account
|
|
642
|
+
* An account has voted
|
|
599
643
|
**/
|
|
600
644
|
Voted: GenericPalletEvent<
|
|
601
645
|
Rv,
|
|
@@ -605,7 +649,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
605
649
|
>;
|
|
606
650
|
|
|
607
651
|
/**
|
|
608
|
-
* A vote
|
|
652
|
+
* A vote has been removed
|
|
609
653
|
**/
|
|
610
654
|
VoteRemoved: GenericPalletEvent<
|
|
611
655
|
Rv,
|
|
@@ -614,6 +658,11 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
614
658
|
{ who: AccountId32; vote: PalletConvictionVotingVoteAccountVote }
|
|
615
659
|
>;
|
|
616
660
|
|
|
661
|
+
/**
|
|
662
|
+
* The lockup period of a conviction vote expired, and the funds have been unlocked.
|
|
663
|
+
**/
|
|
664
|
+
VoteUnlocked: GenericPalletEvent<Rv, 'ConvictionVoting', 'VoteUnlocked', { who: AccountId32; class: number }>;
|
|
665
|
+
|
|
617
666
|
/**
|
|
618
667
|
* Generic pallet event
|
|
619
668
|
**/
|
|
@@ -1444,6 +1493,16 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1444
1493
|
**/
|
|
1445
1494
|
DispatchedAs: GenericPalletEvent<Rv, 'Utility', 'DispatchedAs', { result: Result<[], DispatchError> }>;
|
|
1446
1495
|
|
|
1496
|
+
/**
|
|
1497
|
+
* Main call was dispatched.
|
|
1498
|
+
**/
|
|
1499
|
+
IfElseMainSuccess: GenericPalletEvent<Rv, 'Utility', 'IfElseMainSuccess', null>;
|
|
1500
|
+
|
|
1501
|
+
/**
|
|
1502
|
+
* The fallback call was dispatched.
|
|
1503
|
+
**/
|
|
1504
|
+
IfElseFallbackCalled: GenericPalletEvent<Rv, 'Utility', 'IfElseFallbackCalled', { mainError: DispatchError }>;
|
|
1505
|
+
|
|
1447
1506
|
/**
|
|
1448
1507
|
* Generic pallet event
|
|
1449
1508
|
**/
|
|
@@ -1720,6 +1779,11 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1720
1779
|
{ task: [number, number]; id?: FixedBytes<32> | undefined }
|
|
1721
1780
|
>;
|
|
1722
1781
|
|
|
1782
|
+
/**
|
|
1783
|
+
* Agenda is incomplete from `when`.
|
|
1784
|
+
**/
|
|
1785
|
+
AgendaIncomplete: GenericPalletEvent<Rv, 'Scheduler', 'AgendaIncomplete', { when: number }>;
|
|
1786
|
+
|
|
1723
1787
|
/**
|
|
1724
1788
|
* Generic pallet event
|
|
1725
1789
|
**/
|
|
@@ -1775,6 +1839,16 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1775
1839
|
{ delegator: AccountId32; delegatee: AccountId32; proxyType: KusamaRuntimeConstantsProxyProxyType; delay: number }
|
|
1776
1840
|
>;
|
|
1777
1841
|
|
|
1842
|
+
/**
|
|
1843
|
+
* A deposit stored for proxies or announcements was poked / updated.
|
|
1844
|
+
**/
|
|
1845
|
+
DepositPoked: GenericPalletEvent<
|
|
1846
|
+
Rv,
|
|
1847
|
+
'Proxy',
|
|
1848
|
+
'DepositPoked',
|
|
1849
|
+
{ who: AccountId32; kind: PalletProxyDepositKind; oldDeposit: bigint; newDeposit: bigint }
|
|
1850
|
+
>;
|
|
1851
|
+
|
|
1778
1852
|
/**
|
|
1779
1853
|
* Generic pallet event
|
|
1780
1854
|
**/
|
|
@@ -1830,6 +1904,16 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
1830
1904
|
{ cancelling: AccountId32; timepoint: PalletMultisigTimepoint; multisig: AccountId32; callHash: FixedBytes<32> }
|
|
1831
1905
|
>;
|
|
1832
1906
|
|
|
1907
|
+
/**
|
|
1908
|
+
* The deposit for a multisig operation has been updated/poked.
|
|
1909
|
+
**/
|
|
1910
|
+
DepositPoked: GenericPalletEvent<
|
|
1911
|
+
Rv,
|
|
1912
|
+
'Multisig',
|
|
1913
|
+
'DepositPoked',
|
|
1914
|
+
{ who: AccountId32; callHash: FixedBytes<32>; oldDeposit: bigint; newDeposit: bigint }
|
|
1915
|
+
>;
|
|
1916
|
+
|
|
1833
1917
|
/**
|
|
1834
1918
|
* Generic pallet event
|
|
1835
1919
|
**/
|
|
@@ -2481,6 +2565,64 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2481
2565
|
{ poolId: number; amount: bigint }
|
|
2482
2566
|
>;
|
|
2483
2567
|
|
|
2568
|
+
/**
|
|
2569
|
+
* A pool member's claim permission has been updated.
|
|
2570
|
+
**/
|
|
2571
|
+
MemberClaimPermissionUpdated: GenericPalletEvent<
|
|
2572
|
+
Rv,
|
|
2573
|
+
'NominationPools',
|
|
2574
|
+
'MemberClaimPermissionUpdated',
|
|
2575
|
+
{ member: AccountId32; permission: PalletNominationPoolsClaimPermission }
|
|
2576
|
+
>;
|
|
2577
|
+
|
|
2578
|
+
/**
|
|
2579
|
+
* A pool's metadata was updated.
|
|
2580
|
+
**/
|
|
2581
|
+
MetadataUpdated: GenericPalletEvent<
|
|
2582
|
+
Rv,
|
|
2583
|
+
'NominationPools',
|
|
2584
|
+
'MetadataUpdated',
|
|
2585
|
+
{ poolId: number; caller: AccountId32 }
|
|
2586
|
+
>;
|
|
2587
|
+
|
|
2588
|
+
/**
|
|
2589
|
+
* A pool's nominating account (or the pool's root account) has nominated a validator set
|
|
2590
|
+
* on behalf of the pool.
|
|
2591
|
+
**/
|
|
2592
|
+
PoolNominationMade: GenericPalletEvent<
|
|
2593
|
+
Rv,
|
|
2594
|
+
'NominationPools',
|
|
2595
|
+
'PoolNominationMade',
|
|
2596
|
+
{ poolId: number; caller: AccountId32 }
|
|
2597
|
+
>;
|
|
2598
|
+
|
|
2599
|
+
/**
|
|
2600
|
+
* The pool is chilled i.e. no longer nominating.
|
|
2601
|
+
**/
|
|
2602
|
+
PoolNominatorChilled: GenericPalletEvent<
|
|
2603
|
+
Rv,
|
|
2604
|
+
'NominationPools',
|
|
2605
|
+
'PoolNominatorChilled',
|
|
2606
|
+
{ poolId: number; caller: AccountId32 }
|
|
2607
|
+
>;
|
|
2608
|
+
|
|
2609
|
+
/**
|
|
2610
|
+
* Global parameters regulating nomination pools have been updated.
|
|
2611
|
+
**/
|
|
2612
|
+
GlobalParamsUpdated: GenericPalletEvent<
|
|
2613
|
+
Rv,
|
|
2614
|
+
'NominationPools',
|
|
2615
|
+
'GlobalParamsUpdated',
|
|
2616
|
+
{
|
|
2617
|
+
minJoinBond: bigint;
|
|
2618
|
+
minCreateBond: bigint;
|
|
2619
|
+
maxPools?: number | undefined;
|
|
2620
|
+
maxMembers?: number | undefined;
|
|
2621
|
+
maxMembersPerPool?: number | undefined;
|
|
2622
|
+
globalMaxCommission?: Perbill | undefined;
|
|
2623
|
+
}
|
|
2624
|
+
>;
|
|
2625
|
+
|
|
2484
2626
|
/**
|
|
2485
2627
|
* Generic pallet event
|
|
2486
2628
|
**/
|
|
@@ -2869,6 +3011,16 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
2869
3011
|
**/
|
|
2870
3012
|
SpotPriceSet: GenericPalletEvent<Rv, 'OnDemandAssignmentProvider', 'SpotPriceSet', { spotPrice: bigint }>;
|
|
2871
3013
|
|
|
3014
|
+
/**
|
|
3015
|
+
* An account was given credits.
|
|
3016
|
+
**/
|
|
3017
|
+
AccountCredited: GenericPalletEvent<
|
|
3018
|
+
Rv,
|
|
3019
|
+
'OnDemandAssignmentProvider',
|
|
3020
|
+
'AccountCredited',
|
|
3021
|
+
{ who: AccountId32; amount: bigint }
|
|
3022
|
+
>;
|
|
3023
|
+
|
|
2872
3024
|
/**
|
|
2873
3025
|
* Generic pallet event
|
|
2874
3026
|
**/
|
|
@@ -3139,7 +3291,7 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3139
3291
|
Attempted: GenericPalletEvent<Rv, 'XcmPallet', 'Attempted', { outcome: StagingXcmV5TraitsOutcome }>;
|
|
3140
3292
|
|
|
3141
3293
|
/**
|
|
3142
|
-
*
|
|
3294
|
+
* An XCM message was sent.
|
|
3143
3295
|
**/
|
|
3144
3296
|
Sent: GenericPalletEvent<
|
|
3145
3297
|
Rv,
|
|
@@ -3153,6 +3305,31 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3153
3305
|
}
|
|
3154
3306
|
>;
|
|
3155
3307
|
|
|
3308
|
+
/**
|
|
3309
|
+
* An XCM message failed to send.
|
|
3310
|
+
**/
|
|
3311
|
+
SendFailed: GenericPalletEvent<
|
|
3312
|
+
Rv,
|
|
3313
|
+
'XcmPallet',
|
|
3314
|
+
'SendFailed',
|
|
3315
|
+
{
|
|
3316
|
+
origin: StagingXcmV5Location;
|
|
3317
|
+
destination: StagingXcmV5Location;
|
|
3318
|
+
error: XcmV3TraitsSendError;
|
|
3319
|
+
messageId: FixedBytes<32>;
|
|
3320
|
+
}
|
|
3321
|
+
>;
|
|
3322
|
+
|
|
3323
|
+
/**
|
|
3324
|
+
* An XCM message failed to process.
|
|
3325
|
+
**/
|
|
3326
|
+
ProcessXcmError: GenericPalletEvent<
|
|
3327
|
+
Rv,
|
|
3328
|
+
'XcmPallet',
|
|
3329
|
+
'ProcessXcmError',
|
|
3330
|
+
{ origin: StagingXcmV5Location; error: XcmV5TraitsError; messageId: FixedBytes<32> }
|
|
3331
|
+
>;
|
|
3332
|
+
|
|
3156
3333
|
/**
|
|
3157
3334
|
* Query response received which does not match a registered query. This may be because a
|
|
3158
3335
|
* matching query was never registered, it may be because it is a duplicate response, or
|
|
@@ -3406,6 +3583,37 @@ export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<R
|
|
|
3406
3583
|
**/
|
|
3407
3584
|
VersionMigrationFinished: GenericPalletEvent<Rv, 'XcmPallet', 'VersionMigrationFinished', { version: number }>;
|
|
3408
3585
|
|
|
3586
|
+
/**
|
|
3587
|
+
* An `aliaser` location was authorized by `target` to alias it, authorization valid until
|
|
3588
|
+
* `expiry` block number.
|
|
3589
|
+
**/
|
|
3590
|
+
AliasAuthorized: GenericPalletEvent<
|
|
3591
|
+
Rv,
|
|
3592
|
+
'XcmPallet',
|
|
3593
|
+
'AliasAuthorized',
|
|
3594
|
+
{ aliaser: StagingXcmV5Location; target: StagingXcmV5Location; expiry?: bigint | undefined }
|
|
3595
|
+
>;
|
|
3596
|
+
|
|
3597
|
+
/**
|
|
3598
|
+
* `target` removed alias authorization for `aliaser`.
|
|
3599
|
+
**/
|
|
3600
|
+
AliasAuthorizationRemoved: GenericPalletEvent<
|
|
3601
|
+
Rv,
|
|
3602
|
+
'XcmPallet',
|
|
3603
|
+
'AliasAuthorizationRemoved',
|
|
3604
|
+
{ aliaser: StagingXcmV5Location; target: StagingXcmV5Location }
|
|
3605
|
+
>;
|
|
3606
|
+
|
|
3607
|
+
/**
|
|
3608
|
+
* `target` removed all alias authorizations.
|
|
3609
|
+
**/
|
|
3610
|
+
AliasesAuthorizationsRemoved: GenericPalletEvent<
|
|
3611
|
+
Rv,
|
|
3612
|
+
'XcmPallet',
|
|
3613
|
+
'AliasesAuthorizationsRemoved',
|
|
3614
|
+
{ target: StagingXcmV5Location }
|
|
3615
|
+
>;
|
|
3616
|
+
|
|
3409
3617
|
/**
|
|
3410
3618
|
* Generic pallet event
|
|
3411
3619
|
**/
|
package/kusama/index.d.ts
CHANGED
|
@@ -7,6 +7,7 @@ import { ChainJsonRpcApis } from './json-rpc.js';
|
|
|
7
7
|
import { ChainErrors } from './errors.js';
|
|
8
8
|
import { ChainEvents } from './events.js';
|
|
9
9
|
import { RuntimeApis } from './runtime.js';
|
|
10
|
+
import { ChainViewFunctions } from './view-functions.js';
|
|
10
11
|
import { ChainTx } from './tx.js';
|
|
11
12
|
|
|
12
13
|
export * from './types.js';
|
|
@@ -18,12 +19,13 @@ export interface VersionedKusamaApi<Rv extends RpcVersion> extends GenericSubstr
|
|
|
18
19
|
errors: ChainErrors<Rv>;
|
|
19
20
|
events: ChainEvents<Rv>;
|
|
20
21
|
call: RuntimeApis<Rv>;
|
|
22
|
+
view: ChainViewFunctions<Rv>;
|
|
21
23
|
tx: ChainTx<Rv>;
|
|
22
24
|
}
|
|
23
25
|
|
|
24
26
|
/**
|
|
25
27
|
* @name: KusamaApi
|
|
26
|
-
* @specVersion:
|
|
28
|
+
* @specVersion: 1006001
|
|
27
29
|
**/
|
|
28
30
|
export interface KusamaApi {
|
|
29
31
|
legacy: VersionedKusamaApi<RpcLegacy>;
|