@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
|
@@ -1,8 +1,16 @@
|
|
|
1
1
|
// Generated by dedot cli
|
|
2
2
|
|
|
3
3
|
import type { GenericChainViewFunctions, GenericViewFunction } from 'dedot/types';
|
|
4
|
-
import type { AccountId32Like } from 'dedot/codecs';
|
|
5
|
-
import type {
|
|
4
|
+
import type { AccountId32Like, Result } from 'dedot/codecs';
|
|
5
|
+
import type {
|
|
6
|
+
AssetHubPolkadotRuntimeRuntimeCallLike,
|
|
7
|
+
AssetHubPolkadotRuntimeProxyType,
|
|
8
|
+
PalletAssetsAssetDetails,
|
|
9
|
+
PalletAssetsAssetMetadata,
|
|
10
|
+
StagingXcmV5Location,
|
|
11
|
+
AssetsCommonLocalAndForeignAssetsForeignAssetReserveData,
|
|
12
|
+
PalletAssetConversionError,
|
|
13
|
+
} from './types.js';
|
|
6
14
|
|
|
7
15
|
export interface ChainViewFunctions extends GenericChainViewFunctions {
|
|
8
16
|
/**
|
|
@@ -34,6 +42,191 @@ export interface ChainViewFunctions extends GenericChainViewFunctions {
|
|
|
34
42
|
**/
|
|
35
43
|
[name: string]: GenericViewFunction;
|
|
36
44
|
};
|
|
45
|
+
/**
|
|
46
|
+
* Pallet `Assets`'s view functions
|
|
47
|
+
**/
|
|
48
|
+
assets: {
|
|
49
|
+
/**
|
|
50
|
+
* Provide the asset details for asset `id`.
|
|
51
|
+
*
|
|
52
|
+
* @param {number} id
|
|
53
|
+
**/
|
|
54
|
+
assetDetails: GenericViewFunction<(id: number) => Promise<PalletAssetsAssetDetails | undefined>>;
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* Provide the balance of `who` for asset `id`.
|
|
58
|
+
*
|
|
59
|
+
* @param {AccountId32Like} who
|
|
60
|
+
* @param {number} id
|
|
61
|
+
**/
|
|
62
|
+
balanceOf: GenericViewFunction<(who: AccountId32Like, id: number) => Promise<bigint | undefined>>;
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* Provide the configured metadata for asset `id`.
|
|
66
|
+
*
|
|
67
|
+
* @param {number} id
|
|
68
|
+
**/
|
|
69
|
+
getMetadata: GenericViewFunction<(id: number) => Promise<PalletAssetsAssetMetadata | undefined>>;
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
* Provide the configured reserves data for asset `id`.
|
|
73
|
+
*
|
|
74
|
+
* @param {number} id
|
|
75
|
+
**/
|
|
76
|
+
getReservesData: GenericViewFunction<(id: number) => Promise<Array<[]>>>;
|
|
77
|
+
|
|
78
|
+
/**
|
|
79
|
+
* Generic pallet view function
|
|
80
|
+
**/
|
|
81
|
+
[name: string]: GenericViewFunction;
|
|
82
|
+
};
|
|
83
|
+
/**
|
|
84
|
+
* Pallet `ForeignAssets`'s view functions
|
|
85
|
+
**/
|
|
86
|
+
foreignAssets: {
|
|
87
|
+
/**
|
|
88
|
+
* Provide the asset details for asset `id`.
|
|
89
|
+
*
|
|
90
|
+
* @param {StagingXcmV5Location} id
|
|
91
|
+
**/
|
|
92
|
+
assetDetails: GenericViewFunction<(id: StagingXcmV5Location) => Promise<PalletAssetsAssetDetails | undefined>>;
|
|
93
|
+
|
|
94
|
+
/**
|
|
95
|
+
* Provide the balance of `who` for asset `id`.
|
|
96
|
+
*
|
|
97
|
+
* @param {AccountId32Like} who
|
|
98
|
+
* @param {StagingXcmV5Location} id
|
|
99
|
+
**/
|
|
100
|
+
balanceOf: GenericViewFunction<(who: AccountId32Like, id: StagingXcmV5Location) => Promise<bigint | undefined>>;
|
|
101
|
+
|
|
102
|
+
/**
|
|
103
|
+
* Provide the configured metadata for asset `id`.
|
|
104
|
+
*
|
|
105
|
+
* @param {StagingXcmV5Location} id
|
|
106
|
+
**/
|
|
107
|
+
getMetadata: GenericViewFunction<(id: StagingXcmV5Location) => Promise<PalletAssetsAssetMetadata | undefined>>;
|
|
108
|
+
|
|
109
|
+
/**
|
|
110
|
+
* Provide the configured reserves data for asset `id`.
|
|
111
|
+
*
|
|
112
|
+
* @param {StagingXcmV5Location} id
|
|
113
|
+
**/
|
|
114
|
+
getReservesData: GenericViewFunction<
|
|
115
|
+
(id: StagingXcmV5Location) => Promise<Array<AssetsCommonLocalAndForeignAssetsForeignAssetReserveData>>
|
|
116
|
+
>;
|
|
117
|
+
|
|
118
|
+
/**
|
|
119
|
+
* Generic pallet view function
|
|
120
|
+
**/
|
|
121
|
+
[name: string]: GenericViewFunction;
|
|
122
|
+
};
|
|
123
|
+
/**
|
|
124
|
+
* Pallet `PoolAssets`'s view functions
|
|
125
|
+
**/
|
|
126
|
+
poolAssets: {
|
|
127
|
+
/**
|
|
128
|
+
* Provide the asset details for asset `id`.
|
|
129
|
+
*
|
|
130
|
+
* @param {number} id
|
|
131
|
+
**/
|
|
132
|
+
assetDetails: GenericViewFunction<(id: number) => Promise<PalletAssetsAssetDetails | undefined>>;
|
|
133
|
+
|
|
134
|
+
/**
|
|
135
|
+
* Provide the balance of `who` for asset `id`.
|
|
136
|
+
*
|
|
137
|
+
* @param {AccountId32Like} who
|
|
138
|
+
* @param {number} id
|
|
139
|
+
**/
|
|
140
|
+
balanceOf: GenericViewFunction<(who: AccountId32Like, id: number) => Promise<bigint | undefined>>;
|
|
141
|
+
|
|
142
|
+
/**
|
|
143
|
+
* Provide the configured metadata for asset `id`.
|
|
144
|
+
*
|
|
145
|
+
* @param {number} id
|
|
146
|
+
**/
|
|
147
|
+
getMetadata: GenericViewFunction<(id: number) => Promise<PalletAssetsAssetMetadata | undefined>>;
|
|
148
|
+
|
|
149
|
+
/**
|
|
150
|
+
* Provide the configured reserves data for asset `id`.
|
|
151
|
+
*
|
|
152
|
+
* @param {number} id
|
|
153
|
+
**/
|
|
154
|
+
getReservesData: GenericViewFunction<(id: number) => Promise<Array<[]>>>;
|
|
155
|
+
|
|
156
|
+
/**
|
|
157
|
+
* Generic pallet view function
|
|
158
|
+
**/
|
|
159
|
+
[name: string]: GenericViewFunction;
|
|
160
|
+
};
|
|
161
|
+
/**
|
|
162
|
+
* Pallet `AssetConversion`'s view functions
|
|
163
|
+
**/
|
|
164
|
+
assetConversion: {
|
|
165
|
+
/**
|
|
166
|
+
* Returns the balance of each asset in the pool.
|
|
167
|
+
* The tuple result is in the order requested (not necessarily the same as pool order).
|
|
168
|
+
*
|
|
169
|
+
* @param {StagingXcmV5Location} asset1
|
|
170
|
+
* @param {StagingXcmV5Location} asset2
|
|
171
|
+
**/
|
|
172
|
+
getReserves: GenericViewFunction<
|
|
173
|
+
(
|
|
174
|
+
asset1: StagingXcmV5Location,
|
|
175
|
+
asset2: StagingXcmV5Location,
|
|
176
|
+
) => Promise<Result<[bigint, bigint], PalletAssetConversionError>>
|
|
177
|
+
>;
|
|
178
|
+
|
|
179
|
+
/**
|
|
180
|
+
* Gets a quote for swapping an exact amount of `asset1` for `asset2`.
|
|
181
|
+
*
|
|
182
|
+
* If `include_fee` is true, the quote will include the liquidity provider fee.
|
|
183
|
+
* If the pool does not exist or has no liquidity, `None` is returned.
|
|
184
|
+
* Note that the price may have changed by the time the transaction is executed.
|
|
185
|
+
* (Use `amount_out_min` to control slippage.)
|
|
186
|
+
* Returns `Some(quoted_amount)` on success.
|
|
187
|
+
*
|
|
188
|
+
* @param {StagingXcmV5Location} asset1
|
|
189
|
+
* @param {StagingXcmV5Location} asset2
|
|
190
|
+
* @param {bigint} amount
|
|
191
|
+
* @param {boolean} includeFee
|
|
192
|
+
**/
|
|
193
|
+
quotePriceExactTokensForTokens: GenericViewFunction<
|
|
194
|
+
(
|
|
195
|
+
asset1: StagingXcmV5Location,
|
|
196
|
+
asset2: StagingXcmV5Location,
|
|
197
|
+
amount: bigint,
|
|
198
|
+
includeFee: boolean,
|
|
199
|
+
) => Promise<bigint | undefined>
|
|
200
|
+
>;
|
|
201
|
+
|
|
202
|
+
/**
|
|
203
|
+
* Gets a quote for swapping `amount` of `asset1` for an exact amount of `asset2`.
|
|
204
|
+
*
|
|
205
|
+
* If `include_fee` is true, the quote will include the liquidity provider fee.
|
|
206
|
+
* If the pool does not exist or has no liquidity, `None` is returned.
|
|
207
|
+
* Note that the price may have changed by the time the transaction is executed.
|
|
208
|
+
* (Use `amount_in_max` to control slippage.)
|
|
209
|
+
* Returns `Some(quoted_amount)` on success.
|
|
210
|
+
*
|
|
211
|
+
* @param {StagingXcmV5Location} asset1
|
|
212
|
+
* @param {StagingXcmV5Location} asset2
|
|
213
|
+
* @param {bigint} amount
|
|
214
|
+
* @param {boolean} includeFee
|
|
215
|
+
**/
|
|
216
|
+
quotePriceTokensForExactTokens: GenericViewFunction<
|
|
217
|
+
(
|
|
218
|
+
asset1: StagingXcmV5Location,
|
|
219
|
+
asset2: StagingXcmV5Location,
|
|
220
|
+
amount: bigint,
|
|
221
|
+
includeFee: boolean,
|
|
222
|
+
) => Promise<bigint | undefined>
|
|
223
|
+
>;
|
|
224
|
+
|
|
225
|
+
/**
|
|
226
|
+
* Generic pallet view function
|
|
227
|
+
**/
|
|
228
|
+
[name: string]: GenericViewFunction;
|
|
229
|
+
};
|
|
37
230
|
/**
|
|
38
231
|
* Pallet `VoterList`'s view functions
|
|
39
232
|
**/
|
|
@@ -207,6 +207,81 @@ export interface ChainConsts extends GenericChainConsts {
|
|
|
207
207
|
**/
|
|
208
208
|
[name: string]: any;
|
|
209
209
|
};
|
|
210
|
+
/**
|
|
211
|
+
* Pallet `Assets`'s constants
|
|
212
|
+
**/
|
|
213
|
+
assets: {
|
|
214
|
+
/**
|
|
215
|
+
* Max number of items to destroy per `destroy_accounts` and `destroy_approvals` call.
|
|
216
|
+
*
|
|
217
|
+
* Must be configured to result in a weight that makes each call fit in a block.
|
|
218
|
+
**/
|
|
219
|
+
removeItemsLimit: number;
|
|
220
|
+
|
|
221
|
+
/**
|
|
222
|
+
* The basic amount of funds that must be reserved for an asset.
|
|
223
|
+
**/
|
|
224
|
+
assetDeposit: bigint;
|
|
225
|
+
|
|
226
|
+
/**
|
|
227
|
+
* The amount of funds that must be reserved for a non-provider asset account to be
|
|
228
|
+
* maintained.
|
|
229
|
+
**/
|
|
230
|
+
assetAccountDeposit: bigint;
|
|
231
|
+
|
|
232
|
+
/**
|
|
233
|
+
* The basic amount of funds that must be reserved when adding metadata to your asset.
|
|
234
|
+
**/
|
|
235
|
+
metadataDepositBase: bigint;
|
|
236
|
+
|
|
237
|
+
/**
|
|
238
|
+
* The additional funds that must be reserved for the number of bytes you store in your
|
|
239
|
+
* metadata.
|
|
240
|
+
**/
|
|
241
|
+
metadataDepositPerByte: bigint;
|
|
242
|
+
|
|
243
|
+
/**
|
|
244
|
+
* The amount of funds that must be reserved when creating a new approval.
|
|
245
|
+
**/
|
|
246
|
+
approvalDeposit: bigint;
|
|
247
|
+
|
|
248
|
+
/**
|
|
249
|
+
* The maximum length of a name or symbol stored on-chain.
|
|
250
|
+
**/
|
|
251
|
+
stringLimit: number;
|
|
252
|
+
|
|
253
|
+
/**
|
|
254
|
+
* Generic pallet constant
|
|
255
|
+
**/
|
|
256
|
+
[name: string]: any;
|
|
257
|
+
};
|
|
258
|
+
/**
|
|
259
|
+
* Pallet `AssetRate`'s constants
|
|
260
|
+
**/
|
|
261
|
+
assetRate: {
|
|
262
|
+
/**
|
|
263
|
+
* Generic pallet constant
|
|
264
|
+
**/
|
|
265
|
+
[name: string]: any;
|
|
266
|
+
};
|
|
267
|
+
/**
|
|
268
|
+
* Pallet `AssetTxPayment`'s constants
|
|
269
|
+
**/
|
|
270
|
+
assetTxPayment: {
|
|
271
|
+
/**
|
|
272
|
+
* Generic pallet constant
|
|
273
|
+
**/
|
|
274
|
+
[name: string]: any;
|
|
275
|
+
};
|
|
276
|
+
/**
|
|
277
|
+
* Pallet `AssetsHolder`'s constants
|
|
278
|
+
**/
|
|
279
|
+
assetsHolder: {
|
|
280
|
+
/**
|
|
281
|
+
* Generic pallet constant
|
|
282
|
+
**/
|
|
283
|
+
[name: string]: any;
|
|
284
|
+
};
|
|
210
285
|
/**
|
|
211
286
|
* Pallet `Authorship`'s constants
|
|
212
287
|
**/
|
|
@@ -184,6 +184,176 @@ export interface ChainErrors extends GenericChainErrors {
|
|
|
184
184
|
**/
|
|
185
185
|
[error: string]: GenericPalletError;
|
|
186
186
|
};
|
|
187
|
+
/**
|
|
188
|
+
* Pallet `Assets`'s errors
|
|
189
|
+
**/
|
|
190
|
+
assets: {
|
|
191
|
+
/**
|
|
192
|
+
* Account balance must be greater than or equal to the transfer amount.
|
|
193
|
+
**/
|
|
194
|
+
BalanceLow: GenericPalletError;
|
|
195
|
+
|
|
196
|
+
/**
|
|
197
|
+
* The account to alter does not exist.
|
|
198
|
+
**/
|
|
199
|
+
NoAccount: GenericPalletError;
|
|
200
|
+
|
|
201
|
+
/**
|
|
202
|
+
* The signing account has no permission to do the operation.
|
|
203
|
+
**/
|
|
204
|
+
NoPermission: GenericPalletError;
|
|
205
|
+
|
|
206
|
+
/**
|
|
207
|
+
* The given asset ID is unknown.
|
|
208
|
+
**/
|
|
209
|
+
Unknown: GenericPalletError;
|
|
210
|
+
|
|
211
|
+
/**
|
|
212
|
+
* The origin account is frozen.
|
|
213
|
+
**/
|
|
214
|
+
Frozen: GenericPalletError;
|
|
215
|
+
|
|
216
|
+
/**
|
|
217
|
+
* The asset ID is already taken.
|
|
218
|
+
**/
|
|
219
|
+
InUse: GenericPalletError;
|
|
220
|
+
|
|
221
|
+
/**
|
|
222
|
+
* Invalid witness data given.
|
|
223
|
+
**/
|
|
224
|
+
BadWitness: GenericPalletError;
|
|
225
|
+
|
|
226
|
+
/**
|
|
227
|
+
* Minimum balance should be non-zero.
|
|
228
|
+
**/
|
|
229
|
+
MinBalanceZero: GenericPalletError;
|
|
230
|
+
|
|
231
|
+
/**
|
|
232
|
+
* Unable to increment the consumer reference counters on the account. Either no provider
|
|
233
|
+
* reference exists to allow a non-zero balance of a non-self-sufficient asset, or one
|
|
234
|
+
* fewer then the maximum number of consumers has been reached.
|
|
235
|
+
**/
|
|
236
|
+
UnavailableConsumer: GenericPalletError;
|
|
237
|
+
|
|
238
|
+
/**
|
|
239
|
+
* Invalid metadata given.
|
|
240
|
+
**/
|
|
241
|
+
BadMetadata: GenericPalletError;
|
|
242
|
+
|
|
243
|
+
/**
|
|
244
|
+
* No approval exists that would allow the transfer.
|
|
245
|
+
**/
|
|
246
|
+
Unapproved: GenericPalletError;
|
|
247
|
+
|
|
248
|
+
/**
|
|
249
|
+
* The source account would not survive the transfer and it needs to stay alive.
|
|
250
|
+
**/
|
|
251
|
+
WouldDie: GenericPalletError;
|
|
252
|
+
|
|
253
|
+
/**
|
|
254
|
+
* The asset-account already exists.
|
|
255
|
+
**/
|
|
256
|
+
AlreadyExists: GenericPalletError;
|
|
257
|
+
|
|
258
|
+
/**
|
|
259
|
+
* The asset-account doesn't have an associated deposit.
|
|
260
|
+
**/
|
|
261
|
+
NoDeposit: GenericPalletError;
|
|
262
|
+
|
|
263
|
+
/**
|
|
264
|
+
* The operation would result in funds being burned.
|
|
265
|
+
**/
|
|
266
|
+
WouldBurn: GenericPalletError;
|
|
267
|
+
|
|
268
|
+
/**
|
|
269
|
+
* The asset is a live asset and is actively being used. Usually emit for operations such
|
|
270
|
+
* as `start_destroy` which require the asset to be in a destroying state.
|
|
271
|
+
**/
|
|
272
|
+
LiveAsset: GenericPalletError;
|
|
273
|
+
|
|
274
|
+
/**
|
|
275
|
+
* The asset is not live, and likely being destroyed.
|
|
276
|
+
**/
|
|
277
|
+
AssetNotLive: GenericPalletError;
|
|
278
|
+
|
|
279
|
+
/**
|
|
280
|
+
* The asset status is not the expected status.
|
|
281
|
+
**/
|
|
282
|
+
IncorrectStatus: GenericPalletError;
|
|
283
|
+
|
|
284
|
+
/**
|
|
285
|
+
* The asset should be frozen before the given operation.
|
|
286
|
+
**/
|
|
287
|
+
NotFrozen: GenericPalletError;
|
|
288
|
+
|
|
289
|
+
/**
|
|
290
|
+
* Callback action resulted in error
|
|
291
|
+
**/
|
|
292
|
+
CallbackFailed: GenericPalletError;
|
|
293
|
+
|
|
294
|
+
/**
|
|
295
|
+
* The asset ID must be equal to the [`NextAssetId`].
|
|
296
|
+
**/
|
|
297
|
+
BadAssetId: GenericPalletError;
|
|
298
|
+
|
|
299
|
+
/**
|
|
300
|
+
* The asset cannot be destroyed because some accounts for this asset contain freezes.
|
|
301
|
+
**/
|
|
302
|
+
ContainsFreezes: GenericPalletError;
|
|
303
|
+
|
|
304
|
+
/**
|
|
305
|
+
* The asset cannot be destroyed because some accounts for this asset contain holds.
|
|
306
|
+
**/
|
|
307
|
+
ContainsHolds: GenericPalletError;
|
|
308
|
+
|
|
309
|
+
/**
|
|
310
|
+
* Tried setting too many reserves.
|
|
311
|
+
**/
|
|
312
|
+
TooManyReserves: GenericPalletError;
|
|
313
|
+
|
|
314
|
+
/**
|
|
315
|
+
* Generic pallet error
|
|
316
|
+
**/
|
|
317
|
+
[error: string]: GenericPalletError;
|
|
318
|
+
};
|
|
319
|
+
/**
|
|
320
|
+
* Pallet `AssetRate`'s errors
|
|
321
|
+
**/
|
|
322
|
+
assetRate: {
|
|
323
|
+
/**
|
|
324
|
+
* The given asset ID is unknown.
|
|
325
|
+
**/
|
|
326
|
+
UnknownAssetKind: GenericPalletError;
|
|
327
|
+
|
|
328
|
+
/**
|
|
329
|
+
* The given asset ID already has an assigned conversion rate and cannot be re-created.
|
|
330
|
+
**/
|
|
331
|
+
AlreadyExists: GenericPalletError;
|
|
332
|
+
|
|
333
|
+
/**
|
|
334
|
+
* Overflow ocurred when calculating the inverse rate.
|
|
335
|
+
**/
|
|
336
|
+
Overflow: GenericPalletError;
|
|
337
|
+
|
|
338
|
+
/**
|
|
339
|
+
* Generic pallet error
|
|
340
|
+
**/
|
|
341
|
+
[error: string]: GenericPalletError;
|
|
342
|
+
};
|
|
343
|
+
/**
|
|
344
|
+
* Pallet `AssetsHolder`'s errors
|
|
345
|
+
**/
|
|
346
|
+
assetsHolder: {
|
|
347
|
+
/**
|
|
348
|
+
* Number of holds on an account would exceed the count of `RuntimeHoldReason`.
|
|
349
|
+
**/
|
|
350
|
+
TooManyHolds: GenericPalletError;
|
|
351
|
+
|
|
352
|
+
/**
|
|
353
|
+
* Generic pallet error
|
|
354
|
+
**/
|
|
355
|
+
[error: string]: GenericPalletError;
|
|
356
|
+
};
|
|
187
357
|
/**
|
|
188
358
|
* Pallet `CollatorSelection`'s errors
|
|
189
359
|
**/
|