@polymeshassociation/polymesh-sdk 21.0.0-alpha.8 → 21.0.0-alpha.9
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/CHANGELOG.md +36 -2
- package/README.md +1 -1
- package/api/client/Claims.d.ts +3 -17
- package/api/client/Claims.d.ts.map +1 -1
- package/api/client/Claims.js +0 -20
- package/api/client/Claims.js.map +1 -1
- package/api/entities/Asset/Checkpoints/Schedules.d.ts +1 -10
- package/api/entities/Asset/Checkpoints/Schedules.d.ts.map +1 -1
- package/api/entities/Asset/Checkpoints/Schedules.js +10 -24
- package/api/entities/Asset/Checkpoints/Schedules.js.map +1 -1
- package/api/entities/Asset/Documents.js +1 -1
- package/api/entities/Asset/Documents.js.map +1 -1
- package/api/entities/Asset/Offerings.js +1 -1
- package/api/entities/Asset/Offerings.js.map +1 -1
- package/api/entities/Asset/Settlements.d.ts.map +1 -1
- package/api/entities/Asset/Settlements.js +8 -1
- package/api/entities/Asset/Settlements.js.map +1 -1
- package/api/entities/Asset/index.d.ts +0 -4
- package/api/entities/Asset/index.d.ts.map +1 -1
- package/api/entities/Asset/index.js +17 -29
- package/api/entities/Asset/index.js.map +1 -1
- package/api/entities/Asset/types.d.ts +0 -4
- package/api/entities/Asset/types.d.ts.map +1 -1
- package/api/entities/Asset/types.js.map +1 -1
- package/api/entities/CheckpointSchedule/index.d.ts +6 -25
- package/api/entities/CheckpointSchedule/index.d.ts.map +1 -1
- package/api/entities/CheckpointSchedule/index.js +17 -32
- package/api/entities/CheckpointSchedule/index.js.map +1 -1
- package/api/entities/CorporateActionBase/index.d.ts.map +1 -1
- package/api/entities/CorporateActionBase/index.js +7 -7
- package/api/entities/CorporateActionBase/index.js.map +1 -1
- package/api/entities/Identity/index.d.ts +0 -11
- package/api/entities/Identity/index.d.ts.map +1 -1
- package/api/entities/Identity/index.js +16 -30
- package/api/entities/Identity/index.js.map +1 -1
- package/api/entities/Instruction/index.d.ts +6 -8
- package/api/entities/Instruction/index.d.ts.map +1 -1
- package/api/entities/Instruction/index.js +64 -39
- package/api/entities/Instruction/index.js.map +1 -1
- package/api/entities/Instruction/types.d.ts +3 -2
- package/api/entities/Instruction/types.d.ts.map +1 -1
- package/api/entities/Instruction/types.js +2 -1
- package/api/entities/Instruction/types.js.map +1 -1
- package/api/entities/NumberedPortfolio.d.ts.map +1 -1
- package/api/entities/NumberedPortfolio.js +3 -6
- package/api/entities/NumberedPortfolio.js.map +1 -1
- package/api/entities/Offering/index.d.ts.map +1 -1
- package/api/entities/Offering/index.js +1 -1
- package/api/entities/Offering/index.js.map +1 -1
- package/api/entities/TickerReservation/index.d.ts.map +1 -1
- package/api/entities/TickerReservation/index.js +12 -18
- package/api/entities/TickerReservation/index.js.map +1 -1
- package/api/procedures/addInstruction.d.ts.map +1 -1
- package/api/procedures/addInstruction.js +12 -9
- package/api/procedures/addInstruction.js.map +1 -1
- package/api/procedures/createAsset.d.ts +2 -1
- package/api/procedures/createAsset.d.ts.map +1 -1
- package/api/procedures/createAsset.js +14 -32
- package/api/procedures/createAsset.js.map +1 -1
- package/api/procedures/createCheckpointSchedule.d.ts.map +1 -1
- package/api/procedures/createCheckpointSchedule.js +15 -7
- package/api/procedures/createCheckpointSchedule.js.map +1 -1
- package/api/procedures/issueTokens.d.ts.map +1 -1
- package/api/procedures/issueTokens.js +7 -2
- package/api/procedures/issueTokens.js.map +1 -1
- package/api/procedures/linkCaDocs.d.ts.map +1 -1
- package/api/procedures/linkCaDocs.js +5 -3
- package/api/procedures/linkCaDocs.js.map +1 -1
- package/api/procedures/modifyClaims.d.ts.map +1 -1
- package/api/procedures/modifyClaims.js +21 -37
- package/api/procedures/modifyClaims.js.map +1 -1
- package/api/procedures/modifySignerPermissions.d.ts +1 -1
- package/api/procedures/modifySignerPermissions.d.ts.map +1 -1
- package/api/procedures/modifySignerPermissions.js +4 -2
- package/api/procedures/modifySignerPermissions.js.map +1 -1
- package/api/procedures/moveFunds.d.ts.map +1 -1
- package/api/procedures/moveFunds.js +1 -1
- package/api/procedures/moveFunds.js.map +1 -1
- package/api/procedures/removeCheckpointSchedule.d.ts.map +1 -1
- package/api/procedures/removeCheckpointSchedule.js +3 -2
- package/api/procedures/removeCheckpointSchedule.js.map +1 -1
- package/api/procedures/setAssetDocuments.d.ts.map +1 -1
- package/api/procedures/setAssetDocuments.js +4 -2
- package/api/procedures/setAssetDocuments.js.map +1 -1
- package/api/procedures/types.d.ts +5 -12
- package/api/procedures/types.d.ts.map +1 -1
- package/api/procedures/types.js.map +1 -1
- package/api/procedures/utils.d.ts.map +1 -1
- package/api/procedures/utils.js +20 -16
- package/api/procedures/utils.js.map +1 -1
- package/base/Context.d.ts +4 -4
- package/base/Context.d.ts.map +1 -1
- package/base/Context.js +3 -2
- package/base/Context.js.map +1 -1
- package/base/PolymeshTransactionBatch.js +1 -1
- package/base/PolymeshTransactionBatch.js.map +1 -1
- package/generated/types.d.ts +30 -6
- package/generated/types.d.ts.map +1 -1
- package/generated/types.js +24 -0
- package/generated/types.js.map +1 -1
- package/internal.d.ts +0 -2
- package/internal.d.ts.map +1 -1
- package/internal.js +3 -7
- package/internal.js.map +1 -1
- package/middleware/enumsV2.d.ts +1 -1
- package/middleware/enumsV2.d.ts.map +1 -1
- package/middleware/enumsV2.js +3 -1
- package/middleware/enumsV2.js.map +1 -1
- package/middleware/typesV2.d.ts +191 -1
- package/middleware/typesV2.d.ts.map +1 -1
- package/middleware/typesV2.js +75 -1
- package/middleware/typesV2.js.map +1 -1
- package/npm-package/polymeshassociation-polymesh-sdk-21.0.0-alpha.9.tgz +0 -0
- package/package.json +3 -3
- package/polkadot/asset/definitions.d.ts +0 -9
- package/polkadot/asset/definitions.d.ts.map +1 -1
- package/polkadot/asset/definitions.js +1 -47
- package/polkadot/asset/definitions.js.map +1 -1
- package/polkadot/augment-api-consts.d.ts +26 -9
- package/polkadot/augment-api-consts.d.ts.map +1 -1
- package/polkadot/augment-api-consts.js +3 -0
- package/polkadot/augment-api-consts.js.map +1 -1
- package/polkadot/augment-api-errors.d.ts +110 -133
- package/polkadot/augment-api-errors.d.ts.map +1 -1
- package/polkadot/augment-api-errors.js +3 -0
- package/polkadot/augment-api-errors.js.map +1 -1
- package/polkadot/augment-api-events.d.ts +135 -167
- package/polkadot/augment-api-events.d.ts.map +1 -1
- package/polkadot/augment-api-events.js +3 -0
- package/polkadot/augment-api-events.js.map +1 -1
- package/polkadot/augment-api-query.d.ts +120 -93
- package/polkadot/augment-api-query.d.ts.map +1 -1
- package/polkadot/augment-api-query.js +3 -0
- package/polkadot/augment-api-query.js.map +1 -1
- package/polkadot/augment-api-rpc.d.ts +29 -24
- package/polkadot/augment-api-rpc.d.ts.map +1 -1
- package/polkadot/augment-api-rpc.js +1 -0
- package/polkadot/augment-api-rpc.js.map +1 -1
- package/polkadot/augment-api-runtime.d.ts +0 -7
- package/polkadot/augment-api-runtime.d.ts.map +1 -1
- package/polkadot/augment-api-tx.d.ts +482 -738
- package/polkadot/augment-api-tx.d.ts.map +1 -1
- package/polkadot/augment-api-tx.js +3 -0
- package/polkadot/augment-api-tx.js.map +1 -1
- package/polkadot/augment-api.d.ts +1 -0
- package/polkadot/augment-api.d.ts.map +1 -1
- package/polkadot/augment-api.js +1 -0
- package/polkadot/augment-api.js.map +1 -1
- package/polkadot/augment-types.d.ts +8 -12
- package/polkadot/augment-types.d.ts.map +1 -1
- package/polkadot/augment-types.js +3 -0
- package/polkadot/augment-types.js.map +1 -1
- package/polkadot/definitions.d.ts +1 -1
- package/polkadot/definitions.d.ts.map +1 -1
- package/polkadot/definitions.js +17 -17
- package/polkadot/definitions.js.map +1 -1
- package/polkadot/identity/definitions.d.ts +9 -0
- package/polkadot/identity/definitions.d.ts.map +1 -1
- package/polkadot/identity/definitions.js +21 -0
- package/polkadot/identity/definitions.js.map +1 -1
- package/polkadot/lookup.d.ts +534 -682
- package/polkadot/lookup.d.ts.map +1 -1
- package/polkadot/lookup.js +664 -820
- package/polkadot/lookup.js.map +1 -1
- package/polkadot/polymesh/definitions.d.ts +36 -43
- package/polkadot/polymesh/definitions.d.ts.map +1 -1
- package/polkadot/polymesh/definitions.js +38 -45
- package/polkadot/polymesh/definitions.js.map +1 -1
- package/polkadot/polymesh/types.d.ts +50 -67
- package/polkadot/polymesh/types.d.ts.map +1 -1
- package/polkadot/registry.d.ts +27 -44
- package/polkadot/registry.d.ts.map +1 -1
- package/polkadot/registry.js +3 -0
- package/polkadot/registry.js.map +1 -1
- package/polkadot/schema.d.ts +223 -61
- package/polkadot/schema.d.ts.map +1 -1
- package/polkadot/schema.js +335 -120
- package/polkadot/schema.js.map +1 -1
- package/polkadot/settlement/definitions.d.ts +16 -0
- package/polkadot/settlement/definitions.d.ts.map +1 -0
- package/polkadot/settlement/definitions.js +25 -0
- package/polkadot/settlement/definitions.js.map +1 -0
- package/polkadot/settlement/index.d.ts +2 -0
- package/polkadot/settlement/index.d.ts.map +1 -0
- package/polkadot/settlement/index.js +20 -0
- package/polkadot/settlement/index.js.map +1 -0
- package/polkadot/settlement/types.d.ts +2 -0
- package/polkadot/settlement/types.d.ts.map +1 -0
- package/polkadot/settlement/types.js +5 -0
- package/polkadot/settlement/types.js.map +1 -0
- package/polkadot/types-lookup.d.ts +741 -918
- package/polkadot/types-lookup.d.ts.map +1 -1
- package/polkadot/types-lookup.js +4 -0
- package/polkadot/types-lookup.js.map +1 -1
- package/polkadot/types.d.ts +1 -1
- package/polkadot/types.d.ts.map +1 -1
- package/polkadot/types.js +1 -1
- package/polkadot/types.js.map +1 -1
- package/types/index.d.ts +3 -39
- package/types/index.d.ts.map +1 -1
- package/types/index.js +1 -15
- package/types/index.js.map +1 -1
- package/types/internal.d.ts +4 -7
- package/types/internal.d.ts.map +1 -1
- package/types/internal.js +2 -0
- package/types/internal.js.map +1 -1
- package/utils/constants.d.ts +3 -3
- package/utils/constants.d.ts.map +1 -1
- package/utils/constants.js +3 -3
- package/utils/constants.js.map +1 -1
- package/utils/conversion.d.ts +29 -48
- package/utils/conversion.d.ts.map +1 -1
- package/utils/conversion.js +46 -186
- package/utils/conversion.js.map +1 -1
- package/utils/internal.d.ts +4 -12
- package/utils/internal.d.ts.map +1 -1
- package/utils/internal.js +8 -106
- package/utils/internal.js.map +1 -1
- package/utils/typeguards.d.ts +1 -13
- package/utils/typeguards.d.ts.map +1 -1
- package/utils/typeguards.js +2 -28
- package/utils/typeguards.js.map +1 -1
- package/api/procedures/addInvestorUniquenessClaim.d.ts +0 -16
- package/api/procedures/addInvestorUniquenessClaim.d.ts.map +0 -1
- package/api/procedures/addInvestorUniquenessClaim.js +0 -82
- package/api/procedures/addInvestorUniquenessClaim.js.map +0 -1
- package/api/procedures/rescheduleInstruction.d.ts +0 -18
- package/api/procedures/rescheduleInstruction.d.ts.map +0 -1
- package/api/procedures/rescheduleInstruction.js +0 -52
- package/api/procedures/rescheduleInstruction.js.map +0 -1
- package/npm-package/polymeshassociation-polymesh-sdk-21.0.0-alpha.8.tgz +0 -0
|
@@ -3,52 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
/* eslint-disable @typescript-eslint/naming-convention */
|
|
4
4
|
exports.default = {
|
|
5
5
|
rpc: {
|
|
6
|
-
canTransfer: {
|
|
7
|
-
description: 'Checks whether a transaction with given parameters can take place or not',
|
|
8
|
-
params: [
|
|
9
|
-
{
|
|
10
|
-
name: 'sender',
|
|
11
|
-
type: 'AccountId',
|
|
12
|
-
isOptional: false,
|
|
13
|
-
},
|
|
14
|
-
{
|
|
15
|
-
name: 'fromCustodian',
|
|
16
|
-
type: 'Option<PolymeshPrimitivesIdentityId>',
|
|
17
|
-
isOptional: false,
|
|
18
|
-
},
|
|
19
|
-
{
|
|
20
|
-
name: 'fromPortfolio',
|
|
21
|
-
type: 'PortfolioId',
|
|
22
|
-
isOptional: false,
|
|
23
|
-
},
|
|
24
|
-
{
|
|
25
|
-
name: 'toCustodian',
|
|
26
|
-
type: 'Option<PolymeshPrimitivesIdentityId>',
|
|
27
|
-
isOptional: false,
|
|
28
|
-
},
|
|
29
|
-
{
|
|
30
|
-
name: 'toPortfolio',
|
|
31
|
-
type: 'PortfolioId',
|
|
32
|
-
isOptional: false,
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
name: 'ticker',
|
|
36
|
-
type: 'Ticker',
|
|
37
|
-
isOptional: false,
|
|
38
|
-
},
|
|
39
|
-
{
|
|
40
|
-
name: 'value',
|
|
41
|
-
type: 'Balance',
|
|
42
|
-
isOptional: false,
|
|
43
|
-
},
|
|
44
|
-
{
|
|
45
|
-
name: 'blockHash',
|
|
46
|
-
type: 'Hash',
|
|
47
|
-
isOptional: true,
|
|
48
|
-
},
|
|
49
|
-
],
|
|
50
|
-
type: 'CanTransferResult',
|
|
51
|
-
},
|
|
52
6
|
canTransferGranular: {
|
|
53
7
|
description: 'Checks whether a transaction with given parameters can take place or not. The result is granular meaning each check is run and returned regardless of outcome.',
|
|
54
8
|
params: [
|
|
@@ -88,7 +42,7 @@ exports.default = {
|
|
|
88
42
|
isOptional: true,
|
|
89
43
|
},
|
|
90
44
|
],
|
|
91
|
-
type: '
|
|
45
|
+
type: 'CanTransferGranularReturn',
|
|
92
46
|
},
|
|
93
47
|
},
|
|
94
48
|
types: {},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"definitions.js","sourceRoot":"","sources":["../../../src/polkadot/asset/definitions.ts"],"names":[],"mappings":";;AAAA,yDAAyD;AACzD,kBAAe;IACb,GAAG,EAAE;QACH,
|
|
1
|
+
{"version":3,"file":"definitions.js","sourceRoot":"","sources":["../../../src/polkadot/asset/definitions.ts"],"names":[],"mappings":";;AAAA,yDAAyD;AACzD,kBAAe;IACb,GAAG,EAAE;QACH,mBAAmB,EAAE;YACnB,WAAW,EACT,gKAAgK;YAClK,MAAM,EAAE;gBACN;oBACE,IAAI,EAAE,eAAe;oBACrB,IAAI,EAAE,sCAAsC;oBAC5C,UAAU,EAAE,KAAK;iBAClB;gBACD;oBACE,IAAI,EAAE,eAAe;oBACrB,IAAI,EAAE,aAAa;oBACnB,UAAU,EAAE,KAAK;iBAClB;gBACD;oBACE,IAAI,EAAE,aAAa;oBACnB,IAAI,EAAE,sCAAsC;oBAC5C,UAAU,EAAE,KAAK;iBAClB;gBACD;oBACE,IAAI,EAAE,aAAa;oBACnB,IAAI,EAAE,aAAa;oBACnB,UAAU,EAAE,KAAK;iBAClB;gBACD;oBACE,IAAI,EAAE,QAAQ;oBACd,IAAI,EAAE,QAAQ;oBACd,UAAU,EAAE,KAAK;iBAClB;gBACD;oBACE,IAAI,EAAE,OAAO;oBACb,IAAI,EAAE,SAAS;oBACf,UAAU,EAAE,KAAK;iBAClB;gBACD;oBACE,IAAI,EAAE,WAAW;oBACjB,IAAI,EAAE,MAAM;oBACZ,UAAU,EAAE,IAAI;iBACjB;aACF;YACD,IAAI,EAAE,2BAA2B;SAClC;KACF;IACD,KAAK,EAAE,EAAE;CACV,CAAC"}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
import
|
|
1
|
+
import '@polkadot/api-base/types/consts';
|
|
2
|
+
import type { ApiTypes, AugmentedConst } from '@polkadot/api-base/types';
|
|
2
3
|
import type { Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
|
|
3
4
|
import type { Perbill, Permill } from '@polkadot/types/interfaces/runtime';
|
|
4
5
|
import type { FrameSystemLimitsBlockLength, FrameSystemLimitsBlockWeights, PalletContractsSchedule, SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, SpWeightsWeightToFeeCoefficient, SpWeightsWeightV2Weight } from "./types-lookup.ts";
|
|
6
|
+
export declare type __AugmentedConst<ApiType extends ApiTypes> = AugmentedConst<ApiType>;
|
|
5
7
|
declare module '@polkadot/api-base/types/consts' {
|
|
6
8
|
interface AugmentedConsts<ApiType extends ApiTypes> {
|
|
7
9
|
asset: {
|
|
@@ -11,14 +13,6 @@ declare module '@polkadot/api-base/types/consts' {
|
|
|
11
13
|
assetNameMaxLength: u32 & AugmentedConst<ApiType>;
|
|
12
14
|
fundingRoundNameMaxLength: u32 & AugmentedConst<ApiType>;
|
|
13
15
|
};
|
|
14
|
-
authorship: {
|
|
15
|
-
/**
|
|
16
|
-
* The number of blocks back we should accept uncles.
|
|
17
|
-
* This means that we will deal with uncle-parents that are
|
|
18
|
-
* `UncleGenerations + 1` before `now`.
|
|
19
|
-
**/
|
|
20
|
-
uncleGenerations: u32 & AugmentedConst<ApiType>;
|
|
21
|
-
};
|
|
22
16
|
babe: {
|
|
23
17
|
/**
|
|
24
18
|
* The amount of time, in slots, that each epoch should last.
|
|
@@ -99,8 +93,16 @@ declare module '@polkadot/api-base/types/consts' {
|
|
|
99
93
|
* The maximum length of a contract code in bytes. This limit applies to the instrumented
|
|
100
94
|
* version of the code. Therefore `instantiate_with_code` can fail even when supplying
|
|
101
95
|
* a wasm binary below this maximum size.
|
|
96
|
+
*
|
|
97
|
+
* The value should be chosen carefully taking into the account the overall memory limit
|
|
98
|
+
* your runtime has, as well as the [maximum allowed callstack
|
|
99
|
+
* depth](#associatedtype.CallStack). Look into the `integrity_test()` for some insights.
|
|
102
100
|
**/
|
|
103
101
|
maxCodeLen: u32 & AugmentedConst<ApiType>;
|
|
102
|
+
/**
|
|
103
|
+
* The maximum length of the debug buffer in bytes.
|
|
104
|
+
**/
|
|
105
|
+
maxDebugBufferLen: u32 & AugmentedConst<ApiType>;
|
|
104
106
|
/**
|
|
105
107
|
* The maximum allowable length in bytes for storage keys.
|
|
106
108
|
**/
|
|
@@ -131,6 +133,15 @@ declare module '@polkadot/api-base/types/consts' {
|
|
|
131
133
|
* Max Authorities in use
|
|
132
134
|
**/
|
|
133
135
|
maxAuthorities: u32 & AugmentedConst<ApiType>;
|
|
136
|
+
/**
|
|
137
|
+
* The maximum number of entries to keep in the set id to session index mapping.
|
|
138
|
+
*
|
|
139
|
+
* Since the `SetIdSession` map is only used for validating equivocations this
|
|
140
|
+
* value should relate to the bonding duration of whatever staking system is
|
|
141
|
+
* being used (if any). If equivocation handling is not enabled then this value
|
|
142
|
+
* can be zero.
|
|
143
|
+
**/
|
|
144
|
+
maxSetIdSessionEntries: u64 & AugmentedConst<ApiType>;
|
|
134
145
|
};
|
|
135
146
|
identity: {
|
|
136
147
|
initialPOLYX: u128 & AugmentedConst<ApiType>;
|
|
@@ -280,6 +291,12 @@ declare module '@polkadot/api-base/types/consts' {
|
|
|
280
291
|
**/
|
|
281
292
|
weightToFee: Vec<SpWeightsWeightToFeeCoefficient> & AugmentedConst<ApiType>;
|
|
282
293
|
};
|
|
294
|
+
utility: {
|
|
295
|
+
/**
|
|
296
|
+
* The limit on the number of batched calls.
|
|
297
|
+
**/
|
|
298
|
+
batchedCallsLimit: u32 & AugmentedConst<ApiType>;
|
|
299
|
+
};
|
|
283
300
|
}
|
|
284
301
|
}
|
|
285
302
|
//# sourceMappingURL=augment-api-consts.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"augment-api-consts.d.ts","sourceRoot":"","sources":["../../src/polkadot/augment-api-consts.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"augment-api-consts.d.ts","sourceRoot":"","sources":["../../src/polkadot/augment-api-consts.ts"],"names":[],"mappings":"AAKA,OAAO,iCAAiC,CAAC;AAEzC,OAAO,KAAK,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AACzE,OAAO,KAAK,EAAE,GAAG,EAAE,IAAI,EAAE,IAAI,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,EAAE,EAAE,MAAM,uBAAuB,CAAC;AAChF,OAAO,KAAK,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,oCAAoC,CAAC;AAC3E,OAAO,KAAK,EACV,4BAA4B,EAC5B,6BAA6B,EAC7B,uBAAuB,EACvB,uBAAuB,EACvB,wBAAwB,EACxB,+BAA+B,EAC/B,uBAAuB,EACxB,0BAA+B;AAEhC,oBAAY,gBAAgB,CAAC,OAAO,SAAS,QAAQ,IAAI,cA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AAC,OAAO,CAAC,CAAC;YAChD,6BAA6B,EAAE,GAAG,GAAG,cAAc,CAAC,OAAO,CAAC,CAAC;SAC9D,CAAC;QACF,MAAM,EAAE;YACN;;gBAEI;YACJ,cAAc,EAAE,GAAG,GAAG,cAAc,CAAC,OAAO,CAAC,CAAC;YAC9C;;gBAEI;YACJ,WAAW,EAAE,4BAA4B,GAAG,cAAc,CAAC,OAAO,CAAC,CAAC;YACpE;;gBAEI;YACJ,YAAY,EAAE,6BAA6B,GAAG,cAAc,CAAC,OAAO,CAAC,CAAC;YACtE;;gBAEI;YACJ,QAAQ,EAAE,wBAAwB,GAAG,cAAc,CAAC,OAAO,CAAC,CAAC;YAC7D;;;;;;gBAMI;YACJ,UAAU,EAAE,GAAG,GAAG,cAAc,CAAC,OAAO,CAAC,CAAC;YAC1C;;gBAEI;YACJ,OAAO,EAAE,uBAAuB,GAAG,cAAc,CAAC,OAAO,CAAC,CAAC;SAC5D,CAAC;QACF,SAAS,EAAE;YACT;;;;;gBAKI;YACJ,aAAa,EAAE,GAAG,GAAG,cAAc,CAAC,OAAO,CAAC,CAAC;SAC9C,CAAC;QACF,kBAAkB,EAAE;YAClB;;gBAEI;YACJ,kBAAkB,EAAE,IAAI,GAAG,cAAc,CAAC,OAAO,CAAC,CAAC;YACnD;;gBAEI;YACJ,WAAW,EAAE,GAAG,CAAC,+BAA+B,CAAC,GAAG,cAAc,CAAC,OAAO,CAAC,CAAC;SAC7E,CAAC;QACF,OAAO,EAAE;YACP;;gBAEI;YACJ,iBAAiB,EAAE,GAAG,GAAG,cAAc,CAAC,OAAO,CAAC,CAAC;SAClD,CAAC;KACH;CACF"}
|
|
@@ -2,4 +2,7 @@
|
|
|
2
2
|
// Auto-generated via `yarn polkadot-types-from-chain`, do not edit
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
// import type lookup before we augment - in some environments
|
|
6
|
+
// this is required to allow for ambient/previous definitions
|
|
7
|
+
require("@polkadot/api-base/types/consts");
|
|
5
8
|
//# sourceMappingURL=augment-api-consts.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"augment-api-consts.js","sourceRoot":"","sources":["../../src/polkadot/augment-api-consts.ts"],"names":[],"mappings":";AAAA,mEAAmE;AACnE,oBAAoB"}
|
|
1
|
+
{"version":3,"file":"augment-api-consts.js","sourceRoot":"","sources":["../../src/polkadot/augment-api-consts.ts"],"names":[],"mappings":";AAAA,mEAAmE;AACnE,oBAAoB;;AAEpB,8DAA8D;AAC9D,6DAA6D;AAC7D,2CAAyC"}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
import
|
|
1
|
+
import '@polkadot/api-base/types/errors';
|
|
2
|
+
import type { ApiTypes, AugmentedError } from '@polkadot/api-base/types';
|
|
3
|
+
export declare type __AugmentedError<ApiType extends ApiTypes> = AugmentedError<ApiType>;
|
|
2
4
|
declare module '@polkadot/api-base/types/errors' {
|
|
3
5
|
interface AugmentedErrors<ApiType extends ApiTypes> {
|
|
4
6
|
asset: {
|
|
@@ -90,10 +92,6 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
90
92
|
* Investor Uniqueness claims are not allowed for this asset.
|
|
91
93
|
**/
|
|
92
94
|
InvestorUniquenessClaimNotAllowed: AugmentedError<ApiType>;
|
|
93
|
-
/**
|
|
94
|
-
* Investor Uniqueness not allowed.
|
|
95
|
-
**/
|
|
96
|
-
InvestorUniquenessNotAllowed: AugmentedError<ApiType>;
|
|
97
95
|
/**
|
|
98
96
|
* Maximum length of asset name has been exceeded.
|
|
99
97
|
**/
|
|
@@ -102,10 +100,6 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
102
100
|
* No such token.
|
|
103
101
|
**/
|
|
104
102
|
NoSuchAsset: AugmentedError<ApiType>;
|
|
105
|
-
/**
|
|
106
|
-
* The given ticker is not a classic one.
|
|
107
|
-
**/
|
|
108
|
-
NoSuchClassicTicker: AugmentedError<ApiType>;
|
|
109
103
|
/**
|
|
110
104
|
* The given Document does not exist.
|
|
111
105
|
**/
|
|
@@ -159,36 +153,6 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
159
153
|
**/
|
|
160
154
|
UnexpectedNonFungibleToken: AugmentedError<ApiType>;
|
|
161
155
|
};
|
|
162
|
-
authorship: {
|
|
163
|
-
/**
|
|
164
|
-
* The uncle is genesis.
|
|
165
|
-
**/
|
|
166
|
-
GenesisUncle: AugmentedError<ApiType>;
|
|
167
|
-
/**
|
|
168
|
-
* The uncle parent not in the chain.
|
|
169
|
-
**/
|
|
170
|
-
InvalidUncleParent: AugmentedError<ApiType>;
|
|
171
|
-
/**
|
|
172
|
-
* The uncle isn't recent enough to be included.
|
|
173
|
-
**/
|
|
174
|
-
OldUncle: AugmentedError<ApiType>;
|
|
175
|
-
/**
|
|
176
|
-
* The uncle is too high in chain.
|
|
177
|
-
**/
|
|
178
|
-
TooHighUncle: AugmentedError<ApiType>;
|
|
179
|
-
/**
|
|
180
|
-
* Too many uncles.
|
|
181
|
-
**/
|
|
182
|
-
TooManyUncles: AugmentedError<ApiType>;
|
|
183
|
-
/**
|
|
184
|
-
* The uncle is already included.
|
|
185
|
-
**/
|
|
186
|
-
UncleAlreadyIncluded: AugmentedError<ApiType>;
|
|
187
|
-
/**
|
|
188
|
-
* Uncles already set in the block.
|
|
189
|
-
**/
|
|
190
|
-
UnclesAlreadySet: AugmentedError<ApiType>;
|
|
191
|
-
};
|
|
192
156
|
babe: {
|
|
193
157
|
/**
|
|
194
158
|
* A given equivocation report is valid but already previously reported.
|
|
@@ -393,28 +357,30 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
393
357
|
OnlyPrimaryKeyAllowed: AugmentedError<ApiType>;
|
|
394
358
|
};
|
|
395
359
|
checkpoint: {
|
|
396
|
-
/**
|
|
397
|
-
* Failed to compute the next checkpoint.
|
|
398
|
-
* The schedule does not have any upcoming checkpoints.
|
|
399
|
-
**/
|
|
400
|
-
FailedToComputeNextCheckpoint: AugmentedError<ApiType>;
|
|
401
360
|
/**
|
|
402
361
|
* A checkpoint schedule does not exist for the asset.
|
|
403
362
|
**/
|
|
404
363
|
NoSuchSchedule: AugmentedError<ApiType>;
|
|
405
364
|
/**
|
|
406
|
-
* The
|
|
365
|
+
* The schedule has no more checkpoints.
|
|
366
|
+
**/
|
|
367
|
+
ScheduleFinished: AugmentedError<ApiType>;
|
|
368
|
+
/**
|
|
369
|
+
* The schedule has expired checkpoints.
|
|
370
|
+
**/
|
|
371
|
+
ScheduleHasExpiredCheckpoints: AugmentedError<ApiType>;
|
|
372
|
+
/**
|
|
373
|
+
* Can't create an empty schedule.
|
|
407
374
|
**/
|
|
408
|
-
|
|
375
|
+
ScheduleIsEmpty: AugmentedError<ApiType>;
|
|
409
376
|
/**
|
|
410
377
|
* A checkpoint schedule is not removable as `ref_count(schedule_id) > 0`.
|
|
411
378
|
**/
|
|
412
379
|
ScheduleNotRemovable: AugmentedError<ApiType>;
|
|
413
380
|
/**
|
|
414
|
-
* The
|
|
415
|
-
* For example, they are too many, or they occurs too frequently.
|
|
381
|
+
* The new schedule would put the ticker over the maximum complexity allowed.
|
|
416
382
|
**/
|
|
417
|
-
|
|
383
|
+
SchedulesOverMaxComplexity: AugmentedError<ApiType>;
|
|
418
384
|
};
|
|
419
385
|
committeeMembership: {
|
|
420
386
|
/**
|
|
@@ -448,11 +414,11 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
448
414
|
};
|
|
449
415
|
complianceManager: {
|
|
450
416
|
/**
|
|
451
|
-
* The worst case scenario of the compliance requirement is too complex
|
|
417
|
+
* The worst case scenario of the compliance requirement is too complex.
|
|
452
418
|
**/
|
|
453
419
|
ComplianceRequirementTooComplex: AugmentedError<ApiType>;
|
|
454
420
|
/**
|
|
455
|
-
* Did not exist
|
|
421
|
+
* Did not exist.
|
|
456
422
|
**/
|
|
457
423
|
DidNotExist: AugmentedError<ApiType>;
|
|
458
424
|
/**
|
|
@@ -460,17 +426,21 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
460
426
|
**/
|
|
461
427
|
DuplicateComplianceRequirements: AugmentedError<ApiType>;
|
|
462
428
|
/**
|
|
463
|
-
* Issuer exist but trying to add it again
|
|
429
|
+
* Issuer exist but trying to add it again.
|
|
464
430
|
**/
|
|
465
431
|
IncorrectOperationOnTrustedIssuer: AugmentedError<ApiType>;
|
|
466
432
|
/**
|
|
467
|
-
* Compliance requirement id doesn't exist
|
|
433
|
+
* Compliance requirement id doesn't exist.
|
|
468
434
|
**/
|
|
469
435
|
InvalidComplianceRequirementId: AugmentedError<ApiType>;
|
|
470
436
|
/**
|
|
471
437
|
* User is not authorized.
|
|
472
438
|
**/
|
|
473
439
|
Unauthorized: AugmentedError<ApiType>;
|
|
440
|
+
/**
|
|
441
|
+
* The maximum weight limit for executing the function was exceeded.
|
|
442
|
+
**/
|
|
443
|
+
WeightLimitExceeded: AugmentedError<ApiType>;
|
|
474
444
|
};
|
|
475
445
|
contracts: {
|
|
476
446
|
/**
|
|
@@ -512,10 +482,6 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
512
482
|
* Contract trapped during execution.
|
|
513
483
|
**/
|
|
514
484
|
ContractTrapped: AugmentedError<ApiType>;
|
|
515
|
-
/**
|
|
516
|
-
* The debug message specified to `seal_debug_message` does contain invalid UTF-8.
|
|
517
|
-
**/
|
|
518
|
-
DebugMessageInvalidUTF8: AugmentedError<ApiType>;
|
|
519
485
|
/**
|
|
520
486
|
* Input passed to a contract API function failed to decode as expected type.
|
|
521
487
|
**/
|
|
@@ -532,10 +498,6 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
532
498
|
* A contract with the same AccountId already exists.
|
|
533
499
|
**/
|
|
534
500
|
DuplicateContract: AugmentedError<ApiType>;
|
|
535
|
-
/**
|
|
536
|
-
* The topics passed to `seal_deposit_events` contains at least one duplicate.
|
|
537
|
-
**/
|
|
538
|
-
DuplicateTopics: AugmentedError<ApiType>;
|
|
539
501
|
/**
|
|
540
502
|
* An indetermistic code was used in a context where this is not permitted.
|
|
541
503
|
**/
|
|
@@ -617,10 +579,6 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
617
579
|
ValueTooLarge: AugmentedError<ApiType>;
|
|
618
580
|
};
|
|
619
581
|
corporateAction: {
|
|
620
|
-
/**
|
|
621
|
-
* The authorization type is not to transfer the CAA to another DID.
|
|
622
|
-
**/
|
|
623
|
-
AuthNotCAATransfer: AugmentedError<ApiType>;
|
|
624
582
|
/**
|
|
625
583
|
* A CA's declaration date was strictly after its record date.
|
|
626
584
|
**/
|
|
@@ -811,30 +769,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
811
769
|
* Cannot convert a `T::AccountId` to `AnySignature::Signer::AccountId`.
|
|
812
770
|
**/
|
|
813
771
|
CannotDecodeSignerAccountId: AugmentedError<ApiType>;
|
|
814
|
-
/**
|
|
815
|
-
* CDDId should be unique & same within all cdd claims possessed by a DID.
|
|
816
|
-
**/
|
|
817
|
-
CDDIdNotUniqueForIdentity: AugmentedError<ApiType>;
|
|
818
|
-
/**
|
|
819
|
-
* Claim and Proof versions are different.
|
|
820
|
-
**/
|
|
821
|
-
ClaimAndProofVersionsDoNotMatch: AugmentedError<ApiType>;
|
|
822
772
|
/**
|
|
823
773
|
* Claim does not exist.
|
|
824
774
|
**/
|
|
825
775
|
ClaimDoesNotExist: AugmentedError<ApiType>;
|
|
826
|
-
/**
|
|
827
|
-
* Try to add a claim variant using un-designated extrinsic.
|
|
828
|
-
**/
|
|
829
|
-
ClaimVariantNotAllowed: AugmentedError<ApiType>;
|
|
830
|
-
/**
|
|
831
|
-
* Confidential Scope claims can be added by an Identity to it-self.
|
|
832
|
-
**/
|
|
833
|
-
ConfidentialScopeClaimNotAllowed: AugmentedError<ApiType>;
|
|
834
|
-
/**
|
|
835
|
-
* Current identity cannot be forwarded, it is not a secondary key of target identity.
|
|
836
|
-
**/
|
|
837
|
-
CurrentIdentityCannotBeForwarded: AugmentedError<ApiType>;
|
|
838
776
|
/**
|
|
839
777
|
* The custom claim type trying to be registered already exists.
|
|
840
778
|
**/
|
|
@@ -860,6 +798,14 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
860
798
|
* The DID must already exist.
|
|
861
799
|
**/
|
|
862
800
|
DidMustAlreadyExist: AugmentedError<ApiType>;
|
|
801
|
+
/**
|
|
802
|
+
* The same key was included multiple times.
|
|
803
|
+
**/
|
|
804
|
+
DuplicateKey: AugmentedError<ApiType>;
|
|
805
|
+
/**
|
|
806
|
+
* Cannot use Except when specifying extrinsic permissions.
|
|
807
|
+
**/
|
|
808
|
+
ExceptNotAllowedForExtrinsics: AugmentedError<ApiType>;
|
|
863
809
|
/**
|
|
864
810
|
* Couldn't charge fee for the transaction.
|
|
865
811
|
**/
|
|
@@ -881,13 +827,9 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
881
827
|
**/
|
|
882
828
|
InvalidAuthorizationSignature: AugmentedError<ApiType>;
|
|
883
829
|
/**
|
|
884
|
-
*
|
|
830
|
+
* Identity is already a child of an other identity, can't create grand-child identity.
|
|
885
831
|
**/
|
|
886
|
-
|
|
887
|
-
/**
|
|
888
|
-
* Addition of a new scope claim gets invalidated.
|
|
889
|
-
**/
|
|
890
|
-
InvalidScopeClaim: AugmentedError<ApiType>;
|
|
832
|
+
IsChildIdentity: AugmentedError<ApiType>;
|
|
891
833
|
/**
|
|
892
834
|
* This key is not allowed to execute a given operation.
|
|
893
835
|
**/
|
|
@@ -900,6 +842,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
900
842
|
* Multisig can not be unlinked from an identity while it still holds POLYX
|
|
901
843
|
**/
|
|
902
844
|
MultiSigHasBalance: AugmentedError<ApiType>;
|
|
845
|
+
/**
|
|
846
|
+
* The Identity doesn't have a parent identity.
|
|
847
|
+
**/
|
|
848
|
+
NoParentIdentity: AugmentedError<ApiType>;
|
|
903
849
|
/**
|
|
904
850
|
* Signer is not a secondary key of the provided identity
|
|
905
851
|
**/
|
|
@@ -908,6 +854,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
908
854
|
* Attestation was not by a CDD service provider.
|
|
909
855
|
**/
|
|
910
856
|
NotCddProviderAttestation: AugmentedError<ApiType>;
|
|
857
|
+
/**
|
|
858
|
+
* The caller is not the parent or child identity.
|
|
859
|
+
**/
|
|
860
|
+
NotParentOrChildIdentity: AugmentedError<ApiType>;
|
|
911
861
|
/**
|
|
912
862
|
* Only the primary key is allowed to revoke an Identity Signatory off-chain authorization.
|
|
913
863
|
**/
|
|
@@ -920,10 +870,6 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
920
870
|
* The target DID has no valid CDD.
|
|
921
871
|
**/
|
|
922
872
|
TargetHasNoCdd: AugmentedError<ApiType>;
|
|
923
|
-
/**
|
|
924
|
-
* Try to delete the IU claim even when the user has non zero balance at given scopeId.
|
|
925
|
-
**/
|
|
926
|
-
TargetHasNonZeroBalanceAtScopeId: AugmentedError<ApiType>;
|
|
927
873
|
/**
|
|
928
874
|
* Signatory is not pre authorized by the identity
|
|
929
875
|
**/
|
|
@@ -982,6 +928,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
982
928
|
* Changing multisig parameters not allowed since multisig is a primary key.
|
|
983
929
|
**/
|
|
984
930
|
ChangeNotAllowed: AugmentedError<ApiType>;
|
|
931
|
+
/**
|
|
932
|
+
* The creator is no longer allowed to call via creator extrinsics.
|
|
933
|
+
**/
|
|
934
|
+
CreatorControlsHaveBeenRemoved: AugmentedError<ApiType>;
|
|
985
935
|
/**
|
|
986
936
|
* Multisig address.
|
|
987
937
|
**/
|
|
@@ -1317,6 +1267,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1317
1267
|
* The portfolios belong to different identities
|
|
1318
1268
|
**/
|
|
1319
1269
|
DifferentIdentityPortfolios: AugmentedError<ApiType>;
|
|
1270
|
+
/**
|
|
1271
|
+
* Trying to move an amount of zero assets.
|
|
1272
|
+
**/
|
|
1273
|
+
EmptyTransfer: AugmentedError<ApiType>;
|
|
1320
1274
|
/**
|
|
1321
1275
|
* Insufficient balance for a transaction.
|
|
1322
1276
|
**/
|
|
@@ -1508,41 +1462,29 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1508
1462
|
**/
|
|
1509
1463
|
CallerIsNotAParty: AugmentedError<ApiType>;
|
|
1510
1464
|
/**
|
|
1511
|
-
*
|
|
1465
|
+
* No duplicate uid are allowed for different receipts.
|
|
1512
1466
|
**/
|
|
1513
|
-
|
|
1467
|
+
DuplicateReceiptUid: AugmentedError<ApiType>;
|
|
1514
1468
|
/**
|
|
1515
|
-
*
|
|
1469
|
+
* The instruction failed to release asset locks or transfer the assets.
|
|
1516
1470
|
**/
|
|
1517
|
-
|
|
1471
|
+
FailedToReleaseLockOrTransferAssets: AugmentedError<ApiType>;
|
|
1518
1472
|
/**
|
|
1519
1473
|
* Scheduling of an instruction fails.
|
|
1520
1474
|
**/
|
|
1521
1475
|
FailedToSchedule: AugmentedError<ApiType>;
|
|
1522
1476
|
/**
|
|
1523
|
-
*
|
|
1477
|
+
* The input weight is less than the minimum required.
|
|
1524
1478
|
**/
|
|
1525
|
-
|
|
1479
|
+
InputWeightIsLessThanMinimum: AugmentedError<ApiType>;
|
|
1526
1480
|
/**
|
|
1527
|
-
* Instruction
|
|
1528
|
-
**/
|
|
1529
|
-
InstructionFailed: AugmentedError<ApiType>;
|
|
1530
|
-
/**
|
|
1531
|
-
* Maximum legs that can be in a single instruction.
|
|
1481
|
+
* Instruction has invalid dates
|
|
1532
1482
|
**/
|
|
1533
|
-
|
|
1483
|
+
InstructionDatesInvalid: AugmentedError<ApiType>;
|
|
1534
1484
|
/**
|
|
1535
1485
|
* Instruction has not been affirmed.
|
|
1536
1486
|
**/
|
|
1537
1487
|
InstructionNotAffirmed: AugmentedError<ApiType>;
|
|
1538
|
-
/**
|
|
1539
|
-
* Provided instruction is not failing execution.
|
|
1540
|
-
**/
|
|
1541
|
-
InstructionNotFailed: AugmentedError<ApiType>;
|
|
1542
|
-
/**
|
|
1543
|
-
* Provided instruction is not pending execution.
|
|
1544
|
-
**/
|
|
1545
|
-
InstructionNotPending: AugmentedError<ApiType>;
|
|
1546
1488
|
/**
|
|
1547
1489
|
* Instruction settlement block has not yet been reached.
|
|
1548
1490
|
**/
|
|
@@ -1552,9 +1494,9 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1552
1494
|
**/
|
|
1553
1495
|
InstructionSettleBlockPassed: AugmentedError<ApiType>;
|
|
1554
1496
|
/**
|
|
1555
|
-
*
|
|
1497
|
+
* Only [`InstructionStatus::Pending`] or [`InstructionStatus::Failed`] instructions can be executed.
|
|
1556
1498
|
**/
|
|
1557
|
-
|
|
1499
|
+
InvalidInstructionStatusForExecution: AugmentedError<ApiType>;
|
|
1558
1500
|
/**
|
|
1559
1501
|
* Offchain signature is invalid.
|
|
1560
1502
|
**/
|
|
@@ -1564,49 +1506,61 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1564
1506
|
**/
|
|
1565
1507
|
InvalidVenue: AugmentedError<ApiType>;
|
|
1566
1508
|
/**
|
|
1567
|
-
*
|
|
1509
|
+
* No leg with the given id was found
|
|
1568
1510
|
**/
|
|
1569
|
-
|
|
1511
|
+
LegNotFound: AugmentedError<ApiType>;
|
|
1570
1512
|
/**
|
|
1571
|
-
*
|
|
1513
|
+
* The maximum number of fungible assets was exceeded.
|
|
1572
1514
|
**/
|
|
1573
|
-
|
|
1515
|
+
MaxNumberOfFungibleAssetsExceeded: AugmentedError<ApiType>;
|
|
1574
1516
|
/**
|
|
1575
1517
|
* The number of nfts being transferred in the instruction was exceeded.
|
|
1576
1518
|
**/
|
|
1577
1519
|
MaxNumberOfNFTsExceeded: AugmentedError<ApiType>;
|
|
1578
1520
|
/**
|
|
1579
|
-
* The maximum number of
|
|
1521
|
+
* The maximum number of off-chain assets was exceeded.
|
|
1580
1522
|
**/
|
|
1581
|
-
|
|
1523
|
+
MaxNumberOfOffChainAssetsExceeded: AugmentedError<ApiType>;
|
|
1524
|
+
/**
|
|
1525
|
+
* The maximum number of receipts was exceeded.
|
|
1526
|
+
**/
|
|
1527
|
+
MaxNumberOfReceiptsExceeded: AugmentedError<ApiType>;
|
|
1528
|
+
/**
|
|
1529
|
+
* Multiple receipts for the same leg are not allowed.
|
|
1530
|
+
**/
|
|
1531
|
+
MultipleReceiptsForOneLeg: AugmentedError<ApiType>;
|
|
1532
|
+
/**
|
|
1533
|
+
* There are parties who have not affirmed the instruction.
|
|
1534
|
+
**/
|
|
1535
|
+
NotAllAffirmationsHaveBeenReceived: AugmentedError<ApiType>;
|
|
1582
1536
|
/**
|
|
1583
|
-
*
|
|
1537
|
+
* The given number of fungible transfers was underestimated.
|
|
1584
1538
|
**/
|
|
1585
|
-
|
|
1539
|
+
NumberOfFungibleTransfersUnderestimated: AugmentedError<ApiType>;
|
|
1586
1540
|
/**
|
|
1587
|
-
*
|
|
1541
|
+
* The given number of off-chain transfers was underestimated.
|
|
1588
1542
|
**/
|
|
1589
|
-
|
|
1543
|
+
NumberOfOffChainTransfersUnderestimated: AugmentedError<ApiType>;
|
|
1590
1544
|
/**
|
|
1591
1545
|
* The given number of nfts being transferred was underestimated.
|
|
1592
1546
|
**/
|
|
1593
1547
|
NumberOfTransferredNFTsUnderestimated: AugmentedError<ApiType>;
|
|
1594
1548
|
/**
|
|
1595
|
-
*
|
|
1549
|
+
* Off-Chain assets cannot be locked.
|
|
1596
1550
|
**/
|
|
1597
|
-
|
|
1551
|
+
OffChainAssetCantBeLocked: AugmentedError<ApiType>;
|
|
1598
1552
|
/**
|
|
1599
1553
|
* Receipt already used.
|
|
1600
1554
|
**/
|
|
1601
1555
|
ReceiptAlreadyClaimed: AugmentedError<ApiType>;
|
|
1602
1556
|
/**
|
|
1603
|
-
* Off-chain receipts
|
|
1557
|
+
* Off-chain receipts can only be used for off-chain leg type.
|
|
1604
1558
|
**/
|
|
1605
|
-
|
|
1559
|
+
ReceiptForInvalidLegType: AugmentedError<ApiType>;
|
|
1606
1560
|
/**
|
|
1607
|
-
*
|
|
1561
|
+
* The instruction id in all receipts must match the extrinsic parameter.
|
|
1608
1562
|
**/
|
|
1609
|
-
|
|
1563
|
+
ReceiptInstructionIdMissmatch: AugmentedError<ApiType>;
|
|
1610
1564
|
/**
|
|
1611
1565
|
* Sender and receiver are the same.
|
|
1612
1566
|
**/
|
|
@@ -1639,10 +1593,22 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1639
1593
|
* The current instruction affirmation status does not support the requested action.
|
|
1640
1594
|
**/
|
|
1641
1595
|
UnexpectedAffirmationStatus: AugmentedError<ApiType>;
|
|
1596
|
+
/**
|
|
1597
|
+
* An invalid has been reached.
|
|
1598
|
+
**/
|
|
1599
|
+
UnexpectedLegStatus: AugmentedError<ApiType>;
|
|
1600
|
+
/**
|
|
1601
|
+
* Ticker could not be found on chain.
|
|
1602
|
+
**/
|
|
1603
|
+
UnexpectedOFFChainAsset: AugmentedError<ApiType>;
|
|
1642
1604
|
/**
|
|
1643
1605
|
* Instruction status is unknown
|
|
1644
1606
|
**/
|
|
1645
1607
|
UnknownInstruction: AugmentedError<ApiType>;
|
|
1608
|
+
/**
|
|
1609
|
+
* The maximum weight limit for executing the function was exceeded.
|
|
1610
|
+
**/
|
|
1611
|
+
WeightLimitExceeded: AugmentedError<ApiType>;
|
|
1646
1612
|
/**
|
|
1647
1613
|
* Instruction leg amount can't be zero.
|
|
1648
1614
|
**/
|
|
@@ -1850,6 +1816,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
1850
1816
|
* The limit of TransferConditions allowed for an asset has been reached.
|
|
1851
1817
|
**/
|
|
1852
1818
|
TransferConditionLimitReached: AugmentedError<ApiType>;
|
|
1819
|
+
/**
|
|
1820
|
+
* The maximum weight limit for executing the function was exceeded.
|
|
1821
|
+
**/
|
|
1822
|
+
WeightLimitExceeded: AugmentedError<ApiType>;
|
|
1853
1823
|
};
|
|
1854
1824
|
sto: {
|
|
1855
1825
|
/**
|
|
@@ -2095,16 +2065,23 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
2095
2065
|
* Provided nonce was invalid
|
|
2096
2066
|
* If the provided nonce < current nonce, the call was already executed
|
|
2097
2067
|
* If the provided nonce > current nonce, the call(s) before the current failed to execute
|
|
2068
|
+
* POLYMESH error
|
|
2098
2069
|
**/
|
|
2099
2070
|
InvalidNonce: AugmentedError<ApiType>;
|
|
2100
2071
|
/**
|
|
2101
2072
|
* Offchain signature is invalid
|
|
2073
|
+
* POLYMESH error
|
|
2102
2074
|
**/
|
|
2103
2075
|
InvalidSignature: AugmentedError<ApiType>;
|
|
2104
2076
|
/**
|
|
2105
2077
|
* Target does not have a valid CDD
|
|
2078
|
+
* POLYMESH error
|
|
2106
2079
|
**/
|
|
2107
2080
|
TargetCddMissing: AugmentedError<ApiType>;
|
|
2081
|
+
/**
|
|
2082
|
+
* Too many calls batched.
|
|
2083
|
+
**/
|
|
2084
|
+
TooManyCalls: AugmentedError<ApiType>;
|
|
2108
2085
|
};
|
|
2109
2086
|
}
|
|
2110
2087
|
}
|