@polymeshassociation/polymesh-types 7.2.0 → 7.4.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 (76) hide show
  1. package/.yarn/install-state.gz +0 -0
  2. package/CHANGELOG.md +3 -2
  3. package/generated/types.d.ts +101 -8
  4. package/generated/types.d.ts.map +1 -1
  5. package/generated/types.js +101 -2
  6. package/generated/types.js.map +1 -1
  7. package/package.json +4 -3
  8. package/polkadot/asset/definitions.js +4 -4
  9. package/polkadot/asset/definitions.js.map +1 -1
  10. package/polkadot/augment-api-consts.d.ts +220 -6
  11. package/polkadot/augment-api-consts.d.ts.map +1 -1
  12. package/polkadot/augment-api-errors.d.ts +630 -117
  13. package/polkadot/augment-api-errors.d.ts.map +1 -1
  14. package/polkadot/augment-api-events.d.ts +668 -176
  15. package/polkadot/augment-api-events.d.ts.map +1 -1
  16. package/polkadot/augment-api-query.d.ts +719 -94
  17. package/polkadot/augment-api-query.d.ts.map +1 -1
  18. package/polkadot/augment-api-rpc.d.ts +22 -25
  19. package/polkadot/augment-api-rpc.d.ts.map +1 -1
  20. package/polkadot/augment-api-runtime.d.ts +295 -32
  21. package/polkadot/augment-api-runtime.d.ts.map +1 -1
  22. package/polkadot/augment-api-tx.d.ts +1539 -506
  23. package/polkadot/augment-api-tx.d.ts.map +1 -1
  24. package/polkadot/augment-types.d.ts +19 -2
  25. package/polkadot/augment-types.d.ts.map +1 -1
  26. package/polkadot/identity/definitions.d.ts +0 -18
  27. package/polkadot/identity/definitions.d.ts.map +1 -1
  28. package/polkadot/identity/definitions.js +0 -42
  29. package/polkadot/identity/definitions.js.map +1 -1
  30. package/polkadot/lookup.d.ts +5163 -3246
  31. package/polkadot/lookup.d.ts.map +1 -1
  32. package/polkadot/lookup.js +6275 -4221
  33. package/polkadot/lookup.js.map +1 -1
  34. package/polkadot/nft/definitions.js +4 -4
  35. package/polkadot/nft/definitions.js.map +1 -1
  36. package/polkadot/polymesh/definitions.d.ts +93 -8
  37. package/polkadot/polymesh/definitions.d.ts.map +1 -1
  38. package/polkadot/polymesh/definitions.js +228 -12
  39. package/polkadot/polymesh/definitions.js.map +1 -1
  40. package/polkadot/polymesh/types.d.ts +129 -20
  41. package/polkadot/polymesh/types.d.ts.map +1 -1
  42. package/polkadot/registry.d.ts +176 -15
  43. package/polkadot/registry.d.ts.map +1 -1
  44. package/polkadot/schema.d.ts +93 -26
  45. package/polkadot/schema.d.ts.map +1 -1
  46. package/polkadot/schema.js +238 -64
  47. package/polkadot/schema.js.map +1 -1
  48. package/polkadot/settlement/definitions.js +2 -2
  49. package/polkadot/types-lookup.d.ts +6016 -4313
  50. package/polkadot/types-lookup.d.ts.map +1 -1
  51. package/rpc/index.d.ts +0 -18
  52. package/rpc/index.d.ts.map +1 -1
  53. package/rpc/index.js +10 -52
  54. package/rpc/index.js.map +1 -1
  55. package/runtime/assetApi/v5.d.ts +3 -0
  56. package/runtime/assetApi/v5.d.ts.map +1 -0
  57. package/runtime/assetApi/v5.js +32 -0
  58. package/runtime/assetApi/v5.js.map +1 -0
  59. package/runtime/index.d.ts.map +1 -1
  60. package/runtime/index.js +6 -0
  61. package/runtime/index.js.map +1 -1
  62. package/runtime/nftApi/v3.d.ts +3 -0
  63. package/runtime/nftApi/v3.d.ts.map +1 -0
  64. package/runtime/nftApi/v3.js +28 -0
  65. package/runtime/nftApi/v3.js.map +1 -0
  66. package/runtime/settlementApi/v3.d.ts +3 -0
  67. package/runtime/settlementApi/v3.d.ts.map +1 -0
  68. package/runtime/settlementApi/v3.js +74 -0
  69. package/runtime/settlementApi/v3.js.map +1 -0
  70. package/signedExtensions/index.d.ts +4 -0
  71. package/signedExtensions/index.d.ts.map +1 -1
  72. package/signedExtensions/index.js +4 -0
  73. package/signedExtensions/index.js.map +1 -1
  74. package/types/8.0.x.json +96 -15
  75. package/types/index.d.ts +477 -0
  76. package/types/index.d.ts.map +1 -1
