@dedot/chaintypes 0.232.0 → 0.234.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/hydration/consts.d.ts +119 -47
- package/hydration/errors.d.ts +91 -130
- package/hydration/events.d.ts +340 -432
- package/hydration/index.d.ts +2 -3
- package/hydration/json-rpc.d.ts +10 -17
- package/hydration/query.d.ts +157 -277
- package/hydration/runtime.d.ts +21 -123
- package/hydration/tx.d.ts +502 -315
- package/hydration/types.d.ts +1366 -1284
- package/package.json +2 -2
- package/paseo/consts.d.ts +87 -18
- package/paseo/errors.d.ts +187 -30
- package/paseo/events.d.ts +676 -80
- package/paseo/index.d.ts +1 -1
- package/paseo/query.d.ts +465 -71
- package/paseo/runtime.d.ts +85 -39
- package/paseo/tx.d.ts +1012 -165
- package/paseo/types.d.ts +8081 -6364
- package/paseo/view-functions.d.ts +75 -1
- package/paseo-asset-hub/consts.d.ts +0 -34
- package/paseo-asset-hub/errors.d.ts +0 -28
- package/paseo-asset-hub/events.d.ts +20 -205
- package/paseo-asset-hub/index.d.ts +3 -3
- package/paseo-asset-hub/query.d.ts +23 -66
- package/paseo-asset-hub/runtime.d.ts +15 -12
- package/paseo-asset-hub/tx.d.ts +127 -327
- package/paseo-asset-hub/types.d.ts +192 -513
- package/paseo-asset-hub/view-functions.d.ts +7 -7
- package/paseo-hydration/consts.d.ts +5 -0
- package/paseo-hydration/errors.d.ts +1 -1
- package/paseo-hydration/index.d.ts +1 -1
- package/paseo-hydration/json-rpc.d.ts +0 -10
- package/paseo-hydration/tx.d.ts +2 -1
- package/paseo-hydration/types.d.ts +5 -3
- package/paseo-people/consts.d.ts +75 -0
- package/paseo-people/errors.d.ts +165 -0
- package/paseo-people/events.d.ts +285 -2
- package/paseo-people/index.d.ts +5 -4
- package/paseo-people/query.d.ts +125 -0
- package/paseo-people/tx.d.ts +1286 -2
- package/paseo-people/types.d.ts +1776 -183
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import type { GenericChainViewFunctions, GenericViewFunction } from 'dedot/types';
|
|
4
4
|
import type { AccountId32Like } from 'dedot/codecs';
|
|
5
|
-
import type {
|
|
5
|
+
import type { AssetHubPolkadotRuntimeRuntimeCallLike, AssetHubPolkadotRuntimeProxyType } from './types.js';
|
|
6
6
|
|
|
7
7
|
export interface ChainViewFunctions extends GenericChainViewFunctions {
|
|
8
8
|
/**
|
|
@@ -12,21 +12,21 @@ export interface ChainViewFunctions extends GenericChainViewFunctions {
|
|
|
12
12
|
/**
|
|
13
13
|
* Check if a `RuntimeCall` is allowed for a given `ProxyType`.
|
|
14
14
|
*
|
|
15
|
-
* @param {
|
|
16
|
-
* @param {
|
|
15
|
+
* @param {AssetHubPolkadotRuntimeRuntimeCallLike} call
|
|
16
|
+
* @param {AssetHubPolkadotRuntimeProxyType} proxyType
|
|
17
17
|
**/
|
|
18
18
|
checkPermissions: GenericViewFunction<
|
|
19
|
-
(call:
|
|
19
|
+
(call: AssetHubPolkadotRuntimeRuntimeCallLike, proxyType: AssetHubPolkadotRuntimeProxyType) => Promise<boolean>
|
|
20
20
|
>;
|
|
21
21
|
|
|
22
22
|
/**
|
|
23
23
|
* Check if one `ProxyType` is a subset of another `ProxyType`.
|
|
24
24
|
*
|
|
25
|
-
* @param {
|
|
26
|
-
* @param {
|
|
25
|
+
* @param {AssetHubPolkadotRuntimeProxyType} toCheck
|
|
26
|
+
* @param {AssetHubPolkadotRuntimeProxyType} against
|
|
27
27
|
**/
|
|
28
28
|
isSuperset: GenericViewFunction<
|
|
29
|
-
(toCheck:
|
|
29
|
+
(toCheck: AssetHubPolkadotRuntimeProxyType, against: AssetHubPolkadotRuntimeProxyType) => Promise<boolean>
|
|
30
30
|
>;
|
|
31
31
|
|
|
32
32
|
/**
|
|
@@ -772,6 +772,11 @@ export interface ChainConsts extends GenericChainConsts {
|
|
|
772
772
|
nftCollectionId: bigint;
|
|
773
773
|
burnProtocolFee: Permill;
|
|
774
774
|
|
|
775
|
+
/**
|
|
776
|
+
* Destination account when hub asset is sold
|
|
777
|
+
**/
|
|
778
|
+
hubDestination: AccountId32;
|
|
779
|
+
|
|
775
780
|
/**
|
|
776
781
|
* Generic pallet constant
|
|
777
782
|
**/
|
|
@@ -1404,7 +1404,7 @@ export interface ChainErrors extends GenericChainErrors {
|
|
|
1404
1404
|
SameAssetTradeNotAllowed: GenericPalletError;
|
|
1405
1405
|
|
|
1406
1406
|
/**
|
|
1407
|
-
*
|
|
1407
|
+
* Hub asset reserve update after trade resulted in unexpected Decrease.
|
|
1408
1408
|
**/
|
|
1409
1409
|
HubAssetUpdateError: GenericPalletError;
|
|
1410
1410
|
|
|
@@ -91,16 +91,6 @@ export type ChainJsonRpcApis = Pick<
|
|
|
91
91
|
| 'eth_syncing'
|
|
92
92
|
| 'eth_uninstallFilter'
|
|
93
93
|
| 'eth_unsubscribe'
|
|
94
|
-
| 'ismp_queryChallengePeriod'
|
|
95
|
-
| 'ismp_queryChildTrieProof'
|
|
96
|
-
| 'ismp_queryConsensusState'
|
|
97
|
-
| 'ismp_queryEvents'
|
|
98
|
-
| 'ismp_queryEventsWithMetadata'
|
|
99
|
-
| 'ismp_queryRequests'
|
|
100
|
-
| 'ismp_queryResponses'
|
|
101
|
-
| 'ismp_queryStateMachineLatestHeight'
|
|
102
|
-
| 'ismp_queryStateMachineUpdateTime'
|
|
103
|
-
| 'ismp_queryStateProof'
|
|
104
94
|
| 'liquidation_getBorrowers'
|
|
105
95
|
| 'liquidation_isRunning'
|
|
106
96
|
| 'liquidation_maxTransactionsPerBlock'
|
package/paseo-hydration/tx.d.ts
CHANGED
|
@@ -6217,7 +6217,8 @@ export interface ChainTx<
|
|
|
6217
6217
|
* IF account balance is < min. existential deposit of given currency, and account is allowed to
|
|
6218
6218
|
* be dusted, the remaining balance is transferred to treasury account.
|
|
6219
6219
|
*
|
|
6220
|
-
* In case of AToken, we perform an erc20 dust, which does a wihtdraw all
|
|
6220
|
+
* In case of AToken, we perform an erc20 dust, which does a wihtdraw all to the treasury account
|
|
6221
|
+
* Note that in this case, the treasury will just receive the underlying token, not the atoken variant.
|
|
6221
6222
|
*
|
|
6222
6223
|
* The transaction fee is returned back in case of successful dusting.
|
|
6223
6224
|
*
|
|
@@ -7123,7 +7123,8 @@ export type PalletDusterCall =
|
|
|
7123
7123
|
* IF account balance is < min. existential deposit of given currency, and account is allowed to
|
|
7124
7124
|
* be dusted, the remaining balance is transferred to treasury account.
|
|
7125
7125
|
*
|
|
7126
|
-
* In case of AToken, we perform an erc20 dust, which does a wihtdraw all
|
|
7126
|
+
* In case of AToken, we perform an erc20 dust, which does a wihtdraw all to the treasury account
|
|
7127
|
+
* Note that in this case, the treasury will just receive the underlying token, not the atoken variant.
|
|
7127
7128
|
*
|
|
7128
7129
|
* The transaction fee is returned back in case of successful dusting.
|
|
7129
7130
|
*
|
|
@@ -7155,7 +7156,8 @@ export type PalletDusterCallLike =
|
|
|
7155
7156
|
* IF account balance is < min. existential deposit of given currency, and account is allowed to
|
|
7156
7157
|
* be dusted, the remaining balance is transferred to treasury account.
|
|
7157
7158
|
*
|
|
7158
|
-
* In case of AToken, we perform an erc20 dust, which does a wihtdraw all
|
|
7159
|
+
* In case of AToken, we perform an erc20 dust, which does a wihtdraw all to the treasury account
|
|
7160
|
+
* Note that in this case, the treasury will just receive the underlying token, not the atoken variant.
|
|
7159
7161
|
*
|
|
7160
7162
|
* The transaction fee is returned back in case of successful dusting.
|
|
7161
7163
|
*
|
|
@@ -18159,7 +18161,7 @@ export type PalletOmnipoolError =
|
|
|
18159
18161
|
**/
|
|
18160
18162
|
| 'SameAssetTradeNotAllowed'
|
|
18161
18163
|
/**
|
|
18162
|
-
*
|
|
18164
|
+
* Hub asset reserve update after trade resulted in unexpected Decrease.
|
|
18163
18165
|
**/
|
|
18164
18166
|
| 'HubAssetUpdateError'
|
|
18165
18167
|
/**
|
package/paseo-people/consts.d.ts
CHANGED
|
@@ -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
|
**/
|
package/paseo-people/errors.d.ts
CHANGED
|
@@ -184,6 +184,171 @@ 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
|
+
* Generic pallet error
|
|
311
|
+
**/
|
|
312
|
+
[error: string]: GenericPalletError;
|
|
313
|
+
};
|
|
314
|
+
/**
|
|
315
|
+
* Pallet `AssetRate`'s errors
|
|
316
|
+
**/
|
|
317
|
+
assetRate: {
|
|
318
|
+
/**
|
|
319
|
+
* The given asset ID is unknown.
|
|
320
|
+
**/
|
|
321
|
+
UnknownAssetKind: GenericPalletError;
|
|
322
|
+
|
|
323
|
+
/**
|
|
324
|
+
* The given asset ID already has an assigned conversion rate and cannot be re-created.
|
|
325
|
+
**/
|
|
326
|
+
AlreadyExists: GenericPalletError;
|
|
327
|
+
|
|
328
|
+
/**
|
|
329
|
+
* Overflow ocurred when calculating the inverse rate.
|
|
330
|
+
**/
|
|
331
|
+
Overflow: GenericPalletError;
|
|
332
|
+
|
|
333
|
+
/**
|
|
334
|
+
* Generic pallet error
|
|
335
|
+
**/
|
|
336
|
+
[error: string]: GenericPalletError;
|
|
337
|
+
};
|
|
338
|
+
/**
|
|
339
|
+
* Pallet `AssetsHolder`'s errors
|
|
340
|
+
**/
|
|
341
|
+
assetsHolder: {
|
|
342
|
+
/**
|
|
343
|
+
* Number of holds on an account would exceed the count of `RuntimeHoldReason`.
|
|
344
|
+
**/
|
|
345
|
+
TooManyHolds: GenericPalletError;
|
|
346
|
+
|
|
347
|
+
/**
|
|
348
|
+
* Generic pallet error
|
|
349
|
+
**/
|
|
350
|
+
[error: string]: GenericPalletError;
|
|
351
|
+
};
|
|
187
352
|
/**
|
|
188
353
|
* Pallet `CollatorSelection`'s errors
|
|
189
354
|
**/
|
package/paseo-people/events.d.ts
CHANGED
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
// Generated by dedot cli
|
|
2
2
|
|
|
3
3
|
import type { GenericChainEvents, GenericPalletEvent } from 'dedot/types';
|
|
4
|
-
import type { DispatchError, AccountId32, H256, FixedBytes, Bytes, Result } from 'dedot/codecs';
|
|
4
|
+
import type { DispatchError, AccountId32, H256, FixedBytes, Bytes, FixedU128, Result } from 'dedot/codecs';
|
|
5
5
|
import type {
|
|
6
6
|
FrameSystemDispatchEventInfo,
|
|
7
7
|
SpWeightsWeightV2Weight,
|
|
8
8
|
FrameSupportTokensMiscBalanceStatus,
|
|
9
9
|
PalletBalancesUnexpectedKind,
|
|
10
|
-
StagingXcmV5TraitsOutcome,
|
|
11
10
|
StagingXcmV5Location,
|
|
11
|
+
PeoplePaseoRuntimeRuntimeHoldReason,
|
|
12
|
+
StagingXcmV5TraitsOutcome,
|
|
12
13
|
StagingXcmV5Xcm,
|
|
13
14
|
XcmV3TraitsSendError,
|
|
14
15
|
XcmV5TraitsError,
|
|
@@ -410,6 +411,288 @@ export interface ChainEvents extends GenericChainEvents {
|
|
|
410
411
|
**/
|
|
411
412
|
[prop: string]: GenericPalletEvent;
|
|
412
413
|
};
|
|
414
|
+
/**
|
|
415
|
+
* Pallet `Assets`'s events
|
|
416
|
+
**/
|
|
417
|
+
assets: {
|
|
418
|
+
/**
|
|
419
|
+
* Some asset class was created.
|
|
420
|
+
**/
|
|
421
|
+
Created: GenericPalletEvent<
|
|
422
|
+
'Assets',
|
|
423
|
+
'Created',
|
|
424
|
+
{ assetId: StagingXcmV5Location; creator: AccountId32; owner: AccountId32 }
|
|
425
|
+
>;
|
|
426
|
+
|
|
427
|
+
/**
|
|
428
|
+
* Some assets were issued.
|
|
429
|
+
**/
|
|
430
|
+
Issued: GenericPalletEvent<
|
|
431
|
+
'Assets',
|
|
432
|
+
'Issued',
|
|
433
|
+
{ assetId: StagingXcmV5Location; owner: AccountId32; amount: bigint }
|
|
434
|
+
>;
|
|
435
|
+
|
|
436
|
+
/**
|
|
437
|
+
* Some assets were transferred.
|
|
438
|
+
**/
|
|
439
|
+
Transferred: GenericPalletEvent<
|
|
440
|
+
'Assets',
|
|
441
|
+
'Transferred',
|
|
442
|
+
{ assetId: StagingXcmV5Location; from: AccountId32; to: AccountId32; amount: bigint }
|
|
443
|
+
>;
|
|
444
|
+
|
|
445
|
+
/**
|
|
446
|
+
* Some assets were destroyed.
|
|
447
|
+
**/
|
|
448
|
+
Burned: GenericPalletEvent<
|
|
449
|
+
'Assets',
|
|
450
|
+
'Burned',
|
|
451
|
+
{ assetId: StagingXcmV5Location; owner: AccountId32; balance: bigint }
|
|
452
|
+
>;
|
|
453
|
+
|
|
454
|
+
/**
|
|
455
|
+
* The management team changed.
|
|
456
|
+
**/
|
|
457
|
+
TeamChanged: GenericPalletEvent<
|
|
458
|
+
'Assets',
|
|
459
|
+
'TeamChanged',
|
|
460
|
+
{ assetId: StagingXcmV5Location; issuer: AccountId32; admin: AccountId32; freezer: AccountId32 }
|
|
461
|
+
>;
|
|
462
|
+
|
|
463
|
+
/**
|
|
464
|
+
* The owner changed.
|
|
465
|
+
**/
|
|
466
|
+
OwnerChanged: GenericPalletEvent<'Assets', 'OwnerChanged', { assetId: StagingXcmV5Location; owner: AccountId32 }>;
|
|
467
|
+
|
|
468
|
+
/**
|
|
469
|
+
* Some account `who` was frozen.
|
|
470
|
+
**/
|
|
471
|
+
Frozen: GenericPalletEvent<'Assets', 'Frozen', { assetId: StagingXcmV5Location; who: AccountId32 }>;
|
|
472
|
+
|
|
473
|
+
/**
|
|
474
|
+
* Some account `who` was thawed.
|
|
475
|
+
**/
|
|
476
|
+
Thawed: GenericPalletEvent<'Assets', 'Thawed', { assetId: StagingXcmV5Location; who: AccountId32 }>;
|
|
477
|
+
|
|
478
|
+
/**
|
|
479
|
+
* Some asset `asset_id` was frozen.
|
|
480
|
+
**/
|
|
481
|
+
AssetFrozen: GenericPalletEvent<'Assets', 'AssetFrozen', { assetId: StagingXcmV5Location }>;
|
|
482
|
+
|
|
483
|
+
/**
|
|
484
|
+
* Some asset `asset_id` was thawed.
|
|
485
|
+
**/
|
|
486
|
+
AssetThawed: GenericPalletEvent<'Assets', 'AssetThawed', { assetId: StagingXcmV5Location }>;
|
|
487
|
+
|
|
488
|
+
/**
|
|
489
|
+
* Accounts were destroyed for given asset.
|
|
490
|
+
**/
|
|
491
|
+
AccountsDestroyed: GenericPalletEvent<
|
|
492
|
+
'Assets',
|
|
493
|
+
'AccountsDestroyed',
|
|
494
|
+
{ assetId: StagingXcmV5Location; accountsDestroyed: number; accountsRemaining: number }
|
|
495
|
+
>;
|
|
496
|
+
|
|
497
|
+
/**
|
|
498
|
+
* Approvals were destroyed for given asset.
|
|
499
|
+
**/
|
|
500
|
+
ApprovalsDestroyed: GenericPalletEvent<
|
|
501
|
+
'Assets',
|
|
502
|
+
'ApprovalsDestroyed',
|
|
503
|
+
{ assetId: StagingXcmV5Location; approvalsDestroyed: number; approvalsRemaining: number }
|
|
504
|
+
>;
|
|
505
|
+
|
|
506
|
+
/**
|
|
507
|
+
* An asset class is in the process of being destroyed.
|
|
508
|
+
**/
|
|
509
|
+
DestructionStarted: GenericPalletEvent<'Assets', 'DestructionStarted', { assetId: StagingXcmV5Location }>;
|
|
510
|
+
|
|
511
|
+
/**
|
|
512
|
+
* An asset class was destroyed.
|
|
513
|
+
**/
|
|
514
|
+
Destroyed: GenericPalletEvent<'Assets', 'Destroyed', { assetId: StagingXcmV5Location }>;
|
|
515
|
+
|
|
516
|
+
/**
|
|
517
|
+
* Some asset class was force-created.
|
|
518
|
+
**/
|
|
519
|
+
ForceCreated: GenericPalletEvent<'Assets', 'ForceCreated', { assetId: StagingXcmV5Location; owner: AccountId32 }>;
|
|
520
|
+
|
|
521
|
+
/**
|
|
522
|
+
* New metadata has been set for an asset.
|
|
523
|
+
**/
|
|
524
|
+
MetadataSet: GenericPalletEvent<
|
|
525
|
+
'Assets',
|
|
526
|
+
'MetadataSet',
|
|
527
|
+
{ assetId: StagingXcmV5Location; name: Bytes; symbol: Bytes; decimals: number; isFrozen: boolean }
|
|
528
|
+
>;
|
|
529
|
+
|
|
530
|
+
/**
|
|
531
|
+
* Metadata has been cleared for an asset.
|
|
532
|
+
**/
|
|
533
|
+
MetadataCleared: GenericPalletEvent<'Assets', 'MetadataCleared', { assetId: StagingXcmV5Location }>;
|
|
534
|
+
|
|
535
|
+
/**
|
|
536
|
+
* (Additional) funds have been approved for transfer to a destination account.
|
|
537
|
+
**/
|
|
538
|
+
ApprovedTransfer: GenericPalletEvent<
|
|
539
|
+
'Assets',
|
|
540
|
+
'ApprovedTransfer',
|
|
541
|
+
{ assetId: StagingXcmV5Location; source: AccountId32; delegate: AccountId32; amount: bigint }
|
|
542
|
+
>;
|
|
543
|
+
|
|
544
|
+
/**
|
|
545
|
+
* An approval for account `delegate` was cancelled by `owner`.
|
|
546
|
+
**/
|
|
547
|
+
ApprovalCancelled: GenericPalletEvent<
|
|
548
|
+
'Assets',
|
|
549
|
+
'ApprovalCancelled',
|
|
550
|
+
{ assetId: StagingXcmV5Location; owner: AccountId32; delegate: AccountId32 }
|
|
551
|
+
>;
|
|
552
|
+
|
|
553
|
+
/**
|
|
554
|
+
* An `amount` was transferred in its entirety from `owner` to `destination` by
|
|
555
|
+
* the approved `delegate`.
|
|
556
|
+
**/
|
|
557
|
+
TransferredApproved: GenericPalletEvent<
|
|
558
|
+
'Assets',
|
|
559
|
+
'TransferredApproved',
|
|
560
|
+
{
|
|
561
|
+
assetId: StagingXcmV5Location;
|
|
562
|
+
owner: AccountId32;
|
|
563
|
+
delegate: AccountId32;
|
|
564
|
+
destination: AccountId32;
|
|
565
|
+
amount: bigint;
|
|
566
|
+
}
|
|
567
|
+
>;
|
|
568
|
+
|
|
569
|
+
/**
|
|
570
|
+
* An asset has had its attributes changed by the `Force` origin.
|
|
571
|
+
**/
|
|
572
|
+
AssetStatusChanged: GenericPalletEvent<'Assets', 'AssetStatusChanged', { assetId: StagingXcmV5Location }>;
|
|
573
|
+
|
|
574
|
+
/**
|
|
575
|
+
* The min_balance of an asset has been updated by the asset owner.
|
|
576
|
+
**/
|
|
577
|
+
AssetMinBalanceChanged: GenericPalletEvent<
|
|
578
|
+
'Assets',
|
|
579
|
+
'AssetMinBalanceChanged',
|
|
580
|
+
{ assetId: StagingXcmV5Location; newMinBalance: bigint }
|
|
581
|
+
>;
|
|
582
|
+
|
|
583
|
+
/**
|
|
584
|
+
* Some account `who` was created with a deposit from `depositor`.
|
|
585
|
+
**/
|
|
586
|
+
Touched: GenericPalletEvent<
|
|
587
|
+
'Assets',
|
|
588
|
+
'Touched',
|
|
589
|
+
{ assetId: StagingXcmV5Location; who: AccountId32; depositor: AccountId32 }
|
|
590
|
+
>;
|
|
591
|
+
|
|
592
|
+
/**
|
|
593
|
+
* Some account `who` was blocked.
|
|
594
|
+
**/
|
|
595
|
+
Blocked: GenericPalletEvent<'Assets', 'Blocked', { assetId: StagingXcmV5Location; who: AccountId32 }>;
|
|
596
|
+
|
|
597
|
+
/**
|
|
598
|
+
* Some assets were deposited (e.g. for transaction fees).
|
|
599
|
+
**/
|
|
600
|
+
Deposited: GenericPalletEvent<
|
|
601
|
+
'Assets',
|
|
602
|
+
'Deposited',
|
|
603
|
+
{ assetId: StagingXcmV5Location; who: AccountId32; amount: bigint }
|
|
604
|
+
>;
|
|
605
|
+
|
|
606
|
+
/**
|
|
607
|
+
* Some assets were withdrawn from the account (e.g. for transaction fees).
|
|
608
|
+
**/
|
|
609
|
+
Withdrawn: GenericPalletEvent<
|
|
610
|
+
'Assets',
|
|
611
|
+
'Withdrawn',
|
|
612
|
+
{ assetId: StagingXcmV5Location; who: AccountId32; amount: bigint }
|
|
613
|
+
>;
|
|
614
|
+
|
|
615
|
+
/**
|
|
616
|
+
* Generic pallet event
|
|
617
|
+
**/
|
|
618
|
+
[prop: string]: GenericPalletEvent;
|
|
619
|
+
};
|
|
620
|
+
/**
|
|
621
|
+
* Pallet `AssetRate`'s events
|
|
622
|
+
**/
|
|
623
|
+
assetRate: {
|
|
624
|
+
AssetRateCreated: GenericPalletEvent<
|
|
625
|
+
'AssetRate',
|
|
626
|
+
'AssetRateCreated',
|
|
627
|
+
{ assetKind: StagingXcmV5Location; rate: FixedU128 }
|
|
628
|
+
>;
|
|
629
|
+
AssetRateRemoved: GenericPalletEvent<'AssetRate', 'AssetRateRemoved', { assetKind: StagingXcmV5Location }>;
|
|
630
|
+
AssetRateUpdated: GenericPalletEvent<
|
|
631
|
+
'AssetRate',
|
|
632
|
+
'AssetRateUpdated',
|
|
633
|
+
{ assetKind: StagingXcmV5Location; old: FixedU128; new: FixedU128 }
|
|
634
|
+
>;
|
|
635
|
+
|
|
636
|
+
/**
|
|
637
|
+
* Generic pallet event
|
|
638
|
+
**/
|
|
639
|
+
[prop: string]: GenericPalletEvent;
|
|
640
|
+
};
|
|
641
|
+
/**
|
|
642
|
+
* Pallet `AssetTxPayment`'s events
|
|
643
|
+
**/
|
|
644
|
+
assetTxPayment: {
|
|
645
|
+
/**
|
|
646
|
+
* A transaction fee `actual_fee`, of which `tip` was added to the minimum inclusion fee,
|
|
647
|
+
* has been paid by `who` in an asset `asset_id`.
|
|
648
|
+
**/
|
|
649
|
+
AssetTxFeePaid: GenericPalletEvent<
|
|
650
|
+
'AssetTxPayment',
|
|
651
|
+
'AssetTxFeePaid',
|
|
652
|
+
{ who: AccountId32; actualFee: bigint; tip: bigint; assetId?: StagingXcmV5Location | undefined }
|
|
653
|
+
>;
|
|
654
|
+
|
|
655
|
+
/**
|
|
656
|
+
* Generic pallet event
|
|
657
|
+
**/
|
|
658
|
+
[prop: string]: GenericPalletEvent;
|
|
659
|
+
};
|
|
660
|
+
/**
|
|
661
|
+
* Pallet `AssetsHolder`'s events
|
|
662
|
+
**/
|
|
663
|
+
assetsHolder: {
|
|
664
|
+
/**
|
|
665
|
+
* `who`s balance on hold was increased by `amount`.
|
|
666
|
+
**/
|
|
667
|
+
Held: GenericPalletEvent<
|
|
668
|
+
'AssetsHolder',
|
|
669
|
+
'Held',
|
|
670
|
+
{ who: AccountId32; assetId: StagingXcmV5Location; reason: PeoplePaseoRuntimeRuntimeHoldReason; amount: bigint }
|
|
671
|
+
>;
|
|
672
|
+
|
|
673
|
+
/**
|
|
674
|
+
* `who`s balance on hold was decreased by `amount`.
|
|
675
|
+
**/
|
|
676
|
+
Released: GenericPalletEvent<
|
|
677
|
+
'AssetsHolder',
|
|
678
|
+
'Released',
|
|
679
|
+
{ who: AccountId32; assetId: StagingXcmV5Location; reason: PeoplePaseoRuntimeRuntimeHoldReason; amount: bigint }
|
|
680
|
+
>;
|
|
681
|
+
|
|
682
|
+
/**
|
|
683
|
+
* `who`s balance on hold was burned by `amount`.
|
|
684
|
+
**/
|
|
685
|
+
Burned: GenericPalletEvent<
|
|
686
|
+
'AssetsHolder',
|
|
687
|
+
'Burned',
|
|
688
|
+
{ who: AccountId32; assetId: StagingXcmV5Location; reason: PeoplePaseoRuntimeRuntimeHoldReason; amount: bigint }
|
|
689
|
+
>;
|
|
690
|
+
|
|
691
|
+
/**
|
|
692
|
+
* Generic pallet event
|
|
693
|
+
**/
|
|
694
|
+
[prop: string]: GenericPalletEvent;
|
|
695
|
+
};
|
|
413
696
|
/**
|
|
414
697
|
* Pallet `CollatorSelection`'s events
|
|
415
698
|
**/
|