@dedot/chaintypes 0.269.0 → 0.271.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.
Files changed (41) hide show
  1. package/basilisk/consts.d.ts +9 -0
  2. package/basilisk/events.d.ts +15 -0
  3. package/basilisk/index.d.ts +1 -1
  4. package/basilisk/types.d.ts +6 -0
  5. package/hydration/consts.d.ts +0 -5
  6. package/hydration/errors.d.ts +17 -2
  7. package/hydration/events.d.ts +61 -0
  8. package/hydration/index.d.ts +1 -1
  9. package/hydration/query.d.ts +38 -0
  10. package/hydration/tx.d.ts +265 -0
  11. package/hydration/types.d.ts +333 -6
  12. package/moonbeam/index.d.ts +1 -1
  13. package/package.json +2 -2
  14. package/paseo/consts.d.ts +0 -9
  15. package/paseo/errors.d.ts +25 -108
  16. package/paseo/events.d.ts +0 -308
  17. package/paseo/index.d.ts +3 -1
  18. package/paseo/query.d.ts +82 -275
  19. package/paseo/runtime.d.ts +73 -2
  20. package/paseo/tx.d.ts +60 -375
  21. package/paseo/types.d.ts +160 -908
  22. package/paseo/view-functions.d.ts +0 -1
  23. package/paseo-people/consts.d.ts +2 -1
  24. package/paseo-people/events.d.ts +20 -0
  25. package/paseo-people/index.d.ts +3 -1
  26. package/paseo-people/json-rpc.d.ts +1 -0
  27. package/paseo-people/query.d.ts +45 -4
  28. package/paseo-people/runtime.d.ts +6 -2
  29. package/paseo-people/tx.d.ts +22 -13
  30. package/paseo-people/types.d.ts +104 -28
  31. package/paseo-people/view-functions.d.ts +38 -1
  32. package/polkadot-people/index.d.ts +1 -1
  33. package/westend-asset-hub/consts.d.ts +11 -2
  34. package/westend-asset-hub/errors.d.ts +29 -4
  35. package/westend-asset-hub/events.d.ts +60 -13
  36. package/westend-asset-hub/index.d.ts +1 -1
  37. package/westend-asset-hub/query.d.ts +100 -13
  38. package/westend-asset-hub/runtime.d.ts +59 -3
  39. package/westend-asset-hub/tx.d.ts +76 -35
  40. package/westend-asset-hub/types.d.ts +186 -58
  41. package/westend-asset-hub/view-functions.d.ts +59 -1
package/paseo/events.d.ts CHANGED
@@ -63,10 +63,6 @@ import type {
63
63
  StagingXcmV5AssetAssets,
64
64
  PolkadotRuntimeParachainsInclusionAggregateMessageOrigin,
65
65
  FrameSupportMessagesProcessMessageError,
66
- PalletRcMigratorMigrationStage,
67
- XcmV3MaybeErrorCode,
68
- PalletRcMigratorQueuePriority,
69
- PalletRcMigratorMigrationSettings,
70
66
  } from './types.js';
71
67
 
