@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.
Files changed (231) hide show
  1. package/CHANGELOG.md +36 -2
  2. package/README.md +1 -1
  3. package/api/client/Claims.d.ts +3 -17
  4. package/api/client/Claims.d.ts.map +1 -1
  5. package/api/client/Claims.js +0 -20
  6. package/api/client/Claims.js.map +1 -1
  7. package/api/entities/Asset/Checkpoints/Schedules.d.ts +1 -10
  8. package/api/entities/Asset/Checkpoints/Schedules.d.ts.map +1 -1
  9. package/api/entities/Asset/Checkpoints/Schedules.js +10 -24
  10. package/api/entities/Asset/Checkpoints/Schedules.js.map +1 -1
  11. package/api/entities/Asset/Documents.js +1 -1
  12. package/api/entities/Asset/Documents.js.map +1 -1
  13. package/api/entities/Asset/Offerings.js +1 -1
  14. package/api/entities/Asset/Offerings.js.map +1 -1
  15. package/api/entities/Asset/Settlements.d.ts.map +1 -1
  16. package/api/entities/Asset/Settlements.js +8 -1
  17. package/api/entities/Asset/Settlements.js.map +1 -1
  18. package/api/entities/Asset/index.d.ts +0 -4
  19. package/api/entities/Asset/index.d.ts.map +1 -1
  20. package/api/entities/Asset/index.js +17 -29
  21. package/api/entities/Asset/index.js.map +1 -1
  22. package/api/entities/Asset/types.d.ts +0 -4
  23. package/api/entities/Asset/types.d.ts.map +1 -1
  24. package/api/entities/Asset/types.js.map +1 -1
  25. package/api/entities/CheckpointSchedule/index.d.ts +6 -25
  26. package/api/entities/CheckpointSchedule/index.d.ts.map +1 -1
  27. package/api/entities/CheckpointSchedule/index.js +17 -32
  28. package/api/entities/CheckpointSchedule/index.js.map +1 -1
  29. package/api/entities/CorporateActionBase/index.d.ts.map +1 -1
  30. package/api/entities/CorporateActionBase/index.js +7 -7
  31. package/api/entities/CorporateActionBase/index.js.map +1 -1
  32. package/api/entities/Identity/index.d.ts +0 -11
  33. package/api/entities/Identity/index.d.ts.map +1 -1
  34. package/api/entities/Identity/index.js +16 -30
  35. package/api/entities/Identity/index.js.map +1 -1
  36. package/api/entities/Instruction/index.d.ts +6 -8
  37. package/api/entities/Instruction/index.d.ts.map +1 -1
  38. package/api/entities/Instruction/index.js +64 -39
  39. package/api/entities/Instruction/index.js.map +1 -1
  40. package/api/entities/Instruction/types.d.ts +3 -2
  41. package/api/entities/Instruction/types.d.ts.map +1 -1
  42. package/api/entities/Instruction/types.js +2 -1
  43. package/api/entities/Instruction/types.js.map +1 -1
  44. package/api/entities/NumberedPortfolio.d.ts.map +1 -1
  45. package/api/entities/NumberedPortfolio.js +3 -6
  46. package/api/entities/NumberedPortfolio.js.map +1 -1
  47. package/api/entities/Offering/index.d.ts.map +1 -1
  48. package/api/entities/Offering/index.js +1 -1
  49. package/api/entities/Offering/index.js.map +1 -1
  50. package/api/entities/TickerReservation/index.d.ts.map +1 -1
  51. package/api/entities/TickerReservation/index.js +12 -18
  52. package/api/entities/TickerReservation/index.js.map +1 -1
  53. package/api/procedures/addInstruction.d.ts.map +1 -1
  54. package/api/procedures/addInstruction.js +12 -9
  55. package/api/procedures/addInstruction.js.map +1 -1
  56. package/api/procedures/createAsset.d.ts +2 -1
  57. package/api/procedures/createAsset.d.ts.map +1 -1
  58. package/api/procedures/createAsset.js +14 -32
  59. package/api/procedures/createAsset.js.map +1 -1
  60. package/api/procedures/createCheckpointSchedule.d.ts.map +1 -1
  61. package/api/procedures/createCheckpointSchedule.js +15 -7
  62. package/api/procedures/createCheckpointSchedule.js.map +1 -1
  63. package/api/procedures/issueTokens.d.ts.map +1 -1
  64. package/api/procedures/issueTokens.js +7 -2
  65. package/api/procedures/issueTokens.js.map +1 -1
  66. package/api/procedures/linkCaDocs.d.ts.map +1 -1
  67. package/api/procedures/linkCaDocs.js +5 -3
  68. package/api/procedures/linkCaDocs.js.map +1 -1
  69. package/api/procedures/modifyClaims.d.ts.map +1 -1
  70. package/api/procedures/modifyClaims.js +21 -37
  71. package/api/procedures/modifyClaims.js.map +1 -1
  72. package/api/procedures/modifySignerPermissions.d.ts +1 -1
  73. package/api/procedures/modifySignerPermissions.d.ts.map +1 -1
  74. package/api/procedures/modifySignerPermissions.js +4 -2
  75. package/api/procedures/modifySignerPermissions.js.map +1 -1
  76. package/api/procedures/moveFunds.d.ts.map +1 -1
  77. package/api/procedures/moveFunds.js +1 -1
  78. package/api/procedures/moveFunds.js.map +1 -1
  79. package/api/procedures/removeCheckpointSchedule.d.ts.map +1 -1
  80. package/api/procedures/removeCheckpointSchedule.js +3 -2
  81. package/api/procedures/removeCheckpointSchedule.js.map +1 -1
  82. package/api/procedures/setAssetDocuments.d.ts.map +1 -1
  83. package/api/procedures/setAssetDocuments.js +4 -2
  84. package/api/procedures/setAssetDocuments.js.map +1 -1
  85. package/api/procedures/types.d.ts +5 -12
  86. package/api/procedures/types.d.ts.map +1 -1
  87. package/api/procedures/types.js.map +1 -1
  88. package/api/procedures/utils.d.ts.map +1 -1
  89. package/api/procedures/utils.js +20 -16
  90. package/api/procedures/utils.js.map +1 -1
  91. package/base/Context.d.ts +4 -4
  92. package/base/Context.d.ts.map +1 -1
  93. package/base/Context.js +3 -2
  94. package/base/Context.js.map +1 -1
  95. package/base/PolymeshTransactionBatch.js +1 -1
  96. package/base/PolymeshTransactionBatch.js.map +1 -1
  97. package/generated/types.d.ts +30 -6
  98. package/generated/types.d.ts.map +1 -1
  99. package/generated/types.js +24 -0
  100. package/generated/types.js.map +1 -1
  101. package/internal.d.ts +0 -2
  102. package/internal.d.ts.map +1 -1
  103. package/internal.js +3 -7
  104. package/internal.js.map +1 -1
  105. package/middleware/enumsV2.d.ts +1 -1
  106. package/middleware/enumsV2.d.ts.map +1 -1
  107. package/middleware/enumsV2.js +3 -1
  108. package/middleware/enumsV2.js.map +1 -1
  109. package/middleware/typesV2.d.ts +191 -1
  110. package/middleware/typesV2.d.ts.map +1 -1
  111. package/middleware/typesV2.js +75 -1
  112. package/middleware/typesV2.js.map +1 -1
  113. package/npm-package/polymeshassociation-polymesh-sdk-21.0.0-alpha.9.tgz +0 -0
  114. package/package.json +3 -3
  115. package/polkadot/asset/definitions.d.ts +0 -9
  116. package/polkadot/asset/definitions.d.ts.map +1 -1
  117. package/polkadot/asset/definitions.js +1 -47
  118. package/polkadot/asset/definitions.js.map +1 -1
  119. package/polkadot/augment-api-consts.d.ts +26 -9
  120. package/polkadot/augment-api-consts.d.ts.map +1 -1
  121. package/polkadot/augment-api-consts.js +3 -0
  122. package/polkadot/augment-api-consts.js.map +1 -1
  123. package/polkadot/augment-api-errors.d.ts +110 -133
  124. package/polkadot/augment-api-errors.d.ts.map +1 -1
  125. package/polkadot/augment-api-errors.js +3 -0
  126. package/polkadot/augment-api-errors.js.map +1 -1
  127. package/polkadot/augment-api-events.d.ts +135 -167
  128. package/polkadot/augment-api-events.d.ts.map +1 -1
  129. package/polkadot/augment-api-events.js +3 -0
  130. package/polkadot/augment-api-events.js.map +1 -1
  131. package/polkadot/augment-api-query.d.ts +120 -93
  132. package/polkadot/augment-api-query.d.ts.map +1 -1
  133. package/polkadot/augment-api-query.js +3 -0
  134. package/polkadot/augment-api-query.js.map +1 -1
  135. package/polkadot/augment-api-rpc.d.ts +29 -24
  136. package/polkadot/augment-api-rpc.d.ts.map +1 -1
  137. package/polkadot/augment-api-rpc.js +1 -0
  138. package/polkadot/augment-api-rpc.js.map +1 -1
  139. package/polkadot/augment-api-runtime.d.ts +0 -7
  140. package/polkadot/augment-api-runtime.d.ts.map +1 -1
  141. package/polkadot/augment-api-tx.d.ts +482 -738
  142. package/polkadot/augment-api-tx.d.ts.map +1 -1
  143. package/polkadot/augment-api-tx.js +3 -0
  144. package/polkadot/augment-api-tx.js.map +1 -1
  145. package/polkadot/augment-api.d.ts +1 -0
  146. package/polkadot/augment-api.d.ts.map +1 -1
  147. package/polkadot/augment-api.js +1 -0
  148. package/polkadot/augment-api.js.map +1 -1
  149. package/polkadot/augment-types.d.ts +8 -12
  150. package/polkadot/augment-types.d.ts.map +1 -1
  151. package/polkadot/augment-types.js +3 -0
  152. package/polkadot/augment-types.js.map +1 -1
  153. package/polkadot/definitions.d.ts +1 -1
  154. package/polkadot/definitions.d.ts.map +1 -1
  155. package/polkadot/definitions.js +17 -17
  156. package/polkadot/definitions.js.map +1 -1
  157. package/polkadot/identity/definitions.d.ts +9 -0
  158. package/polkadot/identity/definitions.d.ts.map +1 -1
  159. package/polkadot/identity/definitions.js +21 -0
  160. package/polkadot/identity/definitions.js.map +1 -1
  161. package/polkadot/lookup.d.ts +534 -682
  162. package/polkadot/lookup.d.ts.map +1 -1
  163. package/polkadot/lookup.js +664 -820
  164. package/polkadot/lookup.js.map +1 -1
  165. package/polkadot/polymesh/definitions.d.ts +36 -43
  166. package/polkadot/polymesh/definitions.d.ts.map +1 -1
  167. package/polkadot/polymesh/definitions.js +38 -45
  168. package/polkadot/polymesh/definitions.js.map +1 -1
  169. package/polkadot/polymesh/types.d.ts +50 -67
  170. package/polkadot/polymesh/types.d.ts.map +1 -1
  171. package/polkadot/registry.d.ts +27 -44
  172. package/polkadot/registry.d.ts.map +1 -1
  173. package/polkadot/registry.js +3 -0
  174. package/polkadot/registry.js.map +1 -1
  175. package/polkadot/schema.d.ts +223 -61
  176. package/polkadot/schema.d.ts.map +1 -1
  177. package/polkadot/schema.js +335 -120
  178. package/polkadot/schema.js.map +1 -1
  179. package/polkadot/settlement/definitions.d.ts +16 -0
  180. package/polkadot/settlement/definitions.d.ts.map +1 -0
  181. package/polkadot/settlement/definitions.js +25 -0
  182. package/polkadot/settlement/definitions.js.map +1 -0
  183. package/polkadot/settlement/index.d.ts +2 -0
  184. package/polkadot/settlement/index.d.ts.map +1 -0
  185. package/polkadot/settlement/index.js +20 -0
  186. package/polkadot/settlement/index.js.map +1 -0
  187. package/polkadot/settlement/types.d.ts +2 -0
  188. package/polkadot/settlement/types.d.ts.map +1 -0
  189. package/polkadot/settlement/types.js +5 -0
  190. package/polkadot/settlement/types.js.map +1 -0
  191. package/polkadot/types-lookup.d.ts +741 -918
  192. package/polkadot/types-lookup.d.ts.map +1 -1
  193. package/polkadot/types-lookup.js +4 -0
  194. package/polkadot/types-lookup.js.map +1 -1
  195. package/polkadot/types.d.ts +1 -1
  196. package/polkadot/types.d.ts.map +1 -1
  197. package/polkadot/types.js +1 -1
  198. package/polkadot/types.js.map +1 -1
  199. package/types/index.d.ts +3 -39
  200. package/types/index.d.ts.map +1 -1
  201. package/types/index.js +1 -15
  202. package/types/index.js.map +1 -1
  203. package/types/internal.d.ts +4 -7
  204. package/types/internal.d.ts.map +1 -1
  205. package/types/internal.js +2 -0
  206. package/types/internal.js.map +1 -1
  207. package/utils/constants.d.ts +3 -3
  208. package/utils/constants.d.ts.map +1 -1
  209. package/utils/constants.js +3 -3
  210. package/utils/constants.js.map +1 -1
  211. package/utils/conversion.d.ts +29 -48
  212. package/utils/conversion.d.ts.map +1 -1
  213. package/utils/conversion.js +46 -186
  214. package/utils/conversion.js.map +1 -1
  215. package/utils/internal.d.ts +4 -12
  216. package/utils/internal.d.ts.map +1 -1
  217. package/utils/internal.js +8 -106
  218. package/utils/internal.js.map +1 -1
  219. package/utils/typeguards.d.ts +1 -13
  220. package/utils/typeguards.d.ts.map +1 -1
  221. package/utils/typeguards.js +2 -28
  222. package/utils/typeguards.js.map +1 -1
  223. package/api/procedures/addInvestorUniquenessClaim.d.ts +0 -16
  224. package/api/procedures/addInvestorUniquenessClaim.d.ts.map +0 -1
  225. package/api/procedures/addInvestorUniquenessClaim.js +0 -82
  226. package/api/procedures/addInvestorUniquenessClaim.js.map +0 -1
  227. package/api/procedures/rescheduleInstruction.d.ts +0 -18
  228. package/api/procedures/rescheduleInstruction.d.ts.map +0 -1
  229. package/api/procedures/rescheduleInstruction.js +0 -52
  230. package/api/procedures/rescheduleInstruction.js.map +0 -1
  231. 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: 'GranularCanTransferResult',
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,WAAW,EAAE;YACX,WAAW,EAAE,0EAA0E;YACvF,MAAM,EAAE;gBACN;oBACE,IAAI,EAAE,QAAQ;oBACd,IAAI,EAAE,WAAW;oBACjB,UAAU,EAAE,KAAK;iBAClB;gBACD;oBACE,IAAI,EAAE,eAAe;oBACrB,IAAI,EAAE,sCAAsC;oBAC5C,UAAU,EAAE,KAAK;iB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,EAAE,IAAI;iBACjB;aACF;YACD,IAAI,EAAE,2BAA2B;SAClC;KACF;IACD,KAAK,EAAE,EAAE;CACV,CAAC"}
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 type { ApiTypes } from '@polkadot/api-base/types';
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":"AAGA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACzD,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,OAAO,QAAQ,iCAAiC,CAAC;IAC/C,UAAiB,eAAe,CAAC,OAAO,SAAS,QAAQ;QACvD,KAAK,EAAE;YACL,0BAA0B,EAAE,GAAG,GAAG,cAAc,CAAC,OAAO,CAAC,CAAC;YAC1D,6BAA6B,EAAE,GAAG,GAAG,cAAc,CAAC,OAAO,CAAC,CAAC;YAC7D,2BAA2B,EAAE,GAAG,GAAG,cAAc,CAAC,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AC;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 type { ApiTypes } from '@polkadot/api-base/types';
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 duration of a schedule period is too short.
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
- ScheduleDurationTooShort: AugmentedError<ApiType>;
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 set of schedules taken together are too complex.
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
- SchedulesTooComplex: AugmentedError<ApiType>;
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
- * Non systematic CDD providers can not create default cdd_id claims.
830
+ * Identity is already a child of an other identity, can't create grand-child identity.
885
831
  **/
