@polkadot/api-augment 16.2.1 → 16.3.1

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.
@@ -1,8 +1,8 @@
1
1
  import '@polkadot/api-base/types/consts';
2
2
  import type { ApiTypes, AugmentedConst } from '@polkadot/api-base/types';
3
- import type { Bytes, Option, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
3
+ import type { Bytes, Option, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
4
4
  import type { Codec } from '@polkadot/types-codec/types';
5
- import type { Permill } from '@polkadot/types/interfaces/runtime';
5
+ import type { AccountId32, Perbill, Permill } from '@polkadot/types/interfaces/runtime';
6
6
  import type { FrameSupportPalletId, FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight, StagingXcmV4Location } from '@polkadot/types/lookup';
7
7
  export type __AugmentedConst<ApiType extends ApiTypes> = AugmentedConst<ApiType>;
8
8
  declare module '@polkadot/api-base/types/consts' {
@@ -126,6 +126,37 @@ declare module '@polkadot/api-base/types/consts' {
126
126
  **/
127
127
  [key: string]: Codec;
128
128
  };
129
+ collatorSelection: {
130
+ kickThreshold: u32 & AugmentedConst<ApiType>;
131
+ /**
132
+ * Maximum number of candidates that we should have.
133
+ *
134
+ * This does not take into account the invulnerables.
135
+ **/
136
+ maxCandidates: u32 & AugmentedConst<ApiType>;
137
+ /**
138
+ * Maximum number of invulnerables.
139
+ **/
140
+ maxInvulnerables: u32 & AugmentedConst<ApiType>;
141
+ /**
142
+ * Minimum number eligible collators. Should always be greater than zero. This includes
143
+ * Invulnerable collators. This ensures that there will always be one collator who can
144
+ * produce a block.
145
+ **/
146
+ minEligibleCollators: u32 & AugmentedConst<ApiType>;
147
+ /**
148
+ * Gets this pallet's derived pot account.
149
+ **/
150
+ potAccount: AccountId32 & AugmentedConst<ApiType>;
151
+ /**
152
+ * Account Identifier from which the internal Pot is generated.
153
+ **/
154
+ potId: FrameSupportPalletId & AugmentedConst<ApiType>;
155
+ /**
156
+ * Generic const
157
+ **/
158
+ [key: string]: Codec;
159
+ };
129
160
  foreignAssets: {
130
161
  /**
131
162
  * The amount of funds that must be reserved when creating a new approval.
@@ -326,6 +357,17 @@ declare module '@polkadot/api-base/types/consts' {
326
357
  **/
327
358
  [key: string]: Codec;
328
359
  };
360
+ polkadotXcm: {
361
+ /**
362
+ * The latest supported version that we advertise. Generally just set it to
363
+ * `pallet_xcm::CurrentXcmVersion`.
364
+ **/
365
+ advertisedXcmVersion: u32 & AugmentedConst<ApiType>;
366
+ /**
367
+ * Generic const
368
+ **/
369
+ [key: string]: Codec;
370
+ };
329
371
  poolAssets: {
330
372
  /**
331
373
  * The amount of funds that must be reserved when creating a new approval.
@@ -407,6 +449,57 @@ declare module '@polkadot/api-base/types/consts' {
407
449
  **/
408
450
  [key: string]: Codec;
409
451
  };
452
+ revive: {
453
+ /**
454
+ * The [EIP-155](https://eips.ethereum.org/EIPS/eip-155) chain ID.
455
+ *
456
+ * This is a unique identifier assigned to each blockchain network,
457
+ * preventing replay attacks.
458
+ **/
459
+ chainId: u64 & AugmentedConst<ApiType>;
460
+ /**
461
+ * The percentage of the storage deposit that should be held for using a code hash.
462
+ * Instantiating a contract, protects the code from being removed. In order to prevent
463
+ * abuse these actions are protected with a percentage of the code deposit.
464
+ **/
465
+ codeHashLockupDepositPercent: Perbill & AugmentedConst<ApiType>;
466
+ /**
467
+ * The amount of balance a caller has to pay for each byte of storage.
468
+ *
469
+ * # Note
470
+ *
471
+ * It is safe to change this value on a live chain as all refunds are pro rata.
472
+ **/
473
+ depositPerByte: u128 & AugmentedConst<ApiType>;
474
+ /**
475
+ * The amount of balance a caller has to pay for each storage item.
476
+ *
477
+ * # Note
478
+ *
479
+ * It is safe to change this value on a live chain as all refunds are pro rata.
480
+ **/
481
+ depositPerItem: u128 & AugmentedConst<ApiType>;
482
+ /**
483
+ * The ratio between the decimal representation of the native token and the ETH token.
484
+ **/
485
+ nativeToEthRatio: u32 & AugmentedConst<ApiType>;
486
+ /**
487
+ * Make contract callable functions marked as `#[unstable]` available.
488
+ *
489
+ * Contracts that use `#[unstable]` functions won't be able to be uploaded unless
490
+ * this is set to `true`. This is only meant for testnets and dev nodes in order to
491
+ * experiment with new features.
492
+ *
493
+ * # Warning
494
+ *
495
+ * Do **not** set to `true` on productions chains.
496
+ **/
497
+ unsafeUnstableInterface: bool & AugmentedConst<ApiType>;
498
+ /**
499
+ * Generic const
500
+ **/
501
+ [key: string]: Codec;
502
+ };
410
503
  stateTrieMigration: {
411
504
  /**
412
505
  * Maximal number of bytes that a key can have.
@@ -133,6 +133,14 @@ declare module '@polkadot/api-base/types/errors' {
133
133
  * Callback action resulted in error
134
134
  **/
135
135
  CallbackFailed: AugmentedError<ApiType>;
136
+ /**
137
+ * The asset cannot be destroyed because some accounts for this asset contain freezes.
138
+ **/
139
+ ContainsFreezes: AugmentedError<ApiType>;
140
+ /**
141
+ * The asset cannot be destroyed because some accounts for this asset contain holds.
142
+ **/
143
+ ContainsHolds: AugmentedError<ApiType>;
136
144
  /**
137
145
  * The origin account is frozen.
138
146
  **/
@@ -354,6 +362,14 @@ declare module '@polkadot/api-base/types/errors' {
354
362
  * Callback action resulted in error
355
363
  **/
356
364
  CallbackFailed: AugmentedError<ApiType>;
365
+ /**
366
+ * The asset cannot be destroyed because some accounts for this asset contain freezes.
367
+ **/
368
+ ContainsFreezes: AugmentedError<ApiType>;
369
+ /**
370
+ * The asset cannot be destroyed because some accounts for this asset contain holds.
371
+ **/
372
+ ContainsHolds: AugmentedError<ApiType>;
357
373
  /**
358
374
  * The origin account is frozen.
359
375
  **/
@@ -488,7 +504,7 @@ declare module '@polkadot/api-base/types/errors' {
488
504
  **/
489
505
  NoApprovalsNeeded: AugmentedError<ApiType>;
490
506
  /**
491
- * Multisig operation not found when attempting to cancel.
507
+ * Multisig operation not found in storage.
492
508
  **/
493
509
  NotFound: AugmentedError<ApiType>;
494
510
  /**
@@ -496,7 +512,8 @@ declare module '@polkadot/api-base/types/errors' {
496
512
  **/
497
513
  NoTimepoint: AugmentedError<ApiType>;
498
514
  /**
499
- * Only the account that originally created the multisig is able to cancel it.
515
+ * Only the account that originally created the multisig is able to cancel it or update
516
+ * its deposits.
500
517
  **/
501
518
  NotOwner: AugmentedError<ApiType>;
502
519
  /**
@@ -741,10 +758,6 @@ declare module '@polkadot/api-base/types/errors' {
741
758
  * The inherent which supplies the host configuration did not run this block.
742
759
  **/
743
760
  HostConfigurationNotAvailable: AugmentedError<ApiType>;
744
- /**
745
- * No code upgrade has been authorized.
746
- **/
747
- NothingAuthorized: AugmentedError<ApiType>;
748
761
  /**
749
762
  * No validation function upgrade is currently scheduled.
750
763
  **/
@@ -762,10 +775,6 @@ declare module '@polkadot/api-base/types/errors' {
762
775
  * willing to run.
763
776
  **/
764
777
  TooBig: AugmentedError<ApiType>;
765
- /**
766
- * The given code upgrade has not been authorized.
767
- **/
768
- Unauthorized: AugmentedError<ApiType>;
769
778
  /**
770
779
  * The inherent which supplies the validation data did not run this block.
771
780
  **/
@@ -780,6 +789,10 @@ declare module '@polkadot/api-base/types/errors' {
780
789
  * The given account is not an identifiable sovereign account for any location.
781
790
  **/
782
791
  AccountNotSovereign: AugmentedError<ApiType>;
792
+ /**
793
+ * The alias to remove authorization for was not found.
794
+ **/
795
+ AliasNotFound: AugmentedError<ApiType>;
783
796
  /**
784
797
  * The location is invalid since it already has a subscription from us.
785
798
  **/
@@ -809,6 +822,10 @@ declare module '@polkadot/api-base/types/errors' {
809
822
  * The assets to be sent are empty.
810
823
  **/
811
824
  Empty: AugmentedError<ApiType>;
825
+ /**
826
+ * Expiry block number is in the past.
827
+ **/
828
+ ExpiresInPast: AugmentedError<ApiType>;
812
829
  /**
813
830
  * The operation required fees to be paid which the initiator could not meet.
814
831
  **/
@@ -858,6 +875,10 @@ declare module '@polkadot/api-base/types/errors' {
858
875
  * Too many assets have been attempted for transfer.
859
876
  **/
860
877
  TooManyAssets: AugmentedError<ApiType>;
878
+ /**
879
+ * Too many locations authorized to alias origin.
880
+ **/
881
+ TooManyAuthorizedAliases: AugmentedError<ApiType>;
861
882
  /**
862
883
  * The asset owner has too many locks on the asset.
863
884
  **/
@@ -909,6 +930,14 @@ declare module '@polkadot/api-base/types/errors' {
909
930
  * Callback action resulted in error
910
931
  **/
911
932
  CallbackFailed: AugmentedError<ApiType>;
933
+ /**
934
+ * The asset cannot be destroyed because some accounts for this asset contain freezes.
935
+ **/
936
+ ContainsFreezes: AugmentedError<ApiType>;
937
+ /**
938
+ * The asset cannot be destroyed because some accounts for this asset contain holds.
939
+ **/
940
+ ContainsHolds: AugmentedError<ApiType>;
912
941
  /**
913
942
  * The origin account is frozen.
914
943
  **/
@@ -1045,6 +1074,221 @@ declare module '@polkadot/api-base/types/errors' {
1045
1074
  **/
1046
1075
  [key: string]: AugmentedError<ApiType>;
1047
1076
  };
1077
+ revive: {
1078
+ /**
1079
+ * Tried to map an account that is already mapped.
1080
+ **/
1081
+ AccountAlreadyMapped: AugmentedError<ApiType>;
1082
+ /**
1083
+ * An `AccountID32` account tried to interact with the pallet without having a mapping.
1084
+ *
1085
+ * Call [`Pallet::map_account`] in order to create a mapping for the account.
1086
+ **/
1087
+ AccountUnmapped: AugmentedError<ApiType>;
1088
+ /**
1089
+ * Failed to convert a U256 to a Balance.
1090
+ **/
1091
+ BalanceConversionFailed: AugmentedError<ApiType>;
1092
+ /**
1093
+ * The program contains a basic block that is larger than allowed.
1094
+ **/
1095
+ BasicBlockTooLarge: AugmentedError<ApiType>;
1096
+ /**
1097
+ * The code blob supplied is larger than [`limits::code::BLOB_BYTES`].
1098
+ **/
1099
+ BlobTooLarge: AugmentedError<ApiType>;
1100
+ /**
1101
+ * Can not add a delegate dependency to the code hash of the contract itself.
1102
+ **/
1103
+ CannotAddSelfAsDelegateDependency: AugmentedError<ApiType>;
1104
+ /**
1105
+ * No code info could be found at the supplied code hash.
1106
+ **/
1107
+ CodeInfoNotFound: AugmentedError<ApiType>;
1108
+ /**
1109
+ * Code removal was denied because the code is still in use by at least one contract.
1110
+ **/
1111
+ CodeInUse: AugmentedError<ApiType>;
1112
+ /**
1113
+ * No code could be found at the supplied code hash.
1114
+ **/
1115
+ CodeNotFound: AugmentedError<ApiType>;
1116
+ /**
1117
+ * The contract failed to compile or is missing the correct entry points.
1118
+ *
1119
+ * A more detailed error can be found on the node console if debug messages are enabled
1120
+ * by supplying `-lruntime::revive=debug`.
1121
+ **/
1122
+ CodeRejected: AugmentedError<ApiType>;
1123
+ /**
1124
+ * No contract was found at the specified address.
1125
+ **/
1126
+ ContractNotFound: AugmentedError<ApiType>;
1127
+ /**
1128
+ * The contract ran to completion but decided to revert its storage changes.
1129
+ * Please note that this error is only returned from extrinsics. When called directly
1130
+ * or via RPC an `Ok` will be returned. In this case the caller needs to inspect the flags
1131
+ * to determine whether a reversion has taken place.
1132
+ **/
1133
+ ContractReverted: AugmentedError<ApiType>;
1134
+ /**
1135
+ * Contract trapped during execution.
1136
+ **/
1137
+ ContractTrapped: AugmentedError<ApiType>;
1138
+ /**
1139
+ * Failed to convert an EVM balance to a native balance.
1140
+ **/
1141
+ DecimalPrecisionLoss: AugmentedError<ApiType>;
1142
+ /**
1143
+ * Input passed to a contract API function failed to decode as expected type.
1144
+ **/
1145
+ DecodingFailed: AugmentedError<ApiType>;
1146
+ /**
1147
+ * The contract already depends on the given delegate dependency.
1148
+ **/
1149
+ DelegateDependencyAlreadyExists: AugmentedError<ApiType>;
1150
+ /**
1151
+ * The dependency was not found in the contract's delegate dependencies.
1152
+ **/
1153
+ DelegateDependencyNotFound: AugmentedError<ApiType>;
1154
+ /**
1155
+ * A contract with the same AccountId already exists.
1156
+ **/
1157
+ DuplicateContract: AugmentedError<ApiType>;
1158
+ /**
1159
+ * PolkaVM failed during code execution. Probably due to a malformed program.
1160
+ **/
1161
+ ExecutionFailed: AugmentedError<ApiType>;
1162
+ /**
1163
+ * `seal_call` forwarded this contracts input. It therefore is no longer available.
1164
+ **/
1165
+ InputForwarded: AugmentedError<ApiType>;
1166
+ /**
1167
+ * Invalid combination of flags supplied to `seal_call` or `seal_delegate_call`.
1168
+ **/
1169
+ InvalidCallFlags: AugmentedError<ApiType>;
1170
+ /**
1171
+ * The transaction used to dry-run a contract is invalid.
1172
+ **/
1173
+ InvalidGenericTransaction: AugmentedError<ApiType>;
1174
+ /**
1175
+ * Immutable data can only be set during deploys and only be read during calls.
1176
+ * Additionally, it is only valid to set the data once and it must not be empty.
1177
+ **/
1178
+ InvalidImmutableAccess: AugmentedError<ApiType>;
1179
+ /**
1180
+ * The program contains an invalid instruction.
1181
+ **/
1182
+ InvalidInstruction: AugmentedError<ApiType>;
1183
+ /**
1184
+ * Invalid schedule supplied, e.g. with zero weight of a basic operation.
1185
+ **/
1186
+ InvalidSchedule: AugmentedError<ApiType>;
1187
+ /**
1188
+ * Invalid storage flags were passed to one of the storage syscalls.
1189
+ **/
1190
+ InvalidStorageFlags: AugmentedError<ApiType>;
1191
+ /**
1192
+ * The contract tried to call a syscall which does not exist (at its current api level).
1193
+ **/
1194
+ InvalidSyscall: AugmentedError<ApiType>;
1195
+ /**
1196
+ * Performing a call was denied because the calling depth reached the limit
1197
+ * of what is specified in the schedule.
1198
+ **/
1199
+ MaxCallDepthReached: AugmentedError<ApiType>;
1200
+ /**
1201
+ * The contract has reached its maximum number of delegate dependencies.
1202
+ **/
1203
+ MaxDelegateDependenciesReached: AugmentedError<ApiType>;
1204
+ /**
1205
+ * The chain does not provide a chain extension. Calling the chain extension results
1206
+ * in this error. Note that this usually shouldn't happen as deploying such contracts
1207
+ * is rejected.
1208
+ **/
1209
+ NoChainExtension: AugmentedError<ApiType>;
1210
+ /**
1211
+ * A buffer outside of sandbox memory was passed to a contract API function.
1212
+ **/
1213
+ OutOfBounds: AugmentedError<ApiType>;
1214
+ /**
1215
+ * The executed contract exhausted its gas limit.
1216
+ **/
1217
+ OutOfGas: AugmentedError<ApiType>;
1218
+ /**
1219
+ * Can not add more data to transient storage.
1220
+ **/
1221
+ OutOfTransientStorage: AugmentedError<ApiType>;
1222
+ /**
1223
+ * Precompile Error
1224
+ **/
1225
+ PrecompileFailure: AugmentedError<ApiType>;
1226
+ /**
1227
+ * A contract called into the runtime which then called back into this pallet.
1228
+ **/
1229
+ ReenteredPallet: AugmentedError<ApiType>;
1230
+ /**
1231
+ * A call tried to invoke a contract that is flagged as non-reentrant.
1232
+ **/
1233
+ ReentranceDenied: AugmentedError<ApiType>;
1234
+ /**
1235
+ * The refcount of a code either over or underflowed.
1236
+ **/
1237
+ RefcountOverOrUnderflow: AugmentedError<ApiType>;
1238
+ /**
1239
+ * A contract attempted to invoke a state modifying API while being in read-only mode.
1240
+ **/
1241
+ StateChangeDenied: AugmentedError<ApiType>;
1242
+ /**
1243
+ * The static memory consumption of the blob will be larger than
1244
+ * [`limits::code::STATIC_MEMORY_BYTES`].
1245
+ **/
1246
+ StaticMemoryTooLarge: AugmentedError<ApiType>;
1247
+ /**
1248
+ * More storage was created than allowed by the storage deposit limit.
1249
+ **/
1250
+ StorageDepositLimitExhausted: AugmentedError<ApiType>;
1251
+ /**
1252
+ * Origin doesn't have enough balance to pay the required storage deposits.
1253
+ **/
1254
+ StorageDepositNotEnoughFunds: AugmentedError<ApiType>;
1255
+ /**
1256
+ * A contract self destructed in its constructor.
1257
+ *
1258
+ * This can be triggered by a call to `seal_terminate`.
1259
+ **/
1260
+ TerminatedInConstructor: AugmentedError<ApiType>;
1261
+ /**
1262
+ * Termination of a contract is not allowed while the contract is already
1263
+ * on the call stack. Can be triggered by `seal_terminate`.
1264
+ **/
1265
+ TerminatedWhileReentrant: AugmentedError<ApiType>;
1266
+ /**
1267
+ * The amount of topics passed to `seal_deposit_events` exceeds the limit.
1268
+ **/
1269
+ TooManyTopics: AugmentedError<ApiType>;
1270
+ /**
1271
+ * Performing the requested transfer failed. Probably because there isn't enough
1272
+ * free balance in the sender's account.
1273
+ **/
1274
+ TransferFailed: AugmentedError<ApiType>;
1275
+ /**
1276
+ * Unsupported precompile address
1277
+ **/
1278
+ UnsupportedPrecompileAddress: AugmentedError<ApiType>;
1279
+ /**
1280
+ * The size defined in `T::MaxValueSize` was exceeded.
1281
+ **/
1282
+ ValueTooLarge: AugmentedError<ApiType>;
1283
+ /**
1284
+ * Failed to decode the XCM program.
1285
+ **/
1286
+ XCMDecodeFailed: AugmentedError<ApiType>;
1287
+ /**
1288
+ * Generic error
1289
+ **/
1290
+ [key: string]: AugmentedError<ApiType>;
1291
+ };
1048
1292
  session: {
1049
1293
  /**
1050
1294
  * Registered duplicate key.
@@ -2,8 +2,8 @@ import '@polkadot/api-base/types/events';
2
2
  import type { ApiTypes, AugmentedEvent } from '@polkadot/api-base/types';
3
3
  import type { Bytes, Null, Option, Result, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
4
4
  import type { ITuple } from '@polkadot/types-codec/types';
5
- import type { AccountId32, H256, Permill } from '@polkadot/types/interfaces/runtime';
6
- import type { AssetHubKusamaRuntimeProxyType, CumulusPrimitivesCoreAggregateMessageOrigin, FrameSupportMessagesProcessMessageError, FrameSupportTokensMiscBalanceStatus, FrameSystemDispatchEventInfo, PalletMultisigTimepoint, PalletNftsAttributeNamespace, PalletNftsPalletAttributes, PalletNftsPriceWithDirection, PalletStateTrieMigrationError, PalletStateTrieMigrationMigrationCompute, SpRuntimeDispatchError, SpWeightsWeightV2Weight, StagingXcmV4Location, StagingXcmV5AssetAssets, StagingXcmV5Location, StagingXcmV5Response, StagingXcmV5TraitsOutcome, StagingXcmV5Xcm, XcmV5TraitsError, XcmVersionedAssets, XcmVersionedLocation } from '@polkadot/types/lookup';
5
+ import type { AccountId32, H160, H256, Permill } from '@polkadot/types/interfaces/runtime';
6
+ import type { AssetHubKusamaRuntimeProxyType, CumulusPrimitivesCoreAggregateMessageOrigin, FrameSupportMessagesProcessMessageError, FrameSupportTokensMiscBalanceStatus, FrameSystemDispatchEventInfo, PalletMultisigTimepoint, PalletNftsAttributeNamespace, PalletNftsPalletAttributes, PalletNftsPriceWithDirection, PalletProxyDepositKind, PalletStateTrieMigrationError, PalletStateTrieMigrationMigrationCompute, SpRuntimeDispatchError, SpWeightsWeightV2Weight, StagingXcmV4Location, StagingXcmV5AssetAssets, StagingXcmV5Location, StagingXcmV5Response, StagingXcmV5TraitsOutcome, StagingXcmV5Xcm, XcmV3TraitsSendError, XcmV5TraitsError, XcmVersionedAssets, XcmVersionedLocation } from '@polkadot/types/lookup';
7
7
  export type __AugmentedEvent<ApiType extends ApiTypes> = AugmentedEvent<ApiType>;
8
8
  declare module '@polkadot/api-base/types/events' {
9
9
  interface AugmentedEvents<ApiType extends ApiTypes> {
@@ -797,6 +797,15 @@ declare module '@polkadot/api-base/types/events' {
797
797
  [key: string]: AugmentedEvent<ApiType>;
798
798
  };
799
799
  multisig: {
800
+ /**
801
+ * The deposit for a multisig operation has been updated/poked.
802
+ **/
803
+ DepositPoked: AugmentedEvent<ApiType, [who: AccountId32, callHash: U8aFixed, oldDeposit: u128, newDeposit: u128], {
804
+ who: AccountId32;
805
+ callHash: U8aFixed;
806
+ oldDeposit: u128;
807
+ newDeposit: u128;
808
+ }>;
800
809
  /**
801
810
  * A multisig operation has been approved by someone.
802
811
  **/
@@ -1220,6 +1229,28 @@ declare module '@polkadot/api-base/types/events' {
1220
1229
  [key: string]: AugmentedEvent<ApiType>;
1221
1230
  };
1222
1231
  polkadotXcm: {
1232
+ /**
1233
+ * `target` removed alias authorization for `aliaser`.
1234
+ **/
1235
+ AliasAuthorizationRemoved: AugmentedEvent<ApiType, [aliaser: StagingXcmV5Location, target: StagingXcmV5Location], {
1236
+ aliaser: StagingXcmV5Location;
1237
+ target: StagingXcmV5Location;
1238
+ }>;
1239
+ /**
1240
+ * An `aliaser` location was authorized by `target` to alias it, authorization valid until
1241
+ * `expiry` block number.
1242
+ **/
1243
+ AliasAuthorized: AugmentedEvent<ApiType, [aliaser: StagingXcmV5Location, target: StagingXcmV5Location, expiry: Option<u64>], {
1244
+ aliaser: StagingXcmV5Location;
1245
+ target: StagingXcmV5Location;
1246
+ expiry: Option<u64>;
1247
+ }>;
1248
+ /**
1249
+ * `target` removed all alias authorizations.
1250
+ **/
1251
+ AliasesAuthorizationsRemoved: AugmentedEvent<ApiType, [target: StagingXcmV5Location], {
1252
+ target: StagingXcmV5Location;
1253
+ }>;
1223
1254
  /**
1224
1255
  * Some assets have been claimed from an asset trap
1225
1256
  **/
@@ -1353,6 +1384,14 @@ declare module '@polkadot/api-base/types/events' {
1353
1384
  queryId: u64;
1354
1385
  error: XcmV5TraitsError;
1355
1386
  }>;
1387
+ /**
1388
+ * An XCM message failed to process.
1389
+ **/
1390
+ ProcessXcmError: AugmentedEvent<ApiType, [origin: StagingXcmV5Location, error: XcmV5TraitsError, messageId: U8aFixed], {
1391
+ origin: StagingXcmV5Location;
1392
+ error: XcmV5TraitsError;
1393
+ messageId: U8aFixed;
1394
+ }>;
1356
1395
  /**
1357
1396
  * Query response has been received and is ready for taking with `take_response`. There is
1358
1397
  * no registered notification call.
@@ -1368,7 +1407,16 @@ declare module '@polkadot/api-base/types/events' {
1368
1407
  queryId: u64;
1369
1408
  }>;
1370
1409
  /**
1371
- * A XCM message was sent.
1410
+ * An XCM message failed to send.
1411
+ **/
1412
+ SendFailed: AugmentedEvent<ApiType, [origin: StagingXcmV5Location, destination: StagingXcmV5Location, error: XcmV3TraitsSendError, messageId: U8aFixed], {
1413
+ origin: StagingXcmV5Location;
1414
+ destination: StagingXcmV5Location;
1415
+ error: XcmV3TraitsSendError;
1416
+ messageId: U8aFixed;
1417
+ }>;
1418
+ /**
1419
+ * An XCM message was sent.
1372
1420
  **/
1373
1421
  Sent: AugmentedEvent<ApiType, [origin: StagingXcmV5Location, destination: StagingXcmV5Location, message: StagingXcmV5Xcm, messageId: U8aFixed], {
1374
1422
  origin: StagingXcmV5Location;
@@ -1654,6 +1702,15 @@ declare module '@polkadot/api-base/types/events' {
1654
1702
  proxy: AccountId32;
1655
1703
  callHash: H256;
1656
1704
  }>;
1705
+ /**
1706
+ * A deposit stored for proxies or announcements was poked / updated.
1707
+ **/
1708
+ DepositPoked: AugmentedEvent<ApiType, [who: AccountId32, kind: PalletProxyDepositKind, oldDeposit: u128, newDeposit: u128], {
1709
+ who: AccountId32;
1710
+ kind: PalletProxyDepositKind;
1711
+ oldDeposit: u128;
1712
+ newDeposit: u128;
1713
+ }>;
1657
1714
  /**
1658
1715
  * A proxy was added.
1659
1716
  **/
@@ -1693,6 +1750,20 @@ declare module '@polkadot/api-base/types/events' {
1693
1750
  **/
1694
1751
  [key: string]: AugmentedEvent<ApiType>;
1695
1752
  };
1753
+ revive: {
1754
+ /**
1755
+ * A custom event emitted by the contract.
1756
+ **/
1757
+ ContractEmitted: AugmentedEvent<ApiType, [contract: H160, data: Bytes, topics: Vec<H256>], {
1758
+ contract: H160;
1759
+ data: Bytes;
1760
+ topics: Vec<H256>;
1761
+ }>;
1762
+ /**
1763
+ * Generic event
1764
+ **/
1765
+ [key: string]: AugmentedEvent<ApiType>;
1766
+ };
1696
1767
  session: {
1697
1768
  /**
1698
1769
  * New session has happened. Note that the argument is the session index, not the
@@ -1701,6 +1772,18 @@ declare module '@polkadot/api-base/types/events' {
1701
1772
  NewSession: AugmentedEvent<ApiType, [sessionIndex: u32], {
1702
1773
  sessionIndex: u32;
1703
1774
  }>;
1775
+ /**
1776
+ * Validator has been disabled.
1777
+ **/
1778
+ ValidatorDisabled: AugmentedEvent<ApiType, [validator: AccountId32], {
1779
+ validator: AccountId32;
1780
+ }>;
1781
+ /**
1782
+ * Validator has been re-enabled.
1783
+ **/
1784
+ ValidatorReenabled: AugmentedEvent<ApiType, [validator: AccountId32], {
1785
+ validator: AccountId32;
1786
+ }>;
1704
1787
  /**
1705
1788
  * Generic event
1706
1789
  **/
@@ -1768,6 +1851,13 @@ declare module '@polkadot/api-base/types/events' {
1768
1851
  NewAccount: AugmentedEvent<ApiType, [account: AccountId32], {
1769
1852
  account: AccountId32;
1770
1853
  }>;
1854
+ /**
1855
+ * An invalid authorized upgrade was rejected while trying to apply it.
1856
+ **/
1857
+ RejectedInvalidAuthorizedUpgrade: AugmentedEvent<ApiType, [codeHash: H256, error: SpRuntimeDispatchError], {
1858
+ codeHash: H256;
1859
+ error: SpRuntimeDispatchError;
1860
+ }>;
1771
1861
  /**
1772
1862
  * On on-chain remark happened.
1773
1863
  **/
@@ -2057,6 +2147,16 @@ declare module '@polkadot/api-base/types/events' {
2057
2147
  DispatchedAs: AugmentedEvent<ApiType, [result: Result<Null, SpRuntimeDispatchError>], {
2058
2148
  result: Result<Null, SpRuntimeDispatchError>;
2059
2149
  }>;
2150
+ /**
2151
+ * The fallback call was dispatched.
2152
+ **/
2153
+ IfElseFallbackCalled: AugmentedEvent<ApiType, [mainError: SpRuntimeDispatchError], {
2154
+ mainError: SpRuntimeDispatchError;
2155
+ }>;
2156
+ /**
2157
+ * Main call was dispatched.
2158
+ **/
2159
+ IfElseMainSuccess: AugmentedEvent<ApiType, []>;
2060
2160
  /**
2061
2161
  * A single item within a Batch of dispatches has completed with no error.
2062
2162
  **/