72
68
  export interface ChainEvents extends GenericChainEvents {
@@ -3041,310 +3037,6 @@ export interface ChainEvents extends GenericChainEvents {
3041
3037
  }
3042
3038
  >;
3043
3039
 
3044
- /**
3045
- * Generic pallet event
3046
- **/
3047
- [prop: string]: GenericPalletEvent;
3048
- };
3049
- /**
3050
- * Pallet `RcMigrator`'s events
3051
- **/
3052
- rcMigrator: {
3053
- /**
3054
- * A stage transition has occurred.
3055
- **/
3056
- StageTransition: GenericPalletEvent<
3057
- 'RcMigrator',
3058
- 'StageTransition',
3059
- {
3060
- /**
3061
- * The old stage before the transition.
3062
- **/
3063
- old: PalletRcMigratorMigrationStage;
3064
-
3065
- /**
3066
- * The new stage after the transition.
3067
- **/
3068
- new: PalletRcMigratorMigrationStage;
3069
- }
3070
- >;
3071
-
3072
- /**
3073
- * The Asset Hub Migration started and is active until `AssetHubMigrationFinished` is
3074
- * emitted.
3075
- *
3076
- * This event is equivalent to `StageTransition { new: Initializing, .. }` but is easier
3077
- * to understand. The activation is immediate and affects all events happening
3078
- * afterwards.
3079
- **/
3080
- AssetHubMigrationStarted: GenericPalletEvent<'RcMigrator', 'AssetHubMigrationStarted', null>;
3081
-
3082
- /**
3083
- * The Asset Hub Migration finished.
3084
- *
3085
- * This event is equivalent to `StageTransition { new: MigrationDone, .. }` but is easier
3086
- * to understand. The finishing is immediate and affects all events happening
3087
- * afterwards.
3088
- **/
3089
- AssetHubMigrationFinished: GenericPalletEvent<'RcMigrator', 'AssetHubMigrationFinished', null>;
3090
-
3091
- /**
3092
- * A query response has been received.
3093
- **/
3094
- QueryResponseReceived: GenericPalletEvent<
3095
- 'RcMigrator',
3096
- 'QueryResponseReceived',
3097
- {
3098
- /**
3099
- * The query ID.
3100
- **/
3101
- queryId: bigint;
3102
-
3103
- /**
3104
- * The response.
3105
- **/
3106
- response: XcmV3MaybeErrorCode;
3107
- }
3108
- >;
3109
-
3110
- /**
3111
- * A XCM message has been resent.
3112
- **/
3113
- XcmResendAttempt: GenericPalletEvent<
3114
- 'RcMigrator',
3115
- 'XcmResendAttempt',
3116
- {
3117
- /**
3118
- * The query ID.
3119
- **/
3120
- queryId: bigint;
3121
-
3122
- /**
3123
- * The error message.
3124
- **/
3125
- sendError?: XcmV3TraitsSendError | undefined;
3126
- }
3127
- >;
3128
-
3129
- /**
3130
- * The unprocessed message buffer size has been set.
3131
- **/
3132
- UnprocessedMsgBufferSet: GenericPalletEvent<
3133
- 'RcMigrator',
3134
- 'UnprocessedMsgBufferSet',
3135
- {
3136
- /**
3137
- * The new size.
3138
- **/
3139
- new: number;
3140
-
3141
- /**
3142
- * The old size.
3143
- **/
3144
- old: number;
3145
- }
3146
- >;
3147
-
3148
- /**
3149
- * Whether the AH UMP queue was prioritized for the next block.
3150
- **/
3151
- AhUmpQueuePrioritySet: GenericPalletEvent<
3152
- 'RcMigrator',
3153
- 'AhUmpQueuePrioritySet',
3154
- {
3155
- /**
3156
- * Indicates if AH UMP queue was successfully set as priority.
3157
- * If `false`, it means we're in the round-robin phase of our priority pattern
3158
- * (see [`Config::AhUmpQueuePriorityPattern`]), where no queue gets priority.
3159
- **/
3160
- prioritized: boolean;
3161
-
3162
- /**
3163
- * Current block number within the pattern cycle (1 to period).
3164
- **/
3165
- cycleBlock: number;
3166
-
3167
- /**
3168
- * Total number of blocks in the pattern cycle
3169
- **/
3170
- cyclePeriod: number;
3171
- }
3172
- >;
3173
-
3174
- /**
3175
- * The AH UMP queue priority config was set.
3176
- **/
3177
- AhUmpQueuePriorityConfigSet: GenericPalletEvent<
3178
- 'RcMigrator',
3179
- 'AhUmpQueuePriorityConfigSet',
3180
- {
3181
- /**
3182
- * The old priority pattern.
3183
- **/
3184
- old: PalletRcMigratorQueuePriority;
3185
-
3186
- /**
3187
- * The new priority pattern.
3188
- **/
3189
- new: PalletRcMigratorQueuePriority;
3190
- }
3191
- >;
3192
-
3193
- /**
3194
- * The total issuance was recorded.
3195
- **/
3196
- MigratedBalanceRecordSet: GenericPalletEvent<
3197
- 'RcMigrator',
3198
- 'MigratedBalanceRecordSet',
3199
- { kept: bigint; migrated: bigint }
3200
- >;
3201
-
3202
- /**
3203
- * The RC kept balance was consumed.
3204
- **/
3205
- MigratedBalanceConsumed: GenericPalletEvent<
3206
- 'RcMigrator',
3207
- 'MigratedBalanceConsumed',
3208
- { kept: bigint; migrated: bigint }
3209
- >;
3210
-
3211
- /**
3212
- * The manager account id was set.
3213
- **/
3214
- ManagerSet: GenericPalletEvent<
3215
- 'RcMigrator',
3216
- 'ManagerSet',
3217
- {
3218
- /**
3219
- * The old manager account id.
3220
- **/
3221
- old?: AccountId32 | undefined;
3222
-
3223
- /**
3224
- * The new manager account id.
3225
- **/
3226
- new?: AccountId32 | undefined;
3227
- }
3228
- >;
3229
-
3230
- /**
3231
- * An XCM message was sent.
3232
- **/
3233
- XcmSent: GenericPalletEvent<
3234
- 'RcMigrator',
3235
- 'XcmSent',
3236
- {
3237
- origin: StagingXcmV5Location;
3238
- destination: StagingXcmV5Location;
3239
- message: StagingXcmV5Xcm;
3240
- messageId: FixedBytes<32>;
3241
- }
3242
- >;
3243
-
3244
- /**
3245
- * The staking elections were paused.
3246
- **/
3247
- StakingElectionsPaused: GenericPalletEvent<'RcMigrator', 'StakingElectionsPaused', null>;
3248
-
3249
- /**
3250
- * The accounts to be preserved on Relay Chain were set.
3251
- **/
3252
- AccountsPreserved: GenericPalletEvent<
3253
- 'RcMigrator',
3254
- 'AccountsPreserved',
3255
- {
3256
- /**
3257
- * The accounts that will be preserved.
3258
- **/
3259
- accounts: Array<AccountId32>;
3260
- }
3261
- >;
3262
-
3263
- /**
3264
- * The canceller account id was set.
3265
- **/
3266
- CancellerSet: GenericPalletEvent<
3267
- 'RcMigrator',
3268
- 'CancellerSet',
3269
- {
3270
- /**
3271
- * The old canceller account id.
3272
- **/
3273
- old?: AccountId32 | undefined;
3274
-
3275
- /**
3276
- * The new canceller account id.
3277
- **/
3278
- new?: AccountId32 | undefined;
3279
- }
3280
- >;
3281
-
3282
- /**
3283
- * The migration was paused.
3284
- **/
3285
- MigrationPaused: GenericPalletEvent<
3286
- 'RcMigrator',
3287
- 'MigrationPaused',
3288
- {
3289
- /**
3290
- * The stage at which the migration was paused.
3291
- **/
3292
- pauseStage: PalletRcMigratorMigrationStage;
3293
- }
3294
- >;
3295
-
3296
- /**
3297
- * The migration was cancelled.
3298
- **/
3299
- MigrationCancelled: GenericPalletEvent<'RcMigrator', 'MigrationCancelled', null>;
3300
-
3301
- /**
3302
- * Some pure accounts were indexed for possibly receiving free `Any` proxies.
3303
- **/
3304
- PureAccountsIndexed: GenericPalletEvent<
3305
- 'RcMigrator',
3306
- 'PureAccountsIndexed',
3307
- {
3308
- /**
3309
- * The number of indexed pure accounts.
3310
- **/
3311
- numPureAccounts: number;
3312
- }
3313
- >;
3314
-
3315
- /**
3316
- * The manager multisig dispatched something.
3317
- **/
3318
- ManagerMultisigDispatched: GenericPalletEvent<
3319
- 'RcMigrator',
3320
- 'ManagerMultisigDispatched',
3321
- { res: Result<[], DispatchError> }
3322
- >;
3323
-
3324
- /**
3325
- * The manager multisig received a vote.
3326
- **/
3327
- ManagerMultisigVoted: GenericPalletEvent<'RcMigrator', 'ManagerMultisigVoted', { votes: number }>;
3328
-
3329
- /**
3330
- * The migration settings were set.
3331
- **/
3332
- MigrationSettingsSet: GenericPalletEvent<
3333
- 'RcMigrator',
3334
- 'MigrationSettingsSet',
3335
- {
3336
- /**
3337
- * The old migration settings.
3338
- **/
3339
- old?: PalletRcMigratorMigrationSettings | undefined;
3340
-
3341
- /**
3342
- * The new migration settings.
3343
- **/
3344
- new?: PalletRcMigratorMigrationSettings | undefined;
3345
- }
3346
- >;
3347
-
3348
3040
  /**
3349
3041
  * Generic pallet event
3350
3042
  **/
package/paseo/index.d.ts CHANGED
@@ -6,6 +6,7 @@ import type {
6
6
  FrameSystemEventRecord,
7
7
  PaseoRuntimeRuntimeCall,
8
8
  SpRuntimeMultiSignature,
9
+ FrameSystemExtensionsAuthorizeCall,
9
10
  FrameSystemExtensionsCheckNonZeroSender,
10
11
  FrameSystemExtensionsCheckSpecVersion,
11
12
  FrameSystemExtensionsCheckTxVersion,
@@ -33,6 +34,7 @@ interface ChainKnownTypes extends GenericChainKnownTypes {
33
34
  Signature: SpRuntimeMultiSignature;
34
35
  RuntimeCall: PaseoRuntimeRuntimeCall;
35
36
  Extra: [
37
+ FrameSystemExtensionsAuthorizeCall,
36
38
  FrameSystemExtensionsCheckNonZeroSender,
37
39
  FrameSystemExtensionsCheckSpecVersion,
38
40
  FrameSystemExtensionsCheckTxVersion,
@@ -50,7 +52,7 @@ interface ChainKnownTypes extends GenericChainKnownTypes {
50
52
 
51
53
  /**
52
54
  * @name: PaseoApi
53
- * @specVersion: 2001001
55
+ * @specVersion: 2002002
54
56
  **/
55
57
  export interface PaseoApi extends GenericSubstrateApi {
56
58
  rpc: ChainJsonRpcApis;