@dedot/chaintypes 0.248.0 → 0.250.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/package.json +2 -2
- package/paseo/errors.d.ts +5 -0
- package/paseo/events.d.ts +94 -16
- package/paseo/index.d.ts +1 -1
- package/paseo/json-rpc.d.ts +1 -0
- package/paseo/query.d.ts +85 -46
- package/paseo/runtime.d.ts +90 -79
- package/paseo/tx.d.ts +81 -32
- package/paseo/types.d.ts +278 -209
- package/paseo-asset-hub/consts.d.ts +87 -0
- package/paseo-asset-hub/errors.d.ts +170 -0
- package/paseo-asset-hub/events.d.ts +359 -6
- package/paseo-asset-hub/index.d.ts +3 -1
- package/paseo-asset-hub/json-rpc.d.ts +1 -0
- package/paseo-asset-hub/query.d.ts +261 -17
- package/paseo-asset-hub/runtime.d.ts +11 -6
- package/paseo-asset-hub/tx.d.ts +729 -1
- package/paseo-asset-hub/types.d.ts +1426 -155
- package/paseo-asset-hub/view-functions.d.ts +195 -2
- package/paseo-people/errors.d.ts +5 -0
- package/paseo-people/events.d.ts +78 -2
- package/paseo-people/index.d.ts +1 -1
- package/paseo-people/query.d.ts +44 -16
- package/paseo-people/runtime.d.ts +9 -5
- package/paseo-people/tx.d.ts +30 -0
- package/paseo-people/types.d.ts +107 -25
- package/paseo-people/view-functions.d.ts +46 -1
- package/polkadot-asset-hub/consts.d.ts +87 -0
- package/polkadot-asset-hub/errors.d.ts +170 -0
- package/polkadot-asset-hub/events.d.ts +359 -6
- package/polkadot-asset-hub/index.d.ts +3 -1
- package/polkadot-asset-hub/query.d.ts +261 -17
- package/polkadot-asset-hub/runtime.d.ts +11 -6
- package/polkadot-asset-hub/tx.d.ts +729 -1
- package/polkadot-asset-hub/types.d.ts +1426 -155
- package/polkadot-asset-hub/view-functions.d.ts +195 -2
- package/polkadot-people/consts.d.ts +75 -0
- package/polkadot-people/errors.d.ts +170 -0
- package/polkadot-people/events.d.ts +377 -3
- package/polkadot-people/index.d.ts +5 -4
- package/polkadot-people/query.d.ts +169 -16
- package/polkadot-people/runtime.d.ts +9 -5
- package/polkadot-people/tx.d.ts +1316 -2
- package/polkadot-people/types.d.ts +1857 -182
- package/polkadot-people/view-functions.d.ts +46 -1
package/paseo-people/types.d.ts
CHANGED
|
@@ -256,13 +256,13 @@ export type CumulusPalletParachainSystemCallLike =
|
|
|
256
256
|
| { name: 'SudoSendUpwardMessage'; params: { message: BytesLike } };
|
|
257
257
|
|
|
258
258
|
export type CumulusPalletParachainSystemParachainInherentBasicParachainInherentData = {
|
|
259
|
-
validationData:
|
|
259
|
+
validationData: PolkadotPrimitivesV9PersistedValidationData;
|
|
260
260
|
relayChainState: SpTrieStorageProof;
|
|
261
261
|
relayParentDescendants: Array<Header>;
|
|
262
262
|
collatorPeerId?: Bytes | undefined;
|
|
263
263
|
};
|
|
264
264
|
|
|
265
|
-
export type
|
|
265
|
+
export type PolkadotPrimitivesV9PersistedValidationData = {
|
|
266
266
|
parentHead: PolkadotParachainPrimitivesPrimitivesHeadData;
|
|
267
267
|
relayParentNumber: number;
|
|
268
268
|
relayParentStorageRoot: H256;
|
|
@@ -1195,7 +1195,19 @@ export type PalletAssetsCall =
|
|
|
1195
1195
|
* (false), or transfer everything except at least the minimum balance, which will
|
|
1196
1196
|
* guarantee to keep the sender asset account alive (true).
|
|
1197
1197
|
**/
|
|
1198
|
-
| { name: 'TransferAll'; params: { id: StagingXcmV5Location; dest: MultiAddress; keepAlive: boolean } }
|
|
1198
|
+
| { name: 'TransferAll'; params: { id: StagingXcmV5Location; dest: MultiAddress; keepAlive: boolean } }
|
|
1199
|
+
/**
|
|
1200
|
+
* Sets the trusted reserve information of an asset.
|
|
1201
|
+
*
|
|
1202
|
+
* Origin must be the Owner of the asset `id`. The origin must conform to the configured
|
|
1203
|
+
* `CreateOrigin` or be the signed `owner` configured during asset creation.
|
|
1204
|
+
*
|
|
1205
|
+
* - `id`: The identifier of the asset.
|
|
1206
|
+
* - `reserves`: The full list of trusted reserves information.
|
|
1207
|
+
*
|
|
1208
|
+
* Emits `AssetMinBalanceChanged` event when successful.
|
|
1209
|
+
**/
|
|
1210
|
+
| { name: 'SetReserves'; params: { id: StagingXcmV5Location; reserves: Array<[]> } };
|
|
1199
1211
|
|
|
1200
1212
|
export type PalletAssetsCallLike =
|
|
1201
1213
|
/**
|
|
@@ -1781,7 +1793,19 @@ export type PalletAssetsCallLike =
|
|
|
1781
1793
|
* (false), or transfer everything except at least the minimum balance, which will
|
|
1782
1794
|
* guarantee to keep the sender asset account alive (true).
|
|
1783
1795
|
**/
|
|
1784
|
-
| { name: 'TransferAll'; params: { id: StagingXcmV5Location; dest: MultiAddressLike; keepAlive: boolean } }
|
|
1796
|
+
| { name: 'TransferAll'; params: { id: StagingXcmV5Location; dest: MultiAddressLike; keepAlive: boolean } }
|
|
1797
|
+
/**
|
|
1798
|
+
* Sets the trusted reserve information of an asset.
|
|
1799
|
+
*
|
|
1800
|
+
* Origin must be the Owner of the asset `id`. The origin must conform to the configured
|
|
1801
|
+
* `CreateOrigin` or be the signed `owner` configured during asset creation.
|
|
1802
|
+
*
|
|
1803
|
+
* - `id`: The identifier of the asset.
|
|
1804
|
+
* - `reserves`: The full list of trusted reserves information.
|
|
1805
|
+
*
|
|
1806
|
+
* Emits `AssetMinBalanceChanged` event when successful.
|
|
1807
|
+
**/
|
|
1808
|
+
| { name: 'SetReserves'; params: { id: StagingXcmV5Location; reserves: Array<[]> } };
|
|
1785
1809
|
|
|
1786
1810
|
export type StagingXcmV5Location = { parents: number; interior: StagingXcmV5Junctions };
|
|
1787
1811
|
|
|
@@ -5157,7 +5181,8 @@ export type PalletIdentityJudgement =
|
|
|
5157
5181
|
export type SpRuntimeMultiSignature =
|
|
5158
5182
|
| { type: 'Ed25519'; value: FixedBytes<64> }
|
|
5159
5183
|
| { type: 'Sr25519'; value: FixedBytes<64> }
|
|
5160
|
-
| { type: 'Ecdsa'; value: FixedBytes<65> }
|
|
5184
|
+
| { type: 'Ecdsa'; value: FixedBytes<65> }
|
|
5185
|
+
| { type: 'Eth'; value: FixedBytes<65> };
|
|
5161
5186
|
|
|
5162
5187
|
/**
|
|
5163
5188
|
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
@@ -5557,10 +5582,18 @@ export type PalletBalancesEvent =
|
|
|
5557
5582
|
* Some amount was minted into an account.
|
|
5558
5583
|
**/
|
|
5559
5584
|
| { name: 'Minted'; data: { who: AccountId32; amount: bigint } }
|
|
5585
|
+
/**
|
|
5586
|
+
* Some credit was balanced and added to the TotalIssuance.
|
|
5587
|
+
**/
|
|
5588
|
+
| { name: 'MintedCredit'; data: { amount: bigint } }
|
|
5560
5589
|
/**
|
|
5561
5590
|
* Some amount was burned from an account.
|
|
5562
5591
|
**/
|
|
5563
5592
|
| { name: 'Burned'; data: { who: AccountId32; amount: bigint } }
|
|
5593
|
+
/**
|
|
5594
|
+
* Some debt has been dropped from the Total Issuance.
|
|
5595
|
+
**/
|
|
5596
|
+
| { name: 'BurnedDebt'; data: { amount: bigint } }
|
|
5564
5597
|
/**
|
|
5565
5598
|
* Some amount was suspended from an account (it can be restored later).
|
|
5566
5599
|
**/
|
|
@@ -5601,6 +5634,37 @@ export type PalletBalancesEvent =
|
|
|
5601
5634
|
* The `TotalIssuance` was forcefully changed.
|
|
5602
5635
|
**/
|
|
5603
5636
|
| { name: 'TotalIssuanceForced'; data: { old: bigint; new: bigint } }
|
|
5637
|
+
/**
|
|
5638
|
+
* Some balance was placed on hold.
|
|
5639
|
+
**/
|
|
5640
|
+
| { name: 'Held'; data: { reason: PeoplePaseoRuntimeRuntimeHoldReason; who: AccountId32; amount: bigint } }
|
|
5641
|
+
/**
|
|
5642
|
+
* Held balance was burned from an account.
|
|
5643
|
+
**/
|
|
5644
|
+
| { name: 'BurnedHeld'; data: { reason: PeoplePaseoRuntimeRuntimeHoldReason; who: AccountId32; amount: bigint } }
|
|
5645
|
+
/**
|
|
5646
|
+
* A transfer of `amount` on hold from `source` to `dest` was initiated.
|
|
5647
|
+
**/
|
|
5648
|
+
| {
|
|
5649
|
+
name: 'TransferOnHold';
|
|
5650
|
+
data: { reason: PeoplePaseoRuntimeRuntimeHoldReason; source: AccountId32; dest: AccountId32; amount: bigint };
|
|
5651
|
+
}
|
|
5652
|
+
/**
|
|
5653
|
+
* The `transferred` balance is placed on hold at the `dest` account.
|
|
5654
|
+
**/
|
|
5655
|
+
| {
|
|
5656
|
+
name: 'TransferAndHold';
|
|
5657
|
+
data: {
|
|
5658
|
+
reason: PeoplePaseoRuntimeRuntimeHoldReason;
|
|
5659
|
+
source: AccountId32;
|
|
5660
|
+
dest: AccountId32;
|
|
5661
|
+
transferred: bigint;
|
|
5662
|
+
};
|
|
5663
|
+
}
|
|
5664
|
+
/**
|
|
5665
|
+
* Some balance was released from hold.
|
|
5666
|
+
**/
|
|
5667
|
+
| { name: 'Released'; data: { reason: PeoplePaseoRuntimeRuntimeHoldReason; who: AccountId32; amount: bigint } }
|
|
5604
5668
|
/**
|
|
5605
5669
|
* An unexpected/defensive event was triggered.
|
|
5606
5670
|
**/
|
|
@@ -5608,6 +5672,14 @@ export type PalletBalancesEvent =
|
|
|
5608
5672
|
|
|
5609
5673
|
export type FrameSupportTokensMiscBalanceStatus = 'Free' | 'Reserved';
|
|
5610
5674
|
|
|
5675
|
+
export type PeoplePaseoRuntimeRuntimeHoldReason =
|
|
5676
|
+
| { type: 'Session'; value: PalletSessionHoldReason }
|
|
5677
|
+
| { type: 'PolkadotXcm'; value: PalletXcmHoldReason };
|
|
5678
|
+
|
|
5679
|
+
export type PalletSessionHoldReason = 'Keys';
|
|
5680
|
+
|
|
5681
|
+
export type PalletXcmHoldReason = 'AuthorizeAlias';
|
|
5682
|
+
|
|
5611
5683
|
export type PalletBalancesUnexpectedKind = 'BalanceUpdated' | 'FailedToMutateAccount';
|
|
5612
5684
|
|
|
5613
5685
|
/**
|
|
@@ -5752,7 +5824,15 @@ export type PalletAssetsEvent =
|
|
|
5752
5824
|
/**
|
|
5753
5825
|
* Some assets were withdrawn from the account (e.g. for transaction fees).
|
|
5754
5826
|
**/
|
|
5755
|
-
| { name: 'Withdrawn'; data: { assetId: StagingXcmV5Location; who: AccountId32; amount: bigint } }
|
|
5827
|
+
| { name: 'Withdrawn'; data: { assetId: StagingXcmV5Location; who: AccountId32; amount: bigint } }
|
|
5828
|
+
/**
|
|
5829
|
+
* Reserve information was set or updated for `asset_id`.
|
|
5830
|
+
**/
|
|
5831
|
+
| { name: 'ReservesUpdated'; data: { assetId: StagingXcmV5Location; reserves: Array<[]> } }
|
|
5832
|
+
/**
|
|
5833
|
+
* Reserve information was removed for `asset_id`.
|
|
5834
|
+
**/
|
|
5835
|
+
| { name: 'ReservesRemoved'; data: { assetId: StagingXcmV5Location } };
|
|
5756
5836
|
|
|
5757
5837
|
/**
|
|
5758
5838
|
* The `Event` enum of this pallet
|
|
@@ -5816,14 +5896,6 @@ export type PalletAssetsHolderEvent =
|
|
|
5816
5896
|
};
|
|
5817
5897
|
};
|
|
5818
5898
|
|
|
5819
|
-
export type PeoplePaseoRuntimeRuntimeHoldReason =
|
|
5820
|
-
| { type: 'Session'; value: PalletSessionHoldReason }
|
|
5821
|
-
| { type: 'PolkadotXcm'; value: PalletXcmHoldReason };
|
|
5822
|
-
|
|
5823
|
-
export type PalletSessionHoldReason = 'Keys';
|
|
5824
|
-
|
|
5825
|
-
export type PalletXcmHoldReason = 'AuthorizeAlias';
|
|
5826
|
-
|
|
5827
5899
|
/**
|
|
5828
5900
|
* The `Event` enum of this pallet
|
|
5829
5901
|
**/
|
|
@@ -6375,6 +6447,8 @@ export type PalletProxyEvent =
|
|
|
6375
6447
|
who: AccountId32;
|
|
6376
6448
|
proxyType: PeoplePaseoRuntimeProxyType;
|
|
6377
6449
|
disambiguationIndex: number;
|
|
6450
|
+
at: number;
|
|
6451
|
+
extrinsicIndex: number;
|
|
6378
6452
|
};
|
|
6379
6453
|
}
|
|
6380
6454
|
/**
|
|
@@ -6655,7 +6729,7 @@ export type CumulusPalletWeightReclaimStorageWeightReclaim = [
|
|
|
6655
6729
|
export type CumulusPalletParachainSystemUnincludedSegmentAncestor = {
|
|
6656
6730
|
usedBandwidth: CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth;
|
|
6657
6731
|
paraHeadHash?: H256 | undefined;
|
|
6658
|
-
consumedGoAheadSignal?:
|
|
6732
|
+
consumedGoAheadSignal?: PolkadotPrimitivesV9UpgradeGoAhead | undefined;
|
|
6659
6733
|
};
|
|
6660
6734
|
|
|
6661
6735
|
export type CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth = {
|
|
@@ -6668,21 +6742,21 @@ export type CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth = {
|
|
|
6668
6742
|
|
|
6669
6743
|
export type CumulusPalletParachainSystemUnincludedSegmentHrmpChannelUpdate = { msgCount: number; totalBytes: number };
|
|
6670
6744
|
|
|
6671
|
-
export type
|
|
6745
|
+
export type PolkadotPrimitivesV9UpgradeGoAhead = 'Abort' | 'GoAhead';
|
|
6672
6746
|
|
|
6673
6747
|
export type CumulusPalletParachainSystemUnincludedSegmentSegmentTracker = {
|
|
6674
6748
|
usedBandwidth: CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth;
|
|
6675
6749
|
hrmpWatermark?: number | undefined;
|
|
6676
|
-
consumedGoAheadSignal?:
|
|
6750
|
+
consumedGoAheadSignal?: PolkadotPrimitivesV9UpgradeGoAhead | undefined;
|
|
6677
6751
|
};
|
|
6678
6752
|
|
|
6679
|
-
export type
|
|
6753
|
+
export type PolkadotPrimitivesV9UpgradeRestriction = 'Present';
|
|
6680
6754
|
|
|
6681
6755
|
export type CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot = {
|
|
6682
6756
|
dmqMqcHead: H256;
|
|
6683
6757
|
relayDispatchQueueRemainingCapacity: CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRemainingCapacity;
|
|
6684
|
-
ingressChannels: Array<[PolkadotParachainPrimitivesPrimitivesId,
|
|
6685
|
-
egressChannels: Array<[PolkadotParachainPrimitivesPrimitivesId,
|
|
6758
|
+
ingressChannels: Array<[PolkadotParachainPrimitivesPrimitivesId, PolkadotPrimitivesV9AbridgedHrmpChannel]>;
|
|
6759
|
+
egressChannels: Array<[PolkadotParachainPrimitivesPrimitivesId, PolkadotPrimitivesV9AbridgedHrmpChannel]>;
|
|
6686
6760
|
};
|
|
6687
6761
|
|
|
6688
6762
|
export type CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRemainingCapacity = {
|
|
@@ -6690,7 +6764,7 @@ export type CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRema
|
|
|
6690
6764
|
remainingSize: number;
|
|
6691
6765
|
};
|
|
6692
6766
|
|
|
6693
|
-
export type
|
|
6767
|
+
export type PolkadotPrimitivesV9AbridgedHrmpChannel = {
|
|
6694
6768
|
maxCapacity: number;
|
|
6695
6769
|
maxTotalSize: number;
|
|
6696
6770
|
maxMessageSize: number;
|
|
@@ -6699,7 +6773,7 @@ export type PolkadotPrimitivesV8AbridgedHrmpChannel = {
|
|
|
6699
6773
|
mqcHead?: H256 | undefined;
|
|
6700
6774
|
};
|
|
6701
6775
|
|
|
6702
|
-
export type
|
|
6776
|
+
export type PolkadotPrimitivesV9AbridgedHostConfiguration = {
|
|
6703
6777
|
maxCodeSize: number;
|
|
6704
6778
|
maxHeadDataSize: number;
|
|
6705
6779
|
maxUpwardQueueCount: number;
|
|
@@ -6709,10 +6783,10 @@ export type PolkadotPrimitivesV8AbridgedHostConfiguration = {
|
|
|
6709
6783
|
hrmpMaxMessageNumPerCandidate: number;
|
|
6710
6784
|
validationUpgradeCooldown: number;
|
|
6711
6785
|
validationUpgradeDelay: number;
|
|
6712
|
-
asyncBackingParams:
|
|
6786
|
+
asyncBackingParams: PolkadotPrimitivesV9AsyncBackingAsyncBackingParams;
|
|
6713
6787
|
};
|
|
6714
6788
|
|
|
6715
|
-
export type
|
|
6789
|
+
export type PolkadotPrimitivesV9AsyncBackingAsyncBackingParams = {
|
|
6716
6790
|
maxCandidateDepth: number;
|
|
6717
6791
|
allowedAncestryLen: number;
|
|
6718
6792
|
};
|
|
@@ -6975,7 +7049,11 @@ export type PalletAssetsError =
|
|
|
6975
7049
|
/**
|
|
6976
7050
|
* The asset cannot be destroyed because some accounts for this asset contain holds.
|
|
6977
7051
|
**/
|
|
6978
|
-
| 'ContainsHolds'
|
|
7052
|
+
| 'ContainsHolds'
|
|
7053
|
+
/**
|
|
7054
|
+
* Tried setting too many reserves.
|
|
7055
|
+
**/
|
|
7056
|
+
| 'TooManyReserves';
|
|
6979
7057
|
|
|
6980
7058
|
/**
|
|
6981
7059
|
* The `Error` enum of this pallet.
|
|
@@ -7708,6 +7786,10 @@ export type PalletSudoError =
|
|
|
7708
7786
|
|
|
7709
7787
|
export type SpConsensusSlotsSlotDuration = bigint;
|
|
7710
7788
|
|
|
7789
|
+
export type SpRuntimeBlockLazyBlock = { header: Header; extrinsics: Array<SpRuntimeOpaqueExtrinsic> };
|
|
7790
|
+
|
|
7791
|
+
export type SpRuntimeOpaqueExtrinsic = Bytes;
|
|
7792
|
+
|
|
7711
7793
|
export type SpRuntimeExtrinsicInclusionMode = 'AllExtrinsics' | 'OnlyInherents';
|
|
7712
7794
|
|
|
7713
7795
|
export type SpCoreOpaqueMetadata = Bytes;
|
|
@@ -1,9 +1,54 @@
|
|
|
1
1
|
// Generated by dedot cli
|
|
2
2
|
|
|
3
3
|
import type { GenericChainViewFunctions, GenericViewFunction } from 'dedot/types';
|
|
4
|
-
import type {
|
|
4
|
+
import type { AccountId32Like } from 'dedot/codecs';
|
|
5
|
+
import type {
|
|
6
|
+
StagingXcmV5Location,
|
|
7
|
+
PalletAssetsAssetDetails,
|
|
8
|
+
PalletAssetsAssetMetadata,
|
|
9
|
+
PeoplePaseoRuntimeRuntimeCallLike,
|
|
10
|
+
PeoplePaseoRuntimeProxyType,
|
|
11
|
+
} from './types.js';
|
|
5
12
|
|
|
6
13
|
export interface ChainViewFunctions extends GenericChainViewFunctions {
|
|
14
|
+
/**
|
|
15
|
+
* Pallet `Assets`'s view functions
|
|
16
|
+
**/
|
|
17
|
+
assets: {
|
|
18
|
+
/**
|
|
19
|
+
* Provide the asset details for asset `id`.
|
|
20
|
+
*
|
|
21
|
+
* @param {StagingXcmV5Location} id
|
|
22
|
+
**/
|
|
23
|
+
assetDetails: GenericViewFunction<(id: StagingXcmV5Location) => Promise<PalletAssetsAssetDetails | undefined>>;
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* Provide the balance of `who` for asset `id`.
|
|
27
|
+
*
|
|
28
|
+
* @param {AccountId32Like} who
|
|
29
|
+
* @param {StagingXcmV5Location} id
|
|
30
|
+
**/
|
|
31
|
+
balanceOf: GenericViewFunction<(who: AccountId32Like, id: StagingXcmV5Location) => Promise<bigint | undefined>>;
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* Provide the configured metadata for asset `id`.
|
|
35
|
+
*
|
|
36
|
+
* @param {StagingXcmV5Location} id
|
|
37
|
+
**/
|
|
38
|
+
getMetadata: GenericViewFunction<(id: StagingXcmV5Location) => Promise<PalletAssetsAssetMetadata | undefined>>;
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* Provide the configured reserves data for asset `id`.
|
|
42
|
+
*
|
|
43
|
+
* @param {StagingXcmV5Location} id
|
|
44
|
+
**/
|
|
45
|
+
getReservesData: GenericViewFunction<(id: StagingXcmV5Location) => Promise<Array<[]>>>;
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
* Generic pallet view function
|
|
49
|
+
**/
|
|
50
|
+
[name: string]: GenericViewFunction;
|
|
51
|
+
};
|
|
7
52
|
/**
|
|
8
53
|
* Pallet `Proxy`'s view functions
|
|
9
54
|
**/
|
|
@@ -151,6 +151,31 @@ export interface ChainConsts extends GenericChainConsts {
|
|
|
151
151
|
**/
|
|
152
152
|
[name: string]: any;
|
|
153
153
|
};
|
|
154
|
+
/**
|
|
155
|
+
* Pallet `MultiBlockMigrations`'s constants
|
|
156
|
+
**/
|
|
157
|
+
multiBlockMigrations: {
|
|
158
|
+
/**
|
|
159
|
+
* The maximal length of an encoded cursor.
|
|
160
|
+
*
|
|
161
|
+
* A good default needs to selected such that no migration will ever have a cursor with MEL
|
|
162
|
+
* above this limit. This is statically checked in `integrity_test`.
|
|
163
|
+
**/
|
|
164
|
+
cursorMaxLen: number;
|
|
165
|
+
|
|
166
|
+
/**
|
|
167
|
+
* The maximal length of an encoded identifier.
|
|
168
|
+
*
|
|
169
|
+
* A good default needs to selected such that no migration will ever have an identifier
|
|
170
|
+
* with MEL above this limit. This is statically checked in `integrity_test`.
|
|
171
|
+
**/
|
|
172
|
+
identifierMaxLen: number;
|
|
173
|
+
|
|
174
|
+
/**
|
|
175
|
+
* Generic pallet constant
|
|
176
|
+
**/
|
|
177
|
+
[name: string]: any;
|
|
178
|
+
};
|
|
154
179
|
/**
|
|
155
180
|
* Pallet `Balances`'s constants
|
|
156
181
|
**/
|
|
@@ -261,6 +286,23 @@ export interface ChainConsts extends GenericChainConsts {
|
|
|
261
286
|
**/
|
|
262
287
|
[name: string]: any;
|
|
263
288
|
};
|
|
289
|
+
/**
|
|
290
|
+
* Pallet `Dap`'s constants
|
|
291
|
+
**/
|
|
292
|
+
dap: {
|
|
293
|
+
/**
|
|
294
|
+
* The pallet ID used to derive the buffer account.
|
|
295
|
+
*
|
|
296
|
+
* Each runtime should configure a unique ID to avoid collisions if multiple
|
|
297
|
+
* DAP instances are used.
|
|
298
|
+
**/
|
|
299
|
+
palletId: FrameSupportPalletId;
|
|
300
|
+
|
|
301
|
+
/**
|
|
302
|
+
* Generic pallet constant
|
|
303
|
+
**/
|
|
304
|
+
[name: string]: any;
|
|
305
|
+
};
|
|
264
306
|
/**
|
|
265
307
|
* Pallet `Authorship`'s constants
|
|
266
308
|
**/
|
|
@@ -1136,6 +1178,30 @@ export interface ChainConsts extends GenericChainConsts {
|
|
|
1136
1178
|
**/
|
|
1137
1179
|
[name: string]: any;
|
|
1138
1180
|
};
|
|
1181
|
+
/**
|
|
1182
|
+
* Pallet `MultiAssetBounties`'s constants
|
|
1183
|
+
**/
|
|
1184
|
+
multiAssetBounties: {
|
|
1185
|
+
/**
|
|
1186
|
+
* Minimum value for a bounty.
|
|
1187
|
+
**/
|
|
1188
|
+
bountyValueMinimum: bigint;
|
|
1189
|
+
|
|
1190
|
+
/**
|
|
1191
|
+
* Minimum value for a child-bounty.
|
|
1192
|
+
**/
|
|
1193
|
+
childBountyValueMinimum: bigint;
|
|
1194
|
+
|
|
1195
|
+
/**
|
|
1196
|
+
* Maximum number of child bounties that can be added to a parent bounty.
|
|
1197
|
+
**/
|
|
1198
|
+
maxActiveChildBountyCount: number;
|
|
1199
|
+
|
|
1200
|
+
/**
|
|
1201
|
+
* Generic pallet constant
|
|
1202
|
+
**/
|
|
1203
|
+
[name: string]: any;
|
|
1204
|
+
};
|
|
1139
1205
|
/**
|
|
1140
1206
|
* Pallet `StateTrieMigration`'s constants
|
|
1141
1207
|
**/
|
|
@@ -1292,6 +1358,11 @@ export interface ChainConsts extends GenericChainConsts {
|
|
|
1292
1358
|
* Pallet `StakingRcClient`'s constants
|
|
1293
1359
|
**/
|
|
1294
1360
|
stakingRcClient: {
|
|
1361
|
+
/**
|
|
1362
|
+
* Deposit held when a validator sets session keys. Released on `purge_keys`.
|
|
1363
|
+
**/
|
|
1364
|
+
keyDeposit: bigint;
|
|
1365
|
+
|
|
1295
1366
|
/**
|
|
1296
1367
|
* Generic pallet constant
|
|
1297
1368
|
**/
|
|
@@ -1444,9 +1515,25 @@ export interface ChainConsts extends GenericChainConsts {
|
|
|
1444
1515
|
|
|
1445
1516
|
/**
|
|
1446
1517
|
* Number of eras that staked funds must remain bonded for.
|
|
1518
|
+
*
|
|
1519
|
+
* This is the bonding duration for validators. Nominators may have a shorter bonding
|
|
1520
|
+
* duration when [`AreNominatorsSlashable`] is set to `false` (see
|
|
1521
|
+
* [`StakingInterface::nominator_bonding_duration`]).
|
|
1447
1522
|
**/
|
|
1448
1523
|
bondingDuration: number;
|
|
1449
1524
|
|
|
1525
|
+
/**
|
|
1526
|
+
* Number of eras nominators must wait to unbond when they are not slashable.
|
|
1527
|
+
*
|
|
1528
|
+
* This duration is used for nominators when [`AreNominatorsSlashable`] is `false`.
|
|
1529
|
+
* When nominators are slashable, they use the full [`Config::BondingDuration`] to ensure
|
|
1530
|
+
* slashes can be applied during the unbonding period.
|
|
1531
|
+
*
|
|
1532
|
+
* Setting this to a lower value (e.g., 1 era) allows for faster withdrawals when
|
|
1533
|
+
* nominators are not subject to slashing risk.
|
|
1534
|
+
**/
|
|
1535
|
+
nominatorFastUnbondDuration: number;
|
|
1536
|
+
|
|
1450
1537
|
/**
|
|
1451
1538
|
* Number of eras that slashes are deferred by, after computation.
|
|
1452
1539
|
*
|
|
@@ -194,6 +194,20 @@ export interface ChainErrors extends GenericChainErrors {
|
|
|
194
194
|
**/
|
|
195
195
|
[error: string]: GenericPalletError;
|
|
196
196
|
};
|
|
197
|
+
/**
|
|
198
|
+
* Pallet `MultiBlockMigrations`'s errors
|
|
199
|
+
**/
|
|
200
|
+
multiBlockMigrations: {
|
|
201
|
+
/**
|
|
202
|
+
* The operation cannot complete since some MBMs are ongoing.
|
|
203
|
+
**/
|
|
204
|
+
Ongoing: GenericPalletError;
|
|
205
|
+
|
|
206
|
+
/**
|
|
207
|
+
* Generic pallet error
|
|
208
|
+
**/
|
|
209
|
+
[error: string]: GenericPalletError;
|
|
210
|
+
};
|
|
197
211
|
/**
|
|
198
212
|
* Pallet `Balances`'s errors
|
|
199
213
|
**/
|
|
@@ -1089,6 +1103,11 @@ export interface ChainErrors extends GenericChainErrors {
|
|
|
1089
1103
|
**/
|
|
1090
1104
|
ContainsHolds: GenericPalletError;
|
|
1091
1105
|
|
|
1106
|
+
/**
|
|
1107
|
+
* Tried setting too many reserves.
|
|
1108
|
+
**/
|
|
1109
|
+
TooManyReserves: GenericPalletError;
|
|
1110
|
+
|
|
1092
1111
|
/**
|
|
1093
1112
|
* Generic pallet error
|
|
1094
1113
|
**/
|
|
@@ -1569,6 +1588,11 @@ export interface ChainErrors extends GenericChainErrors {
|
|
|
1569
1588
|
**/
|
|
1570
1589
|
ContainsHolds: GenericPalletError;
|
|
1571
1590
|
|
|
1591
|
+
/**
|
|
1592
|
+
* Tried setting too many reserves.
|
|
1593
|
+
**/
|
|
1594
|
+
TooManyReserves: GenericPalletError;
|
|
1595
|
+
|
|
1572
1596
|
/**
|
|
1573
1597
|
* Generic pallet error
|
|
1574
1598
|
**/
|
|
@@ -1696,6 +1720,11 @@ export interface ChainErrors extends GenericChainErrors {
|
|
|
1696
1720
|
**/
|
|
1697
1721
|
ContainsHolds: GenericPalletError;
|
|
1698
1722
|
|
|
1723
|
+
/**
|
|
1724
|
+
* Tried setting too many reserves.
|
|
1725
|
+
**/
|
|
1726
|
+
TooManyReserves: GenericPalletError;
|
|
1727
|
+
|
|
1699
1728
|
/**
|
|
1700
1729
|
* Generic pallet error
|
|
1701
1730
|
**/
|
|
@@ -2194,6 +2223,104 @@ export interface ChainErrors extends GenericChainErrors {
|
|
|
2194
2223
|
**/
|
|
2195
2224
|
[error: string]: GenericPalletError;
|
|
2196
2225
|
};
|
|
2226
|
+
/**
|
|
2227
|
+
* Pallet `MultiAssetBounties`'s errors
|
|
2228
|
+
**/
|
|
2229
|
+
multiAssetBounties: {
|
|
2230
|
+
/**
|
|
2231
|
+
* No child-/bounty at that index.
|
|
2232
|
+
**/
|
|
2233
|
+
InvalidIndex: GenericPalletError;
|
|
2234
|
+
|
|
2235
|
+
/**
|
|
2236
|
+
* The reason given is just too big.
|
|
2237
|
+
**/
|
|
2238
|
+
ReasonTooBig: GenericPalletError;
|
|
2239
|
+
|
|
2240
|
+
/**
|
|
2241
|
+
* Invalid child-/bounty value.
|
|
2242
|
+
**/
|
|
2243
|
+
InvalidValue: GenericPalletError;
|
|
2244
|
+
|
|
2245
|
+
/**
|
|
2246
|
+
* The balance of the asset kind is not convertible to the balance of the native asset for
|
|
2247
|
+
* asserting the origin permissions.
|
|
2248
|
+
**/
|
|
2249
|
+
FailedToConvertBalance: GenericPalletError;
|
|
2250
|
+
|
|
2251
|
+
/**
|
|
2252
|
+
* The child-/bounty status is unexpected.
|
|
2253
|
+
**/
|
|
2254
|
+
UnexpectedStatus: GenericPalletError;
|
|
2255
|
+
|
|
2256
|
+
/**
|
|
2257
|
+
* Require child-/bounty curator.
|
|
2258
|
+
**/
|
|
2259
|
+
RequireCurator: GenericPalletError;
|
|
2260
|
+
|
|
2261
|
+
/**
|
|
2262
|
+
* The spend origin is valid but the amount it is allowed to spend is lower than the
|
|
2263
|
+
* requested amount.
|
|
2264
|
+
**/
|
|
2265
|
+
InsufficientPermission: GenericPalletError;
|
|
2266
|
+
|
|
2267
|
+
/**
|
|
2268
|
+
* There was issue with funding the child-/bounty.
|
|
2269
|
+
**/
|
|
2270
|
+
FundingError: GenericPalletError;
|
|
2271
|
+
|
|
2272
|
+
/**
|
|
2273
|
+
* There was issue with refunding the child-/bounty.
|
|
2274
|
+
**/
|
|
2275
|
+
RefundError: GenericPalletError;
|
|
2276
|
+
PayoutError: GenericPalletError;
|
|
2277
|
+
|
|
2278
|
+
/**
|
|
2279
|
+
* Child-/bounty funding has not concluded yet.
|
|
2280
|
+
**/
|
|
2281
|
+
FundingInconclusive: GenericPalletError;
|
|
2282
|
+
|
|
2283
|
+
/**
|
|
2284
|
+
* Child-/bounty refund has not concluded yet.
|
|
2285
|
+
**/
|
|
2286
|
+
RefundInconclusive: GenericPalletError;
|
|
2287
|
+
|
|
2288
|
+
/**
|
|
2289
|
+
* Child-/bounty payout has not concluded yet.
|
|
2290
|
+
**/
|
|
2291
|
+
PayoutInconclusive: GenericPalletError;
|
|
2292
|
+
|
|
2293
|
+
/**
|
|
2294
|
+
* The child-/bounty or funding source account could not be derived from the indexes and
|
|
2295
|
+
* asset kind.
|
|
2296
|
+
**/
|
|
2297
|
+
FailedToConvertSource: GenericPalletError;
|
|
2298
|
+
|
|
2299
|
+
/**
|
|
2300
|
+
* The parent bounty cannot be closed because it has active child bounties.
|
|
2301
|
+
**/
|
|
2302
|
+
HasActiveChildBounty: GenericPalletError;
|
|
2303
|
+
|
|
2304
|
+
/**
|
|
2305
|
+
* Number of child bounties exceeds limit `MaxActiveChildBountyCount`.
|
|
2306
|
+
**/
|
|
2307
|
+
TooManyChildBounties: GenericPalletError;
|
|
2308
|
+
|
|
2309
|
+
/**
|
|
2310
|
+
* The parent bounty value is not enough to add new child-bounty.
|
|
2311
|
+
**/
|
|
2312
|
+
InsufficientBountyValue: GenericPalletError;
|
|
2313
|
+
|
|
2314
|
+
/**
|
|
2315
|
+
* The preimage does not exist.
|
|
2316
|
+
**/
|
|
2317
|
+
PreimageNotExist: GenericPalletError;
|
|
2318
|
+
|
|
2319
|
+
/**
|
|
2320
|
+
* Generic pallet error
|
|
2321
|
+
**/
|
|
2322
|
+
[error: string]: GenericPalletError;
|
|
2323
|
+
};
|
|
2197
2324
|
/**
|
|
2198
2325
|
* Pallet `StateTrieMigration`'s errors
|
|
2199
2326
|
**/
|
|
@@ -2539,6 +2666,44 @@ export interface ChainErrors extends GenericChainErrors {
|
|
|
2539
2666
|
**/
|
|
2540
2667
|
[error: string]: GenericPalletError;
|
|
2541
2668
|
};
|
|
2669
|
+
/**
|
|
2670
|
+
* Pallet `StakingRcClient`'s errors
|
|
2671
|
+
**/
|
|
2672
|
+
stakingRcClient: {
|
|
2673
|
+
/**
|
|
2674
|
+
* Failed to send XCM message to the Relay Chain.
|
|
2675
|
+
**/
|
|
2676
|
+
XcmSendFailed: GenericPalletError;
|
|
2677
|
+
|
|
2678
|
+
/**
|
|
2679
|
+
* The origin account is not a registered validator.
|
|
2680
|
+
*
|
|
2681
|
+
* Only accounts that have called `validate()` can set or purge session keys. When called
|
|
2682
|
+
* via a staking proxy, the origin is the delegating account (stash), which must be a
|
|
2683
|
+
* registered validator.
|
|
2684
|
+
**/
|
|
2685
|
+
NotValidator: GenericPalletError;
|
|
2686
|
+
|
|
2687
|
+
/**
|
|
2688
|
+
* The session keys could not be decoded as the expected RelayChainSessionKeys type.
|
|
2689
|
+
**/
|
|
2690
|
+
InvalidKeys: GenericPalletError;
|
|
2691
|
+
|
|
2692
|
+
/**
|
|
2693
|
+
* The ownership proof for the session keys is invalid.
|
|
2694
|
+
**/
|
|
2695
|
+
InvalidProof: GenericPalletError;
|
|
2696
|
+
|
|
2697
|
+
/**
|
|
2698
|
+
* Delivery fees exceeded the specified maximum.
|
|
2699
|
+
**/
|
|
2700
|
+
FeesExceededMax: GenericPalletError;
|
|
2701
|
+
|
|
2702
|
+
/**
|
|
2703
|
+
* Generic pallet error
|
|
2704
|
+
**/
|
|
2705
|
+
[error: string]: GenericPalletError;
|
|
2706
|
+
};
|
|
2542
2707
|
/**
|
|
2543
2708
|
* Pallet `MultiBlockElection`'s errors
|
|
2544
2709
|
**/
|
|
@@ -3120,6 +3285,11 @@ export interface ChainErrors extends GenericChainErrors {
|
|
|
3120
3285
|
**/
|
|
3121
3286
|
PrecompileDelegateDenied: GenericPalletError;
|
|
3122
3287
|
|
|
3288
|
+
/**
|
|
3289
|
+
* ECDSA public key recovery failed. Most probably wrong recovery id or signature.
|
|
3290
|
+
**/
|
|
3291
|
+
EcdsaRecoveryFailed: GenericPalletError;
|
|
3292
|
+
|
|
3123
3293
|
/**
|
|
3124
3294
|
* Generic pallet error
|
|
3125
3295
|
**/
|