@dedot/chaintypes 0.51.0 → 0.52.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
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dedot/chaintypes",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.52.0",
|
|
4
4
|
"description": "Types for substrate-based chains",
|
|
5
5
|
"author": "Thang X. Vu <thang@coongcrafts.io>",
|
|
6
6
|
"main": "",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"directory": "dist"
|
|
20
20
|
},
|
|
21
21
|
"license": "Apache-2.0",
|
|
22
|
-
"gitHead": "
|
|
22
|
+
"gitHead": "6c2c98854fc08dd346a116943acf3803942de7fc",
|
|
23
23
|
"module": "./index.js",
|
|
24
24
|
"types": "./index.d.ts"
|
|
25
25
|
}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
// Generated by dedot cli
|
|
2
2
|
|
|
3
3
|
import type { GenericChainConsts, RpcVersion } from 'dedot/types';
|
|
4
|
-
import type { RuntimeVersion, Bytes, Permill, Perbill } from 'dedot/codecs';
|
|
4
|
+
import type { RuntimeVersion, AccountId32, Bytes, Permill, Perbill } from 'dedot/codecs';
|
|
5
5
|
import type {
|
|
6
6
|
FrameSystemLimitsBlockWeights,
|
|
7
7
|
FrameSystemLimitsBlockLength,
|
|
8
8
|
SpWeightsRuntimeDbWeight,
|
|
9
9
|
PolkadotParachainPrimitivesPrimitivesId,
|
|
10
|
+
FrameSupportPalletId,
|
|
10
11
|
SpWeightsWeightV2Weight,
|
|
11
12
|
PalletNftsBitFlagsPalletFeature,
|
|
12
|
-
FrameSupportPalletId,
|
|
13
13
|
StagingXcmV5Location,
|
|
14
14
|
} from './types';
|
|
15
15
|
|
|
@@ -205,6 +205,36 @@ export interface ChainConsts<Rv extends RpcVersion> extends GenericChainConsts<R
|
|
|
205
205
|
* Pallet `CollatorSelection`'s constants
|
|
206
206
|
**/
|
|
207
207
|
collatorSelection: {
|
|
208
|
+
/**
|
|
209
|
+
* Account Identifier from which the internal Pot is generated.
|
|
210
|
+
**/
|
|
211
|
+
potId: FrameSupportPalletId;
|
|
212
|
+
|
|
213
|
+
/**
|
|
214
|
+
* Maximum number of candidates that we should have.
|
|
215
|
+
*
|
|
216
|
+
* This does not take into account the invulnerables.
|
|
217
|
+
**/
|
|
218
|
+
maxCandidates: number;
|
|
219
|
+
|
|
220
|
+
/**
|
|
221
|
+
* Minimum number eligible collators. Should always be greater than zero. This includes
|
|
222
|
+
* Invulnerable collators. This ensures that there will always be one collator who can
|
|
223
|
+
* produce a block.
|
|
224
|
+
**/
|
|
225
|
+
minEligibleCollators: number;
|
|
226
|
+
|
|
227
|
+
/**
|
|
228
|
+
* Maximum number of invulnerables.
|
|
229
|
+
**/
|
|
230
|
+
maxInvulnerables: number;
|
|
231
|
+
kickThreshold: number;
|
|
232
|
+
|
|
233
|
+
/**
|
|
234
|
+
* Gets this pallet's derived pot account.
|
|
235
|
+
**/
|
|
236
|
+
potAccount: AccountId32;
|
|
237
|
+
|
|
208
238
|
/**
|
|
209
239
|
* Generic pallet constant
|
|
210
240
|
**/
|
|
@@ -23,7 +23,7 @@ export interface VersionedWestendAssetHubApi<Rv extends RpcVersion> extends Gene
|
|
|
23
23
|
|
|
24
24
|
/**
|
|
25
25
|
* @name: WestendAssetHubApi
|
|
26
|
-
* @specVersion:
|
|
26
|
+
* @specVersion: 1017006
|
|
27
27
|
**/
|
|
28
28
|
export interface WestendAssetHubApi {
|
|
29
29
|
legacy: VersionedWestendAssetHubApi<RpcLegacy>;
|
|
@@ -896,6 +896,13 @@ export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<R
|
|
|
896
896
|
* @runtimeapi: ReviveApi - 0x8c403e5c4a9fd442
|
|
897
897
|
**/
|
|
898
898
|
reviveApi: {
|
|
899
|
+
/**
|
|
900
|
+
* Returns the block gas limit.
|
|
901
|
+
*
|
|
902
|
+
* @callname: ReviveApi_block_gas_limit
|
|
903
|
+
**/
|
|
904
|
+
blockGasLimit: GenericRuntimeApiMethod<Rv, () => Promise<U256>>;
|
|
905
|
+
|
|
899
906
|
/**
|
|
900
907
|
* Returns the free balance of the given `[H160]` address, using EVM decimals.
|
|
901
908
|
*
|
|
@@ -3299,6 +3299,8 @@ export type PalletCollatorSelectionCallLike =
|
|
|
3299
3299
|
**/
|
|
3300
3300
|
| { name: 'TakeCandidateSlot'; params: { deposit: bigint; target: AccountId32Like } };
|
|
3301
3301
|
|
|
3302
|
+
export type FrameSupportPalletId = FixedBytes<8>;
|
|
3303
|
+
|
|
3302
3304
|
/**
|
|
3303
3305
|
* The `Error` enum of this pallet.
|
|
3304
3306
|
**/
|
|
@@ -13130,8 +13132,6 @@ export type PalletNftFractionalizationDetails = {
|
|
|
13130
13132
|
assetCreator: AccountId32;
|
|
13131
13133
|
};
|
|
13132
13134
|
|
|
13133
|
-
export type FrameSupportPalletId = FixedBytes<8>;
|
|
13134
|
-
|
|
13135
13135
|
/**
|
|
13136
13136
|
* The `Error` enum of this pallet.
|
|
13137
13137
|
**/
|