@polymeshassociation/polymesh-types 7.1.0 → 7.3.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/.yarn/install-state.gz +0 -0
- package/CHANGELOG.md +3 -2
- package/generated/types.d.ts +68 -8
- package/generated/types.d.ts.map +1 -1
- package/generated/types.js +66 -2
- package/generated/types.js.map +1 -1
- package/package.json +4 -3
- package/polkadot/asset/definitions.js +4 -4
- package/polkadot/asset/definitions.js.map +1 -1
- package/polkadot/augment-api-consts.d.ts +126 -4
- package/polkadot/augment-api-consts.d.ts.map +1 -1
- package/polkadot/augment-api-errors.d.ts +438 -109
- package/polkadot/augment-api-errors.d.ts.map +1 -1
- package/polkadot/augment-api-events.d.ts +269 -175
- package/polkadot/augment-api-events.d.ts.map +1 -1
- package/polkadot/augment-api-query.d.ts +325 -93
- package/polkadot/augment-api-query.d.ts.map +1 -1
- package/polkadot/augment-api-rpc.d.ts +22 -25
- package/polkadot/augment-api-rpc.d.ts.map +1 -1
- package/polkadot/augment-api-runtime.d.ts +295 -32
- package/polkadot/augment-api-runtime.d.ts.map +1 -1
- package/polkadot/augment-api-tx.d.ts +1031 -506
- package/polkadot/augment-api-tx.d.ts.map +1 -1
- package/polkadot/augment-types.d.ts +19 -2
- package/polkadot/augment-types.d.ts.map +1 -1
- package/polkadot/identity/definitions.d.ts +0 -18
- package/polkadot/identity/definitions.d.ts.map +1 -1
- package/polkadot/identity/definitions.js +0 -42
- package/polkadot/identity/definitions.js.map +1 -1
- package/polkadot/lookup.d.ts +4383 -3218
- package/polkadot/lookup.d.ts.map +1 -1
- package/polkadot/lookup.js +4643 -3386
- package/polkadot/lookup.js.map +1 -1
- package/polkadot/nft/definitions.js +4 -4
- package/polkadot/nft/definitions.js.map +1 -1
- package/polkadot/polymesh/definitions.d.ts +93 -8
- package/polkadot/polymesh/definitions.d.ts.map +1 -1
- package/polkadot/polymesh/definitions.js +228 -12
- package/polkadot/polymesh/definitions.js.map +1 -1
- package/polkadot/polymesh/types.d.ts +129 -20
- package/polkadot/polymesh/types.d.ts.map +1 -1
- package/polkadot/registry.d.ts +107 -15
- package/polkadot/registry.d.ts.map +1 -1
- package/polkadot/schema.d.ts +93 -26
- package/polkadot/schema.d.ts.map +1 -1
- package/polkadot/schema.js +238 -64
- package/polkadot/schema.js.map +1 -1
- package/polkadot/settlement/definitions.js +2 -2
- package/polkadot/types-lookup.d.ts +5274 -4326
- package/polkadot/types-lookup.d.ts.map +1 -1
- package/rpc/index.d.ts +0 -18
- package/rpc/index.d.ts.map +1 -1
- package/rpc/index.js +10 -52
- package/rpc/index.js.map +1 -1
- package/runtime/assetApi/v5.d.ts +3 -0
- package/runtime/assetApi/v5.d.ts.map +1 -0
- package/runtime/assetApi/v5.js +32 -0
- package/runtime/assetApi/v5.js.map +1 -0
- package/runtime/index.d.ts.map +1 -1
- package/runtime/index.js +6 -0
- package/runtime/index.js.map +1 -1
- package/runtime/nftApi/v3.d.ts +3 -0
- package/runtime/nftApi/v3.d.ts.map +1 -0
- package/runtime/nftApi/v3.js +28 -0
- package/runtime/nftApi/v3.js.map +1 -0
- package/runtime/settlementApi/v3.d.ts +3 -0
- package/runtime/settlementApi/v3.d.ts.map +1 -0
- package/runtime/settlementApi/v3.js +74 -0
- package/runtime/settlementApi/v3.js.map +1 -0
- package/signedExtensions/index.d.ts +4 -0
- package/signedExtensions/index.d.ts.map +1 -1
- package/signedExtensions/index.js +4 -0
- package/signedExtensions/index.js.map +1 -1
- package/types/7.4.x.json +659 -0
- package/types/8.0.x.json +96 -15
- package/types/index.d.ts +477 -0
- package/types/index.d.ts.map +1 -1
- package/types/index.js +2 -0
- package/types/index.js.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
|
|
124
|
+
* Failed to transfer the asset - receiver DID is not active.
|
|
117
125
|
**/
|
|
118
|
-
|
|
119
|
-
/**
|
|
120
|
-
* Failed to transfer the asset - sender cdd is not valid.
|
|
121
|
-
**/
|
|
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.
|
|
@@ -750,6 +778,32 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
750
778
|
**/
|
|
751
779
|
WrongVoteCount: AugmentedError<ApiType>;
|
|
752
780
|
};
|
|
781
|
+
didRegistrars: {
|
|
782
|
+
/**
|
|
783
|
+
* The limit for the number of concurrent active members for this group has been exceeded.
|
|
784
|
+
**/
|
|
785
|
+
ActiveMembersLimitExceeded: AugmentedError<ApiType>;
|
|
786
|
+
/**
|
|
787
|
+
* Active member limit was greater than maximum committee members limit.
|
|
788
|
+
**/
|
|
789
|
+
ActiveMembersLimitOverflow: AugmentedError<ApiType>;
|
|
790
|
+
/**
|
|
791
|
+
* Group member was added already.
|
|
792
|
+
**/
|
|
793
|
+
DuplicateMember: AugmentedError<ApiType>;
|
|
794
|
+
/**
|
|
795
|
+
* Last member of the committee can not quit.
|
|
796
|
+
**/
|
|
797
|
+
LastMemberCannotQuit: AugmentedError<ApiType>;
|
|
798
|
+
/**
|
|
799
|
+
* Can't remove a member that doesn't exist.
|
|
800
|
+
**/
|
|
801
|
+
NoSuchMember: AugmentedError<ApiType>;
|
|
802
|
+
/**
|
|
803
|
+
* Only primary key of the identity is allowed.
|
|
804
|
+
**/
|
|
805
|
+
OnlyPrimaryKeyAllowed: AugmentedError<ApiType>;
|
|
806
|
+
};
|
|
753
807
|
electionProviderMultiPhase: {
|
|
754
808
|
/**
|
|
755
809
|
* Some bound not met
|
|
@@ -821,6 +875,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
821
875
|
* The extrinsic expected a different `AuthorizationType` than what the `data.auth_type()` is.
|
|
822
876
|
**/
|
|
823
877
|
BadAuthorizationType: AugmentedError<ApiType>;
|
|
878
|
+
/**
|
|
879
|
+
* Except `ExtrinsicPermissions` are not allowed for external agents.
|
|
880
|
+
**/
|
|
881
|
+
ExceptPermissionsNotAllowed: AugmentedError<ApiType>;
|
|
824
882
|
/**
|
|
825
883
|
* An AG with the given `AGId` did not exist for the `AssetId`.
|
|
826
884
|
**/
|
|
@@ -949,6 +1007,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
949
1007
|
* Couldn't charge fee for the transaction.
|
|
950
1008
|
**/
|
|
951
1009
|
FailedToChargeFee: AugmentedError<ApiType>;
|
|
1010
|
+
/**
|
|
1011
|
+
* No did was found for the account key.
|
|
1012
|
+
**/
|
|
1013
|
+
IdentityNotFoundForAccountPortfolio: AugmentedError<ApiType>;
|
|
952
1014
|
/**
|
|
953
1015
|
* Account Id cannot be extracted from signer
|
|
954
1016
|
**/
|
|
@@ -959,9 +1021,9 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
959
1021
|
**/
|
|
960
1022
|
InvalidAuthorization: AugmentedError<ApiType>;
|
|
961
1023
|
/**
|
|
962
|
-
* An invalid authorization from the
|
|
1024
|
+
* An invalid authorization from the DID registrar.
|
|
963
1025
|
**/
|
|
964
|
-
|
|
1026
|
+
InvalidAuthorizationFromDidRegistrar: AugmentedError<ApiType>;
|
|
965
1027
|
/**
|
|
966
1028
|
* An invalid authorization from the owner.
|
|
967
1029
|
**/
|
|
@@ -970,10 +1032,6 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
970
1032
|
* An invalid authorization signature.
|
|
971
1033
|
**/
|
|
972
1034
|
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
1035
|
/**
|
|
978
1036
|
* This key is not allowed to execute a given operation.
|
|
979
1037
|
**/
|
|
@@ -982,22 +1040,14 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
982
1040
|
* Caller is missing an identity.
|
|
983
1041
|
**/
|
|
984
1042
|
MissingIdentity: AugmentedError<ApiType>;
|
|
985
|
-
/**
|
|
986
|
-
* The Identity doesn't have a parent identity.
|
|
987
|
-
**/
|
|
988
|
-
NoParentIdentity: AugmentedError<ApiType>;
|
|
989
1043
|
/**
|
|
990
1044
|
* Signer is not a secondary key of the provided identity
|
|
991
1045
|
**/
|
|
992
1046
|
NotASigner: AugmentedError<ApiType>;
|
|
993
1047
|
/**
|
|
994
|
-
* Attestation was not by a
|
|
995
|
-
**/
|
|
996
|
-
NotCddProviderAttestation: AugmentedError<ApiType>;
|
|
997
|
-
/**
|
|
998
|
-
* The caller is not the parent or child identity.
|
|
1048
|
+
* Attestation was not by a DID registrar.
|
|
999
1049
|
**/
|
|
1000
|
-
|
|
1050
|
+
NotDidRegistrarAttestation: AugmentedError<ApiType>;
|
|
1001
1051
|
/**
|
|
1002
1052
|
* Only the primary key is allowed to revoke an Identity Signatory off-chain authorization.
|
|
1003
1053
|
**/
|
|
@@ -1007,17 +1057,17 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1007
1057
|
**/
|
|
1008
1058
|
SecondaryKeysContainPrimaryKey: AugmentedError<ApiType>;
|
|
1009
1059
|
/**
|
|
1010
|
-
* The target DID
|
|
1060
|
+
* The target DID does not exist or is locked.
|
|
1011
1061
|
**/
|
|
1012
|
-
|
|
1062
|
+
TargetDidInactive: AugmentedError<ApiType>;
|
|
1013
1063
|
/**
|
|
1014
1064
|
* Signatory is not pre authorized by the identity
|
|
1015
1065
|
**/
|
|
1016
1066
|
Unauthorized: AugmentedError<ApiType>;
|
|
1017
1067
|
/**
|
|
1018
|
-
* The DID
|
|
1068
|
+
* The DID does not exist or is locked.
|
|
1019
1069
|
**/
|
|
1020
|
-
|
|
1070
|
+
UnauthorizedCallerDidInactive: AugmentedError<ApiType>;
|
|
1021
1071
|
/**
|
|
1022
1072
|
* Frozen secondary key.
|
|
1023
1073
|
**/
|
|
@@ -1027,9 +1077,9 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1027
1077
|
**/
|
|
1028
1078
|
UnauthorizedCallerMissingPermissions: AugmentedError<ApiType>;
|
|
1029
1079
|
/**
|
|
1030
|
-
* Only CDD service providers are allowed.
|
|
1080
|
+
* Only DID registrars (formerly CDD service providers) are allowed.
|
|
1031
1081
|
**/
|
|
1032
|
-
|
|
1082
|
+
UnAuthorizedDidRegistrar: AugmentedError<ApiType>;
|
|
1033
1083
|
};
|
|
1034
1084
|
imOnline: {
|
|
1035
1085
|
/**
|
|
@@ -1080,10 +1130,6 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1080
1130
|
* The extrinsic expected a different `AuthorizationType` than what the `data.auth_type()` is.
|
|
1081
1131
|
**/
|
|
1082
1132
|
BadAuthorizationType: AugmentedError<ApiType>;
|
|
1083
|
-
/**
|
|
1084
|
-
* Changing multisig parameters not allowed since multisig is a primary key.
|
|
1085
|
-
**/
|
|
1086
|
-
ChangeNotAllowed: AugmentedError<ApiType>;
|
|
1087
1133
|
/**
|
|
1088
1134
|
* Multisig address.
|
|
1089
1135
|
**/
|
|
@@ -1228,13 +1274,9 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1228
1274
|
**/
|
|
1229
1275
|
InvalidNFTTransferInsufficientCount: AugmentedError<ApiType>;
|
|
1230
1276
|
/**
|
|
1231
|
-
* The receiver has an invalid
|
|
1277
|
+
* The receiver has an invalid DID.
|
|
1232
1278
|
**/
|
|
1233
|
-
|
|
1234
|
-
/**
|
|
1235
|
-
* The sender has an invalid CDD.
|
|
1236
|
-
**/
|
|
1237
|
-
InvalidNFTTransferInvalidSenderCDD: AugmentedError<ApiType>;
|
|
1279
|
+
InvalidNFTTransferInvalidReceiverDID: AugmentedError<ApiType>;
|
|
1238
1280
|
/**
|
|
1239
1281
|
* Failed to transfer an NFT - nft is locked.
|
|
1240
1282
|
**/
|
|
@@ -1250,7 +1292,7 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1250
1292
|
/**
|
|
1251
1293
|
* The sender identity can't be the same as the receiver identity.
|
|
1252
1294
|
**/
|
|
1253
|
-
|
|
1295
|
+
InvalidNFTTransferSenderDidMatchesReceiverDid: AugmentedError<ApiType>;
|
|
1254
1296
|
/**
|
|
1255
1297
|
* The maximum number of metadata keys was exceeded.
|
|
1256
1298
|
**/
|
|
@@ -1263,6 +1305,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1263
1305
|
* The NFT is locked.
|
|
1264
1306
|
**/
|
|
1265
1307
|
NFTIsLocked: AugmentedError<ApiType>;
|
|
1308
|
+
/**
|
|
1309
|
+
* The NFT is not locked.
|
|
1310
|
+
**/
|
|
1311
|
+
NFTIsNotLocked: AugmentedError<ApiType>;
|
|
1266
1312
|
/**
|
|
1267
1313
|
* The NFT does not exist.
|
|
1268
1314
|
**/
|
|
@@ -1365,6 +1411,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1365
1411
|
* Tried to enact result for PIP with an ID different from that at the position in the queue.
|
|
1366
1412
|
**/
|
|
1367
1413
|
SnapshotIdMismatch: AugmentedError<ApiType>;
|
|
1414
|
+
/**
|
|
1415
|
+
* The provided `limit` is less than the actual queue length.
|
|
1416
|
+
**/
|
|
1417
|
+
SnapshotLimitTooSmall: AugmentedError<ApiType>;
|
|
1368
1418
|
/**
|
|
1369
1419
|
* Tried to enact results for the snapshot queue overflowing its length.
|
|
1370
1420
|
**/
|
|
@@ -1421,10 +1471,6 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1421
1471
|
ProposalsLimitReached: AugmentedError<ApiType>;
|
|
1422
1472
|
};
|
|
1423
1473
|
polymeshContracts: {
|
|
1424
|
-
/**
|
|
1425
|
-
* The caller is not a primary key.
|
|
1426
|
-
**/
|
|
1427
|
-
CallerNotAPrimaryKey: AugmentedError<ApiType>;
|
|
1428
1474
|
/**
|
|
1429
1475
|
* Data left in input when decoding arguments of a call.
|
|
1430
1476
|
**/
|
|
@@ -1433,11 +1479,6 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1433
1479
|
* Input data that a contract passed when using the ChainExtension was too large.
|
|
1434
1480
|
**/
|
|
1435
1481
|
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
1482
|
/**
|
|
1442
1483
|
* Only future chain versions are allowed.
|
|
1443
1484
|
**/
|
|
@@ -1450,10 +1491,6 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1450
1491
|
* Failed to decode a valid `RuntimeCall`.
|
|
1451
1492
|
**/
|
|
1452
1493
|
InvalidRuntimeCall: AugmentedError<ApiType>;
|
|
1453
|
-
/**
|
|
1454
|
-
* Secondary key permissions are missing.
|
|
1455
|
-
**/
|
|
1456
|
-
MissingKeyPermissions: AugmentedError<ApiType>;
|
|
1457
1494
|
/**
|
|
1458
1495
|
* There are no api upgrades supported for the contract.
|
|
1459
1496
|
**/
|
|
@@ -1492,6 +1529,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1492
1529
|
* Trying to move an amount of zero assets.
|
|
1493
1530
|
**/
|
|
1494
1531
|
EmptyTransfer: AugmentedError<ApiType>;
|
|
1532
|
+
/**
|
|
1533
|
+
* Insufficient balance (tokens might not exist or are locked).
|
|
1534
|
+
**/
|
|
1535
|
+
InsufficientBalance: AugmentedError<ApiType>;
|
|
1495
1536
|
/**
|
|
1496
1537
|
* Insufficient balance for a transaction.
|
|
1497
1538
|
**/
|
|
@@ -1509,9 +1550,9 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1509
1550
|
**/
|
|
1510
1551
|
InvalidTransferNFTNotOwned: AugmentedError<ApiType>;
|
|
1511
1552
|
/**
|
|
1512
|
-
*
|
|
1553
|
+
* Key not found for caller.
|
|
1513
1554
|
**/
|
|
1514
|
-
|
|
1555
|
+
KeyNotFoundForCaller: AugmentedError<ApiType>;
|
|
1515
1556
|
/**
|
|
1516
1557
|
* The caller doesn't have permission to create portfolios on the owner's behalf.
|
|
1517
1558
|
**/
|
|
@@ -1556,6 +1597,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1556
1597
|
* The porfolio's custody is with someone other than the caller.
|
|
1557
1598
|
**/
|
|
1558
1599
|
UnauthorizedCustodian: AugmentedError<ApiType>;
|
|
1600
|
+
/**
|
|
1601
|
+
* The key does not have permission to access the portfolio.
|
|
1602
|
+
**/
|
|
1603
|
+
UnauthorizedPortfolioKey: AugmentedError<ApiType>;
|
|
1559
1604
|
};
|
|
1560
1605
|
preimage: {
|
|
1561
1606
|
/**
|
|
@@ -1607,21 +1652,25 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1607
1652
|
};
|
|
1608
1653
|
relayer: {
|
|
1609
1654
|
/**
|
|
1610
|
-
* The
|
|
1655
|
+
* The relay transaction has expired.
|
|
1611
1656
|
**/
|
|
1612
|
-
|
|
1657
|
+
ExpiredRelayTx: AugmentedError<ApiType>;
|
|
1658
|
+
/**
|
|
1659
|
+
* Offchain signature is invalid
|
|
1660
|
+
**/
|
|
1661
|
+
InvalidSignature: AugmentedError<ApiType>;
|
|
1613
1662
|
/**
|
|
1614
1663
|
* The `user_key` doesn't have a `paying_key`.
|
|
1615
1664
|
**/
|
|
1616
1665
|
NoPayingKey: AugmentedError<ApiType>;
|
|
1617
1666
|
/**
|
|
1618
|
-
*
|
|
1667
|
+
* There is no pending subsidy from the `paying_key` for the `user_key`.
|
|
1619
1668
|
**/
|
|
1620
|
-
|
|
1669
|
+
NoPendingSubsidy: AugmentedError<ApiType>;
|
|
1621
1670
|
/**
|
|
1622
|
-
* The signer is not
|
|
1671
|
+
* The signer is not the `paying_key` or the `user_key`.
|
|
1623
1672
|
**/
|
|
1624
|
-
|
|
1673
|
+
NotAuthorized: AugmentedError<ApiType>;
|
|
1625
1674
|
/**
|
|
1626
1675
|
* The `user_key` has a different `paying_key`.
|
|
1627
1676
|
**/
|
|
@@ -1630,14 +1679,261 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1630
1679
|
* The remaining POLYX for `user_key` overflowed.
|
|
1631
1680
|
**/
|
|
1632
1681
|
Overflow: AugmentedError<ApiType>;
|
|
1682
|
+
};
|
|
1683
|
+
revive: {
|
|
1633
1684
|
/**
|
|
1634
|
-
*
|
|
1685
|
+
* Tried to map an account that is already mapped.
|
|
1686
|
+
**/
|
|
1687
|
+
AccountAlreadyMapped: AugmentedError<ApiType>;
|
|
1688
|
+
/**
|
|
1689
|
+
* An `AccountID32` account tried to interact with the pallet without having a mapping.
|
|
1690
|
+
*
|
|
1691
|
+
* Call [`Pallet::map_account`] in order to create a mapping for the account.
|
|
1635
1692
|
**/
|
|
1636
|
-
|
|
1693
|
+
AccountUnmapped: AugmentedError<ApiType>;
|
|
1637
1694
|
/**
|
|
1638
|
-
*
|
|
1695
|
+
* Failed to convert a U256 to a Balance.
|
|
1639
1696
|
**/
|
|
1640
|
-
|
|
1697
|
+
BalanceConversionFailed: AugmentedError<ApiType>;
|
|
1698
|
+
/**
|
|
1699
|
+
* The program contains a basic block that is larger than allowed.
|
|
1700
|
+
**/
|
|
1701
|
+
BasicBlockTooLarge: AugmentedError<ApiType>;
|
|
1702
|
+
/**
|
|
1703
|
+
* The code blob supplied is larger than [`limits::code::BLOB_BYTES`].
|
|
1704
|
+
**/
|
|
1705
|
+
BlobTooLarge: AugmentedError<ApiType>;
|
|
1706
|
+
/**
|
|
1707
|
+
* The calldata exceeds [`limits::CALLDATA_BYTES`].
|
|
1708
|
+
**/
|
|
1709
|
+
CallDataTooLarge: AugmentedError<ApiType>;
|
|
1710
|
+
/**
|
|
1711
|
+
* Can not add a delegate dependency to the code hash of the contract itself.
|
|
1712
|
+
**/
|
|
1713
|
+
CannotAddSelfAsDelegateDependency: AugmentedError<ApiType>;
|
|
1714
|
+
/**
|
|
1715
|
+
* No code info could be found at the supplied code hash.
|
|
1716
|
+
**/
|
|
1717
|
+
CodeInfoNotFound: AugmentedError<ApiType>;
|
|
1718
|
+
/**
|
|
1719
|
+
* Code removal was denied because the code is still in use by at least one contract.
|
|
1720
|
+
**/
|
|
1721
|
+
CodeInUse: AugmentedError<ApiType>;
|
|
1722
|
+
/**
|
|
1723
|
+
* No code could be found at the supplied code hash.
|
|
1724
|
+
**/
|
|
1725
|
+
CodeNotFound: AugmentedError<ApiType>;
|
|
1726
|
+
/**
|
|
1727
|
+
* The contract failed to compile or is missing the correct entry points.
|
|
1728
|
+
*
|
|
1729
|
+
* A more detailed error can be found on the node console if debug messages are enabled
|
|
1730
|
+
* by supplying `-lruntime::revive=debug`.
|
|
1731
|
+
**/
|
|
1732
|
+
CodeRejected: AugmentedError<ApiType>;
|
|
1733
|
+
/**
|
|
1734
|
+
* No contract was found at the specified address.
|
|
1735
|
+
**/
|
|
1736
|
+
ContractNotFound: AugmentedError<ApiType>;
|
|
1737
|
+
/**
|
|
1738
|
+
* The contract ran to completion but decided to revert its storage changes.
|
|
1739
|
+
* Please note that this error is only returned from extrinsics. When called directly
|
|
1740
|
+
* or via RPC an `Ok` will be returned. In this case the caller needs to inspect the flags
|
|
1741
|
+
* to determine whether a reversion has taken place.
|
|
1742
|
+
**/
|
|
1743
|
+
ContractReverted: AugmentedError<ApiType>;
|
|
1744
|
+
/**
|
|
1745
|
+
* Contract trapped during execution.
|
|
1746
|
+
**/
|
|
1747
|
+
ContractTrapped: AugmentedError<ApiType>;
|
|
1748
|
+
/**
|
|
1749
|
+
* Input passed to a contract API function failed to decode as expected type.
|
|
1750
|
+
**/
|
|
1751
|
+
DecodingFailed: AugmentedError<ApiType>;
|
|
1752
|
+
/**
|
|
1753
|
+
* The contract already depends on the given delegate dependency.
|
|
1754
|
+
**/
|
|
1755
|
+
DelegateDependencyAlreadyExists: AugmentedError<ApiType>;
|
|
1756
|
+
/**
|
|
1757
|
+
* The dependency was not found in the contract's delegate dependencies.
|
|
1758
|
+
**/
|
|
1759
|
+
DelegateDependencyNotFound: AugmentedError<ApiType>;
|
|
1760
|
+
/**
|
|
1761
|
+
* A contract with the same AccountId already exists.
|
|
1762
|
+
**/
|
|
1763
|
+
DuplicateContract: AugmentedError<ApiType>;
|
|
1764
|
+
/**
|
|
1765
|
+
* ECDSA public key recovery failed. Most probably wrong recovery id or signature.
|
|
1766
|
+
**/
|
|
1767
|
+
EcdsaRecoveryFailed: AugmentedError<ApiType>;
|
|
1768
|
+
/**
|
|
1769
|
+
* Tried to construct an EVM contract via code hash.
|
|
1770
|
+
*
|
|
1771
|
+
* EVM contracts can only be instantiated via code upload as no initcode is
|
|
1772
|
+
* stored on-chain.
|
|
1773
|
+
**/
|
|
1774
|
+
EvmConstructedFromHash: AugmentedError<ApiType>;
|
|
1775
|
+
/**
|
|
1776
|
+
* When calling an EVM constructor `data` has to be empty.
|
|
1777
|
+
*
|
|
1778
|
+
* EVM constructors do not accept data. Their input data is part of the code blob itself.
|
|
1779
|
+
**/
|
|
1780
|
+
EvmConstructorNonEmptyData: AugmentedError<ApiType>;
|
|
1781
|
+
/**
|
|
1782
|
+
* PolkaVM failed during code execution. Probably due to a malformed program.
|
|
1783
|
+
**/
|
|
1784
|
+
ExecutionFailed: AugmentedError<ApiType>;
|
|
1785
|
+
/**
|
|
1786
|
+
* `seal_call` forwarded this contracts input. It therefore is no longer available.
|
|
1787
|
+
**/
|
|
1788
|
+
InputForwarded: AugmentedError<ApiType>;
|
|
1789
|
+
/**
|
|
1790
|
+
* Invalid combination of flags supplied to `seal_call` or `seal_delegate_call`.
|
|
1791
|
+
**/
|
|
1792
|
+
InvalidCallFlags: AugmentedError<ApiType>;
|
|
1793
|
+
/**
|
|
1794
|
+
* The transaction used to dry-run a contract is invalid.
|
|
1795
|
+
**/
|
|
1796
|
+
InvalidGenericTransaction: AugmentedError<ApiType>;
|
|
1797
|
+
/**
|
|
1798
|
+
* Immutable data can only be set during deploys and only be read during calls.
|
|
1799
|
+
* Additionally, it is only valid to set the data once and it must not be empty.
|
|
1800
|
+
**/
|
|
1801
|
+
InvalidImmutableAccess: AugmentedError<ApiType>;
|
|
1802
|
+
/**
|
|
1803
|
+
* The program contains an invalid instruction.
|
|
1804
|
+
**/
|
|
1805
|
+
InvalidInstruction: AugmentedError<ApiType>;
|
|
1806
|
+
/**
|
|
1807
|
+
* Invalid jump destination. Dynamic jumps points to invalid not jumpdest opcode.
|
|
1808
|
+
**/
|
|
1809
|
+
InvalidJump: AugmentedError<ApiType>;
|
|
1810
|
+
/**
|
|
1811
|
+
* Invalid schedule supplied, e.g. with zero weight of a basic operation.
|
|
1812
|
+
**/
|
|
1813
|
+
InvalidSchedule: AugmentedError<ApiType>;
|
|
1814
|
+
/**
|
|
1815
|
+
* Invalid storage flags were passed to one of the storage syscalls.
|
|
1816
|
+
**/
|
|
1817
|
+
InvalidStorageFlags: AugmentedError<ApiType>;
|
|
1818
|
+
/**
|
|
1819
|
+
* The contract tried to call a syscall which does not exist (at its current api level).
|
|
1820
|
+
**/
|
|
1821
|
+
InvalidSyscall: AugmentedError<ApiType>;
|
|
1822
|
+
/**
|
|
1823
|
+
* Performing a call was denied because the calling depth reached the limit
|
|
1824
|
+
* of what is specified in the schedule.
|
|
1825
|
+
**/
|
|
1826
|
+
MaxCallDepthReached: AugmentedError<ApiType>;
|
|
1827
|
+
/**
|
|
1828
|
+
* The contract has reached its maximum number of delegate dependencies.
|
|
1829
|
+
**/
|
|
1830
|
+
MaxDelegateDependenciesReached: AugmentedError<ApiType>;
|
|
1831
|
+
/**
|
|
1832
|
+
* A buffer outside of sandbox memory was passed to a contract API function.
|
|
1833
|
+
**/
|
|
1834
|
+
OutOfBounds: AugmentedError<ApiType>;
|
|
1835
|
+
/**
|
|
1836
|
+
* The executed contract exhausted its gas limit.
|
|
1837
|
+
**/
|
|
1838
|
+
OutOfGas: AugmentedError<ApiType>;
|
|
1839
|
+
/**
|
|
1840
|
+
* Can not add more data to transient storage.
|
|
1841
|
+
**/
|
|
1842
|
+
OutOfTransientStorage: AugmentedError<ApiType>;
|
|
1843
|
+
/**
|
|
1844
|
+
* Called a pre-compile that is not allowed to be delegate called.
|
|
1845
|
+
*
|
|
1846
|
+
* Some pre-compile functions will trap the caller context if being delegate
|
|
1847
|
+
* called or if their caller was being delegate called.
|
|
1848
|
+
**/
|
|
1849
|
+
PrecompileDelegateDenied: AugmentedError<ApiType>;
|
|
1850
|
+
/**
|
|
1851
|
+
* A contract called into the runtime which then called back into this pallet.
|
|
1852
|
+
**/
|
|
1853
|
+
ReenteredPallet: AugmentedError<ApiType>;
|
|
1854
|
+
/**
|
|
1855
|
+
* A call tried to invoke a contract that is flagged as non-reentrant.
|
|
1856
|
+
**/
|
|
1857
|
+
ReentranceDenied: AugmentedError<ApiType>;
|
|
1858
|
+
/**
|
|
1859
|
+
* The refcount of a code either over or underflowed.
|
|
1860
|
+
**/
|
|
1861
|
+
RefcountOverOrUnderflow: AugmentedError<ApiType>;
|
|
1862
|
+
/**
|
|
1863
|
+
* The return data exceeds [`limits::CALLDATA_BYTES`].
|
|
1864
|
+
**/
|
|
1865
|
+
ReturnDataTooLarge: AugmentedError<ApiType>;
|
|
1866
|
+
/**
|
|
1867
|
+
* Attempting to push a value onto a full stack.
|
|
1868
|
+
**/
|
|
1869
|
+
StackOverflow: AugmentedError<ApiType>;
|
|
1870
|
+
/**
|
|
1871
|
+
* Attempting to pop a value from an empty stack.
|
|
1872
|
+
**/
|
|
1873
|
+
StackUnderflow: AugmentedError<ApiType>;
|
|
1874
|
+
/**
|
|
1875
|
+
* A contract attempted to invoke a state modifying API while being in read-only mode.
|
|
1876
|
+
**/
|
|
1877
|
+
StateChangeDenied: AugmentedError<ApiType>;
|
|
1878
|
+
/**
|
|
1879
|
+
* The contract declares too much memory (ro + rw + stack).
|
|
1880
|
+
**/
|
|
1881
|
+
StaticMemoryTooLarge: AugmentedError<ApiType>;
|
|
1882
|
+
/**
|
|
1883
|
+
* More storage was created than allowed by the storage deposit limit.
|
|
1884
|
+
**/
|
|
1885
|
+
StorageDepositLimitExhausted: AugmentedError<ApiType>;
|
|
1886
|
+
/**
|
|
1887
|
+
* Origin doesn't have enough balance to pay the required storage deposits.
|
|
1888
|
+
**/
|
|
1889
|
+
StorageDepositNotEnoughFunds: AugmentedError<ApiType>;
|
|
1890
|
+
/**
|
|
1891
|
+
* This means there are locks on the contracts storage deposit that prevents refunding it.
|
|
1892
|
+
*
|
|
1893
|
+
* This would be the case if the contract used its storage deposits for governance
|
|
1894
|
+
* or other pallets that allow creating locks over held balance.
|
|
1895
|
+
**/
|
|
1896
|
+
StorageRefundLocked: AugmentedError<ApiType>;
|
|
1897
|
+
/**
|
|
1898
|
+
* The contract does not have enough balance to refund the storage deposit.
|
|
1899
|
+
*
|
|
1900
|
+
* This is a bug and should never happen. It means the accounting got out of sync.
|
|
1901
|
+
**/
|
|
1902
|
+
StorageRefundNotEnoughFunds: AugmentedError<ApiType>;
|
|
1903
|
+
/**
|
|
1904
|
+
* A contract self destructed in its constructor.
|
|
1905
|
+
*
|
|
1906
|
+
* This can be triggered by a call to `seal_terminate`.
|
|
1907
|
+
**/
|
|
1908
|
+
TerminatedInConstructor: AugmentedError<ApiType>;
|
|
1909
|
+
/**
|
|
1910
|
+
* Termination of a contract is not allowed while the contract is already
|
|
1911
|
+
* on the call stack. Can be triggered by `seal_terminate`.
|
|
1912
|
+
**/
|
|
1913
|
+
TerminatedWhileReentrant: AugmentedError<ApiType>;
|
|
1914
|
+
/**
|
|
1915
|
+
* The amount of topics passed to `seal_deposit_events` exceeds the limit.
|
|
1916
|
+
**/
|
|
1917
|
+
TooManyTopics: AugmentedError<ApiType>;
|
|
1918
|
+
/**
|
|
1919
|
+
* Performing the requested transfer failed. Probably because there isn't enough
|
|
1920
|
+
* free balance in the sender's account.
|
|
1921
|
+
**/
|
|
1922
|
+
TransferFailed: AugmentedError<ApiType>;
|
|
1923
|
+
/**
|
|
1924
|
+
* Too much deposit was drawn from the shared txfee and deposit credit.
|
|
1925
|
+
*
|
|
1926
|
+
* This happens if the passed `gas` inside the ethereum transaction is too low.
|
|
1927
|
+
**/
|
|
1928
|
+
TxFeeOverdraw: AugmentedError<ApiType>;
|
|
1929
|
+
/**
|
|
1930
|
+
* Unsupported precompile address.
|
|
1931
|
+
**/
|
|
1932
|
+
UnsupportedPrecompileAddress: AugmentedError<ApiType>;
|
|
1933
|
+
/**
|
|
1934
|
+
* Event body or storage item exceeds [`limits::STORAGE_BYTES`].
|
|
1935
|
+
**/
|
|
1936
|
+
ValueTooLarge: AugmentedError<ApiType>;
|
|
1641
1937
|
};
|
|
1642
1938
|
scheduler: {
|
|
1643
1939
|
/**
|
|
@@ -1684,6 +1980,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1684
1980
|
NoKeys: AugmentedError<ApiType>;
|
|
1685
1981
|
};
|
|
1686
1982
|
settlement: {
|
|
1983
|
+
/**
|
|
1984
|
+
* Spender allowances are not supported for non-fungible token transfers.
|
|
1985
|
+
**/
|
|
1986
|
+
AllowancesNotSupportedForNFTs: AugmentedError<ApiType>;
|
|
1687
1987
|
/**
|
|
1688
1988
|
* The caller is not a mediator in the instruction.
|
|
1689
1989
|
**/
|
|
@@ -1716,6 +2016,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1716
2016
|
* The input weight is less than the minimum required.
|
|
1717
2017
|
**/
|
|
1718
2018
|
InputWeightIsLessThanMinimum: AugmentedError<ApiType>;
|
|
2019
|
+
/**
|
|
2020
|
+
* The instruction is already locked. It must be unlocked before relocking.
|
|
2021
|
+
**/
|
|
2022
|
+
InstructionAlreadyLocked: AugmentedError<ApiType>;
|
|
1719
2023
|
/**
|
|
1720
2024
|
* Instruction has invalid dates
|
|
1721
2025
|
**/
|
|
@@ -1724,6 +2028,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1724
2028
|
* Instruction has not been affirmed.
|
|
1725
2029
|
**/
|
|
1726
2030
|
InstructionNotAffirmed: AugmentedError<ApiType>;
|
|
2031
|
+
/**
|
|
2032
|
+
* The instruction is not in `LockedForExecution` status and cannot be unlocked.
|
|
2033
|
+
**/
|
|
2034
|
+
InstructionNotLocked: AugmentedError<ApiType>;
|
|
1727
2035
|
/**
|
|
1728
2036
|
* Instruction settlement block has not yet been reached.
|
|
1729
2037
|
**/
|
|
@@ -1732,6 +2040,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1732
2040
|
* Instruction's target settle block reached.
|
|
1733
2041
|
**/
|
|
1734
2042
|
InstructionSettleBlockPassed: AugmentedError<ApiType>;
|
|
2043
|
+
/**
|
|
2044
|
+
* Invalid account id.
|
|
2045
|
+
**/
|
|
2046
|
+
InvalidAccountId: AugmentedError<ApiType>;
|
|
1735
2047
|
/**
|
|
1736
2048
|
* The mediator's expiry date must be in the future.
|
|
1737
2049
|
**/
|
|
@@ -1784,10 +2096,18 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1784
2096
|
* The maximum number of receipts was exceeded.
|
|
1785
2097
|
**/
|
|
1786
2098
|
MaxNumberOfReceiptsExceeded: AugmentedError<ApiType>;
|
|
2099
|
+
/**
|
|
2100
|
+
* The maximum number of relocks for this instruction has been exceeded.
|
|
2101
|
+
**/
|
|
2102
|
+
MaxRelockCountExceeded: AugmentedError<ApiType>;
|
|
1787
2103
|
/**
|
|
1788
2104
|
* The expiry date for the mediator's affirmation has passed.
|
|
1789
2105
|
**/
|
|
1790
2106
|
MediatorAffirmationExpired: AugmentedError<ApiType>;
|
|
2107
|
+
/**
|
|
2108
|
+
* At least one mediator is required for this instruction.
|
|
2109
|
+
**/
|
|
2110
|
+
MissingInstructionMediators: AugmentedError<ApiType>;
|
|
1791
2111
|
/**
|
|
1792
2112
|
* Multiple receipts for the same leg are not allowed.
|
|
1793
2113
|
**/
|
|
@@ -1824,6 +2144,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1824
2144
|
* Receipt already used.
|
|
1825
2145
|
**/
|
|
1826
2146
|
ReceiptAlreadyClaimed: AugmentedError<ApiType>;
|
|
2147
|
+
/**
|
|
2148
|
+
* The receipt has expired and can no longer be claimed.
|
|
2149
|
+
**/
|
|
2150
|
+
ReceiptExpired: AugmentedError<ApiType>;
|
|
1827
2151
|
/**
|
|
1828
2152
|
* Off-chain receipts can only be used for off-chain leg type.
|
|
1829
2153
|
**/
|
|
@@ -1832,10 +2156,22 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1832
2156
|
* The instruction id in all receipts must match the extrinsic parameter.
|
|
1833
2157
|
**/
|
|
1834
2158
|
ReceiptInstructionIdMissmatch: AugmentedError<ApiType>;
|
|
2159
|
+
/**
|
|
2160
|
+
* Receiver identity not found.
|
|
2161
|
+
**/
|
|
2162
|
+
ReceiverIdentityNotFound: AugmentedError<ApiType>;
|
|
2163
|
+
/**
|
|
2164
|
+
* The relock cooldown period has not expired since the last unlock.
|
|
2165
|
+
**/
|
|
2166
|
+
RelockCooldownNotExpired: AugmentedError<ApiType>;
|
|
1835
2167
|
/**
|
|
1836
2168
|
* Sender and receiver are the same.
|
|
1837
2169
|
**/
|
|
1838
2170
|
SameSenderReceiver: AugmentedError<ApiType>;
|
|
2171
|
+
/**
|
|
2172
|
+
* Source and destination are the exact same AssetHolder.
|
|
2173
|
+
**/
|
|
2174
|
+
SenderSameAsReceiver: AugmentedError<ApiType>;
|
|
1839
2175
|
/**
|
|
1840
2176
|
* The provided settlement block number is in the past and cannot be used by the scheduler.
|
|
1841
2177
|
**/
|
|
@@ -2115,11 +2451,21 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
2115
2451
|
* An arithmetic operation resulted in overflow or underflow.
|
|
2116
2452
|
**/
|
|
2117
2453
|
Overflow: AugmentedError<ApiType>;
|
|
2454
|
+
/**
|
|
2455
|
+
* The off-chain receipt has expired and can no longer be used for investment.
|
|
2456
|
+
**/
|
|
2457
|
+
ReceiptExpired: AugmentedError<ApiType>;
|
|
2118
2458
|
/**
|
|
2119
2459
|
* Sender does not have required permissions for the requested operation.
|
|
2120
2460
|
**/
|
|
2121
2461
|
Unauthorized: AugmentedError<ApiType>;
|
|
2122
2462
|
};
|
|
2463
|
+
sudo: {
|
|
2464
|
+
/**
|
|
2465
|
+
* Sender must be the Sudo account.
|
|
2466
|
+
**/
|
|
2467
|
+
RequireSudo: AugmentedError<ApiType>;
|
|
2468
|
+
};
|
|
2123
2469
|
system: {
|
|
2124
2470
|
/**
|
|
2125
2471
|
* The origin filter prevent the call to be dispatched.
|
|
@@ -2307,23 +2653,6 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
2307
2653
|
OnlyPrimaryKeyAllowed: AugmentedError<ApiType>;
|
|
2308
2654
|
};
|
|
2309
2655
|
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
2656
|
/**
|
|
2328
2657
|
* Too many calls batched.
|
|
2329
2658
|
**/
|
|
@@ -2347,9 +2676,9 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
2347
2676
|
**/
|
|
2348
2677
|
IdentityIsAlreadyPermissioned: AugmentedError<ApiType>;
|
|
2349
2678
|
/**
|
|
2350
|
-
* Identity
|
|
2679
|
+
* Identity does not exist or is locked.
|
|
2351
2680
|
**/
|
|
2352
|
-
|
|
2681
|
+
IdentityIsInactive: AugmentedError<ApiType>;
|
|
2353
2682
|
/**
|
|
2354
2683
|
* Identity was not found in the permissioned identity pool.
|
|
2355
2684
|
**/
|