886
- InvalidCDDId: AugmentedError<ApiType>;
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
- * Deprecated function has been called on a v2 instruction.
1465
+ * No duplicate uid are allowed for different receipts.
1512
1466
  **/
1513
- DeprecatedCallOnV2Instruction: AugmentedError<ApiType>;
1467
+ DuplicateReceiptUid: AugmentedError<ApiType>;
1514
1468
  /**
1515
- * While affirming the transfer, system failed to lock the assets involved.
1469
+ * The instruction failed to release asset locks or transfer the assets.
1516
1470
  **/
1517
- FailedToLockTokens: AugmentedError<ApiType>;
1471
+ FailedToReleaseLockOrTransferAssets: AugmentedError<ApiType>;
1518
1472
  /**
1519
1473
  * Scheduling of an instruction fails.
1520
1474
  **/
1521
1475
  FailedToSchedule: AugmentedError<ApiType>;
1522
1476
  /**
1523
- * Instruction has invalid dates
1477
+ * The input weight is less than the minimum required.
1524
1478
  **/
1525
- InstructionDatesInvalid: AugmentedError<ApiType>;
1479
+ InputWeightIsLessThanMinimum: AugmentedError<ApiType>;
1526
1480
  /**
1527
- * Instruction failed to execute.
1528
- **/
1529
- InstructionFailed: AugmentedError<ApiType>;
1530
- /**
1531
- * Maximum legs that can be in a single instruction.
1481
+ * Instruction has invalid dates
1532
1482
  **/