@@ -76,10 +76,18 @@ declare module '@polkadot/api-base/types/errors' {
76
76
  * Attempt to update the type of a non fungible token to a fungible token or the other way around.
77
77
  **/
78
78
  IncompatibleAssetTypeUpdate: AugmentedError<ApiType>;
79
+ /**
80
+ * The spender's allowance for this asset is insufficient for the requested transfer amount.
81
+ **/
82
+ InsufficientAllowance: AugmentedError<ApiType>;
79
83
  /**
80
84
  * The sender balance is not sufficient.
81
85
  **/
82
86
  InsufficientBalance: AugmentedError<ApiType>;
87
+ /**
88
+ * Insufficient tokens are locked.
89
+ **/
90
+ InsufficientTokensLocked: AugmentedError<ApiType>;
83
91
  /**
84
92
  * Some `AssetIdentifier` was invalid.
85
93
  **/
@@ -113,17 +121,17 @@ declare module '@polkadot/api-base/types/errors' {
113
121
  **/
114
122
  InvalidTransferFrozenAsset: AugmentedError<ApiType>;
115
123
  /**
116
- * Failed to transfer the asset - receiver cdd is not valid.
117
- **/
118
- InvalidTransferInvalidReceiverCDD: AugmentedError<ApiType>;
119
- /**
120
- * Failed to transfer the asset - sender cdd is not valid.
124
+ * Failed to transfer the asset - receiver DID is not active.
121
125
  **/
122
- InvalidTransferInvalidSenderCDD: AugmentedError<ApiType>;
126
+ InvalidTransferInvalidReceiverDID: AugmentedError<ApiType>;
123
127
  /**
124
128
  * Investor Uniqueness claims are not allowed for this asset.
125
129
  **/
126
130
  InvestorUniquenessClaimNotAllowed: AugmentedError<ApiType>;
131
+ /**
132
+ * No key was found for the Identity
133
+ **/
134
+ KeyNotFoundForDid: AugmentedError<ApiType>;
127
135
  /**
128
136
  * Maximum length of asset name has been exceeded.
129
137
  **/
@@ -148,6 +156,10 @@ declare module '@polkadot/api-base/types/errors' {
148
156
  * Number of asset mediators would exceed the maximum allowed.
149
157
  **/
150
158
  NumberOfAssetMediatorsExceeded: AugmentedError<ApiType>;
159
+ /**
160
+ * Transfering ownership to the same owner is not allowed.
161
+ **/
162
+ SelfOwnershipTransferNotAllowed: AugmentedError<ApiType>;
151
163
  /**
152
164
  * Transfers to self are not allowed
153
165
  **/
@@ -200,6 +212,10 @@ declare module '@polkadot/api-base/types/errors' {
200
212
  * The user is not authorized.
201
213
  **/
202
214
  Unauthorized: AugmentedError<ApiType>;
215
+ /**
216
+ * The key does not have permission to access the account.
217
+ **/
218
+ UnauthorizedHolderKey: AugmentedError<ApiType>;
203
219
  /**
204
220
  * Attempt to call an extrinsic that is only permitted for fungible tokens.
205
221
  **/
@@ -295,12 +311,50 @@ declare module '@polkadot/api-base/types/errors' {
295
311
  * so these corner cases need to be covered with an error variant.
296
312
  **/
297
313
  CounterOverflow: AugmentedError<ApiType>;
314
+ /**
315
+ * Invalid account ID.
316
+ **/
317
+ InvalidAccountId: AugmentedError<ApiType>;
298
318
  /**
299
319
  * Exceeded a generic length limit.
300
320
  * The limit could be for any sort of lists of things, including a string.
301
321
  **/
302
322
  TooLong: AugmentedError<ApiType>;
303
323
  };
324
+ beefy: {
325
+ /**
326
+ * A given equivocation report is valid but already previously reported.
327
+ **/
328
+ DuplicateOffenceReport: AugmentedError<ApiType>;
329
+ /**
330
+ * Submitted configuration is invalid.
331
+ **/
332
+ InvalidConfiguration: AugmentedError<ApiType>;
333
+ /**
334
+ * A double voting proof provided as part of an equivocation report is invalid.
335
+ **/
336
+ InvalidDoubleVotingProof: AugmentedError<ApiType>;
337
+ /**
338
+ * The session of the equivocation proof is invalid
339
+ **/
340
+ InvalidEquivocationProofSession: AugmentedError<ApiType>;
341
+ /**
342
+ * The session of the equivocation proof is not in the mapping (anymore)
343
+ **/
344
+ InvalidEquivocationProofSessionMember: AugmentedError<ApiType>;
345
+ /**
346
+ * A fork voting proof provided as part of an equivocation report is invalid.
347
+ **/
348
+ InvalidForkVotingProof: AugmentedError<ApiType>;
349
+ /**
350
+ * A future block voting proof provided as part of an equivocation report is invalid.
351
+ **/
352
+ InvalidFutureBlockVotingProof: AugmentedError<ApiType>;
353
+ /**
354
+ * A key ownership proof provided as part of an equivocation report is invalid.
355
+ **/
356
+ InvalidKeyOwnershipProof: AugmentedError<ApiType>;
357
+ };
304
358
  capitalDistribution: {
305
359
  /**
306
360
  * A distribution already exists for this CA.
@@ -364,32 +418,6 @@ declare module '@polkadot/api-base/types/errors' {
364
418
  **/
365
419
  NotExpired: AugmentedError<ApiType>;
366
420
  };
367
- cddServiceProviders: {
368
- /**
369
- * The limit for the number of concurrent active members for this group has been exceeded.
370
- **/
371
- ActiveMembersLimitExceeded: AugmentedError<ApiType>;
372
- /**
373
- * Active member limit was greater than maximum committee members limit.
374
- **/
375
- ActiveMembersLimitOverflow: AugmentedError<ApiType>;
376
- /**
377
- * Group member was added already.
378
- **/
379
- DuplicateMember: AugmentedError<ApiType>;
380
- /**
381
- * Last member of the committee can not quit.
382
- **/
383
- LastMemberCannotQuit: AugmentedError<ApiType>;
384
- /**
385
- * Can't remove a member that doesn't exist.
386
- **/
387
- NoSuchMember: AugmentedError<ApiType>;
388
- /**
389
- * Only primary key of the identity is allowed.
390
- **/
391
- OnlyPrimaryKeyAllowed: AugmentedError<ApiType>;
392
- };
393
421
  checkpoint: {
394
422
  /**
395
423
  * A checkpoint schedule does not exist for the asset.
@@ -472,6 +500,192 @@ declare module '@polkadot/api-base/types/errors' {
472
500
  **/
473
501
  WeightLimitExceeded: AugmentedError<ApiType>;
474
502
  };
503
+ confidentialAssets: {
504
+ /**
505
+ * Confidential account already exists.
506
+ **/
507
+ AccountAlreadyCreated: AugmentedError<ApiType>;
508
+ /**
509
+ * Confidential account has already registered that asset.
510
+ **/
511
+ AccountAssetAlreadyRegistered: AugmentedError<ApiType>;
512
+ /**
513
+ * Confidential account hasn't been registered yet.
514
+ **/
515
+ AccountMissing: AugmentedError<ApiType>;
516
+ /**
517
+ * Already affirmed.
518
+ **/
519
+ AlreadyAffirmed: AugmentedError<ApiType>;
520
+ /**
521
+ * Already finalized.
522
+ **/
523
+ AlreadyFinalized: AugmentedError<ApiType>;
524
+ /**
525
+ * Already rejected.
526
+ **/
527
+ AlreadyRejected: AugmentedError<ApiType>;
528
+ /**
529
+ * Amount overflow.
530
+ **/
531
+ AmountOverflow: AugmentedError<ApiType>;
532
+ /**
533
+ * Confidential asset hasn't been registered yet.
534
+ **/
535
+ AssetMissing: AugmentedError<ApiType>;
536
+ /**
537
+ * Asset state is invalid.
538
+ **/
539
+ AssetStateInvalid: AugmentedError<ApiType>;
540
+ /**
541
+ * Batched settlement has invalid leg references.
542
+ **/
543
+ BatchedSettlementInvalidLegRefs: AugmentedError<ApiType>;
544
+ /**
545
+ * CurveTree error.
546
+ **/
547
+ CurveTreeError: AugmentedError<ApiType>;
548
+ /**
549
+ * CurveTree parameters not set.
550
+ **/
551
+ CurveTreeParametersNotSet: AugmentedError<ApiType>;
552
+ /**
553
+ * CurveTree root not found.
554
+ **/
555
+ CurveTreeRootNotFound: AugmentedError<ApiType>;
556
+ /**
557
+ * Batch of proofs can't be empty.
558
+ **/
559
+ EmptyBatchedProofs: AugmentedError<ApiType>;
560
+ /**
561
+ * Encryption key already registered.
562
+ **/
563
+ EncryptionKeyAlreadyRegistered: AugmentedError<ApiType>;
564
+ /**
565
+ * Encryption key for the Confidential account is missing.
566
+ **/
567
+ EncryptionKeyMissing: AugmentedError<ApiType>;
568
+ /**
569
+ * Confidential fee account already registered.
570
+ **/
571
+ FeeAccountAlreadyRegistered: AugmentedError<ApiType>;
572
+ /**
573
+ * Confidential fee account hasn't been registered yet.
574
+ **/
575
+ FeeAccountMissing: AugmentedError<ApiType>;
576
+ /**
577
+ * Insufficient fee payment amount.
578
+ **/
579
+ InsufficientFeePaymentAmount: AugmentedError<ApiType>;
580
+ /**
581
+ * Invalid affirmation status transition.
582
+ **/
583
+ InvalidAffirmationStatusTransition: AugmentedError<ApiType>;
584
+ /**
585
+ * Invalid asset name.
586
+ **/
587
+ InvalidAssetName: AugmentedError<ApiType>;
588
+ /**
589
+ * Invalid fee asset id.
590
+ **/
591
+ InvalidFeeAssetId: AugmentedError<ApiType>;
592
+ /**
593
+ * Invalid Fee Payment proof.
594
+ **/
595
+ InvalidFeePaymentProof: AugmentedError<ApiType>;
596
+ /**
597
+ * Invalid proof provided.
598
+ **/
599
+ InvalidProof: AugmentedError<ApiType>;
600
+ /**
601
+ * Leaf not found in the curve tree.
602
+ **/
603
+ LeafNotFound: AugmentedError<ApiType>;
604
+ /**
605
+ * Leg not found in the settlement.
606
+ **/
607
+ LegNotFound: AugmentedError<ApiType>;
608
+ /**
609
+ * The asset total supply cannot exceed the maximum total supply.
610
+ **/
611
+ MaxTotalSupplyExceeded: AugmentedError<ApiType>;
612
+ /**
613
+ * Name too long for the asset.
614
+ **/
615
+ NameTooLong: AugmentedError<ApiType>;
616
+ /**
617
+ * Confidential assets require at least one mediator or auditor.
618
+ **/
619
+ NoAuditorsOrMediators: AugmentedError<ApiType>;
620
+ /**
621
+ * No current worker session.
622
+ **/
623
+ NoCurrentWorkerSession: AugmentedError<ApiType>;
624
+ /**
625
+ * No pending affirmations for this settlement.
626
+ **/
627
+ NoPendingAffirmations: AugmentedError<ApiType>;
628
+ /**
629
+ * The caller is not the owner of the Confidential account.
630
+ **/
631
+ NotAccountOwner: AugmentedError<ApiType>;
632
+ /**
633
+ * The caller is not the owner of the Confidential asset.
634
+ **/
635
+ NotAssetOwner: AugmentedError<ApiType>;
636
+ /**
637
+ * Not the last pending affirmation for the settlement.
638
+ **/
639
+ NotLastPendingAffirmation: AugmentedError<ApiType>;
640
+ /**
641
+ * The nullifier for the account state commitment has already been used.
642
+ **/
643
+ NullifierAlreadyUsed: AugmentedError<ApiType>;
644
+ /**
645
+ * Settlement has executed, cannot be reverted.
646
+ **/
647
+ SettlementAlreadyExecuted: AugmentedError<ApiType>;
648
+ /**
649
+ * Settlement already exists.
650
+ **/
651
+ SettlementAlreadyExists: AugmentedError<ApiType>;
652
+ /**
653
+ * Settlement is missing legs.
654
+ **/
655
+ SettlementMissingLegs: AugmentedError<ApiType>;
656
+ /**
657
+ * Settlement not executed.
658
+ **/
659
+ SettlementNotExecuted: AugmentedError<ApiType>;
660
+ /**
661
+ * Settlement not found.
662
+ **/
663
+ SettlementNotFound: AugmentedError<ApiType>;
664
+ /**
665
+ * Settlement not pending.
666
+ **/
667
+ SettlementNotPending: AugmentedError<ApiType>;
668
+ /**
669
+ * Settlement has too many legs.
670
+ **/
671
+ SettlementTooManyLegs: AugmentedError<ApiType>;
672
+ /**
673
+ * Symbol too long for the asset.
674
+ **/
675
+ SymbolTooLong: AugmentedError<ApiType>;
676
+ /**
677
+ * Too many decimals for the asset.
678
+ **/
679
+ TooManyDecimals: AugmentedError<ApiType>;
680
+ /**
681
+ * Too many mediators for this leg.
682
+ **/
683
+ TooManyMediators: AugmentedError<ApiType>;
684
+ /**
685
+ * Wrong mediator id for this leg.
686
+ **/
687
+ WrongMediatorId: AugmentedError<ApiType>;
688
+ };
475
689
  contracts: {
476
690
  /**
477
691
  * Can not add a delegate dependency to the code hash of the contract itself.
@@ -750,6 +964,32 @@ declare module '@polkadot/api-base/types/errors' {
750
964
  **/
751
965
  WrongVoteCount: AugmentedError<ApiType>;
752
966
  };
967
+ didRegistrars: {
968
+ /**
969
+ * The limit for the number of concurrent active members for this group has been exceeded.
970
+ **/
971
+ ActiveMembersLimitExceeded: AugmentedError<ApiType>;
972
+ /**
973
+ * Active member limit was greater than maximum committee members limit.
974
+ **/
975
+ ActiveMembersLimitOverflow: AugmentedError<ApiType>;
976
+ /**
977
+ * Group member was added already.
978
+ **/
979
+ DuplicateMember: AugmentedError<ApiType>;
980
+ /**
981
+ * Last member of the committee can not quit.
982
+ **/
983
+ LastMemberCannotQuit: AugmentedError<ApiType>;
984
+ /**
985
+ * Can't remove a member that doesn't exist.
986
+ **/
987
+ NoSuchMember: AugmentedError<ApiType>;
988
+ /**
989
+ * Only primary key of the identity is allowed.
990
+ **/
991
+ OnlyPrimaryKeyAllowed: AugmentedError<ApiType>;
992
+ };
753
993
  electionProviderMultiPhase: {
754
994
  /**
755
995
  * Some bound not met
@@ -821,6 +1061,10 @@ declare module '@polkadot/api-base/types/errors' {
821
1061
  * The extrinsic expected a different `AuthorizationType` than what the `data.auth_type()` is.
822
1062
  **/
823
1063
  BadAuthorizationType: AugmentedError<ApiType>;
1064
+ /**
1065
+ * Except `ExtrinsicPermissions` are not allowed for external agents.
1066
+ **/
1067
+ ExceptPermissionsNotAllowed: AugmentedError<ApiType>;
824
1068
  /**
825
1069
  * An AG with the given `AGId` did not exist for the `AssetId`.
826
1070
  **/
@@ -949,6 +1193,10 @@ declare module '@polkadot/api-base/types/errors' {
949
1193
  * Couldn't charge fee for the transaction.
950
1194
  **/
951
1195
  FailedToChargeFee: AugmentedError<ApiType>;
1196
+ /**
1197
+ * No did was found for the account key.
1198
+ **/
1199
+ IdentityNotFoundForAccountPortfolio: AugmentedError<ApiType>;
952
1200
  /**
953
1201
  * Account Id cannot be extracted from signer
954
1202
  **/
@@ -959,9 +1207,9 @@ declare module '@polkadot/api-base/types/errors' {
959
1207
  **/
960
1208
  InvalidAuthorization: AugmentedError<ApiType>;
961
1209
  /**
962
- * An invalid authorization from the CDD provider.
1210
+ * An invalid authorization from the DID registrar.
963
1211
  **/
964
- InvalidAuthorizationFromCddProvider: AugmentedError<ApiType>;
1212
+ InvalidAuthorizationFromDidRegistrar: AugmentedError<ApiType>;
965
1213
  /**
966
1214
  * An invalid authorization from the owner.
967
1215
  **/
@@ -970,10 +1218,6 @@ declare module '@polkadot/api-base/types/errors' {
970
1218
  * An invalid authorization signature.
971
1219
  **/
972
1220
  InvalidAuthorizationSignature: AugmentedError<ApiType>;
973
- /**
974
- * Identity is already a child of an other identity, can't create grand-child identity.
975
- **/
976
- IsChildIdentity: AugmentedError<ApiType>;
977
1221
  /**
978
1222
  * This key is not allowed to execute a given operation.
979
1223
  **/
@@ -982,22 +1226,14 @@ declare module '@polkadot/api-base/types/errors' {
982
1226
  * Caller is missing an identity.
983
1227
  **/
984
1228
  MissingIdentity: AugmentedError<ApiType>;
985
- /**
986
- * The Identity doesn't have a parent identity.
987
- **/
988
- NoParentIdentity: AugmentedError<ApiType>;
989
1229
  /**
990
1230
  * Signer is not a secondary key of the provided identity
991
1231
  **/
992
1232
  NotASigner: AugmentedError<ApiType>;
993
1233
  /**
994
- * Attestation was not by a CDD service provider.
1234
+ * Attestation was not by a DID registrar.
995
1235
  **/
996
- NotCddProviderAttestation: AugmentedError<ApiType>;
997
- /**
998
- * The caller is not the parent or child identity.
999
- **/
1000
- NotParentOrChildIdentity: AugmentedError<ApiType>;
1236
+ NotDidRegistrarAttestation: AugmentedError<ApiType>;
1001
1237
  /**
1002
1238
  * Only the primary key is allowed to revoke an Identity Signatory off-chain authorization.
1003
1239
  **/
@@ -1007,17 +1243,17 @@ declare module '@polkadot/api-base/types/errors' {
1007
1243
  **/
1008
1244
  SecondaryKeysContainPrimaryKey: AugmentedError<ApiType>;
1009
1245
  /**
1010
- * The target DID has no valid CDD.
1246
+ * The target DID does not exist or is locked.
1011
1247
  **/
1012
- TargetHasNoCdd: AugmentedError<ApiType>;
1248
+ TargetDidInactive: AugmentedError<ApiType>;
1013
1249
  /**
1014
1250
  * Signatory is not pre authorized by the identity
1015
1251
  **/
1016
1252
  Unauthorized: AugmentedError<ApiType>;
1017
1253
  /**
1018
- * The DID is missing a CDD claim.
1254
+ * The DID does not exist or is locked.
1019
1255
  **/
1020
- UnauthorizedCallerDidMissingCdd: AugmentedError<ApiType>;
1256
+ UnauthorizedCallerDidInactive: AugmentedError<ApiType>;
1021
1257
  /**
1022
1258
  * Frozen secondary key.
1023
1259
  **/
@@ -1027,9 +1263,9 @@ declare module '@polkadot/api-base/types/errors' {
1027
1263
  **/
1028
1264
  UnauthorizedCallerMissingPermissions: AugmentedError<ApiType>;
1029
1265
  /**
1030
- * Only CDD service providers are allowed.
1266
+ * Only DID registrars (formerly CDD service providers) are allowed.
1031
1267
  **/
1032
- UnAuthorizedCddProvider: AugmentedError<ApiType>;
1268
+ UnAuthorizedDidRegistrar: AugmentedError<ApiType>;
1033
1269
  };
1034
1270
  imOnline: {
1035
1271
  /**
@@ -1063,6 +1299,12 @@ declare module '@polkadot/api-base/types/errors' {
1063
1299
  **/
1064
1300
  Permanent: AugmentedError<ApiType>;
1065
1301
  };
1302
+ multiBlockMigrations: {
1303
+ /**
1304
+ * The operation cannot complete since some MBMs are ongoing.
1305
+ **/
1306
+ Ongoing: AugmentedError<ApiType>;
1307
+ };
1066
1308
  multiSig: {
1067
1309
  /**
1068
1310
  * Multisig has no admin.
@@ -1080,10 +1322,6 @@ declare module '@polkadot/api-base/types/errors' {
1080
1322
  * The extrinsic expected a different `AuthorizationType` than what the `data.auth_type()` is.
1081
1323
  **/
1082
1324
  BadAuthorizationType: AugmentedError<ApiType>;
1083
- /**
1084
- * Changing multisig parameters not allowed since multisig is a primary key.
1085
- **/
1086
- ChangeNotAllowed: AugmentedError<ApiType>;
1087
1325
  /**
1088
1326
  * Multisig address.
1089
1327
  **/
@@ -1228,13 +1466,9 @@ declare module '@polkadot/api-base/types/errors' {
1228
1466
  **/
1229
1467
  InvalidNFTTransferInsufficientCount: AugmentedError<ApiType>;
1230
1468
  /**
1231
- * The receiver has an invalid CDD.
1469
+ * The receiver has an invalid DID.
1232
1470
  **/
1233
- InvalidNFTTransferInvalidReceiverCDD: AugmentedError<ApiType>;
1234
- /**
1235
- * The sender has an invalid CDD.
1236
- **/
1237
- InvalidNFTTransferInvalidSenderCDD: AugmentedError<ApiType>;
1471
+ InvalidNFTTransferInvalidReceiverDID: AugmentedError<ApiType>;
1238
1472
  /**
1239
1473
  * Failed to transfer an NFT - nft is locked.
1240
1474
  **/
@@ -1250,7 +1484,7 @@ declare module '@polkadot/api-base/types/errors' {
1250
1484
  /**
1251
1485
  * The sender identity can't be the same as the receiver identity.
1252
1486
  **/
1253
- InvalidNFTTransferSenderIdMatchesReceiverId: AugmentedError<ApiType>;
1487
+ InvalidNFTTransferSenderDidMatchesReceiverDid: AugmentedError<ApiType>;
1254
1488
  /**
1255
1489
  * The maximum number of metadata keys was exceeded.
1256
1490
  **/
@@ -1263,6 +1497,10 @@ declare module '@polkadot/api-base/types/errors' {
1263
1497
  * The NFT is locked.
1264
1498
  **/
1265
1499
  NFTIsLocked: AugmentedError<ApiType>;
1500
+ /**
1501
+ * The NFT is not locked.
1502
+ **/
1503
+ NFTIsNotLocked: AugmentedError<ApiType>;
1266
1504
  /**
1267
1505
  * The NFT does not exist.
1268
1506
  **/
@@ -1319,10 +1557,6 @@ declare module '@polkadot/api-base/types/errors' {
1319
1557
  * Invalid PIP ID. Pip id was not expected to be in the live queue.
1320
1558
  **/
1321
1559
  InvalidPipId: AugmentedError<ApiType>;
1322
- /**
1323
- * TaskName cannot exceed 32 bytes.
1324
- **/
1325
- InvalidTaskName: AugmentedError<ApiType>;
1326
1560
  /**
1327
1561
  * The current DID is missing.
1328
1562
  **/
@@ -1365,6 +1599,10 @@ declare module '@polkadot/api-base/types/errors' {
1365
1599
  * Tried to enact result for PIP with an ID different from that at the position in the queue.
1366
1600
  **/
1367
1601
  SnapshotIdMismatch: AugmentedError<ApiType>;
1602
+ /**
1603
+ * The provided `limit` is less than the actual queue length.
1604
+ **/
1605
+ SnapshotLimitTooSmall: AugmentedError<ApiType>;
1368
1606
  /**
1369
1607
  * Tried to enact results for the snapshot queue overflowing its length.
1370
1608
  **/
@@ -1421,10 +1659,6 @@ declare module '@polkadot/api-base/types/errors' {
1421
1659
  ProposalsLimitReached: AugmentedError<ApiType>;
1422
1660
  };
1423
1661
  polymeshContracts: {
1424
- /**
1425
- * The caller is not a primary key.
1426
- **/
1427
- CallerNotAPrimaryKey: AugmentedError<ApiType>;
1428
1662
  /**
1429
1663
  * Data left in input when decoding arguments of a call.
1430
1664
  **/
@@ -1433,11 +1667,6 @@ declare module '@polkadot/api-base/types/errors' {
1433
1667
  * Input data that a contract passed when using the ChainExtension was too large.
1434
1668
  **/
1435
1669
  InLenTooLarge: AugmentedError<ApiType>;
1436
- /**
1437
- * A contract was attempted to be instantiated,
1438
- * but no identity was given to associate the new contract's key with.
1439
- **/
1440
- InstantiatorWithNoIdentity: AugmentedError<ApiType>;
1441
1670
  /**
1442
1671
  * Only future chain versions are allowed.
1443
1672
  **/
@@ -1450,10 +1679,6 @@ declare module '@polkadot/api-base/types/errors' {
1450
1679
  * Failed to decode a valid `RuntimeCall`.
1451
1680
  **/
1452
1681
  InvalidRuntimeCall: AugmentedError<ApiType>;
1453
- /**
1454
- * Secondary key permissions are missing.
1455
- **/
1456
- MissingKeyPermissions: AugmentedError<ApiType>;
1457
1682
  /**
1458
1683
  * There are no api upgrades supported for the contract.
1459
1684
  **/
@@ -1492,6 +1717,10 @@ declare module '@polkadot/api-base/types/errors' {
1492
1717
  * Trying to move an amount of zero assets.
1493
1718
  **/
1494
1719
  EmptyTransfer: AugmentedError<ApiType>;
1720
+ /**
1721
+ * Insufficient balance (tokens might not exist or are locked).
1722
+ **/
1723
+ InsufficientBalance: AugmentedError<ApiType>;
1495
1724
  /**
1496
1725
  * Insufficient balance for a transaction.
1497
1726
  **/
@@ -1509,9 +1738,9 @@ declare module '@polkadot/api-base/types/errors' {
1509
1738
  **/
1510
1739
  InvalidTransferNFTNotOwned: AugmentedError<ApiType>;
1511
1740
  /**
1512
- * The sender identity can't be the same as the receiver identity.
1741
+ * Key not found for caller.
1513
1742
  **/
1514
- InvalidTransferSenderIdMatchesReceiverId: AugmentedError<ApiType>;
1743
+ KeyNotFoundForCaller: AugmentedError<ApiType>;
1515
1744
  /**
1516
1745
  * The caller doesn't have permission to create portfolios on the owner's behalf.
1517
1746
  **/
@@ -1556,6 +1785,10 @@ declare module '@polkadot/api-base/types/errors' {
1556
1785
  * The porfolio's custody is with someone other than the caller.
1557
1786
  **/
1558
1787
  UnauthorizedCustodian: AugmentedError<ApiType>;
1788
+ /**
1789
+ * The key does not have permission to access the portfolio.
1790
+ **/
1791
+ UnauthorizedPortfolioKey: AugmentedError<ApiType>;
1559
1792
  };
1560
1793
  preimage: {
1561
1794
  /**
@@ -1607,21 +1840,25 @@ declare module '@polkadot/api-base/types/errors' {
1607
1840
  };
1608
1841
  relayer: {
1609
1842
  /**
1610
- * The extrinsic expected a different `AuthorizationType` than what the `data.auth_type()` is.
1843
+ * The relay transaction has expired.
1611
1844
  **/
1612
- BadAuthorizationType: AugmentedError<ApiType>;
1845
+ ExpiredRelayTx: AugmentedError<ApiType>;
1846
+ /**
1847
+ * Offchain signature is invalid
1848
+ **/
1849
+ InvalidSignature: AugmentedError<ApiType>;
1613
1850
  /**
1614
1851
  * The `user_key` doesn't have a `paying_key`.
1615
1852
  **/
1616
1853
  NoPayingKey: AugmentedError<ApiType>;
1617
1854
  /**
1618
- * The signer is not authorized for `paying_key`.
1855
+ * There is no pending subsidy from the `paying_key` for the `user_key`.
1619
1856
  **/
1620
- NotAuthorizedForPayingKey: AugmentedError<ApiType>;
1857
+ NoPendingSubsidy: AugmentedError<ApiType>;
1621
1858
  /**
1622
- * The signer is not authorized for `user_key`.
1859
+ * The signer is not the `paying_key` or the `user_key`.
1623
1860
  **/
1624
- NotAuthorizedForUserKey: AugmentedError<ApiType>;
1861
+ NotAuthorized: AugmentedError<ApiType>;
1625
1862
  /**
1626
1863
  * The `user_key` has a different `paying_key`.
1627
1864
  **/
@@ -1630,14 +1867,261 @@ declare module '@polkadot/api-base/types/errors' {
1630
1867
  * The remaining POLYX for `user_key` overflowed.
1631
1868
  **/
1632
1869
  Overflow: AugmentedError<ApiType>;
1870
+ };
1871
+ revive: {
1872
+ /**
1873
+ * Tried to map an account that is already mapped.
1874
+ **/
1875
+ AccountAlreadyMapped: AugmentedError<ApiType>;
1876
+ /**
1877
+ * An `AccountID32` account tried to interact with the pallet without having a mapping.
1878
+ *
1879
+ * Call [`Pallet::map_account`] in order to create a mapping for the account.
1880
+ **/
1881
+ AccountUnmapped: AugmentedError<ApiType>;
1882
+ /**
1883
+ * Failed to convert a U256 to a Balance.
1884
+ **/
1885
+ BalanceConversionFailed: AugmentedError<ApiType>;
1886
+ /**
1887
+ * The program contains a basic block that is larger than allowed.
1888
+ **/
1889
+ BasicBlockTooLarge: AugmentedError<ApiType>;
1890
+ /**
1891
+ * The code blob supplied is larger than [`limits::code::BLOB_BYTES`].
1892
+ **/
1893
+ BlobTooLarge: AugmentedError<ApiType>;
1894
+ /**
1895
+ * The calldata exceeds [`limits::CALLDATA_BYTES`].
1896
+ **/
1897
+ CallDataTooLarge: AugmentedError<ApiType>;
1898
+ /**
1899
+ * Can not add a delegate dependency to the code hash of the contract itself.
1900
+ **/
1901
+ CannotAddSelfAsDelegateDependency: AugmentedError<ApiType>;
1902
+ /**
1903
+ * No code info could be found at the supplied code hash.
1904
+ **/
1905
+ CodeInfoNotFound: AugmentedError<ApiType>;
1906
+ /**
1907
+ * Code removal was denied because the code is still in use by at least one contract.
1908
+ **/
1909
+ CodeInUse: AugmentedError<ApiType>;
1910
+ /**
1911
+ * No code could be found at the supplied code hash.
1912
+ **/
1913
+ CodeNotFound: AugmentedError<ApiType>;
1914
+ /**
1915
+ * The contract failed to compile or is missing the correct entry points.
1916
+ *
1917
+ * A more detailed error can be found on the node console if debug messages are enabled
1918
+ * by supplying `-lruntime::revive=debug`.
1919
+ **/
1920
+ CodeRejected: AugmentedError<ApiType>;
1921
+ /**
1922
+ * No contract was found at the specified address.
1923
+ **/
1924
+ ContractNotFound: AugmentedError<ApiType>;
1633
1925
  /**
1634
- * The `user_key` is not attached to a CDD'd identity.
1926
+ * The contract ran to completion but decided to revert its storage changes.
1927
+ * Please note that this error is only returned from extrinsics. When called directly
1928
+ * or via RPC an `Ok` will be returned. In this case the caller needs to inspect the flags
1929
+ * to determine whether a reversion has taken place.
1930
+ **/
1931
+ ContractReverted: AugmentedError<ApiType>;
1932
+ /**
1933
+ * Contract trapped during execution.
1635
1934
  **/
1636
- PayingKeyCddMissing: AugmentedError<ApiType>;
1935
+ ContractTrapped: AugmentedError<ApiType>;
1637
1936
  /**
1638
- * The `user_key` is not attached to a CDD'd identity.
1937
+ * Input passed to a contract API function failed to decode as expected type.
1938
+ **/
1939
+ DecodingFailed: AugmentedError<ApiType>;
1940
+ /**
1941
+ * The contract already depends on the given delegate dependency.
1942
+ **/
1943
+ DelegateDependencyAlreadyExists: AugmentedError<ApiType>;
1944
+ /**
1945
+ * The dependency was not found in the contract's delegate dependencies.
1946
+ **/
1947
+ DelegateDependencyNotFound: AugmentedError<ApiType>;
1948
+ /**
1949
+ * A contract with the same AccountId already exists.
1950
+ **/
1951
+ DuplicateContract: AugmentedError<ApiType>;
1952
+ /**
1953
+ * ECDSA public key recovery failed. Most probably wrong recovery id or signature.
1954
+ **/
1955
+ EcdsaRecoveryFailed: AugmentedError<ApiType>;
1956
+ /**
1957
+ * Tried to construct an EVM contract via code hash.
1958
+ *
1959
+ * EVM contracts can only be instantiated via code upload as no initcode is
1960
+ * stored on-chain.
1961
+ **/
1962
+ EvmConstructedFromHash: AugmentedError<ApiType>;
1963
+ /**
1964
+ * When calling an EVM constructor `data` has to be empty.
1965
+ *
1966
+ * EVM constructors do not accept data. Their input data is part of the code blob itself.
1967
+ **/
1968
+ EvmConstructorNonEmptyData: AugmentedError<ApiType>;
1969
+ /**
1970
+ * PolkaVM failed during code execution. Probably due to a malformed program.
1971
+ **/
1972
+ ExecutionFailed: AugmentedError<ApiType>;
1973
+ /**
1974
+ * `seal_call` forwarded this contracts input. It therefore is no longer available.
1975
+ **/
1976
+ InputForwarded: AugmentedError<ApiType>;
1977
+ /**
1978
+ * Invalid combination of flags supplied to `seal_call` or `seal_delegate_call`.
1979
+ **/
1980
+ InvalidCallFlags: AugmentedError<ApiType>;
1981
+ /**
1982
+ * The transaction used to dry-run a contract is invalid.
1983
+ **/
1984
+ InvalidGenericTransaction: AugmentedError<ApiType>;
1985
+ /**
1986
+ * Immutable data can only be set during deploys and only be read during calls.
1987
+ * Additionally, it is only valid to set the data once and it must not be empty.
1988
+ **/
1989
+ InvalidImmutableAccess: AugmentedError<ApiType>;
1990
+ /**
1991
+ * The program contains an invalid instruction.
1992
+ **/
1993
+ InvalidInstruction: AugmentedError<ApiType>;
1994
+ /**
1995
+ * Invalid jump destination. Dynamic jumps points to invalid not jumpdest opcode.
1996
+ **/
1997
+ InvalidJump: AugmentedError<ApiType>;
1998
+ /**
1999
+ * Invalid schedule supplied, e.g. with zero weight of a basic operation.
2000
+ **/
2001
+ InvalidSchedule: AugmentedError<ApiType>;
2002
+ /**
2003
+ * Invalid storage flags were passed to one of the storage syscalls.
2004
+ **/
2005
+ InvalidStorageFlags: AugmentedError<ApiType>;
2006
+ /**
2007
+ * The contract tried to call a syscall which does not exist (at its current api level).
2008
+ **/
2009
+ InvalidSyscall: AugmentedError<ApiType>;
2010
+ /**
2011
+ * Performing a call was denied because the calling depth reached the limit
2012
+ * of what is specified in the schedule.
2013
+ **/
2014
+ MaxCallDepthReached: AugmentedError<ApiType>;
2015
+ /**
2016
+ * The contract has reached its maximum number of delegate dependencies.
2017
+ **/
2018
+ MaxDelegateDependenciesReached: AugmentedError<ApiType>;
2019
+ /**
2020
+ * A buffer outside of sandbox memory was passed to a contract API function.
1639
2021
  **/
1640
- UserKeyCddMissing: AugmentedError<ApiType>;
2022
+ OutOfBounds: AugmentedError<ApiType>;
2023
+ /**
2024
+ * The executed contract exhausted its gas limit.
2025
+ **/
2026
+ OutOfGas: AugmentedError<ApiType>;
2027
+ /**
2028
+ * Can not add more data to transient storage.
2029
+ **/
2030
+ OutOfTransientStorage: AugmentedError<ApiType>;
2031
+ /**
2032
+ * Called a pre-compile that is not allowed to be delegate called.
2033
+ *
2034
+ * Some pre-compile functions will trap the caller context if being delegate
2035
+ * called or if their caller was being delegate called.
2036
+ **/
2037
+ PrecompileDelegateDenied: AugmentedError<ApiType>;
2038
+ /**
2039
+ * A contract called into the runtime which then called back into this pallet.
2040
+ **/
2041
+ ReenteredPallet: AugmentedError<ApiType>;
2042
+ /**
2043
+ * A call tried to invoke a contract that is flagged as non-reentrant.
2044
+ **/
2045
+ ReentranceDenied: AugmentedError<ApiType>;
2046
+ /**
2047
+ * The refcount of a code either over or underflowed.
2048
+ **/
2049
+ RefcountOverOrUnderflow: AugmentedError<ApiType>;
2050
+ /**
2051
+ * The return data exceeds [`limits::CALLDATA_BYTES`].
2052
+ **/
2053
+ ReturnDataTooLarge: AugmentedError<ApiType>;
2054
+ /**
2055
+ * Attempting to push a value onto a full stack.
2056
+ **/
2057
+ StackOverflow: AugmentedError<ApiType>;
2058
+ /**
2059
+ * Attempting to pop a value from an empty stack.
2060
+ **/
2061
+ StackUnderflow: AugmentedError<ApiType>;
2062
+ /**
2063
+ * A contract attempted to invoke a state modifying API while being in read-only mode.
2064
+ **/
2065
+ StateChangeDenied: AugmentedError<ApiType>;
2066
+ /**
2067
+ * The contract declares too much memory (ro + rw + stack).
2068
+ **/
2069
+ StaticMemoryTooLarge: AugmentedError<ApiType>;
2070
+ /**
2071
+ * More storage was created than allowed by the storage deposit limit.
2072
+ **/
2073
+ StorageDepositLimitExhausted: AugmentedError<ApiType>;
2074
+ /**
2075
+ * Origin doesn't have enough balance to pay the required storage deposits.
2076
+ **/
2077
+ StorageDepositNotEnoughFunds: AugmentedError<ApiType>;
2078
+ /**
2079
+ * This means there are locks on the contracts storage deposit that prevents refunding it.
2080
+ *
2081
+ * This would be the case if the contract used its storage deposits for governance
2082
+ * or other pallets that allow creating locks over held balance.
2083
+ **/
2084
+ StorageRefundLocked: AugmentedError<ApiType>;
2085
+ /**
2086
+ * The contract does not have enough balance to refund the storage deposit.
2087
+ *
2088
+ * This is a bug and should never happen. It means the accounting got out of sync.
2089
+ **/
2090
+ StorageRefundNotEnoughFunds: AugmentedError<ApiType>;
2091
+ /**
2092
+ * A contract self destructed in its constructor.
2093
+ *
2094
+ * This can be triggered by a call to `seal_terminate`.
2095
+ **/
2096
+ TerminatedInConstructor: AugmentedError<ApiType>;
2097
+ /**
2098
+ * Termination of a contract is not allowed while the contract is already
2099
+ * on the call stack. Can be triggered by `seal_terminate`.
2100
+ **/
2101
+ TerminatedWhileReentrant: AugmentedError<ApiType>;
2102
+ /**
2103
+ * The amount of topics passed to `seal_deposit_events` exceeds the limit.
2104
+ **/
2105
+ TooManyTopics: AugmentedError<ApiType>;
2106
+ /**
2107
+ * Performing the requested transfer failed. Probably because there isn't enough
2108
+ * free balance in the sender's account.
2109
+ **/
2110
+ TransferFailed: AugmentedError<ApiType>;
2111
+ /**
2112
+ * Too much deposit was drawn from the shared txfee and deposit credit.
2113
+ *
2114
+ * This happens if the passed `gas` inside the ethereum transaction is too low.
2115
+ **/
2116
+ TxFeeOverdraw: AugmentedError<ApiType>;
2117
+ /**
2118
+ * Unsupported precompile address.
2119
+ **/
2120
+ UnsupportedPrecompileAddress: AugmentedError<ApiType>;
2121
+ /**
2122
+ * Event body or storage item exceeds [`limits::STORAGE_BYTES`].
2123
+ **/
2124
+ ValueTooLarge: AugmentedError<ApiType>;
1641
2125
  };
1642
2126
  scheduler: {
1643
2127
  /**
@@ -1684,6 +2168,10 @@ declare module '@polkadot/api-base/types/errors' {
1684
2168
  NoKeys: AugmentedError<ApiType>;
1685
2169
  };
1686
2170
  settlement: {
2171
+ /**
2172
+ * Spender allowances are not supported for non-fungible token transfers.
2173
+ **/
2174
+ AllowancesNotSupportedForNFTs: AugmentedError<ApiType>;
1687
2175
  /**
1688
2176
  * The caller is not a mediator in the instruction.
1689
2177
  **/
@@ -1716,6 +2204,10 @@ declare module '@polkadot/api-base/types/errors' {
1716
2204
  * The input weight is less than the minimum required.
1717
2205
  **/
1718
2206
  InputWeightIsLessThanMinimum: AugmentedError<ApiType>;
2207
+ /**
2208
+ * The instruction is already locked. It must be unlocked before relocking.
2209
+ **/
2210
+ InstructionAlreadyLocked: AugmentedError<ApiType>;
1719
2211
  /**
1720
2212
  * Instruction has invalid dates
1721
2213
  **/
@@ -1724,6 +2216,10 @@ declare module '@polkadot/api-base/types/errors' {
1724
2216
  * Instruction has not been affirmed.
1725
2217
  **/
1726
2218
  InstructionNotAffirmed: AugmentedError<ApiType>;
2219
+ /**
2220
+ * The instruction is not in `LockedForExecution` status and cannot be unlocked.
2221
+ **/
2222
+ InstructionNotLocked: AugmentedError<ApiType>;
1727
2223
  /**
1728
2224
  * Instruction settlement block has not yet been reached.
1729
2225
  **/
@@ -1732,6 +2228,10 @@ declare module '@polkadot/api-base/types/errors' {
1732
2228
  * Instruction's target settle block reached.
1733
2229
  **/
1734
2230
  InstructionSettleBlockPassed: AugmentedError<ApiType>;
2231
+ /**
2232
+ * Invalid account id.
2233
+ **/
2234
+ InvalidAccountId: AugmentedError<ApiType>;
1735
2235
  /**
1736
2236
  * The mediator's expiry date must be in the future.
1737
2237
  **/
@@ -1752,10 +2252,6 @@ declare module '@polkadot/api-base/types/errors' {
1752
2252
  * Offchain signature is invalid.
1753
2253
  **/
1754
2254
  InvalidSignature: AugmentedError<ApiType>;
1755
- /**
1756
- * TaskName cannot exceed 32 bytes.
1757
- **/
1758
- InvalidTaskName: AugmentedError<ApiType>;
1759
2255
  /**
1760
2256
  * Venue does not exist.
1761
2257
  **/
@@ -1784,10 +2280,18 @@ declare module '@polkadot/api-base/types/errors' {
1784
2280
  * The maximum number of receipts was exceeded.
1785
2281
  **/
1786
2282
  MaxNumberOfReceiptsExceeded: AugmentedError<ApiType>;
2283
+ /**
2284
+ * The maximum number of relocks for this instruction has been exceeded.
2285
+ **/
2286
+ MaxRelockCountExceeded: AugmentedError<ApiType>;
1787
2287
  /**
1788
2288
  * The expiry date for the mediator's affirmation has passed.
1789
2289
  **/
1790
2290
  MediatorAffirmationExpired: AugmentedError<ApiType>;
2291
+ /**
2292
+ * At least one mediator is required for this instruction.
2293
+ **/
2294
+ MissingInstructionMediators: AugmentedError<ApiType>;
1791
2295
  /**
1792
2296
  * Multiple receipts for the same leg are not allowed.
1793
2297
  **/
@@ -1824,6 +2328,10 @@ declare module '@polkadot/api-base/types/errors' {
1824
2328
  * Receipt already used.
1825
2329
  **/
1826
2330
  ReceiptAlreadyClaimed: AugmentedError<ApiType>;
2331
+ /**
2332
+ * The receipt has expired and can no longer be claimed.
2333
+ **/
2334
+ ReceiptExpired: AugmentedError<ApiType>;
1827
2335
  /**
1828
2336
  * Off-chain receipts can only be used for off-chain leg type.
1829
2337
  **/
@@ -1832,10 +2340,22 @@ declare module '@polkadot/api-base/types/errors' {
1832
2340
  * The instruction id in all receipts must match the extrinsic parameter.
1833
2341
  **/
1834
2342
  ReceiptInstructionIdMissmatch: AugmentedError<ApiType>;
2343
+ /**
2344
+ * Receiver identity not found.
2345
+ **/
2346
+ ReceiverIdentityNotFound: AugmentedError<ApiType>;
2347
+ /**
2348
+ * The relock cooldown period has not expired since the last unlock.
2349
+ **/
2350
+ RelockCooldownNotExpired: AugmentedError<ApiType>;
1835
2351
  /**
1836
2352
  * Sender and receiver are the same.
1837
2353
  **/
1838
2354
  SameSenderReceiver: AugmentedError<ApiType>;
2355
+ /**
2356
+ * Source and destination are the exact same AssetHolder.
2357
+ **/
2358
+ SenderSameAsReceiver: AugmentedError<ApiType>;
1839
2359
  /**
1840
2360
  * The provided settlement block number is in the past and cannot be used by the scheduler.
1841
2361
  **/
@@ -2115,11 +2635,21 @@ declare module '@polkadot/api-base/types/errors' {
2115
2635
  * An arithmetic operation resulted in overflow or underflow.
2116
2636
  **/
2117
2637
  Overflow: AugmentedError<ApiType>;
2638
+ /**
2639
+ * The off-chain receipt has expired and can no longer be used for investment.
2640
+ **/
2641
+ ReceiptExpired: AugmentedError<ApiType>;
2118
2642
  /**
2119
2643
  * Sender does not have required permissions for the requested operation.
2120
2644
  **/
2121
2645
  Unauthorized: AugmentedError<ApiType>;
2122
2646
  };
2647
+ sudo: {
2648
+ /**
2649
+ * Sender must be the Sudo account.
2650
+ **/
2651
+ RequireSudo: AugmentedError<ApiType>;
2652
+ };
2123
2653
  system: {
2124
2654
  /**
2125
2655
  * The origin filter prevent the call to be dispatched.
@@ -2307,23 +2837,6 @@ declare module '@polkadot/api-base/types/errors' {
2307
2837
  OnlyPrimaryKeyAllowed: AugmentedError<ApiType>;
2308
2838
  };
2309
2839
  utility: {
2310
- /**
2311
- * Provided nonce was invalid
2312
- * If the provided nonce < current nonce, the call was already executed
2313
- * If the provided nonce > current nonce, the call(s) before the current failed to execute
2314
- * POLYMESH error
2315
- **/
2316
- InvalidNonce: AugmentedError<ApiType>;
2317
- /**
2318
- * Offchain signature is invalid
2319
- * POLYMESH error
2320
- **/
2321
- InvalidSignature: AugmentedError<ApiType>;
2322
- /**
2323
- * Target does not have a valid CDD
2324
- * POLYMESH error
2325
- **/
2326
- TargetCddMissing: AugmentedError<ApiType>;
2327
2840
  /**
2328
2841
  * Too many calls batched.
2329
2842
  **/
@@ -2347,9 +2860,9 @@ declare module '@polkadot/api-base/types/errors' {
2347
2860
  **/
2348
2861
  IdentityIsAlreadyPermissioned: AugmentedError<ApiType>;
2349
2862
  /**
2350
- * Identity has not gone throught CDD.
2863
+ * Identity does not exist or is locked.
2351
2864
  **/
2352
- IdentityIsMissingCDD: AugmentedError<ApiType>;
2865
+ IdentityIsInactive: AugmentedError<ApiType>;
2353
2866
  /**
2354
2867
  * Identity was not found in the permissioned identity pool.
2355
2868
  **/