@dedot/chaintypes 0.199.0 → 0.201.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/westend/errors.d.ts +5 -0
- package/westend/events.d.ts +12 -12
- package/westend/index.d.ts +1 -1
- package/westend/query.d.ts +84 -46
- package/westend/runtime.d.ts +100 -79
- package/westend/tx.d.ts +32 -32
- package/westend/types.d.ts +169 -181
- package/westend-asset-hub/consts.d.ts +0 -15
- package/westend-asset-hub/errors.d.ts +30 -41
- package/westend-asset-hub/events.d.ts +35 -37
- package/westend-asset-hub/index.d.ts +1 -1
- package/westend-asset-hub/query.d.ts +41 -55
- package/westend-asset-hub/runtime.d.ts +28 -10
- package/westend-asset-hub/tx.d.ts +147 -117
- package/westend-asset-hub/types.d.ts +178 -227
- package/westend-asset-hub/view-functions.d.ts +120 -1
- package/westend-people/index.d.ts +1 -1
- package/westend-people/query.d.ts +35 -16
- package/westend-people/runtime.d.ts +27 -5
- package/westend-people/types.d.ts +22 -13
|
@@ -91,7 +91,6 @@ export type AssetHubWestendRuntimeRuntimeEvent =
|
|
|
91
91
|
| { pallet: 'StateTrieMigration'; palletEvent: PalletStateTrieMigrationEvent }
|
|
92
92
|
| { pallet: 'Staking'; palletEvent: PalletStakingAsyncPalletEvent }
|
|
93
93
|
| { pallet: 'NominationPools'; palletEvent: PalletNominationPoolsEvent }
|
|
94
|
-
| { pallet: 'FastUnstake'; palletEvent: PalletFastUnstakeEvent }
|
|
95
94
|
| { pallet: 'VoterList'; palletEvent: PalletBagsListEvent }
|
|
96
95
|
| { pallet: 'DelegatedStaking'; palletEvent: PalletDelegatedStakingEvent }
|
|
97
96
|
| { pallet: 'StakingRcClient'; palletEvent: PalletStakingAsyncRcClientEvent }
|
|
@@ -1886,7 +1885,15 @@ export type PalletAssetsEvent =
|
|
|
1886
1885
|
/**
|
|
1887
1886
|
* Some assets were withdrawn from the account (e.g. for transaction fees).
|
|
1888
1887
|
**/
|
|
1889
|
-
| { name: 'Withdrawn'; data: { assetId: number; who: AccountId32; amount: bigint } }
|
|
1888
|
+
| { name: 'Withdrawn'; data: { assetId: number; who: AccountId32; amount: bigint } }
|
|
1889
|
+
/**
|
|
1890
|
+
* Reserve information was set or updated for `asset_id`.
|
|
1891
|
+
**/
|
|
1892
|
+
| { name: 'ReservesUpdated'; data: { assetId: number; reserves: Array<[]> } }
|
|
1893
|
+
/**
|
|
1894
|
+
* Reserve information was removed for `asset_id`.
|
|
1895
|
+
**/
|
|
1896
|
+
| { name: 'ReservesRemoved'; data: { assetId: number } };
|
|
1890
1897
|
|
|
1891
1898
|
/**
|
|
1892
1899
|
* The `Event` enum of this pallet
|
|
@@ -2392,7 +2399,26 @@ export type PalletAssetsEvent002 =
|
|
|
2392
2399
|
/**
|
|
2393
2400
|
* Some assets were withdrawn from the account (e.g. for transaction fees).
|
|
2394
2401
|
**/
|
|
2395
|
-
| { name: 'Withdrawn'; data: { assetId: StagingXcmV5Location; who: AccountId32; amount: bigint } }
|
|
2402
|
+
| { name: 'Withdrawn'; data: { assetId: StagingXcmV5Location; who: AccountId32; amount: bigint } }
|
|
2403
|
+
/**
|
|
2404
|
+
* Reserve information was set or updated for `asset_id`.
|
|
2405
|
+
**/
|
|
2406
|
+
| {
|
|
2407
|
+
name: 'ReservesUpdated';
|
|
2408
|
+
data: {
|
|
2409
|
+
assetId: StagingXcmV5Location;
|
|
2410
|
+
reserves: Array<AssetsCommonLocalAndForeignAssetsForeignAssetReserveData>;
|
|
2411
|
+
};
|
|
2412
|
+
}
|
|
2413
|
+
/**
|
|
2414
|
+
* Reserve information was removed for `asset_id`.
|
|
2415
|
+
**/
|
|
2416
|
+
| { name: 'ReservesRemoved'; data: { assetId: StagingXcmV5Location } };
|
|
2417
|
+
|
|
2418
|
+
export type AssetsCommonLocalAndForeignAssetsForeignAssetReserveData = {
|
|
2419
|
+
reserve: StagingXcmV5Location;
|
|
2420
|
+
teleportable: boolean;
|
|
2421
|
+
};
|
|
2396
2422
|
|
|
2397
2423
|
/**
|
|
2398
2424
|
* The `Event` enum of this pallet
|
|
@@ -3201,34 +3227,6 @@ export type PalletNominationPoolsClaimPermission =
|
|
|
3201
3227
|
| 'PermissionlessWithdraw'
|
|
3202
3228
|
| 'PermissionlessAll';
|
|
3203
3229
|
|
|
3204
|
-
/**
|
|
3205
|
-
* The `Event` enum of this pallet
|
|
3206
|
-
**/
|
|
3207
|
-
export type PalletFastUnstakeEvent =
|
|
3208
|
-
/**
|
|
3209
|
-
* A staker was unstaked.
|
|
3210
|
-
**/
|
|
3211
|
-
| { name: 'Unstaked'; data: { stash: AccountId32; result: Result<[], DispatchError> } }
|
|
3212
|
-
/**
|
|
3213
|
-
* A staker was slashed for requesting fast-unstake whilst being exposed.
|
|
3214
|
-
**/
|
|
3215
|
-
| { name: 'Slashed'; data: { stash: AccountId32; amount: bigint } }
|
|
3216
|
-
/**
|
|
3217
|
-
* A batch was partially checked for the given eras, but the process did not finish.
|
|
3218
|
-
**/
|
|
3219
|
-
| { name: 'BatchChecked'; data: { eras: Array<number> } }
|
|
3220
|
-
/**
|
|
3221
|
-
* A batch of a given size was terminated.
|
|
3222
|
-
*
|
|
3223
|
-
* This is always follows by a number of `Unstaked` or `Slashed` events, marking the end
|
|
3224
|
-
* of the batch. A new batch will be created upon next block.
|
|
3225
|
-
**/
|
|
3226
|
-
| { name: 'BatchFinished'; data: { size: number } }
|
|
3227
|
-
/**
|
|
3228
|
-
* An internal error happened. Operations will be paused now.
|
|
3229
|
-
**/
|
|
3230
|
-
| { name: 'InternalError' };
|
|
3231
|
-
|
|
3232
3230
|
/**
|
|
3233
3231
|
* The `Event` enum of this pallet
|
|
3234
3232
|
**/
|
|
@@ -3777,7 +3775,6 @@ export type AssetHubWestendRuntimeRuntimeCall =
|
|
|
3777
3775
|
| { pallet: 'StateTrieMigration'; palletCall: PalletStateTrieMigrationCall }
|
|
3778
3776
|
| { pallet: 'Staking'; palletCall: PalletStakingAsyncPalletCall }
|
|
3779
3777
|
| { pallet: 'NominationPools'; palletCall: PalletNominationPoolsCall }
|
|
3780
|
-
| { pallet: 'FastUnstake'; palletCall: PalletFastUnstakeCall }
|
|
3781
3778
|
| { pallet: 'VoterList'; palletCall: PalletBagsListCall }
|
|
3782
3779
|
| { pallet: 'StakingRcClient'; palletCall: PalletStakingAsyncRcClientCall }
|
|
3783
3780
|
| { pallet: 'MultiBlockElection'; palletCall: PalletElectionProviderMultiBlockCall }
|
|
@@ -3827,7 +3824,6 @@ export type AssetHubWestendRuntimeRuntimeCallLike =
|
|
|
3827
3824
|
| { pallet: 'StateTrieMigration'; palletCall: PalletStateTrieMigrationCallLike }
|
|
3828
3825
|
| { pallet: 'Staking'; palletCall: PalletStakingAsyncPalletCallLike }
|
|
3829
3826
|
| { pallet: 'NominationPools'; palletCall: PalletNominationPoolsCallLike }
|
|
3830
|
-
| { pallet: 'FastUnstake'; palletCall: PalletFastUnstakeCallLike }
|
|
3831
3827
|
| { pallet: 'VoterList'; palletCall: PalletBagsListCallLike }
|
|
3832
3828
|
| { pallet: 'StakingRcClient'; palletCall: PalletStakingAsyncRcClientCallLike }
|
|
3833
3829
|
| { pallet: 'MultiBlockElection'; palletCall: PalletElectionProviderMultiBlockCallLike }
|
|
@@ -8157,7 +8153,19 @@ export type PalletAssetsCall =
|
|
|
8157
8153
|
* (false), or transfer everything except at least the minimum balance, which will
|
|
8158
8154
|
* guarantee to keep the sender asset account alive (true).
|
|
8159
8155
|
**/
|
|
8160
|
-
| { name: 'TransferAll'; params: { id: number; dest: MultiAddress; keepAlive: boolean } }
|
|
8156
|
+
| { name: 'TransferAll'; params: { id: number; dest: MultiAddress; keepAlive: boolean } }
|
|
8157
|
+
/**
|
|
8158
|
+
* Sets the trusted reserve information of an asset.
|
|
8159
|
+
*
|
|
8160
|
+
* Origin must be the Owner of the asset `id`. The origin must conform to the configured
|
|
8161
|
+
* `CreateOrigin` or be the signed `owner` configured during asset creation.
|
|
8162
|
+
*
|
|
8163
|
+
* - `id`: The identifier of the asset.
|
|
8164
|
+
* - `reserves`: The full list of trusted reserves information.
|
|
8165
|
+
*
|
|
8166
|
+
* Emits `AssetMinBalanceChanged` event when successful.
|
|
8167
|
+
**/
|
|
8168
|
+
| { name: 'SetReserves'; params: { id: number; reserves: Array<[]> } };
|
|
8161
8169
|
|
|
8162
8170
|
export type PalletAssetsCallLike =
|
|
8163
8171
|
/**
|
|
@@ -8729,7 +8737,19 @@ export type PalletAssetsCallLike =
|
|
|
8729
8737
|
* (false), or transfer everything except at least the minimum balance, which will
|
|
8730
8738
|
* guarantee to keep the sender asset account alive (true).
|
|
8731
8739
|
**/
|
|
8732
|
-
| { name: 'TransferAll'; params: { id: number; dest: MultiAddressLike; keepAlive: boolean } }
|
|
8740
|
+
| { name: 'TransferAll'; params: { id: number; dest: MultiAddressLike; keepAlive: boolean } }
|
|
8741
|
+
/**
|
|
8742
|
+
* Sets the trusted reserve information of an asset.
|
|
8743
|
+
*
|
|
8744
|
+
* Origin must be the Owner of the asset `id`. The origin must conform to the configured
|
|
8745
|
+
* `CreateOrigin` or be the signed `owner` configured during asset creation.
|
|
8746
|
+
*
|
|
8747
|
+
* - `id`: The identifier of the asset.
|
|
8748
|
+
* - `reserves`: The full list of trusted reserves information.
|
|
8749
|
+
*
|
|
8750
|
+
* Emits `AssetMinBalanceChanged` event when successful.
|
|
8751
|
+
**/
|
|
8752
|
+
| { name: 'SetReserves'; params: { id: number; reserves: Array<[]> } };
|
|
8733
8753
|
|
|
8734
8754
|
/**
|
|
8735
8755
|
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
@@ -11712,7 +11732,22 @@ export type PalletAssetsCall002 =
|
|
|
11712
11732
|
* (false), or transfer everything except at least the minimum balance, which will
|
|
11713
11733
|
* guarantee to keep the sender asset account alive (true).
|
|
11714
11734
|
**/
|
|
11715
|
-
| { name: 'TransferAll'; params: { id: StagingXcmV5Location; dest: MultiAddress; keepAlive: boolean } }
|
|
11735
|
+
| { name: 'TransferAll'; params: { id: StagingXcmV5Location; dest: MultiAddress; keepAlive: boolean } }
|
|
11736
|
+
/**
|
|
11737
|
+
* Sets the trusted reserve information of an asset.
|
|
11738
|
+
*
|
|
11739
|
+
* Origin must be the Owner of the asset `id`. The origin must conform to the configured
|
|
11740
|
+
* `CreateOrigin` or be the signed `owner` configured during asset creation.
|
|
11741
|
+
*
|
|
11742
|
+
* - `id`: The identifier of the asset.
|
|
11743
|
+
* - `reserves`: The full list of trusted reserves information.
|
|
11744
|
+
*
|
|
11745
|
+
* Emits `AssetMinBalanceChanged` event when successful.
|
|
11746
|
+
**/
|
|
11747
|
+
| {
|
|
11748
|
+
name: 'SetReserves';
|
|
11749
|
+
params: { id: StagingXcmV5Location; reserves: Array<AssetsCommonLocalAndForeignAssetsForeignAssetReserveData> };
|
|
11750
|
+
};
|
|
11716
11751
|
|
|
11717
11752
|
export type PalletAssetsCallLike002 =
|
|
11718
11753
|
/**
|
|
@@ -12298,7 +12333,22 @@ export type PalletAssetsCallLike002 =
|
|
|
12298
12333
|
* (false), or transfer everything except at least the minimum balance, which will
|
|
12299
12334
|
* guarantee to keep the sender asset account alive (true).
|
|
12300
12335
|
**/
|
|
12301
|
-
| { name: 'TransferAll'; params: { id: StagingXcmV5Location; dest: MultiAddressLike; keepAlive: boolean } }
|
|
12336
|
+
| { name: 'TransferAll'; params: { id: StagingXcmV5Location; dest: MultiAddressLike; keepAlive: boolean } }
|
|
12337
|
+
/**
|
|
12338
|
+
* Sets the trusted reserve information of an asset.
|
|
12339
|
+
*
|
|
12340
|
+
* Origin must be the Owner of the asset `id`. The origin must conform to the configured
|
|
12341
|
+
* `CreateOrigin` or be the signed `owner` configured during asset creation.
|
|
12342
|
+
*
|
|
12343
|
+
* - `id`: The identifier of the asset.
|
|
12344
|
+
* - `reserves`: The full list of trusted reserves information.
|
|
12345
|
+
*
|
|
12346
|
+
* Emits `AssetMinBalanceChanged` event when successful.
|
|
12347
|
+
**/
|
|
12348
|
+
| {
|
|
12349
|
+
name: 'SetReserves';
|
|
12350
|
+
params: { id: StagingXcmV5Location; reserves: Array<AssetsCommonLocalAndForeignAssetsForeignAssetReserveData> };
|
|
12351
|
+
};
|
|
12302
12352
|
|
|
12303
12353
|
/**
|
|
12304
12354
|
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
@@ -12967,7 +13017,19 @@ export type PalletAssetsCall003 =
|
|
|
12967
13017
|
* (false), or transfer everything except at least the minimum balance, which will
|
|
12968
13018
|
* guarantee to keep the sender asset account alive (true).
|
|
12969
13019
|
**/
|
|
12970
|
-
| { name: 'TransferAll'; params: { id: number; dest: MultiAddress; keepAlive: boolean } }
|
|
13020
|
+
| { name: 'TransferAll'; params: { id: number; dest: MultiAddress; keepAlive: boolean } }
|
|
13021
|
+
/**
|
|
13022
|
+
* Sets the trusted reserve information of an asset.
|
|
13023
|
+
*
|
|
13024
|
+
* Origin must be the Owner of the asset `id`. The origin must conform to the configured
|
|
13025
|
+
* `CreateOrigin` or be the signed `owner` configured during asset creation.
|
|
13026
|
+
*
|
|
13027
|
+
* - `id`: The identifier of the asset.
|
|
13028
|
+
* - `reserves`: The full list of trusted reserves information.
|
|
13029
|
+
*
|
|
13030
|
+
* Emits `AssetMinBalanceChanged` event when successful.
|
|
13031
|
+
**/
|
|
13032
|
+
| { name: 'SetReserves'; params: { id: number; reserves: Array<[]> } };
|
|
12971
13033
|
|
|
12972
13034
|
export type PalletAssetsCallLike003 =
|
|
12973
13035
|
/**
|
|
@@ -13539,7 +13601,19 @@ export type PalletAssetsCallLike003 =
|
|
|
13539
13601
|
* (false), or transfer everything except at least the minimum balance, which will
|
|
13540
13602
|
* guarantee to keep the sender asset account alive (true).
|
|
13541
13603
|
**/
|
|
13542
|
-
| { name: 'TransferAll'; params: { id: number; dest: MultiAddressLike; keepAlive: boolean } }
|
|
13604
|
+
| { name: 'TransferAll'; params: { id: number; dest: MultiAddressLike; keepAlive: boolean } }
|
|
13605
|
+
/**
|
|
13606
|
+
* Sets the trusted reserve information of an asset.
|
|
13607
|
+
*
|
|
13608
|
+
* Origin must be the Owner of the asset `id`. The origin must conform to the configured
|
|
13609
|
+
* `CreateOrigin` or be the signed `owner` configured during asset creation.
|
|
13610
|
+
*
|
|
13611
|
+
* - `id`: The identifier of the asset.
|
|
13612
|
+
* - `reserves`: The full list of trusted reserves information.
|
|
13613
|
+
*
|
|
13614
|
+
* Emits `AssetMinBalanceChanged` event when successful.
|
|
13615
|
+
**/
|
|
13616
|
+
| { name: 'SetReserves'; params: { id: number; reserves: Array<[]> } };
|
|
13543
13617
|
|
|
13544
13618
|
/**
|
|
13545
13619
|
* Pallet's callable functions.
|
|
@@ -13906,6 +13980,19 @@ export type PalletReviveCall =
|
|
|
13906
13980
|
encodedLen: number;
|
|
13907
13981
|
};
|
|
13908
13982
|
}
|
|
13983
|
+
/**
|
|
13984
|
+
* Executes a Substrate runtime call from an Ethereum transaction.
|
|
13985
|
+
*
|
|
13986
|
+
* This dispatchable is intended to be called **only** through the EVM compatibility
|
|
13987
|
+
* layer. The provided call will be dispatched using `RawOrigin::Signed`.
|
|
13988
|
+
*
|
|
13989
|
+
* # Parameters
|
|
13990
|
+
*
|
|
13991
|
+
* * `origin`: Must be an [`Origin::EthTransaction`] origin.
|
|
13992
|
+
* * `call`: The Substrate runtime call to execute.
|
|
13993
|
+
* * `transaction_encoded`: The RLP encoding of the Ethereum transaction,
|
|
13994
|
+
**/
|
|
13995
|
+
| { name: 'EthSubstrateCall'; params: { call: AssetHubWestendRuntimeRuntimeCall; transactionEncoded: Bytes } }
|
|
13909
13996
|
/**
|
|
13910
13997
|
* Upload new `code` without instantiating a contract from it.
|
|
13911
13998
|
*
|
|
@@ -14119,6 +14206,19 @@ export type PalletReviveCallLike =
|
|
|
14119
14206
|
encodedLen: number;
|
|
14120
14207
|
};
|
|
14121
14208
|
}
|
|
14209
|
+
/**
|
|
14210
|
+
* Executes a Substrate runtime call from an Ethereum transaction.
|
|
14211
|
+
*
|
|
14212
|
+
* This dispatchable is intended to be called **only** through the EVM compatibility
|
|
14213
|
+
* layer. The provided call will be dispatched using `RawOrigin::Signed`.
|
|
14214
|
+
*
|
|
14215
|
+
* # Parameters
|
|
14216
|
+
*
|
|
14217
|
+
* * `origin`: Must be an [`Origin::EthTransaction`] origin.
|
|
14218
|
+
* * `call`: The Substrate runtime call to execute.
|
|
14219
|
+
* * `transaction_encoded`: The RLP encoding of the Ethereum transaction,
|
|
14220
|
+
**/
|
|
14221
|
+
| { name: 'EthSubstrateCall'; params: { call: AssetHubWestendRuntimeRuntimeCallLike; transactionEncoded: BytesLike } }
|
|
14122
14222
|
/**
|
|
14123
14223
|
* Upload new `code` without instantiating a contract from it.
|
|
14124
14224
|
*
|
|
@@ -16244,145 +16344,6 @@ export type PalletNominationPoolsConfigOp004 =
|
|
|
16244
16344
|
| { type: 'Set'; value: AccountId32 }
|
|
16245
16345
|
| { type: 'Remove' };
|
|
16246
16346
|
|
|
16247
|
-
/**
|
|
16248
|
-
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
16249
|
-
**/
|
|
16250
|
-
export type PalletFastUnstakeCall =
|
|
16251
|
-
/**
|
|
16252
|
-
* Register oneself for fast-unstake.
|
|
16253
|
-
*
|
|
16254
|
-
* ## Dispatch Origin
|
|
16255
|
-
*
|
|
16256
|
-
* The dispatch origin of this call must be *signed* by whoever is permitted to call
|
|
16257
|
-
* unbond funds by the staking system. See [`Config::Staking`].
|
|
16258
|
-
*
|
|
16259
|
-
* ## Details
|
|
16260
|
-
*
|
|
16261
|
-
* The stash associated with the origin must have no ongoing unlocking chunks. If
|
|
16262
|
-
* successful, this will fully unbond and chill the stash. Then, it will enqueue the stash
|
|
16263
|
-
* to be checked in further blocks.
|
|
16264
|
-
*
|
|
16265
|
-
* If by the time this is called, the stash is actually eligible for fast-unstake, then
|
|
16266
|
-
* they are guaranteed to remain eligible, because the call will chill them as well.
|
|
16267
|
-
*
|
|
16268
|
-
* If the check works, the entire staking data is removed, i.e. the stash is fully
|
|
16269
|
-
* unstaked.
|
|
16270
|
-
*
|
|
16271
|
-
* If the check fails, the stash remains chilled and waiting for being unbonded as in with
|
|
16272
|
-
* the normal staking system, but they lose part of their unbonding chunks due to consuming
|
|
16273
|
-
* the chain's resources.
|
|
16274
|
-
*
|
|
16275
|
-
* ## Events
|
|
16276
|
-
*
|
|
16277
|
-
* Some events from the staking and currency system might be emitted.
|
|
16278
|
-
**/
|
|
16279
|
-
| { name: 'RegisterFastUnstake' }
|
|
16280
|
-
/**
|
|
16281
|
-
* Deregister oneself from the fast-unstake.
|
|
16282
|
-
*
|
|
16283
|
-
* ## Dispatch Origin
|
|
16284
|
-
*
|
|
16285
|
-
* The dispatch origin of this call must be *signed* by whoever is permitted to call
|
|
16286
|
-
* unbond funds by the staking system. See [`Config::Staking`].
|
|
16287
|
-
*
|
|
16288
|
-
* ## Details
|
|
16289
|
-
*
|
|
16290
|
-
* This is useful if one is registered, they are still waiting, and they change their mind.
|
|
16291
|
-
*
|
|
16292
|
-
* Note that the associated stash is still fully unbonded and chilled as a consequence of
|
|
16293
|
-
* calling [`Pallet::register_fast_unstake`]. Therefore, this should probably be followed
|
|
16294
|
-
* by a call to `rebond` in the staking system.
|
|
16295
|
-
*
|
|
16296
|
-
* ## Events
|
|
16297
|
-
*
|
|
16298
|
-
* Some events from the staking and currency system might be emitted.
|
|
16299
|
-
**/
|
|
16300
|
-
| { name: 'Deregister' }
|
|
16301
|
-
/**
|
|
16302
|
-
* Control the operation of this pallet.
|
|
16303
|
-
*
|
|
16304
|
-
* ## Dispatch Origin
|
|
16305
|
-
*
|
|
16306
|
-
* The dispatch origin of this call must be [`Config::ControlOrigin`].
|
|
16307
|
-
*
|
|
16308
|
-
* ## Details
|
|
16309
|
-
*
|
|
16310
|
-
* Can set the number of eras to check per block, and potentially other admin work.
|
|
16311
|
-
*
|
|
16312
|
-
* ## Events
|
|
16313
|
-
*
|
|
16314
|
-
* No events are emitted from this dispatch.
|
|
16315
|
-
**/
|
|
16316
|
-
| { name: 'Control'; params: { erasToCheck: number } };
|
|
16317
|
-
|
|
16318
|
-
export type PalletFastUnstakeCallLike =
|
|
16319
|
-
/**
|
|
16320
|
-
* Register oneself for fast-unstake.
|
|
16321
|
-
*
|
|
16322
|
-
* ## Dispatch Origin
|
|
16323
|
-
*
|
|
16324
|
-
* The dispatch origin of this call must be *signed* by whoever is permitted to call
|
|
16325
|
-
* unbond funds by the staking system. See [`Config::Staking`].
|
|
16326
|
-
*
|
|
16327
|
-
* ## Details
|
|
16328
|
-
*
|
|
16329
|
-
* The stash associated with the origin must have no ongoing unlocking chunks. If
|
|
16330
|
-
* successful, this will fully unbond and chill the stash. Then, it will enqueue the stash
|
|
16331
|
-
* to be checked in further blocks.
|
|
16332
|
-
*
|
|
16333
|
-
* If by the time this is called, the stash is actually eligible for fast-unstake, then
|
|
16334
|
-
* they are guaranteed to remain eligible, because the call will chill them as well.
|
|
16335
|
-
*
|
|
16336
|
-
* If the check works, the entire staking data is removed, i.e. the stash is fully
|
|
16337
|
-
* unstaked.
|
|
16338
|
-
*
|
|
16339
|
-
* If the check fails, the stash remains chilled and waiting for being unbonded as in with
|
|
16340
|
-
* the normal staking system, but they lose part of their unbonding chunks due to consuming
|
|
16341
|
-
* the chain's resources.
|
|
16342
|
-
*
|
|
16343
|
-
* ## Events
|
|
16344
|
-
*
|
|
16345
|
-
* Some events from the staking and currency system might be emitted.
|
|
16346
|
-
**/
|
|
16347
|
-
| { name: 'RegisterFastUnstake' }
|
|
16348
|
-
/**
|
|
16349
|
-
* Deregister oneself from the fast-unstake.
|
|
16350
|
-
*
|
|
16351
|
-
* ## Dispatch Origin
|
|
16352
|
-
*
|
|
16353
|
-
* The dispatch origin of this call must be *signed* by whoever is permitted to call
|
|
16354
|
-
* unbond funds by the staking system. See [`Config::Staking`].
|
|
16355
|
-
*
|
|
16356
|
-
* ## Details
|
|
16357
|
-
*
|
|
16358
|
-
* This is useful if one is registered, they are still waiting, and they change their mind.
|
|
16359
|
-
*
|
|
16360
|
-
* Note that the associated stash is still fully unbonded and chilled as a consequence of
|
|
16361
|
-
* calling [`Pallet::register_fast_unstake`]. Therefore, this should probably be followed
|
|
16362
|
-
* by a call to `rebond` in the staking system.
|
|
16363
|
-
*
|
|
16364
|
-
* ## Events
|
|
16365
|
-
*
|
|
16366
|
-
* Some events from the staking and currency system might be emitted.
|
|
16367
|
-
**/
|
|
16368
|
-
| { name: 'Deregister' }
|
|
16369
|
-
/**
|
|
16370
|
-
* Control the operation of this pallet.
|
|
16371
|
-
*
|
|
16372
|
-
* ## Dispatch Origin
|
|
16373
|
-
*
|
|
16374
|
-
* The dispatch origin of this call must be [`Config::ControlOrigin`].
|
|
16375
|
-
*
|
|
16376
|
-
* ## Details
|
|
16377
|
-
*
|
|
16378
|
-
* Can set the number of eras to check per block, and potentially other admin work.
|
|
16379
|
-
*
|
|
16380
|
-
* ## Events
|
|
16381
|
-
*
|
|
16382
|
-
* No events are emitted from this dispatch.
|
|
16383
|
-
**/
|
|
16384
|
-
| { name: 'Control'; params: { erasToCheck: number } };
|
|
16385
|
-
|
|
16386
16347
|
/**
|
|
16387
16348
|
* Contains a variant per dispatchable extrinsic that this pallet has.
|
|
16388
16349
|
**/
|
|
@@ -16491,27 +16452,31 @@ export type PalletElectionProviderMultiBlockCall =
|
|
|
16491
16452
|
/**
|
|
16492
16453
|
* Manage this pallet.
|
|
16493
16454
|
*
|
|
16494
|
-
* The origin of this call must be [`Config::
|
|
16455
|
+
* The origin of this call must be [`Config::ManagerOrigin`].
|
|
16495
16456
|
*
|
|
16496
|
-
* See [`
|
|
16457
|
+
* See [`ManagerOperation`] for various operations that are possible.
|
|
16497
16458
|
**/
|
|
16498
|
-
{ name: 'Manage'; params: { op:
|
|
16459
|
+
| { name: 'Manage'; params: { op: PalletElectionProviderMultiBlockManagerOperation } }
|
|
16460
|
+
| { name: 'Admin'; params: { op: PalletElectionProviderMultiBlockAdminOperation } };
|
|
16499
16461
|
|
|
16500
16462
|
export type PalletElectionProviderMultiBlockCallLike =
|
|
16501
16463
|
/**
|
|
16502
16464
|
* Manage this pallet.
|
|
16503
16465
|
*
|
|
16504
|
-
* The origin of this call must be [`Config::
|
|
16466
|
+
* The origin of this call must be [`Config::ManagerOrigin`].
|
|
16505
16467
|
*
|
|
16506
|
-
* See [`
|
|
16468
|
+
* See [`ManagerOperation`] for various operations that are possible.
|
|
16507
16469
|
**/
|
|
16508
|
-
{ name: 'Manage'; params: { op:
|
|
16470
|
+
| { name: 'Manage'; params: { op: PalletElectionProviderMultiBlockManagerOperation } }
|
|
16471
|
+
| { name: 'Admin'; params: { op: PalletElectionProviderMultiBlockAdminOperation } };
|
|
16509
16472
|
|
|
16510
|
-
export type
|
|
16473
|
+
export type PalletElectionProviderMultiBlockManagerOperation =
|
|
16511
16474
|
| { type: 'ForceRotateRound' }
|
|
16512
16475
|
| { type: 'ForceSetPhase'; value: PalletElectionProviderMultiBlockPhase }
|
|
16476
|
+
| { type: 'EmergencyFallback' };
|
|
16477
|
+
|
|
16478
|
+
export type PalletElectionProviderMultiBlockAdminOperation =
|
|
16513
16479
|
| { type: 'EmergencySetSolution'; value: [FrameElectionProviderSupportBoundedSupports, SpNposElectionsElectionScore] }
|
|
16514
|
-
| { type: 'EmergencyFallback' }
|
|
16515
16480
|
| { type: 'SetMinUntrustedScore'; value: SpNposElectionsElectionScore };
|
|
16516
16481
|
|
|
16517
16482
|
export type FrameElectionProviderSupportBoundedSupports = Array<
|
|
@@ -19086,7 +19051,11 @@ export type PalletAssetsError =
|
|
|
19086
19051
|
/**
|
|
19087
19052
|
* The asset cannot be destroyed because some accounts for this asset contain holds.
|
|
19088
19053
|
**/
|
|
19089
|
-
| 'ContainsHolds'
|
|
19054
|
+
| 'ContainsHolds'
|
|
19055
|
+
/**
|
|
19056
|
+
* Tried setting too many reserves.
|
|
19057
|
+
**/
|
|
19058
|
+
| 'TooManyReserves';
|
|
19090
19059
|
|
|
19091
19060
|
export type PalletUniquesCollectionDetails = {
|
|
19092
19061
|
owner: AccountId32;
|
|
@@ -19778,11 +19747,13 @@ export type PalletReviveEvmApiRpcTypesGenWithdrawal = {
|
|
|
19778
19747
|
validatorIndex: U256;
|
|
19779
19748
|
};
|
|
19780
19749
|
|
|
19781
|
-
export type PalletReviveEvmBlockHashReceiptGasInfo = { gasUsed: U256 };
|
|
19750
|
+
export type PalletReviveEvmBlockHashReceiptGasInfo = { gasUsed: U256; effectiveGasPrice: U256 };
|
|
19782
19751
|
|
|
19783
19752
|
export type PalletReviveEvmBlockHashBlockBuilderEthereumBlockBuilderIR = {
|
|
19784
19753
|
transactionRootBuilder: PalletReviveEvmBlockHashHashBuilderIncrementalHashBuilderIR;
|
|
19785
19754
|
receiptsRootBuilder: PalletReviveEvmBlockHashHashBuilderIncrementalHashBuilderIR;
|
|
19755
|
+
baseFeePerGas: U256;
|
|
19756
|
+
blockGasLimit: U256;
|
|
19786
19757
|
gasUsed: U256;
|
|
19787
19758
|
logsBloom: FixedBytes<256>;
|
|
19788
19759
|
txHashes: Array<H256>;
|
|
@@ -20023,7 +19994,20 @@ export type PalletReviveError =
|
|
|
20023
19994
|
*
|
|
20024
19995
|
* This happens if the passed `gas` inside the ethereum transaction is too low.
|
|
20025
19996
|
**/
|
|
20026
|
-
| 'TxFeeOverdraw'
|
|
19997
|
+
| 'TxFeeOverdraw'
|
|
19998
|
+
/**
|
|
19999
|
+
* When calling an EVM constructor `data` has to be empty.
|
|
20000
|
+
*
|
|
20001
|
+
* EVM constructors do not accept data. Their input data is part of the code blob itself.
|
|
20002
|
+
**/
|
|
20003
|
+
| 'EvmConstructorNonEmptyData'
|
|
20004
|
+
/**
|
|
20005
|
+
* Tried to construct an EVM contract via code hash.
|
|
20006
|
+
*
|
|
20007
|
+
* EVM contracts can only be instantiated via code upload as no initcode is
|
|
20008
|
+
* stored on-chain.
|
|
20009
|
+
**/
|
|
20010
|
+
| 'EvmConstructedFromHash';
|
|
20027
20011
|
|
|
20028
20012
|
export type PalletAssetRewardsPoolStakerInfo = { amount: bigint; rewards: bigint; rewardPerTokenPaid: bigint };
|
|
20029
20013
|
|
|
@@ -20510,39 +20494,6 @@ export type PalletNominationPoolsDefensiveError =
|
|
|
20510
20494
|
| 'DelegationUnsupported'
|
|
20511
20495
|
| 'SlashNotApplied';
|
|
20512
20496
|
|
|
20513
|
-
export type PalletFastUnstakeUnstakeRequest = { stashes: Array<[AccountId32, bigint]>; checked: Array<number> };
|
|
20514
|
-
|
|
20515
|
-
/**
|
|
20516
|
-
* The `Error` enum of this pallet.
|
|
20517
|
-
**/
|
|
20518
|
-
export type PalletFastUnstakeError =
|
|
20519
|
-
/**
|
|
20520
|
-
* The provided Controller account was not found.
|
|
20521
|
-
*
|
|
20522
|
-
* This means that the given account is not bonded.
|
|
20523
|
-
**/
|
|
20524
|
-
| 'NotController'
|
|
20525
|
-
/**
|
|
20526
|
-
* The bonded account has already been queued.
|
|
20527
|
-
**/
|
|
20528
|
-
| 'AlreadyQueued'
|
|
20529
|
-
/**
|
|
20530
|
-
* The bonded account has active unlocking chunks.
|
|
20531
|
-
**/
|
|
20532
|
-
| 'NotFullyBonded'
|
|
20533
|
-
/**
|
|
20534
|
-
* The provided un-staker is not in the `Queue`.
|
|
20535
|
-
**/
|
|
20536
|
-
| 'NotQueued'
|
|
20537
|
-
/**
|
|
20538
|
-
* The provided un-staker is already in Head, and cannot deregister.
|
|
20539
|
-
**/
|
|
20540
|
-
| 'AlreadyHead'
|
|
20541
|
-
/**
|
|
20542
|
-
* The call is not allowed at this point because the pallet is not active.
|
|
20543
|
-
**/
|
|
20544
|
-
| 'CallNotAllowed';
|
|
20545
|
-
|
|
20546
20497
|
export type PalletBagsListListNode = {
|
|
20547
20498
|
id: AccountId32;
|
|
20548
20499
|
prev?: AccountId32 | undefined;
|
|
@@ -21107,10 +21058,6 @@ export type PalletAhOpsError =
|
|
|
21107
21058
|
|
|
21108
21059
|
export type SpConsensusSlotsSlotDuration = bigint;
|
|
21109
21060
|
|
|
21110
|
-
export type CumulusPrimitivesCoreNextSlotSchedule = { numberOfBlocks: number; blockTime: Duration };
|
|
21111
|
-
|
|
21112
|
-
export type Duration = [bigint, number];
|
|
21113
|
-
|
|
21114
21061
|
export type SpRuntimeBlockLazyBlock = { header: Header; extrinsics: Array<SpRuntimeOpaqueExtrinsic> };
|
|
21115
21062
|
|
|
21116
21063
|
export type SpRuntimeOpaqueExtrinsic = Bytes;
|
|
@@ -21283,6 +21230,11 @@ export type PalletRevivePrimitivesEthTransactError =
|
|
|
21283
21230
|
| { type: 'Data'; value: Bytes }
|
|
21284
21231
|
| { type: 'Message'; value: string };
|
|
21285
21232
|
|
|
21233
|
+
export type PalletReviveEvmApiRpcTypesDryRunConfig = {
|
|
21234
|
+
timestampOverride?: bigint | undefined;
|
|
21235
|
+
reserved?: [] | undefined;
|
|
21236
|
+
};
|
|
21237
|
+
|
|
21286
21238
|
export type PalletRevivePrimitivesCodeUploadReturnValue = { codeHash: H256; deposit: bigint };
|
|
21287
21239
|
|
|
21288
21240
|
export type PalletRevivePrimitivesContractAccessError =
|
|
@@ -21384,7 +21336,6 @@ export type AssetHubWestendRuntimeRuntimeError =
|
|
|
21384
21336
|
| { pallet: 'StateTrieMigration'; palletError: PalletStateTrieMigrationError }
|
|
21385
21337
|
| { pallet: 'Staking'; palletError: PalletStakingAsyncPalletError }
|
|
21386
21338
|
| { pallet: 'NominationPools'; palletError: PalletNominationPoolsError }
|
|
21387
|
-
| { pallet: 'FastUnstake'; palletError: PalletFastUnstakeError }
|
|
21388
21339
|
| { pallet: 'VoterList'; palletError: PalletBagsListError }
|
|
21389
21340
|
| { pallet: 'DelegatedStaking'; palletError: PalletDelegatedStakingError }
|
|
21390
21341
|
| { pallet: 'MultiBlockElection'; palletError: PalletElectionProviderMultiBlockError }
|