@polkadot/api-augment 7.14.4-6 → 7.14.4-9
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/kusama/consts.d.ts +25 -19
- package/kusama/events.d.ts +4 -0
- package/kusama/tx.d.ts +18 -12
- package/package.json +6 -6
- package/packageInfo.cjs +1 -1
- package/packageInfo.js +1 -1
- package/polkadot/consts.d.ts +25 -19
- package/polkadot/events.d.ts +4 -0
- package/polkadot/tx.d.ts +18 -12
- package/substrate/consts.d.ts +26 -30
- package/substrate/errors.d.ts +4 -0
- package/substrate/events.d.ts +4 -0
- package/substrate/query.d.ts +6 -0
- package/substrate/tx.d.ts +32 -1
package/kusama/consts.d.ts
CHANGED
|
@@ -131,11 +131,6 @@ declare module '@polkadot/api-base/types/consts' {
|
|
|
131
131
|
[key: string]: Codec;
|
|
132
132
|
};
|
|
133
133
|
bounties: {
|
|
134
|
-
/**
|
|
135
|
-
* Percentage of the curator fee that will be reserved upfront as deposit for bounty
|
|
136
|
-
* curator.
|
|
137
|
-
**/
|
|
138
|
-
bountyCuratorDeposit: Permill & AugmentedConst<ApiType>;
|
|
139
134
|
/**
|
|
140
135
|
* The amount held on deposit for placing a bounty proposal.
|
|
141
136
|
**/
|
|
@@ -152,6 +147,21 @@ declare module '@polkadot/api-base/types/consts' {
|
|
|
152
147
|
* Minimum value for a bounty.
|
|
153
148
|
**/
|
|
154
149
|
bountyValueMinimum: u128 & AugmentedConst<ApiType>;
|
|
150
|
+
/**
|
|
151
|
+
* Maximum amount of funds that should be placed in a deposit for making a proposal.
|
|
152
|
+
**/
|
|
153
|
+
curatorDepositMax: Option<u128> & AugmentedConst<ApiType>;
|
|
154
|
+
/**
|
|
155
|
+
* Minimum amount of funds that should be placed in a deposit for making a proposal.
|
|
156
|
+
**/
|
|
157
|
+
curatorDepositMin: Option<u128> & AugmentedConst<ApiType>;
|
|
158
|
+
/**
|
|
159
|
+
* The curator deposit is calculated as a percentage of the curator fee.
|
|
160
|
+
*
|
|
161
|
+
* This deposit has optional upper and lower bounds with `CuratorDepositMax` and
|
|
162
|
+
* `CuratorDepositMin`.
|
|
163
|
+
**/
|
|
164
|
+
curatorDepositMultiplier: Permill & AugmentedConst<ApiType>;
|
|
155
165
|
/**
|
|
156
166
|
* The amount held on deposit per byte within the tip report reason or bounty description.
|
|
157
167
|
**/
|
|
@@ -168,11 +178,6 @@ declare module '@polkadot/api-base/types/consts' {
|
|
|
168
178
|
[key: string]: Codec;
|
|
169
179
|
};
|
|
170
180
|
childBounties: {
|
|
171
|
-
/**
|
|
172
|
-
* Percentage of child-bounty value to be reserved as curator deposit
|
|
173
|
-
* when curator fee is zero.
|
|
174
|
-
**/
|
|
175
|
-
childBountyCuratorDepositBase: Permill & AugmentedConst<ApiType>;
|
|
176
181
|
/**
|
|
177
182
|
* Minimum value for a child-bounty.
|
|
178
183
|
**/
|
|
@@ -275,6 +280,16 @@ declare module '@polkadot/api-base/types/consts' {
|
|
|
275
280
|
[key: string]: Codec;
|
|
276
281
|
};
|
|
277
282
|
electionProviderMultiPhase: {
|
|
283
|
+
/**
|
|
284
|
+
* The maximum number of electable targets to put in the snapshot.
|
|
285
|
+
**/
|
|
286
|
+
maxElectableTargets: u16 & AugmentedConst<ApiType>;
|
|
287
|
+
/**
|
|
288
|
+
* The maximum number of electing voters to put in the snapshot. At the moment, snapshots
|
|
289
|
+
* are only over a single block, but once multi-block elections are introduced they will
|
|
290
|
+
* take place over multiple blocks.
|
|
291
|
+
**/
|
|
292
|
+
maxElectingVoters: u32 & AugmentedConst<ApiType>;
|
|
278
293
|
/**
|
|
279
294
|
* Maximum length (bytes) that the mined solution should consume.
|
|
280
295
|
*
|
|
@@ -345,15 +360,6 @@ declare module '@polkadot/api-base/types/consts' {
|
|
|
345
360
|
* Duration of the unsigned phase.
|
|
346
361
|
**/
|
|
347
362
|
unsignedPhase: u32 & AugmentedConst<ApiType>;
|
|
348
|
-
/**
|
|
349
|
-
* The maximum number of voters to put in the snapshot. At the moment, snapshots are only
|
|
350
|
-
* over a single block, but once multi-block elections are introduced they will take place
|
|
351
|
-
* over multiple blocks.
|
|
352
|
-
*
|
|
353
|
-
* Also, note the data type: If the voters are represented by a `u32` in `type
|
|
354
|
-
* CompactSolution`, the same `u32` is used here to ensure bounds are respected.
|
|
355
|
-
**/
|
|
356
|
-
voterSnapshotPerBlock: u32 & AugmentedConst<ApiType>;
|
|
357
363
|
/**
|
|
358
364
|
* Generic const
|
|
359
365
|
**/
|
package/kusama/events.d.ts
CHANGED
|
@@ -718,6 +718,10 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
718
718
|
* A proxy was executed correctly, with the given.
|
|
719
719
|
**/
|
|
720
720
|
ProxyExecuted: AugmentedEvent<ApiType, [Result<Null, SpRuntimeDispatchError>]>;
|
|
721
|
+
/**
|
|
722
|
+
* A proxy was removed.
|
|
723
|
+
**/
|
|
724
|
+
ProxyRemoved: AugmentedEvent<ApiType, [AccountId32, AccountId32, KusamaRuntimeProxyType, u32]>;
|
|
721
725
|
/**
|
|
722
726
|
* Generic event
|
|
723
727
|
**/
|
package/kusama/tx.d.ts
CHANGED
|
@@ -4978,10 +4978,13 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4978
4978
|
interior?: any;
|
|
4979
4979
|
} | string | Uint8Array, xcmVersion: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmV1MultiLocation, u32]>;
|
|
4980
4980
|
/**
|
|
4981
|
-
* Transfer some assets from the local chain to the sovereign account of a destination
|
|
4982
|
-
* a notification XCM.
|
|
4981
|
+
* Transfer some assets from the local chain to the sovereign account of a destination
|
|
4982
|
+
* chain and forward a notification XCM.
|
|
4983
4983
|
*
|
|
4984
|
-
* Fee payment on the destination side is made from the
|
|
4984
|
+
* Fee payment on the destination side is made from the asset in the `assets` vector of
|
|
4985
|
+
* index `fee_asset_item`, up to enough to pay for `weight_limit` of weight. If more weight
|
|
4986
|
+
* is needed than `weight_limit`, then the operation will fail and the assets send may be
|
|
4987
|
+
* at risk.
|
|
4985
4988
|
*
|
|
4986
4989
|
* - `origin`: Must be capable of withdrawing the `assets` and executing XCM.
|
|
4987
4990
|
* - `dest`: Destination context for the assets. Will typically be `X2(Parent, Parachain(..))` to send
|
|
@@ -5014,7 +5017,10 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
5014
5017
|
/**
|
|
5015
5018
|
* Teleport some assets from the local chain to some destination chain.
|
|
5016
5019
|
*
|
|
5017
|
-
* Fee payment on the destination side is made from the
|
|
5020
|
+
* Fee payment on the destination side is made from the asset in the `assets` vector of
|
|
5021
|
+
* index `fee_asset_item`, up to enough to pay for `weight_limit` of weight. If more weight
|
|
5022
|
+
* is needed than `weight_limit`, then the operation will fail and the assets send may be
|
|
5023
|
+
* at risk.
|
|
5018
5024
|
*
|
|
5019
5025
|
* - `origin`: Must be capable of withdrawing the `assets` and executing XCM.
|
|
5020
5026
|
* - `dest`: Destination context for the assets. Will typically be `X2(Parent, Parachain(..))` to send
|
|
@@ -5045,12 +5051,12 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
5045
5051
|
Limited: any;
|
|
5046
5052
|
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedMultiLocation, XcmVersionedMultiLocation, XcmVersionedMultiAssets, u32, XcmV2WeightLimit]>;
|
|
5047
5053
|
/**
|
|
5048
|
-
* Transfer some assets from the local chain to the sovereign account of a destination
|
|
5049
|
-
* a notification XCM.
|
|
5054
|
+
* Transfer some assets from the local chain to the sovereign account of a destination
|
|
5055
|
+
* chain and forward a notification XCM.
|
|
5050
5056
|
*
|
|
5051
|
-
* Fee payment on the destination side is made from the
|
|
5052
|
-
*
|
|
5053
|
-
*
|
|
5057
|
+
* Fee payment on the destination side is made from the asset in the `assets` vector of
|
|
5058
|
+
* index `fee_asset_item`. The weight limit for fees is not provided and thus is unlimited,
|
|
5059
|
+
* with all fees taken as needed from the asset.
|
|
5054
5060
|
*
|
|
5055
5061
|
* - `origin`: Must be capable of withdrawing the `assets` and executing XCM.
|
|
5056
5062
|
* - `dest`: Destination context for the assets. Will typically be `X2(Parent, Parachain(..))` to send
|
|
@@ -5089,9 +5095,9 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
5089
5095
|
/**
|
|
5090
5096
|
* Teleport some assets from the local chain to some destination chain.
|
|
5091
5097
|
*
|
|
5092
|
-
* Fee payment on the destination side is made from the
|
|
5093
|
-
*
|
|
5094
|
-
*
|
|
5098
|
+
* Fee payment on the destination side is made from the asset in the `assets` vector of
|
|
5099
|
+
* index `fee_asset_item`. The weight limit for fees is not provided and thus is unlimited,
|
|
5100
|
+
* with all fees taken as needed from the asset.
|
|
5095
5101
|
*
|
|
5096
5102
|
* - `origin`: Must be capable of withdrawing the `assets` and executing XCM.
|
|
5097
5103
|
* - `dest`: Destination context for the assets. Will typically be `X2(Parent, Parachain(..))` to send
|
package/package.json
CHANGED
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"./detectPackage.cjs"
|
|
21
21
|
],
|
|
22
22
|
"type": "module",
|
|
23
|
-
"version": "7.14.4-
|
|
23
|
+
"version": "7.14.4-9",
|
|
24
24
|
"main": "index.cjs",
|
|
25
25
|
"module": "index.js",
|
|
26
26
|
"types": "index.d.ts",
|
|
@@ -166,11 +166,11 @@
|
|
|
166
166
|
},
|
|
167
167
|
"dependencies": {
|
|
168
168
|
"@babel/runtime": "^7.17.8",
|
|
169
|
-
"@polkadot/api-base": "7.14.4-
|
|
170
|
-
"@polkadot/rpc-augment": "7.14.4-
|
|
171
|
-
"@polkadot/types": "7.14.4-
|
|
172
|
-
"@polkadot/types-augment": "7.14.4-
|
|
173
|
-
"@polkadot/types-codec": "7.14.4-
|
|
169
|
+
"@polkadot/api-base": "7.14.4-9",
|
|
170
|
+
"@polkadot/rpc-augment": "7.14.4-9",
|
|
171
|
+
"@polkadot/types": "7.14.4-9",
|
|
172
|
+
"@polkadot/types-augment": "7.14.4-9",
|
|
173
|
+
"@polkadot/types-codec": "7.14.4-9",
|
|
174
174
|
"@polkadot/util": "^8.7.1"
|
|
175
175
|
}
|
|
176
176
|
}
|
package/packageInfo.cjs
CHANGED
package/packageInfo.js
CHANGED
|
@@ -5,5 +5,5 @@ export const packageInfo = {
|
|
|
5
5
|
name: '@polkadot/api-augment',
|
|
6
6
|
path: (import.meta && import.meta.url) ? new URL(import.meta.url).pathname.substring(0, new URL(import.meta.url).pathname.lastIndexOf('/') + 1) : 'auto',
|
|
7
7
|
type: 'esm',
|
|
8
|
-
version: '7.14.4-
|
|
8
|
+
version: '7.14.4-9'
|
|
9
9
|
};
|
package/polkadot/consts.d.ts
CHANGED
|
@@ -131,11 +131,6 @@ declare module '@polkadot/api-base/types/consts' {
|
|
|
131
131
|
[key: string]: Codec;
|
|
132
132
|
};
|
|
133
133
|
bounties: {
|
|
134
|
-
/**
|
|
135
|
-
* Percentage of the curator fee that will be reserved upfront as deposit for bounty
|
|
136
|
-
* curator.
|
|
137
|
-
**/
|
|
138
|
-
bountyCuratorDeposit: Permill & AugmentedConst<ApiType>;
|
|
139
134
|
/**
|
|
140
135
|
* The amount held on deposit for placing a bounty proposal.
|
|
141
136
|
**/
|
|
@@ -152,6 +147,21 @@ declare module '@polkadot/api-base/types/consts' {
|
|
|
152
147
|
* Minimum value for a bounty.
|
|
153
148
|
**/
|
|
154
149
|
bountyValueMinimum: u128 & AugmentedConst<ApiType>;
|
|
150
|
+
/**
|
|
151
|
+
* Maximum amount of funds that should be placed in a deposit for making a proposal.
|
|
152
|
+
**/
|
|
153
|
+
curatorDepositMax: Option<u128> & AugmentedConst<ApiType>;
|
|
154
|
+
/**
|
|
155
|
+
* Minimum amount of funds that should be placed in a deposit for making a proposal.
|
|
156
|
+
**/
|
|
157
|
+
curatorDepositMin: Option<u128> & AugmentedConst<ApiType>;
|
|
158
|
+
/**
|
|
159
|
+
* The curator deposit is calculated as a percentage of the curator fee.
|
|
160
|
+
*
|
|
161
|
+
* This deposit has optional upper and lower bounds with `CuratorDepositMax` and
|
|
162
|
+
* `CuratorDepositMin`.
|
|
163
|
+
**/
|
|
164
|
+
curatorDepositMultiplier: Permill & AugmentedConst<ApiType>;
|
|
155
165
|
/**
|
|
156
166
|
* The amount held on deposit per byte within the tip report reason or bounty description.
|
|
157
167
|
**/
|
|
@@ -168,11 +178,6 @@ declare module '@polkadot/api-base/types/consts' {
|
|
|
168
178
|
[key: string]: Codec;
|
|
169
179
|
};
|
|
170
180
|
childBounties: {
|
|
171
|
-
/**
|
|
172
|
-
* Percentage of child-bounty value to be reserved as curator deposit
|
|
173
|
-
* when curator fee is zero.
|
|
174
|
-
**/
|
|
175
|
-
childBountyCuratorDepositBase: Permill & AugmentedConst<ApiType>;
|
|
176
181
|
/**
|
|
177
182
|
* Minimum value for a child-bounty.
|
|
178
183
|
**/
|
|
@@ -275,6 +280,16 @@ declare module '@polkadot/api-base/types/consts' {
|
|
|
275
280
|
[key: string]: Codec;
|
|
276
281
|
};
|
|
277
282
|
electionProviderMultiPhase: {
|
|
283
|
+
/**
|
|
284
|
+
* The maximum number of electable targets to put in the snapshot.
|
|
285
|
+
**/
|
|
286
|
+
maxElectableTargets: u16 & AugmentedConst<ApiType>;
|
|
287
|
+
/**
|
|
288
|
+
* The maximum number of electing voters to put in the snapshot. At the moment, snapshots
|
|
289
|
+
* are only over a single block, but once multi-block elections are introduced they will
|
|
290
|
+
* take place over multiple blocks.
|
|
291
|
+
**/
|
|
292
|
+
maxElectingVoters: u32 & AugmentedConst<ApiType>;
|
|
278
293
|
/**
|
|
279
294
|
* Maximum length (bytes) that the mined solution should consume.
|
|
280
295
|
*
|
|
@@ -345,15 +360,6 @@ declare module '@polkadot/api-base/types/consts' {
|
|
|
345
360
|
* Duration of the unsigned phase.
|
|
346
361
|
**/
|
|
347
362
|
unsignedPhase: u32 & AugmentedConst<ApiType>;
|
|
348
|
-
/**
|
|
349
|
-
* The maximum number of voters to put in the snapshot. At the moment, snapshots are only
|
|
350
|
-
* over a single block, but once multi-block elections are introduced they will take place
|
|
351
|
-
* over multiple blocks.
|
|
352
|
-
*
|
|
353
|
-
* Also, note the data type: If the voters are represented by a `u32` in `type
|
|
354
|
-
* CompactSolution`, the same `u32` is used here to ensure bounds are respected.
|
|
355
|
-
**/
|
|
356
|
-
voterSnapshotPerBlock: u32 & AugmentedConst<ApiType>;
|
|
357
363
|
/**
|
|
358
364
|
* Generic const
|
|
359
365
|
**/
|
package/polkadot/events.d.ts
CHANGED
|
@@ -696,6 +696,10 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
696
696
|
* A proxy was executed correctly, with the given.
|
|
697
697
|
**/
|
|
698
698
|
ProxyExecuted: AugmentedEvent<ApiType, [Result<Null, SpRuntimeDispatchError>]>;
|
|
699
|
+
/**
|
|
700
|
+
* A proxy was removed.
|
|
701
|
+
**/
|
|
702
|
+
ProxyRemoved: AugmentedEvent<ApiType, [AccountId32, AccountId32, PolkadotRuntimeProxyType, u32]>;
|
|
699
703
|
/**
|
|
700
704
|
* Generic event
|
|
701
705
|
**/
|
package/polkadot/tx.d.ts
CHANGED
|
@@ -4383,10 +4383,13 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4383
4383
|
interior?: any;
|
|
4384
4384
|
} | string | Uint8Array, xcmVersion: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmV1MultiLocation, u32]>;
|
|
4385
4385
|
/**
|
|
4386
|
-
* Transfer some assets from the local chain to the sovereign account of a destination
|
|
4387
|
-
* a notification XCM.
|
|
4386
|
+
* Transfer some assets from the local chain to the sovereign account of a destination
|
|
4387
|
+
* chain and forward a notification XCM.
|
|
4388
4388
|
*
|
|
4389
|
-
* Fee payment on the destination side is made from the
|
|
4389
|
+
* Fee payment on the destination side is made from the asset in the `assets` vector of
|
|
4390
|
+
* index `fee_asset_item`, up to enough to pay for `weight_limit` of weight. If more weight
|
|
4391
|
+
* is needed than `weight_limit`, then the operation will fail and the assets send may be
|
|
4392
|
+
* at risk.
|
|
4390
4393
|
*
|
|
4391
4394
|
* - `origin`: Must be capable of withdrawing the `assets` and executing XCM.
|
|
4392
4395
|
* - `dest`: Destination context for the assets. Will typically be `X2(Parent, Parachain(..))` to send
|
|
@@ -4419,7 +4422,10 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4419
4422
|
/**
|
|
4420
4423
|
* Teleport some assets from the local chain to some destination chain.
|
|
4421
4424
|
*
|
|
4422
|
-
* Fee payment on the destination side is made from the
|
|
4425
|
+
* Fee payment on the destination side is made from the asset in the `assets` vector of
|
|
4426
|
+
* index `fee_asset_item`, up to enough to pay for `weight_limit` of weight. If more weight
|
|
4427
|
+
* is needed than `weight_limit`, then the operation will fail and the assets send may be
|
|
4428
|
+
* at risk.
|
|
4423
4429
|
*
|
|
4424
4430
|
* - `origin`: Must be capable of withdrawing the `assets` and executing XCM.
|
|
4425
4431
|
* - `dest`: Destination context for the assets. Will typically be `X2(Parent, Parachain(..))` to send
|
|
@@ -4450,12 +4456,12 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4450
4456
|
Limited: any;
|
|
4451
4457
|
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedMultiLocation, XcmVersionedMultiLocation, XcmVersionedMultiAssets, u32, XcmV2WeightLimit]>;
|
|
4452
4458
|
/**
|
|
4453
|
-
* Transfer some assets from the local chain to the sovereign account of a destination
|
|
4454
|
-
* a notification XCM.
|
|
4459
|
+
* Transfer some assets from the local chain to the sovereign account of a destination
|
|
4460
|
+
* chain and forward a notification XCM.
|
|
4455
4461
|
*
|
|
4456
|
-
* Fee payment on the destination side is made from the
|
|
4457
|
-
*
|
|
4458
|
-
*
|
|
4462
|
+
* Fee payment on the destination side is made from the asset in the `assets` vector of
|
|
4463
|
+
* index `fee_asset_item`. The weight limit for fees is not provided and thus is unlimited,
|
|
4464
|
+
* with all fees taken as needed from the asset.
|
|
4459
4465
|
*
|
|
4460
4466
|
* - `origin`: Must be capable of withdrawing the `assets` and executing XCM.
|
|
4461
4467
|
* - `dest`: Destination context for the assets. Will typically be `X2(Parent, Parachain(..))` to send
|
|
@@ -4494,9 +4500,9 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4494
4500
|
/**
|
|
4495
4501
|
* Teleport some assets from the local chain to some destination chain.
|
|
4496
4502
|
*
|
|
4497
|
-
* Fee payment on the destination side is made from the
|
|
4498
|
-
*
|
|
4499
|
-
*
|
|
4503
|
+
* Fee payment on the destination side is made from the asset in the `assets` vector of
|
|
4504
|
+
* index `fee_asset_item`. The weight limit for fees is not provided and thus is unlimited,
|
|
4505
|
+
* with all fees taken as needed from the asset.
|
|
4500
4506
|
*
|
|
4501
4507
|
* - `origin`: Must be capable of withdrawing the `assets` and executing XCM.
|
|
4502
4508
|
* - `dest`: Destination context for the assets. Will typically be `X2(Parent, Parachain(..))` to send
|
package/substrate/consts.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import type { ApiTypes } from '@polkadot/api-base/types';
|
|
|
2
2
|
import type { Option, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
|
|
3
3
|
import type { Codec } from '@polkadot/types-codec/types';
|
|
4
4
|
import type { Perbill, Percent, Permill } from '@polkadot/types/interfaces/runtime';
|
|
5
|
-
import type { FrameSupportPalletId, FrameSupportWeightsRuntimeDbWeight, FrameSupportWeightsWeightToFeeCoefficient, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, PalletContractsSchedule,
|
|
5
|
+
import type { FrameSupportPalletId, FrameSupportWeightsRuntimeDbWeight, FrameSupportWeightsWeightToFeeCoefficient, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, PalletContractsSchedule, SpVersionRuntimeVersion } from '@polkadot/types/lookup';
|
|
6
6
|
declare module '@polkadot/api-base/types/consts' {
|
|
7
7
|
interface AugmentedConsts<ApiType extends ApiTypes> {
|
|
8
8
|
assets: {
|
|
@@ -145,11 +145,6 @@ declare module '@polkadot/api-base/types/consts' {
|
|
|
145
145
|
[key: string]: Codec;
|
|
146
146
|
};
|
|
147
147
|
bounties: {
|
|
148
|
-
/**
|
|
149
|
-
* Percentage of the curator fee that will be reserved upfront as deposit for bounty
|
|
150
|
-
* curator.
|
|
151
|
-
**/
|
|
152
|
-
bountyCuratorDeposit: Permill & AugmentedConst<ApiType>;
|
|
153
148
|
/**
|
|
154
149
|
* The amount held on deposit for placing a bounty proposal.
|
|
155
150
|
**/
|
|
@@ -166,6 +161,21 @@ declare module '@polkadot/api-base/types/consts' {
|
|
|
166
161
|
* Minimum value for a bounty.
|
|
167
162
|
**/
|
|
168
163
|
bountyValueMinimum: u128 & AugmentedConst<ApiType>;
|
|
164
|
+
/**
|
|
165
|
+
* Maximum amount of funds that should be placed in a deposit for making a proposal.
|
|
166
|
+
**/
|
|
167
|
+
curatorDepositMax: Option<u128> & AugmentedConst<ApiType>;
|
|
168
|
+
/**
|
|
169
|
+
* Minimum amount of funds that should be placed in a deposit for making a proposal.
|
|
170
|
+
**/
|
|
171
|
+
curatorDepositMin: Option<u128> & AugmentedConst<ApiType>;
|
|
172
|
+
/**
|
|
173
|
+
* The curator deposit is calculated as a percentage of the curator fee.
|
|
174
|
+
*
|
|
175
|
+
* This deposit has optional upper and lower bounds with `CuratorDepositMax` and
|
|
176
|
+
* `CuratorDepositMin`.
|
|
177
|
+
**/
|
|
178
|
+
curatorDepositMultiplier: Permill & AugmentedConst<ApiType>;
|
|
169
179
|
/**
|
|
170
180
|
* The amount held on deposit per byte within the tip report reason or bounty description.
|
|
171
181
|
**/
|
|
@@ -182,11 +192,6 @@ declare module '@polkadot/api-base/types/consts' {
|
|
|
182
192
|
[key: string]: Codec;
|
|
183
193
|
};
|
|
184
194
|
childBounties: {
|
|
185
|
-
/**
|
|
186
|
-
* Percentage of child-bounty value to be reserved as curator deposit
|
|
187
|
-
* when curator fee is zero.
|
|
188
|
-
**/
|
|
189
|
-
childBountyCuratorDepositBase: Permill & AugmentedConst<ApiType>;
|
|
190
195
|
/**
|
|
191
196
|
* Minimum value for a child-bounty.
|
|
192
197
|
**/
|
|
@@ -336,6 +341,16 @@ declare module '@polkadot/api-base/types/consts' {
|
|
|
336
341
|
[key: string]: Codec;
|
|
337
342
|
};
|
|
338
343
|
electionProviderMultiPhase: {
|
|
344
|
+
/**
|
|
345
|
+
* The maximum number of electable targets to put in the snapshot.
|
|
346
|
+
**/
|
|
347
|
+
maxElectableTargets: u16 & AugmentedConst<ApiType>;
|
|
348
|
+
/**
|
|
349
|
+
* The maximum number of electing voters to put in the snapshot. At the moment, snapshots
|
|
350
|
+
* are only over a single block, but once multi-block elections are introduced they will
|
|
351
|
+
* take place over multiple blocks.
|
|
352
|
+
**/
|
|
353
|
+
maxElectingVoters: u32 & AugmentedConst<ApiType>;
|
|
339
354
|
/**
|
|
340
355
|
* Maximum length (bytes) that the mined solution should consume.
|
|
341
356
|
*
|
|
@@ -406,15 +421,6 @@ declare module '@polkadot/api-base/types/consts' {
|
|
|
406
421
|
* Duration of the unsigned phase.
|
|
407
422
|
**/
|
|
408
423
|
unsignedPhase: u32 & AugmentedConst<ApiType>;
|
|
409
|
-
/**
|
|
410
|
-
* The maximum number of voters to put in the snapshot. At the moment, snapshots are only
|
|
411
|
-
* over a single block, but once multi-block elections are introduced they will take place
|
|
412
|
-
* over multiple blocks.
|
|
413
|
-
*
|
|
414
|
-
* Also, note the data type: If the voters are represented by a `u32` in `type
|
|
415
|
-
* CompactSolution`, the same `u32` is used here to ensure bounds are respected.
|
|
416
|
-
**/
|
|
417
|
-
voterSnapshotPerBlock: u32 & AugmentedConst<ApiType>;
|
|
418
424
|
/**
|
|
419
425
|
* Generic const
|
|
420
426
|
**/
|
|
@@ -825,16 +831,6 @@ declare module '@polkadot/api-base/types/consts' {
|
|
|
825
831
|
**/
|
|
826
832
|
[key: string]: Codec;
|
|
827
833
|
};
|
|
828
|
-
stateTrieMigration: {
|
|
829
|
-
/**
|
|
830
|
-
* The maximum limits that the signed migration could use.
|
|
831
|
-
**/
|
|
832
|
-
signedMigrationMaxLimits: PalletStateTrieMigrationMigrationLimits & AugmentedConst<ApiType>;
|
|
833
|
-
/**
|
|
834
|
-
* Generic const
|
|
835
|
-
**/
|
|
836
|
-
[key: string]: Codec;
|
|
837
|
-
};
|
|
838
834
|
system: {
|
|
839
835
|
/**
|
|
840
836
|
* Maximum number of block number to block hash mappings to keep (oldest pruned first).
|
package/substrate/errors.d.ts
CHANGED
|
@@ -1447,6 +1447,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1447
1447
|
* submitter does not have enough funds.
|
|
1448
1448
|
**/
|
|
1449
1449
|
NotEnoughFunds: AugmentedError<ApiType>;
|
|
1450
|
+
/**
|
|
1451
|
+
* Signed migration is not allowed because the maximum limit is not set yet.
|
|
1452
|
+
**/
|
|
1453
|
+
SignedMigrationNotAllowed: AugmentedError<ApiType>;
|
|
1450
1454
|
/**
|
|
1451
1455
|
* upper bound of size is exceeded,
|
|
1452
1456
|
**/
|
package/substrate/events.d.ts
CHANGED
|
@@ -659,6 +659,10 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
659
659
|
* A proxy was executed correctly, with the given.
|
|
660
660
|
**/
|
|
661
661
|
ProxyExecuted: AugmentedEvent<ApiType, [Result<Null, SpRuntimeDispatchError>]>;
|
|
662
|
+
/**
|
|
663
|
+
* A proxy was removed.
|
|
664
|
+
**/
|
|
665
|
+
ProxyRemoved: AugmentedEvent<ApiType, [AccountId32, AccountId32, NodeRuntimeProxyType, u32]>;
|
|
662
666
|
/**
|
|
663
667
|
* Generic event
|
|
664
668
|
**/
|
package/substrate/query.d.ts
CHANGED
|
@@ -1278,6 +1278,12 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1278
1278
|
* forward by any of the means provided by this pallet.
|
|
1279
1279
|
**/
|
|
1280
1280
|
migrationProcess: AugmentedQuery<ApiType, () => Observable<PalletStateTrieMigrationMigrationTask>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1281
|
+
/**
|
|
1282
|
+
* The maximum limits that the signed migration could use.
|
|
1283
|
+
*
|
|
1284
|
+
* If not set, no signed submission is allowed.
|
|
1285
|
+
**/
|
|
1286
|
+
signedMigrationMaxLimits: AugmentedQuery<ApiType, () => Observable<Option<PalletStateTrieMigrationMigrationLimits>>, []> & QueryableStorageEntry<ApiType, []>;
|
|
1281
1287
|
/**
|
|
1282
1288
|
* Generic query
|
|
1283
1289
|
**/
|
package/substrate/tx.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import type { Data } from '@polkadot/types';
|
|
|
3
3
|
import type { Bytes, Compact, Option, U8aFixed, Vec, WrapperKeepOpaque, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
|
|
4
4
|
import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
|
|
5
5
|
import type { AccountId32, Call, H256, MultiAddress, Perbill, Percent, Perquintill } from '@polkadot/types/interfaces/runtime';
|
|
6
|
-
import type { FrameSupportScheduleDispatchTime, FrameSupportScheduleMaybeHashed, NodeRuntimeOriginCaller, NodeRuntimeProxyType, NodeRuntimeSessionKeys, PalletAssetsDestroyWitness, PalletConvictionVotingConviction, PalletConvictionVotingVoteAccountVote, PalletDemocracyConviction, PalletDemocracyVoteAccountVote, PalletElectionProviderMultiPhaseRawSolution, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenRenouncing, PalletIdentityBitFlags, PalletIdentityIdentityInfo, PalletIdentityJudgement, PalletImOnlineHeartbeat, PalletImOnlineSr25519AppSr25519Signature, PalletMultisigTimepoint, PalletSocietyJudgement, PalletStakingPalletConfigOpPerbill, PalletStakingPalletConfigOpPercent, PalletStakingPalletConfigOpU128, PalletStakingPalletConfigOpU32, PalletStakingRewardDestination, PalletStakingValidatorPrefs, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletUniquesDestroyWitness, PalletVestingVestingInfo, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusSlotsEquivocationProof, SpFinalityGrandpaEquivocationProof, SpNposElectionsElectionScore, SpNposElectionsSupport, SpRuntimeHeader, SpSessionMembershipProof, SpTransactionStorageProofTransactionStorageProof } from '@polkadot/types/lookup';
|
|
6
|
+
import type { FrameSupportScheduleDispatchTime, FrameSupportScheduleMaybeHashed, NodeRuntimeOriginCaller, NodeRuntimeProxyType, NodeRuntimeSessionKeys, PalletAssetsDestroyWitness, PalletConvictionVotingConviction, PalletConvictionVotingVoteAccountVote, PalletDemocracyConviction, PalletDemocracyVoteAccountVote, PalletElectionProviderMultiPhaseRawSolution, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenRenouncing, PalletIdentityBitFlags, PalletIdentityIdentityInfo, PalletIdentityJudgement, PalletImOnlineHeartbeat, PalletImOnlineSr25519AppSr25519Signature, PalletMultisigTimepoint, PalletSocietyJudgement, PalletStakingPalletConfigOpPerbill, PalletStakingPalletConfigOpPercent, PalletStakingPalletConfigOpU128, PalletStakingPalletConfigOpU32, PalletStakingRewardDestination, PalletStakingValidatorPrefs, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletStateTrieMigrationProgress, PalletUniquesDestroyWitness, PalletVestingVestingInfo, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusSlotsEquivocationProof, SpFinalityGrandpaEquivocationProof, SpNposElectionsElectionScore, SpNposElectionsSupport, SpRuntimeHeader, SpSessionMembershipProof, SpTransactionStorageProofTransactionStorageProof } from '@polkadot/types/lookup';
|
|
7
7
|
declare module '@polkadot/api-base/types/submittable' {
|
|
8
8
|
interface AugmentedSubmittables<ApiType extends ApiTypes> {
|
|
9
9
|
assets: {
|
|
@@ -4527,6 +4527,30 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4527
4527
|
* The dispatch origin of this call must be [`Config::ControlOrigin`].
|
|
4528
4528
|
**/
|
|
4529
4529
|
controlAutoMigration: AugmentedSubmittable<(maybeConfig: Option<PalletStateTrieMigrationMigrationLimits> | null | object | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Option<PalletStateTrieMigrationMigrationLimits>]>;
|
|
4530
|
+
/**
|
|
4531
|
+
* Forcefully set the progress the running migration.
|
|
4532
|
+
*
|
|
4533
|
+
* This is only useful in one case: the next key to migrate is too big to be migrated with
|
|
4534
|
+
* a signed account, in a parachain context, and we simply want to skip it. A reasonable
|
|
4535
|
+
* example of this would be `:code:`, which is both very expensive to migrate, and commonly
|
|
4536
|
+
* used, so probably it is already migrated.
|
|
4537
|
+
*
|
|
4538
|
+
* In case you mess things up, you can also, in principle, use this to reset the migration
|
|
4539
|
+
* process.
|
|
4540
|
+
**/
|
|
4541
|
+
forceSetProgress: AugmentedSubmittable<(progressTop: PalletStateTrieMigrationProgress | {
|
|
4542
|
+
ToStart: any;
|
|
4543
|
+
} | {
|
|
4544
|
+
LastKey: any;
|
|
4545
|
+
} | {
|
|
4546
|
+
Complete: any;
|
|
4547
|
+
} | string | Uint8Array, progressChild: PalletStateTrieMigrationProgress | {
|
|
4548
|
+
ToStart: any;
|
|
4549
|
+
} | {
|
|
4550
|
+
LastKey: any;
|
|
4551
|
+
} | {
|
|
4552
|
+
Complete: any;
|
|
4553
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletStateTrieMigrationProgress, PalletStateTrieMigrationProgress]>;
|
|
4530
4554
|
/**
|
|
4531
4555
|
* Migrate the list of child keys by iterating each of them one by one.
|
|
4532
4556
|
*
|
|
@@ -4543,6 +4567,13 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4543
4567
|
* should only be used in case any keys are leftover due to a bug.
|
|
4544
4568
|
**/
|
|
4545
4569
|
migrateCustomTop: AugmentedSubmittable<(keys: Vec<Bytes> | (Bytes | string | Uint8Array)[], witnessSize: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Vec<Bytes>, u32]>;
|
|
4570
|
+
/**
|
|
4571
|
+
* Set the maximum limit of the signed migration.
|
|
4572
|
+
**/
|
|
4573
|
+
setSignedMaxLimits: AugmentedSubmittable<(limits: PalletStateTrieMigrationMigrationLimits | {
|
|
4574
|
+
size_?: any;
|
|
4575
|
+
item?: any;
|
|
4576
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletStateTrieMigrationMigrationLimits]>;
|
|
4546
4577
|
/**
|
|
4547
4578
|
* Generic tx
|
|
4548
4579
|
**/
|