1533
- InstructionHasTooManyLegs: AugmentedError<ApiType>;
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
- * Expected a different type of asset in a leg.
1497
+ * Only [`InstructionStatus::Pending`] or [`InstructionStatus::Failed`] instructions can be executed.
1556
1498
  **/
1557
- InvalidLegAsset: AugmentedError<ApiType>;
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
- * Legs count should matches with the total number of legs in which given portfolio act as `from_portfolio`.
1509
+ * No leg with the given id was found
1568
1510
  **/
1569
- LegCountTooSmall: AugmentedError<ApiType>;
1511
+ LegNotFound: AugmentedError<ApiType>;
1570
1512
  /**
1571
- * Provided leg is not pending execution.
1513
+ * The maximum number of fungible assets was exceeded.
1572
1514
  **/
1573
- LegNotPending: AugmentedError<ApiType>;
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 nfts being transferred in one leg was exceeded.
1521
+ * The maximum number of off-chain assets was exceeded.
1580
1522
  **/
1581
- MaxNumberOfNFTsPerLegExceeded: AugmentedError<ApiType>;
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
- * No pending affirmation for the provided instruction.
1537
+ * The given number of fungible transfers was underestimated.
1584
1538
  **/
1585
- NoPendingAffirm: AugmentedError<ApiType>;
1539
+ NumberOfFungibleTransfersUnderestimated: AugmentedError<ApiType>;
1586
1540
  /**
1587
- * Portfolio based actions require at least one portfolio to be provided as input.
1541
+ * The given number of off-chain transfers was underestimated.
1588
1542
  **/
1589
- NoPortfolioProvided: AugmentedError<ApiType>;
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
- * Portfolio in receipt does not match with portfolios provided by the user.
1549
+ * Off-Chain assets cannot be locked.
1596
1550
  **/
1597
- PortfolioMismatch: AugmentedError<ApiType>;
1551
+ OffChainAssetCantBeLocked: AugmentedError<ApiType>;
1598
1552
  /**
1599
1553
  * Receipt already used.
1600
1554
  **/
1601
1555
  ReceiptAlreadyClaimed: AugmentedError<ApiType>;
1602
1556
  /**
1603
- * Off-chain receipts are not accepted for non-fungible tokens.
1557
+ * Off-chain receipts can only be used for off-chain leg type.
1604
1558
  **/
1605
- ReceiptForNonFungibleAsset: AugmentedError<ApiType>;
1559
+ ReceiptForInvalidLegType: AugmentedError<ApiType>;
1606
1560
  /**
1607
- * Receipt not used yet.
1561
+ * The instruction id in all receipts must match the extrinsic parameter.
1608
1562
  **/
1609
- ReceiptNotClaimed: AugmentedError<ApiType>;
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
  }