@polymeshassociation/polymesh-sdk 27.7.0 → 27.8.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (302) hide show
  1. package/CHANGELOG.md +9 -9
  2. package/api/client/AccountManagement.d.ts.map +1 -1
  3. package/api/client/AccountManagement.js +7 -1
  4. package/api/client/AccountManagement.js.map +1 -1
  5. package/api/client/Claims.d.ts.map +1 -1
  6. package/api/client/Claims.js +1 -1
  7. package/api/client/Claims.js.map +1 -1
  8. package/api/client/Polymesh.d.ts.map +1 -1
  9. package/api/client/Polymesh.js +1 -1
  10. package/api/client/Polymesh.js.map +1 -1
  11. package/api/entities/Asset/Base/Settlements/index.d.ts.map +1 -1
  12. package/api/entities/Asset/Base/Settlements/index.js.map +1 -1
  13. package/api/entities/Identity/index.d.ts.map +1 -1
  14. package/api/entities/Identity/index.js.map +1 -1
  15. package/api/entities/Instruction/index.d.ts +4 -0
  16. package/api/entities/Instruction/index.d.ts.map +1 -1
  17. package/api/entities/Instruction/index.js +23 -1
  18. package/api/entities/Instruction/index.js.map +1 -1
  19. package/api/entities/Instruction/types.d.ts +6 -2
  20. package/api/entities/Instruction/types.d.ts.map +1 -1
  21. package/api/entities/Instruction/types.js +2 -0
  22. package/api/entities/Instruction/types.js.map +1 -1
  23. package/api/entities/NumberedPortfolio.d.ts +12 -1
  24. package/api/entities/NumberedPortfolio.d.ts.map +1 -1
  25. package/api/entities/NumberedPortfolio.js +1 -0
  26. package/api/entities/NumberedPortfolio.js.map +1 -1
  27. package/api/entities/Offering/index.js +1 -1
  28. package/api/entities/Offering/index.js.map +1 -1
  29. package/api/entities/Portfolio/index.d.ts +2 -13
  30. package/api/entities/Portfolio/index.d.ts.map +1 -1
  31. package/api/entities/Portfolio/index.js +0 -1
  32. package/api/entities/Portfolio/index.js.map +1 -1
  33. package/api/entities/common/namespaces/Authorizations.d.ts +1 -1
  34. package/api/entities/common/namespaces/Authorizations.d.ts.map +1 -1
  35. package/api/procedures/addInstruction.d.ts.map +1 -1
  36. package/api/procedures/addInstruction.js +3 -0
  37. package/api/procedures/addInstruction.js.map +1 -1
  38. package/api/procedures/executeManualInstruction.d.ts.map +1 -1
  39. package/api/procedures/executeManualInstruction.js +2 -2
  40. package/api/procedures/executeManualInstruction.js.map +1 -1
  41. package/api/procedures/investInOffering.d.ts.map +1 -1
  42. package/api/procedures/investInOffering.js +6 -3
  43. package/api/procedures/investInOffering.js.map +1 -1
  44. package/api/procedures/launchOffering.js +1 -1
  45. package/api/procedures/modifyInstructionAffirmation.d.ts +1 -1
  46. package/api/procedures/modifyInstructionAffirmation.d.ts.map +1 -1
  47. package/api/procedures/modifyInstructionAffirmation.js +2 -2
  48. package/api/procedures/modifyInstructionAffirmation.js.map +1 -1
  49. package/api/procedures/nominateValidators.d.ts.map +1 -1
  50. package/api/procedures/nominateValidators.js +1 -5
  51. package/api/procedures/nominateValidators.js.map +1 -1
  52. package/api/procedures/removeMultiSigPayer.d.ts.map +1 -1
  53. package/api/procedures/removeMultiSigPayer.js +1 -4
  54. package/api/procedures/removeMultiSigPayer.js.map +1 -1
  55. package/api/procedures/setCustodian.d.ts +1 -1
  56. package/api/procedures/setCustodian.d.ts.map +1 -1
  57. package/api/procedures/setTransferRestrictions.d.ts +1 -1
  58. package/api/procedures/setTransferRestrictions.d.ts.map +1 -1
  59. package/api/procedures/subsidizeAccount.d.ts.map +1 -1
  60. package/api/procedures/subsidizeAccount.js +1 -5
  61. package/api/procedures/subsidizeAccount.js.map +1 -1
  62. package/api/procedures/transferPolyx.d.ts +1 -1
  63. package/api/procedures/transferPolyx.d.ts.map +1 -1
  64. package/api/procedures/transferPolyx.js +3 -35
  65. package/api/procedures/transferPolyx.js.map +1 -1
  66. package/api/procedures/types.d.ts +9 -0
  67. package/api/procedures/types.d.ts.map +1 -1
  68. package/api/procedures/types.js.map +1 -1
  69. package/api/procedures/withdrawUnbondedPolyx.d.ts +1 -1
  70. package/api/procedures/withdrawUnbondedPolyx.d.ts.map +1 -1
  71. package/base/Context.d.ts.map +1 -1
  72. package/base/Context.js +1 -2
  73. package/base/Context.js.map +1 -1
  74. package/base/utils.d.ts +1 -1
  75. package/base/utils.d.ts.map +1 -1
  76. package/base/utils.js +1 -1
  77. package/base/utils.js.map +1 -1
  78. package/generated/utils.d.ts +2 -2
  79. package/generated/utils.d.ts.map +1 -1
  80. package/generated/utils.js +1 -1
  81. package/generated/utils.js.map +1 -1
  82. package/index.d.ts +1 -1
  83. package/index.d.ts.map +1 -1
  84. package/index.js +1 -1
  85. package/index.js.map +1 -1
  86. package/middleware/queries/stos.d.ts +1 -1
  87. package/middleware/queries/stos.d.ts.map +1 -1
  88. package/middleware/queries/stos.js +5 -2
  89. package/middleware/queries/stos.js.map +1 -1
  90. package/middleware/types.d.ts +42 -1
  91. package/middleware/types.d.ts.map +1 -1
  92. package/middleware/types.js +24 -1
  93. package/middleware/types.js.map +1 -1
  94. package/npm-package/polymeshassociation-polymesh-sdk-27.8.0-beta.1.tgz +0 -0
  95. package/package.json +3 -3
  96. package/types/index.d.ts +2 -2
  97. package/types/index.d.ts.map +1 -1
  98. package/types/index.js +2 -2
  99. package/types/index.js.map +1 -1
  100. package/types/internal.d.ts +3 -2
  101. package/types/internal.d.ts.map +1 -1
  102. package/types/internal.js +1 -0
  103. package/types/internal.js.map +1 -1
  104. package/utils/constants.d.ts +2 -2
  105. package/utils/constants.d.ts.map +1 -1
  106. package/utils/constants.js +2 -2
  107. package/utils/constants.js.map +1 -1
  108. package/utils/conversion.d.ts +10 -2
  109. package/utils/conversion.d.ts.map +1 -1
  110. package/utils/conversion.js +51 -26
  111. package/utils/conversion.js.map +1 -1
  112. package/utils/internal.d.ts +1 -1
  113. package/utils/internal.d.ts.map +1 -1
  114. package/generated/types.d.ts +0 -895
  115. package/generated/types.d.ts.map +0 -1
  116. package/generated/types.js +0 -948
  117. package/generated/types.js.map +0 -1
  118. package/npm-package/polymeshassociation-polymesh-sdk-27.7.0.tgz +0 -0
  119. package/polkadot/asset/definitions.d.ts +0 -16
  120. package/polkadot/asset/definitions.d.ts.map +0 -1
  121. package/polkadot/asset/definitions.js +0 -45
  122. package/polkadot/asset/definitions.js.map +0 -1
  123. package/polkadot/asset/index.d.ts +0 -2
  124. package/polkadot/asset/index.d.ts.map +0 -1
  125. package/polkadot/asset/index.js +0 -20
  126. package/polkadot/asset/index.js.map +0 -1
  127. package/polkadot/asset/types.d.ts +0 -2
  128. package/polkadot/asset/types.d.ts.map +0 -1
  129. package/polkadot/asset/types.js +0 -5
  130. package/polkadot/asset/types.js.map +0 -1
  131. package/polkadot/augment-api-consts.d.ts +0 -505
  132. package/polkadot/augment-api-consts.d.ts.map +0 -1
  133. package/polkadot/augment-api-consts.js +0 -8
  134. package/polkadot/augment-api-consts.js.map +0 -1
  135. package/polkadot/augment-api-errors.d.ts +0 -2191
  136. package/polkadot/augment-api-errors.d.ts.map +0 -1
  137. package/polkadot/augment-api-errors.js +0 -8
  138. package/polkadot/augment-api-errors.js.map +0 -1
  139. package/polkadot/augment-api-events.d.ts +0 -2991
  140. package/polkadot/augment-api-events.d.ts.map +0 -1
  141. package/polkadot/augment-api-events.js +0 -8
  142. package/polkadot/augment-api-events.js.map +0 -1
  143. package/polkadot/augment-api-query.d.ts +0 -2580
  144. package/polkadot/augment-api-query.d.ts.map +0 -1
  145. package/polkadot/augment-api-query.js +0 -8
  146. package/polkadot/augment-api-query.js.map +0 -1
  147. package/polkadot/augment-api-rpc.d.ts +0 -808
  148. package/polkadot/augment-api-rpc.d.ts.map +0 -1
  149. package/polkadot/augment-api-rpc.js +0 -6
  150. package/polkadot/augment-api-rpc.js.map +0 -1
  151. package/polkadot/augment-api-runtime.d.ts +0 -380
  152. package/polkadot/augment-api-runtime.d.ts.map +0 -1
  153. package/polkadot/augment-api-runtime.js +0 -8
  154. package/polkadot/augment-api-runtime.js.map +0 -1
  155. package/polkadot/augment-api-tx.d.ts +0 -6408
  156. package/polkadot/augment-api-tx.d.ts.map +0 -1
  157. package/polkadot/augment-api-tx.js +0 -8
  158. package/polkadot/augment-api-tx.js.map +0 -1
  159. package/polkadot/augment-api.d.ts +0 -8
  160. package/polkadot/augment-api.d.ts.map +0 -1
  161. package/polkadot/augment-api.js +0 -12
  162. package/polkadot/augment-api.js.map +0 -1
  163. package/polkadot/augment-types.d.ts +0 -1238
  164. package/polkadot/augment-types.d.ts.map +0 -1
  165. package/polkadot/augment-types.js +0 -8
  166. package/polkadot/augment-types.js.map +0 -1
  167. package/polkadot/compliance/definitions.d.ts +0 -15
  168. package/polkadot/compliance/definitions.d.ts.map +0 -1
  169. package/polkadot/compliance/definitions.js +0 -27
  170. package/polkadot/compliance/definitions.js.map +0 -1
  171. package/polkadot/compliance/index.d.ts +0 -2
  172. package/polkadot/compliance/index.d.ts.map +0 -1
  173. package/polkadot/compliance/index.js +0 -20
  174. package/polkadot/compliance/index.js.map +0 -1
  175. package/polkadot/compliance/types.d.ts +0 -2
  176. package/polkadot/compliance/types.d.ts.map +0 -1
  177. package/polkadot/compliance/types.js +0 -5
  178. package/polkadot/compliance/types.js.map +0 -1
  179. package/polkadot/definitions.d.ts +0 -11
  180. package/polkadot/definitions.d.ts.map +0 -1
  181. package/polkadot/definitions.js +0 -28
  182. package/polkadot/definitions.js.map +0 -1
  183. package/polkadot/group/definitions.d.ts +0 -25
  184. package/polkadot/group/definitions.d.ts.map +0 -1
  185. package/polkadot/group/definitions.js +0 -31
  186. package/polkadot/group/definitions.js.map +0 -1
  187. package/polkadot/group/index.d.ts +0 -2
  188. package/polkadot/group/index.d.ts.map +0 -1
  189. package/polkadot/group/index.js +0 -20
  190. package/polkadot/group/index.js.map +0 -1
  191. package/polkadot/group/types.d.ts +0 -2
  192. package/polkadot/group/types.d.ts.map +0 -1
  193. package/polkadot/group/types.js +0 -5
  194. package/polkadot/group/types.js.map +0 -1
  195. package/polkadot/identity/definitions.d.ts +0 -61
  196. package/polkadot/identity/definitions.d.ts.map +0 -1
  197. package/polkadot/identity/definitions.js +0 -125
  198. package/polkadot/identity/definitions.js.map +0 -1
  199. package/polkadot/identity/index.d.ts +0 -2
  200. package/polkadot/identity/index.d.ts.map +0 -1
  201. package/polkadot/identity/index.js +0 -20
  202. package/polkadot/identity/index.js.map +0 -1
  203. package/polkadot/identity/types.d.ts +0 -2
  204. package/polkadot/identity/types.d.ts.map +0 -1
  205. package/polkadot/identity/types.js +0 -5
  206. package/polkadot/identity/types.js.map +0 -1
  207. package/polkadot/index.d.ts +0 -2
  208. package/polkadot/index.d.ts.map +0 -1
  209. package/polkadot/index.js +0 -20
  210. package/polkadot/index.js.map +0 -1
  211. package/polkadot/lookup.d.ts +0 -4733
  212. package/polkadot/lookup.d.ts.map +0 -1
  213. package/polkadot/lookup.js +0 -5493
  214. package/polkadot/lookup.js.map +0 -1
  215. package/polkadot/nft/definitions.d.ts +0 -16
  216. package/polkadot/nft/definitions.d.ts.map +0 -1
  217. package/polkadot/nft/definitions.js +0 -40
  218. package/polkadot/nft/definitions.js.map +0 -1
  219. package/polkadot/nft/index.d.ts +0 -2
  220. package/polkadot/nft/index.d.ts.map +0 -1
  221. package/polkadot/nft/index.js +0 -20
  222. package/polkadot/nft/index.js.map +0 -1
  223. package/polkadot/nft/types.d.ts +0 -2
  224. package/polkadot/nft/types.d.ts.map +0 -1
  225. package/polkadot/nft/types.js +0 -5
  226. package/polkadot/nft/types.js.map +0 -1
  227. package/polkadot/pips/definitions.d.ts +0 -34
  228. package/polkadot/pips/definitions.d.ts.map +0 -1
  229. package/polkadot/pips/definitions.js +0 -57
  230. package/polkadot/pips/definitions.js.map +0 -1
  231. package/polkadot/pips/index.d.ts +0 -2
  232. package/polkadot/pips/index.d.ts.map +0 -1
  233. package/polkadot/pips/index.js +0 -20
  234. package/polkadot/pips/index.js.map +0 -1
  235. package/polkadot/pips/types.d.ts +0 -2
  236. package/polkadot/pips/types.d.ts.map +0 -1
  237. package/polkadot/pips/types.js +0 -5
  238. package/polkadot/pips/types.js.map +0 -1
  239. package/polkadot/polymesh/definitions.d.ts +0 -674
  240. package/polkadot/polymesh/definitions.d.ts.map +0 -1
  241. package/polkadot/polymesh/definitions.js +0 -1208
  242. package/polkadot/polymesh/definitions.js.map +0 -1
  243. package/polkadot/polymesh/index.d.ts +0 -2
  244. package/polkadot/polymesh/index.d.ts.map +0 -1
  245. package/polkadot/polymesh/index.js +0 -20
  246. package/polkadot/polymesh/index.js.map +0 -1
  247. package/polkadot/polymesh/types.d.ts +0 -755
  248. package/polkadot/polymesh/types.d.ts.map +0 -1
  249. package/polkadot/polymesh/types.js +0 -5
  250. package/polkadot/polymesh/types.js.map +0 -1
  251. package/polkadot/protocolFee/definitions.d.ts +0 -16
  252. package/polkadot/protocolFee/definitions.d.ts.map +0 -1
  253. package/polkadot/protocolFee/definitions.js +0 -25
  254. package/polkadot/protocolFee/definitions.js.map +0 -1
  255. package/polkadot/protocolFee/index.d.ts +0 -2
  256. package/polkadot/protocolFee/index.d.ts.map +0 -1
  257. package/polkadot/protocolFee/index.js +0 -20
  258. package/polkadot/protocolFee/index.js.map +0 -1
  259. package/polkadot/protocolFee/types.d.ts +0 -2
  260. package/polkadot/protocolFee/types.d.ts.map +0 -1
  261. package/polkadot/protocolFee/types.js +0 -5
  262. package/polkadot/protocolFee/types.js.map +0 -1
  263. package/polkadot/registry.d.ts +0 -365
  264. package/polkadot/registry.d.ts.map +0 -1
  265. package/polkadot/registry.js +0 -8
  266. package/polkadot/registry.js.map +0 -1
  267. package/polkadot/schema.d.ts +0 -870
  268. package/polkadot/schema.d.ts.map +0 -1
  269. package/polkadot/schema.js +0 -1586
  270. package/polkadot/schema.js.map +0 -1
  271. package/polkadot/settlement/definitions.d.ts +0 -41
  272. package/polkadot/settlement/definitions.d.ts.map +0 -1
  273. package/polkadot/settlement/definitions.js +0 -70
  274. package/polkadot/settlement/definitions.js.map +0 -1
  275. package/polkadot/settlement/index.d.ts +0 -2
  276. package/polkadot/settlement/index.d.ts.map +0 -1
  277. package/polkadot/settlement/index.js +0 -20
  278. package/polkadot/settlement/index.js.map +0 -1
  279. package/polkadot/settlement/types.d.ts +0 -2
  280. package/polkadot/settlement/types.d.ts.map +0 -1
  281. package/polkadot/settlement/types.js +0 -5
  282. package/polkadot/settlement/types.js.map +0 -1
  283. package/polkadot/staking/definitions.d.ts +0 -16
  284. package/polkadot/staking/definitions.d.ts.map +0 -1
  285. package/polkadot/staking/definitions.js +0 -20
  286. package/polkadot/staking/definitions.js.map +0 -1
  287. package/polkadot/staking/index.d.ts +0 -2
  288. package/polkadot/staking/index.d.ts.map +0 -1
  289. package/polkadot/staking/index.js +0 -20
  290. package/polkadot/staking/index.js.map +0 -1
  291. package/polkadot/staking/types.d.ts +0 -2
  292. package/polkadot/staking/types.d.ts.map +0 -1
  293. package/polkadot/staking/types.js +0 -5
  294. package/polkadot/staking/types.js.map +0 -1
  295. package/polkadot/types-lookup.d.ts +0 -5881
  296. package/polkadot/types-lookup.d.ts.map +0 -1
  297. package/polkadot/types-lookup.js +0 -8
  298. package/polkadot/types-lookup.js.map +0 -1
  299. package/polkadot/types.d.ts +0 -11
  300. package/polkadot/types.d.ts.map +0 -1
  301. package/polkadot/types.js +0 -29
  302. package/polkadot/types.js.map +0 -1
@@ -1,2191 +0,0 @@
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>;
4
- declare module '@polkadot/api-base/types/errors' {
5
- interface AugmentedErrors<ApiType extends ApiTypes> {
6
- asset: {
7
- /**
8
- * The token is already frozen.
9
- **/
10
- AlreadyFrozen: AugmentedError<ApiType>;
11
- /**
12
- * The token has already been created.
13
- **/
14
- AssetAlreadyCreated: AugmentedError<ApiType>;
15
- /**
16
- * The token is already divisible.
17
- **/
18
- AssetAlreadyDivisible: AugmentedError<ApiType>;
19
- /**
20
- * An unexpected error when generating a new asset ID.
21
- **/
22
- AssetIdGenerationError: AugmentedError<ApiType>;
23
- /**
24
- * The given asset is already linked to a ticker.
25
- **/
26
- AssetIsAlreadyLinkedToATicker: AugmentedError<ApiType>;
27
- /**
28
- * Asset Metadata Global type already exists.
29
- **/
30
- AssetMetadataGlobalKeyAlreadyExists: AugmentedError<ApiType>;
31
- /**
32
- * Attempt to delete a key that is needed for an NFT collection.
33
- **/
34
- AssetMetadataKeyBelongsToNFTCollection: AugmentedError<ApiType>;
35
- /**
36
- * Asset Metadata key is missing.
37
- **/
38
- AssetMetadataKeyIsMissing: AugmentedError<ApiType>;
39
- /**
40
- * Asset Metadata Local type already exists for asset.
41
- **/
42
- AssetMetadataLocalKeyAlreadyExists: AugmentedError<ApiType>;
43
- /**
44
- * Maximum length of the asset metadata type name has been exceeded.
45
- **/
46
- AssetMetadataNameMaxLengthExceeded: AugmentedError<ApiType>;
47
- /**
48
- * Maximum length of the asset metadata type definition has been exceeded.
49
- **/
50
- AssetMetadataTypeDefMaxLengthExceeded: AugmentedError<ApiType>;
51
- /**
52
- * Attempt to lock a metadata value that is empty.
53
- **/
54
- AssetMetadataValueIsEmpty: AugmentedError<ApiType>;
55
- /**
56
- * Asset Metadata value is locked.
57
- **/
58
- AssetMetadataValueIsLocked: AugmentedError<ApiType>;
59
- /**
60
- * Maximum length of the asset metadata value has been exceeded.
61
- **/
62
- AssetMetadataValueMaxLengthExceeded: AugmentedError<ApiType>;
63
- /**
64
- * The extrinsic expected a different `AuthorizationType` than what the `data.auth_type()` is.
65
- **/
66
- BadAuthorizationType: AugmentedError<ApiType>;
67
- /**
68
- * An overflow while calculating the balance.
69
- **/
70
- BalanceOverflow: AugmentedError<ApiType>;
71
- /**
72
- * Maximum length of the funding round name has been exceeded.
73
- **/
74
- FundingRoundNameMaxLengthExceeded: AugmentedError<ApiType>;
75
- /**
76
- * Attempt to update the type of a non fungible token to a fungible token or the other way around.
77
- **/
78
- IncompatibleAssetTypeUpdate: AugmentedError<ApiType>;
79
- /**
80
- * The sender balance is not sufficient.
81
- **/
82
- InsufficientBalance: AugmentedError<ApiType>;
83
- /**
84
- * Some `AssetIdentifier` was invalid.
85
- **/
86
- InvalidAssetIdentifier: AugmentedError<ApiType>;
87
- /**
88
- * Invalid `CustomAssetTypeId`.
89
- **/
90
- InvalidCustomAssetTypeId: AugmentedError<ApiType>;
91
- /**
92
- * An invalid Ethereum `EcdsaSignature`.
93
- **/
94
- InvalidEthereumSignature: AugmentedError<ApiType>;
95
- /**
96
- * An invalid granularity.
97
- **/
98
- InvalidGranularity: AugmentedError<ApiType>;
99
- /**
100
- * Invalid ticker character - valid set: A`..`Z` `0`..`9` `_` `-` `.` `/`.
101
- **/
102
- InvalidTickerCharacter: AugmentedError<ApiType>;
103
- /**
104
- * Transfer validation check failed.
105
- **/
106
- InvalidTransfer: AugmentedError<ApiType>;
107
- /**
108
- * Failed to transfer an NFT - compliance failed.
109
- **/
110
- InvalidTransferComplianceFailure: AugmentedError<ApiType>;
111
- /**
112
- * Failed to transfer the asset - asset is frozen.
113
- **/
114
- InvalidTransferFrozenAsset: AugmentedError<ApiType>;
115
- /**
116
- * Failed to transfer the asset - receiver cdd is not valid.
117
- **/
118
- InvalidTransferInvalidReceiverCDD: AugmentedError<ApiType>;
119
- /**
120
- * Failed to transfer the asset - sender cdd is not valid.
121
- **/
122
- InvalidTransferInvalidSenderCDD: AugmentedError<ApiType>;
123
- /**
124
- * Investor Uniqueness claims are not allowed for this asset.
125
- **/
126
- InvestorUniquenessClaimNotAllowed: AugmentedError<ApiType>;
127
- /**
128
- * Maximum length of asset name has been exceeded.
129
- **/
130
- MaxLengthOfAssetNameExceeded: AugmentedError<ApiType>;
131
- /**
132
- * No token associated to the given asset ID.
133
- **/
134
- NoSuchAsset: AugmentedError<ApiType>;
135
- /**
136
- * The given Document does not exist.
137
- **/
138
- NoSuchDoc: AugmentedError<ApiType>;
139
- /**
140
- * Not an owner of the token on Ethereum.
141
- **/
142
- NotAnOwner: AugmentedError<ApiType>;
143
- /**
144
- * The asset must be frozen.
145
- **/
146
- NotFrozen: AugmentedError<ApiType>;
147
- /**
148
- * Number of asset mediators would exceed the maximum allowed.
149
- **/
150
- NumberOfAssetMediatorsExceeded: AugmentedError<ApiType>;
151
- /**
152
- * Transfers to self are not allowed
153
- **/
154
- SenderSameAsReceiver: AugmentedError<ApiType>;
155
- /**
156
- * The ticker is already registered to someone else.
157
- **/
158
- TickerAlreadyRegistered: AugmentedError<ApiType>;
159
- /**
160
- * Tickers should start with at least one valid byte.
161
- **/
162
- TickerFirstByteNotValid: AugmentedError<ApiType>;
163
- /**
164
- * The given ticker is already linked to an asset.
165
- **/
166
- TickerIsAlreadyLinkedToAnAsset: AugmentedError<ApiType>;
167
- /**
168
- * The given ticker is not linked to the given asset.
169
- **/
170
- TickerIsNotLinkedToTheAsset: AugmentedError<ApiType>;
171
- /**
172
- * The ticker has non-alphanumeric parts.
173
- **/
174
- TickerNotAlphanumeric: AugmentedError<ApiType>;
175
- /**
176
- * The ticker doesn't belong to the caller.
177
- **/
178
- TickerNotRegisteredToCaller: AugmentedError<ApiType>;
179
- /**
180
- * Registration of ticker has expired.
181
- **/
182
- TickerRegistrationExpired: AugmentedError<ApiType>;
183
- /**
184
- * The ticker registration associated to the ticker was not found.
185
- **/
186
- TickerRegistrationNotFound: AugmentedError<ApiType>;
187
- /**
188
- * The ticker length is over the limit.
189
- **/
190
- TickerTooLong: AugmentedError<ApiType>;
191
- /**
192
- * The total supply is above the limit.
193
- **/
194
- TotalSupplyAboveLimit: AugmentedError<ApiType>;
195
- /**
196
- * An overflow while calculating the total supply.
197
- **/
198
- TotalSupplyOverflow: AugmentedError<ApiType>;
199
- /**
200
- * The user is not authorized.
201
- **/
202
- Unauthorized: AugmentedError<ApiType>;
203
- /**
204
- * Attempt to call an extrinsic that is only permitted for fungible tokens.
205
- **/
206
- UnexpectedNonFungibleToken: AugmentedError<ApiType>;
207
- };
208
- babe: {
209
- /**
210
- * A given equivocation report is valid but already previously reported.
211
- **/
212
- DuplicateOffenceReport: AugmentedError<ApiType>;
213
- /**
214
- * Submitted configuration is invalid.
215
- **/
216
- InvalidConfiguration: AugmentedError<ApiType>;
217
- /**
218
- * An equivocation proof provided as part of an equivocation report is invalid.
219
- **/
220
- InvalidEquivocationProof: AugmentedError<ApiType>;
221
- /**
222
- * A key ownership proof provided as part of an equivocation report is invalid.
223
- **/
224
- InvalidKeyOwnershipProof: AugmentedError<ApiType>;
225
- };
226
- balances: {
227
- /**
228
- * Value too low to create account due to existential deposit
229
- **/
230
- ExistentialDeposit: AugmentedError<ApiType>;
231
- /**
232
- * Balance too low to send value
233
- **/
234
- InsufficientBalance: AugmentedError<ApiType>;
235
- /**
236
- * Account liquidity restrictions prevent withdrawal
237
- **/
238
- LiquidityRestrictions: AugmentedError<ApiType>;
239
- /**
240
- * Got an overflow after adding
241
- **/
242
- Overflow: AugmentedError<ApiType>;
243
- /**
244
- * Receiver does not have a valid CDD
245
- **/
246
- ReceiverCddMissing: AugmentedError<ApiType>;
247
- };
248
- base: {
249
- /**
250
- * The sequence counter for something overflowed.
251
- *
252
- * When this happens depends on e.g., the capacity of the identifier type.
253
- * For example, we might have `pub struct PipId(u32);`, with `u32::MAX` capacity.
254
- * In practice, these errors will never happen but no code path should result in a panic,
255
- * so these corner cases need to be covered with an error variant.
256
- **/
257
- CounterOverflow: AugmentedError<ApiType>;
258
- /**
259
- * Exceeded a generic length limit.
260
- * The limit could be for any sort of lists of things, including a string.
261
- **/
262
- TooLong: AugmentedError<ApiType>;
263
- };
264
- capitalDistribution: {
265
- /**
266
- * A distribution already exists for this CA.
267
- **/
268
- AlreadyExists: AugmentedError<ApiType>;
269
- /**
270
- * DID who created the distribution already did reclaim.
271
- **/
272
- AlreadyReclaimed: AugmentedError<ApiType>;
273
- /**
274
- * Multiplication of the balance with the per share payout amount overflowed.
275
- **/
276
- BalancePerShareProductOverflowed: AugmentedError<ApiType>;
277
- /**
278
- * Distribution's expiry has passed. DID cannot claim anymore and has forfeited the benefits.
279
- **/
280
- CannotClaimAfterExpiry: AugmentedError<ApiType>;
281
- /**
282
- * Distribution allotment cannot be claimed as the current time is before start-of-payment.
283
- **/
284
- CannotClaimBeforeStart: AugmentedError<ApiType>;
285
- /**
286
- * A capital distribution was made for a non-benefit CA.
287
- **/
288
- CANotBenefit: AugmentedError<ApiType>;
289
- /**
290
- * Distribution `amount` cannot be zero.
291
- **/
292
- DistributionAmountIsZero: AugmentedError<ApiType>;
293
- /**
294
- * Distribution `per_share` cannot be zero.
295
- **/
296
- DistributionPerShareIsZero: AugmentedError<ApiType>;
297
- /**
298
- * A distribution has been activated, as `payment_at <= now` holds.
299
- **/
300
- DistributionStarted: AugmentedError<ApiType>;
301
- /**
302
- * A distributions provided expiry date was strictly before its payment date.
303
- * In other words, everything to distribute would immediately be forfeited.
304
- **/
305
- ExpiryBeforePayment: AugmentedError<ApiType>;
306
- /**
307
- * The token holder has already been paid their benefit.
308
- **/
309
- HolderAlreadyPaid: AugmentedError<ApiType>;
310
- /**
311
- * A distribution has insufficient remaining amount of currency to distribute.
312
- **/
313
- InsufficientRemainingAmount: AugmentedError<ApiType>;
314
- /**
315
- * A capital distribution doesn't exist for this CA.
316
- **/
317
- NoSuchDistribution: AugmentedError<ApiType>;
318
- /**
319
- * DID is not the one who created the distribution.
320
- **/
321
- NotDistributionCreator: AugmentedError<ApiType>;
322
- /**
323
- * Distribution had not expired yet, or there's no expiry date.
324
- **/
325
- NotExpired: AugmentedError<ApiType>;
326
- };
327
- cddServiceProviders: {
328
- /**
329
- * The limit for the number of concurrent active members for this group has been exceeded.
330
- **/
331
- ActiveMembersLimitExceeded: AugmentedError<ApiType>;
332
- /**
333
- * Active member limit was greater than maximum committee members limit.
334
- **/
335
- ActiveMembersLimitOverflow: AugmentedError<ApiType>;
336
- /**
337
- * Group member was added already.
338
- **/
339
- DuplicateMember: AugmentedError<ApiType>;
340
- /**
341
- * Last member of the committee can not quit.
342
- **/
343
- LastMemberCannotQuit: AugmentedError<ApiType>;
344
- /**
345
- * Can't remove a member that doesn't exist.
346
- **/
347
- NoSuchMember: AugmentedError<ApiType>;
348
- /**
349
- * Only primary key of the identity is allowed.
350
- **/
351
- OnlyPrimaryKeyAllowed: AugmentedError<ApiType>;
352
- };
353
- checkpoint: {
354
- /**
355
- * A checkpoint schedule does not exist for the asset.
356
- **/
357
- NoSuchSchedule: AugmentedError<ApiType>;
358
- /**
359
- * The schedule has no more checkpoints.
360
- **/
361
- ScheduleFinished: AugmentedError<ApiType>;
362
- /**
363
- * The schedule has expired checkpoints.
364
- **/
365
- ScheduleHasExpiredCheckpoints: AugmentedError<ApiType>;
366
- /**
367
- * Can't create an empty schedule.
368
- **/
369
- ScheduleIsEmpty: AugmentedError<ApiType>;
370
- /**
371
- * A checkpoint schedule is not removable as `ref_count(schedule_id) > 0`.
372
- **/
373
- ScheduleNotRemovable: AugmentedError<ApiType>;
374
- /**
375
- * The new schedule would put the asset over the maximum complexity allowed.
376
- **/
377
- SchedulesOverMaxComplexity: AugmentedError<ApiType>;
378
- };
379
- committeeMembership: {
380
- /**
381
- * The limit for the number of concurrent active members for this group has been exceeded.
382
- **/
383
- ActiveMembersLimitExceeded: AugmentedError<ApiType>;
384
- /**
385
- * Active member limit was greater than maximum committee members limit.
386
- **/
387
- ActiveMembersLimitOverflow: AugmentedError<ApiType>;
388
- /**
389
- * Group member was added already.
390
- **/
391
- DuplicateMember: AugmentedError<ApiType>;
392
- /**
393
- * Last member of the committee can not quit.
394
- **/
395
- LastMemberCannotQuit: AugmentedError<ApiType>;
396
- /**
397
- * Can't remove a member that doesn't exist.
398
- **/
399
- NoSuchMember: AugmentedError<ApiType>;
400
- /**
401
- * Only primary key of the identity is allowed.
402
- **/
403
- OnlyPrimaryKeyAllowed: AugmentedError<ApiType>;
404
- };
405
- complianceManager: {
406
- /**
407
- * The worst case scenario of the compliance requirement is too complex.
408
- **/
409
- ComplianceRequirementTooComplex: AugmentedError<ApiType>;
410
- /**
411
- * Did not exist.
412
- **/
413
- DidNotExist: AugmentedError<ApiType>;
414
- /**
415
- * There are duplicate compliance requirements.
416
- **/
417
- DuplicateComplianceRequirements: AugmentedError<ApiType>;
418
- /**
419
- * Issuer exist but trying to add it again.
420
- **/
421
- IncorrectOperationOnTrustedIssuer: AugmentedError<ApiType>;
422
- /**
423
- * Compliance requirement id doesn't exist.
424
- **/
425
- InvalidComplianceRequirementId: AugmentedError<ApiType>;
426
- /**
427
- * User is not authorized.
428
- **/
429
- Unauthorized: AugmentedError<ApiType>;
430
- /**
431
- * The maximum weight limit for executing the function was exceeded.
432
- **/
433
- WeightLimitExceeded: AugmentedError<ApiType>;
434
- };
435
- contracts: {
436
- /**
437
- * Code removal was denied because the code is still in use by at least one contract.
438
- **/
439
- CodeInUse: AugmentedError<ApiType>;
440
- /**
441
- * No code could be found at the supplied code hash.
442
- **/
443
- CodeNotFound: AugmentedError<ApiType>;
444
- /**
445
- * The contract's code was found to be invalid during validation or instrumentation.
446
- *
447
- * The most likely cause of this is that an API was used which is not supported by the
448
- * node. This hapens if an older node is used with a new version of ink!. Try updating
449
- * your node to the newest available version.
450
- *
451
- * A more detailed error can be found on the node console if debug messages are enabled
452
- * by supplying `-lruntime::contracts=debug`.
453
- **/
454
- CodeRejected: AugmentedError<ApiType>;
455
- /**
456
- * The code supplied to `instantiate_with_code` exceeds the limit specified in the
457
- * current schedule.
458
- **/
459
- CodeTooLarge: AugmentedError<ApiType>;
460
- /**
461
- * No contract was found at the specified address.
462
- **/
463
- ContractNotFound: AugmentedError<ApiType>;
464
- /**
465
- * The contract ran to completion but decided to revert its storage changes.
466
- * Please note that this error is only returned from extrinsics. When called directly
467
- * or via RPC an `Ok` will be returned. In this case the caller needs to inspect the flags
468
- * to determine whether a reversion has taken place.
469
- **/
470
- ContractReverted: AugmentedError<ApiType>;
471
- /**
472
- * Contract trapped during execution.
473
- **/
474
- ContractTrapped: AugmentedError<ApiType>;
475
- /**
476
- * Input passed to a contract API function failed to decode as expected type.
477
- **/
478
- DecodingFailed: AugmentedError<ApiType>;
479
- /**
480
- * Removal of a contract failed because the deletion queue is full.
481
- *
482
- * This can happen when calling `seal_terminate`.
483
- * The queue is filled by deleting contracts and emptied by a fixed amount each block.
484
- * Trying again during another block is the only way to resolve this issue.
485
- **/
486
- DeletionQueueFull: AugmentedError<ApiType>;
487
- /**
488
- * A contract with the same AccountId already exists.
489
- **/
490
- DuplicateContract: AugmentedError<ApiType>;
491
- /**
492
- * An indetermistic code was used in a context where this is not permitted.
493
- **/
494
- Indeterministic: AugmentedError<ApiType>;
495
- /**
496
- * `seal_call` forwarded this contracts input. It therefore is no longer available.
497
- **/
498
- InputForwarded: AugmentedError<ApiType>;
499
- /**
500
- * Invalid combination of flags supplied to `seal_call` or `seal_delegate_call`.
501
- **/
502
- InvalidCallFlags: AugmentedError<ApiType>;
503
- /**
504
- * A new schedule must have a greater version than the current one.
505
- **/
506
- InvalidScheduleVersion: AugmentedError<ApiType>;
507
- /**
508
- * Performing a call was denied because the calling depth reached the limit
509
- * of what is specified in the schedule.
510
- **/
511
- MaxCallDepthReached: AugmentedError<ApiType>;
512
- /**
513
- * The chain does not provide a chain extension. Calling the chain extension results
514
- * in this error. Note that this usually shouldn't happen as deploying such contracts
515
- * is rejected.
516
- **/
517
- NoChainExtension: AugmentedError<ApiType>;
518
- /**
519
- * A buffer outside of sandbox memory was passed to a contract API function.
520
- **/
521
- OutOfBounds: AugmentedError<ApiType>;
522
- /**
523
- * The executed contract exhausted its gas limit.
524
- **/
525
- OutOfGas: AugmentedError<ApiType>;
526
- /**
527
- * The output buffer supplied to a contract API call was too small.
528
- **/
529
- OutputBufferTooSmall: AugmentedError<ApiType>;
530
- /**
531
- * The subject passed to `seal_random` exceeds the limit.
532
- **/
533
- RandomSubjectTooLong: AugmentedError<ApiType>;
534
- /**
535
- * A call tried to invoke a contract that is flagged as non-reentrant.
536
- **/
537
- ReentranceDenied: AugmentedError<ApiType>;
538
- /**
539
- * More storage was created than allowed by the storage deposit limit.
540
- **/
541
- StorageDepositLimitExhausted: AugmentedError<ApiType>;
542
- /**
543
- * Origin doesn't have enough balance to pay the required storage deposits.
544
- **/
545
- StorageDepositNotEnoughFunds: AugmentedError<ApiType>;
546
- /**
547
- * A contract self destructed in its constructor.
548
- *
549
- * This can be triggered by a call to `seal_terminate`.
550
- **/
551
- TerminatedInConstructor: AugmentedError<ApiType>;
552
- /**
553
- * Termination of a contract is not allowed while the contract is already
554
- * on the call stack. Can be triggered by `seal_terminate`.
555
- **/
556
- TerminatedWhileReentrant: AugmentedError<ApiType>;
557
- /**
558
- * The amount of topics passed to `seal_deposit_events` exceeds the limit.
559
- **/
560
- TooManyTopics: AugmentedError<ApiType>;
561
- /**
562
- * Performing the requested transfer failed. Probably because there isn't enough
563
- * free balance in the sender's account.
564
- **/
565
- TransferFailed: AugmentedError<ApiType>;
566
- /**
567
- * The size defined in `T::MaxValueSize` was exceeded.
568
- **/
569
- ValueTooLarge: AugmentedError<ApiType>;
570
- };
571
- corporateAction: {
572
- /**
573
- * A CA's declaration date was strictly after its record date.
574
- **/
575
- DeclDateAfterRecordDate: AugmentedError<ApiType>;
576
- /**
577
- * A CA's declaration date occurs in the future.
578
- **/
579
- DeclDateInFuture: AugmentedError<ApiType>;
580
- /**
581
- * The `details` of a CA exceeded the max allowed length.
582
- **/
583
- DetailsTooLong: AugmentedError<ApiType>;
584
- /**
585
- * A withholding tax override for a given DID was specified more than once.
586
- * The chain refused to make a choice, and hence there was an error.
587
- **/
588
- DuplicateDidTax: AugmentedError<ApiType>;
589
- /**
590
- * The CA did not have a record date.
591
- **/
592
- NoRecordDate: AugmentedError<ApiType>;
593
- /**
594
- * A CA with the given `CAId` did not exist.
595
- **/
596
- NoSuchCA: AugmentedError<ApiType>;
597
- /**
598
- * On CA creation, a checkpoint ID was provided which doesn't exist.
599
- **/
600
- NoSuchCheckpointId: AugmentedError<ApiType>;
601
- /**
602
- * CA does not target the DID.
603
- **/
604
- NotTargetedByCA: AugmentedError<ApiType>;
605
- /**
606
- * A CA's record date was strictly after the "start" time,
607
- * where "start" is context dependent.
608
- * For example, it could be the start of a ballot, or the start-of-payment in capital distribution.
609
- **/
610
- RecordDateAfterStart: AugmentedError<ApiType>;
611
- /**
612
- * Too many withholding tax overrides were specified.
613
- **/
614
- TooManyDidTaxes: AugmentedError<ApiType>;
615
- /**
616
- * Too many identities in `TargetIdentities` were specified.
617
- **/
618
- TooManyTargetIds: AugmentedError<ApiType>;
619
- };
620
- corporateBallot: {
621
- /**
622
- * A corporate ballot already exists for this CA.
623
- **/
624
- AlreadyExists: AugmentedError<ApiType>;
625
- /**
626
- * A corporate ballot was made for a non `IssuerNotice` CA.
627
- **/
628
- CANotNotice: AugmentedError<ApiType>;
629
- /**
630
- * Voting power used by a DID on a motion exceeds that which is available to them.
631
- **/
632
- InsufficientVotes: AugmentedError<ApiType>;
633
- /**
634
- * A corporate ballot doesn't exist for this CA.
635
- **/
636
- NoSuchBallot: AugmentedError<ApiType>;
637
- /**
638
- * The RCV fallback of some choice does not exist.
639
- **/
640
- NoSuchRCVFallback: AugmentedError<ApiType>;
641
- /**
642
- * A corporate ballot's end time was strictly before the current time.
643
- **/
644
- NowAfterEnd: AugmentedError<ApiType>;
645
- /**
646
- * If some motion in a corporate ballot has more choices than would fit in `u16`.
647
- **/
648
- NumberOfChoicesOverflow: AugmentedError<ApiType>;
649
- /**
650
- * RCV is not allowed for this ballot.
651
- **/
652
- RCVNotAllowed: AugmentedError<ApiType>;
653
- /**
654
- * The RCV fallback points to the origin choice.
655
- **/
656
- RCVSelfCycle: AugmentedError<ApiType>;
657
- /**
658
- * A corporate ballot's start time was strictly after the ballot's end.
659
- **/
660
- StartAfterEnd: AugmentedError<ApiType>;
661
- /**
662
- * Voting ended already.
663
- **/
664
- VotingAlreadyEnded: AugmentedError<ApiType>;
665
- /**
666
- * Voting started already. Amending a ballot is no longer possible.
667
- **/
668
- VotingAlreadyStarted: AugmentedError<ApiType>;
669
- /**
670
- * Voting hasn't started yet.
671
- **/
672
- VotingNotStarted: AugmentedError<ApiType>;
673
- /**
674
- * Provided list of balances does not match the total number of choices.
675
- **/
676
- WrongVoteCount: AugmentedError<ApiType>;
677
- };
678
- electionProviderMultiPhase: {
679
- /**
680
- * Some bound not met
681
- **/
682
- BoundNotMet: AugmentedError<ApiType>;
683
- /**
684
- * The call is not allowed at this point.
685
- **/
686
- CallNotAllowed: AugmentedError<ApiType>;
687
- /**
688
- * The fallback failed
689
- **/
690
- FallbackFailed: AugmentedError<ApiType>;
691
- /**
692
- * `Self::insert_submission` returned an invalid index.
693
- **/
694
- InvalidSubmissionIndex: AugmentedError<ApiType>;
695
- /**
696
- * Snapshot metadata should exist but didn't.
697
- **/
698
- MissingSnapshotMetadata: AugmentedError<ApiType>;
699
- /**
700
- * OCW submitted solution for wrong round
701
- **/
702
- OcwCallWrongEra: AugmentedError<ApiType>;
703
- /**
704
- * Submission was too early.
705
- **/
706
- PreDispatchEarlySubmission: AugmentedError<ApiType>;
707
- /**
708
- * Submission was too weak, score-wise.
709
- **/
710
- PreDispatchWeakSubmission: AugmentedError<ApiType>;
711
- /**
712
- * Wrong number of winners presented.
713
- **/
714
- PreDispatchWrongWinnerCount: AugmentedError<ApiType>;
715
- /**
716
- * The origin failed to pay the deposit.
717
- **/
718
- SignedCannotPayDeposit: AugmentedError<ApiType>;
719
- /**
720
- * Witness data to dispatchable is invalid.
721
- **/
722
- SignedInvalidWitness: AugmentedError<ApiType>;
723
- /**
724
- * The queue was full, and the solution was not better than any of the existing ones.
725
- **/
726
- SignedQueueFull: AugmentedError<ApiType>;
727
- /**
728
- * The signed submission consumes too much weight
729
- **/
730
- SignedTooMuchWeight: AugmentedError<ApiType>;
731
- /**
732
- * Submitted solution has too many winners
733
- **/
734
- TooManyWinners: AugmentedError<ApiType>;
735
- };
736
- externalAgents: {
737
- /**
738
- * The provided `agent` is already an agent for the `AssetId`.
739
- **/
740
- AlreadyAnAgent: AugmentedError<ApiType>;
741
- /**
742
- * The extrinsic expected a different `AuthorizationType` than what the `data.auth_type()` is.
743
- **/
744
- BadAuthorizationType: AugmentedError<ApiType>;
745
- /**
746
- * An AG with the given `AGId` did not exist for the `AssetId`.
747
- **/
748
- NoSuchAG: AugmentedError<ApiType>;
749
- /**
750
- * The provided `agent` is not an agent for the `AssetId`.
751
- **/
752
- NotAnAgent: AugmentedError<ApiType>;
753
- /**
754
- * This agent is the last full one, and it's being removed,
755
- * making the asset orphaned.
756
- **/
757
- RemovingLastFullAgent: AugmentedError<ApiType>;
758
- /**
759
- * The caller's secondary key does not have the required asset permission.
760
- **/
761
- SecondaryKeyNotAuthorizedForAsset: AugmentedError<ApiType>;
762
- /**
763
- * The agent is not authorized to call the current extrinsic.
764
- **/
765
- UnauthorizedAgent: AugmentedError<ApiType>;
766
- };
767
- grandpa: {
768
- /**
769
- * Attempt to signal GRANDPA change with one already pending.
770
- **/
771
- ChangePending: AugmentedError<ApiType>;
772
- /**
773
- * A given equivocation report is valid but already previously reported.
774
- **/
775
- DuplicateOffenceReport: AugmentedError<ApiType>;
776
- /**
777
- * An equivocation proof provided as part of an equivocation report is invalid.
778
- **/
779
- InvalidEquivocationProof: AugmentedError<ApiType>;
780
- /**
781
- * A key ownership proof provided as part of an equivocation report is invalid.
782
- **/
783
- InvalidKeyOwnershipProof: AugmentedError<ApiType>;
784
- /**
785
- * Attempt to signal GRANDPA pause when the authority set isn't live
786
- * (either paused or already pending pause).
787
- **/
788
- PauseFailed: AugmentedError<ApiType>;
789
- /**
790
- * Attempt to signal GRANDPA resume when the authority set isn't paused
791
- * (either live or already pending resume).
792
- **/
793
- ResumeFailed: AugmentedError<ApiType>;
794
- /**
795
- * Cannot signal forced change so soon after last.
796
- **/
797
- TooSoon: AugmentedError<ApiType>;
798
- };
799
- identity: {
800
- /**
801
- * The account key is being used, it can't be unlinked.
802
- **/
803
- AccountKeyIsBeingUsed: AugmentedError<ApiType>;
804
- /**
805
- * One secondary or primary key can only belong to one DID
806
- **/
807
- AlreadyLinked: AugmentedError<ApiType>;
808
- /**
809
- * The offchain authorization has expired.
810
- **/
811
- AuthorizationExpired: AugmentedError<ApiType>;
812
- /**
813
- * Authorization has been explicitly revoked.
814
- **/
815
- AuthorizationHasBeenRevoked: AugmentedError<ApiType>;
816
- /**
817
- * Authorizations are not for the same DID.
818
- **/
819
- AuthorizationsNotForSameDids: AugmentedError<ApiType>;
820
- /**
821
- * The extrinsic expected a different `AuthorizationType` than what the `data.auth_type()` is.
822
- **/
823
- BadAuthorizationType: AugmentedError<ApiType>;
824
- /**
825
- * Cannot convert a `T::AccountId` to `AnySignature::Signer::AccountId`.
826
- **/
827
- CannotDecodeSignerAccountId: AugmentedError<ApiType>;
828
- /**
829
- * Claim does not exist.
830
- **/
831
- ClaimDoesNotExist: AugmentedError<ApiType>;
832
- /**
833
- * The custom claim type trying to be registered already exists.
834
- **/
835
- CustomClaimTypeAlreadyExists: AugmentedError<ApiType>;
836
- /**
837
- * The custom claim type does not exist.
838
- **/
839
- CustomClaimTypeDoesNotExist: AugmentedError<ApiType>;
840
- /**
841
- * A custom scope is too long.
842
- * It can at most be `32` characters long.
843
- **/
844
- CustomScopeTooLong: AugmentedError<ApiType>;
845
- /**
846
- * The DID already exists.
847
- **/
848
- DidAlreadyExists: AugmentedError<ApiType>;
849
- /**
850
- * The DID does not exist.
851
- **/
852
- DidDoesNotExist: AugmentedError<ApiType>;
853
- /**
854
- * The DID must already exist.
855
- **/
856
- DidMustAlreadyExist: AugmentedError<ApiType>;
857
- /**
858
- * The same key was included multiple times.
859
- **/
860
- DuplicateKey: AugmentedError<ApiType>;
861
- /**
862
- * Maximum number of given authorizations was exceeded.
863
- **/
864
- ExceededNumberOfGivenAuths: AugmentedError<ApiType>;
865
- /**
866
- * Cannot use Except when specifying extrinsic permissions.
867
- **/
868
- ExceptNotAllowedForExtrinsics: AugmentedError<ApiType>;
869
- /**
870
- * Couldn't charge fee for the transaction.
871
- **/
872
- FailedToChargeFee: AugmentedError<ApiType>;
873
- /**
874
- * Account Id cannot be extracted from signer
875
- **/
876
- InvalidAccountKey: AugmentedError<ApiType>;
877
- /**
878
- * Auth identified by an `auth_id` for a given `target` does not exist.
879
- * The `target` might be wrong or the `auth_id` was never created at all.
880
- **/
881
- InvalidAuthorization: AugmentedError<ApiType>;
882
- /**
883
- * An invalid authorization from the CDD provider.
884
- **/
885
- InvalidAuthorizationFromCddProvider: AugmentedError<ApiType>;
886
- /**
887
- * An invalid authorization from the owner.
888
- **/
889
- InvalidAuthorizationFromOwner: AugmentedError<ApiType>;
890
- /**
891
- * An invalid authorization signature.
892
- **/
893
- InvalidAuthorizationSignature: AugmentedError<ApiType>;
894
- /**
895
- * Identity is already a child of an other identity, can't create grand-child identity.
896
- **/
897
- IsChildIdentity: AugmentedError<ApiType>;
898
- /**
899
- * This key is not allowed to execute a given operation.
900
- **/
901
- KeyNotAllowed: AugmentedError<ApiType>;
902
- /**
903
- * Caller is missing an identity.
904
- **/
905
- MissingIdentity: AugmentedError<ApiType>;
906
- /**
907
- * The Identity doesn't have a parent identity.
908
- **/
909
- NoParentIdentity: AugmentedError<ApiType>;
910
- /**
911
- * Signer is not a secondary key of the provided identity
912
- **/
913
- NotASigner: AugmentedError<ApiType>;
914
- /**
915
- * Attestation was not by a CDD service provider.
916
- **/
917
- NotCddProviderAttestation: AugmentedError<ApiType>;
918
- /**
919
- * The caller is not the parent or child identity.
920
- **/
921
- NotParentOrChildIdentity: AugmentedError<ApiType>;
922
- /**
923
- * Only the primary key is allowed to revoke an Identity Signatory off-chain authorization.
924
- **/
925
- NotPrimaryKey: AugmentedError<ApiType>;
926
- /**
927
- * The secondary keys contain the primary key.
928
- **/
929
- SecondaryKeysContainPrimaryKey: AugmentedError<ApiType>;
930
- /**
931
- * The target DID has no valid CDD.
932
- **/
933
- TargetHasNoCdd: AugmentedError<ApiType>;
934
- /**
935
- * Signatory is not pre authorized by the identity
936
- **/
937
- Unauthorized: AugmentedError<ApiType>;
938
- /**
939
- * Only CDD service providers are allowed.
940
- **/
941
- UnAuthorizedCddProvider: AugmentedError<ApiType>;
942
- };
943
- imOnline: {
944
- /**
945
- * Duplicated heartbeat.
946
- **/
947
- DuplicatedHeartbeat: AugmentedError<ApiType>;
948
- /**
949
- * Non existent public key.
950
- **/
951
- InvalidKey: AugmentedError<ApiType>;
952
- };
953
- indices: {
954
- /**
955
- * The index was not available.
956
- **/
957
- InUse: AugmentedError<ApiType>;
958
- /**
959
- * The index was not already assigned.
960
- **/
961
- NotAssigned: AugmentedError<ApiType>;
962
- /**
963
- * The index is assigned to another account.
964
- **/
965
- NotOwner: AugmentedError<ApiType>;
966
- /**
967
- * The source and destination accounts are identical.
968
- **/
969
- NotTransfer: AugmentedError<ApiType>;
970
- /**
971
- * The index is permanent and may not be freed/changed.
972
- **/
973
- Permanent: AugmentedError<ApiType>;
974
- };
975
- multiSig: {
976
- /**
977
- * Multisig has no admin.
978
- **/
979
- AdminNotFound: AugmentedError<ApiType>;
980
- /**
981
- * Already a signer.
982
- **/
983
- AlreadyASigner: AugmentedError<ApiType>;
984
- /**
985
- * Already voted.
986
- **/
987
- AlreadyVoted: AugmentedError<ApiType>;
988
- /**
989
- * The extrinsic expected a different `AuthorizationType` than what the `data.auth_type()` is.
990
- **/
991
- BadAuthorizationType: AugmentedError<ApiType>;
992
- /**
993
- * Changing multisig parameters not allowed since multisig is a primary key.
994
- **/
995
- ChangeNotAllowed: AugmentedError<ApiType>;
996
- /**
997
- * Multisig address.
998
- **/
999
- DecodingError: AugmentedError<ApiType>;
1000
- /**
1001
- * Identity provided is not the multisig's admin.
1002
- **/
1003
- IdentityNotAdmin: AugmentedError<ApiType>;
1004
- /**
1005
- * Identity provided is not the multisig's payer.
1006
- **/
1007
- IdentityNotPayer: AugmentedError<ApiType>;
1008
- /**
1009
- * The proposal has been invalidated after a multisg update.
1010
- **/
1011
- InvalidatedProposal: AugmentedError<ApiType>;
1012
- /**
1013
- * Expiry must be in the future.
1014
- **/
1015
- InvalidExpiryDate: AugmentedError<ApiType>;
1016
- /**
1017
- * Max weight not enough to execute proposal.
1018
- **/
1019
- MaxWeightTooLow: AugmentedError<ApiType>;
1020
- /**
1021
- * Multisig is not attached to an identity
1022
- **/
1023
- MultisigMissingIdentity: AugmentedError<ApiType>;
1024
- /**
1025
- * A multisig can't be a signer of another multisig.
1026
- **/
1027
- NestingNotAllowed: AugmentedError<ApiType>;
1028
- /**
1029
- * A nonce overflow.
1030
- **/
1031
- NonceOverflow: AugmentedError<ApiType>;
1032
- /**
1033
- * Multisig doesn't have a paying DID.
1034
- **/
1035
- NoPayingDid: AugmentedError<ApiType>;
1036
- /**
1037
- * No such multisig.
1038
- **/
1039
- NoSuchMultisig: AugmentedError<ApiType>;
1040
- /**
1041
- * Not a signer.
1042
- **/
1043
- NotASigner: AugmentedError<ApiType>;
1044
- /**
1045
- * Not enough signers. The number of signers has to be greater then or equal to
1046
- * the required number of signers to approve proposals.
1047
- **/
1048
- NotEnoughSigners: AugmentedError<ApiType>;
1049
- /**
1050
- * Proposal was executed earlier
1051
- **/
1052
- ProposalAlreadyExecuted: AugmentedError<ApiType>;
1053
- /**
1054
- * Proposal was rejected earlier
1055
- **/
1056
- ProposalAlreadyRejected: AugmentedError<ApiType>;
1057
- /**
1058
- * Proposal has expired
1059
- **/
1060
- ProposalExpired: AugmentedError<ApiType>;
1061
- /**
1062
- * The proposal does not exist.
1063
- **/
1064
- ProposalMissing: AugmentedError<ApiType>;
1065
- /**
1066
- * Required number of signers must be greater then zero.
1067
- **/
1068
- RequiredSignersIsZero: AugmentedError<ApiType>;
1069
- /**
1070
- * Signer is an account key that is already associated with an identity.
1071
- **/
1072
- SignerAlreadyLinkedToIdentity: AugmentedError<ApiType>;
1073
- /**
1074
- * Signer is an account key that is already associated with a multisig.
1075
- **/
1076
- SignerAlreadyLinkedToMultisig: AugmentedError<ApiType>;
1077
- /**
1078
- * Tried to add/remove too many signers.
1079
- **/
1080
- TooManySigners: AugmentedError<ApiType>;
1081
- };
1082
- nft: {
1083
- /**
1084
- * An overflow while calculating the balance.
1085
- **/
1086
- BalanceOverflow: AugmentedError<ApiType>;
1087
- /**
1088
- * An underflow while calculating the balance.
1089
- **/
1090
- BalanceUnderflow: AugmentedError<ApiType>;
1091
- /**
1092
- * The asset_id is already associated to an NFT collection.
1093
- **/
1094
- CollectionAlredyRegistered: AugmentedError<ApiType>;
1095
- /**
1096
- * The NFT collection does not exist.
1097
- **/
1098
- CollectionNotFound: AugmentedError<ApiType>;
1099
- /**
1100
- * Duplicate ids are not allowed.
1101
- **/
1102
- DuplicatedNFTId: AugmentedError<ApiType>;
1103
- /**
1104
- * A duplicate metadata key has been passed as parameter.
1105
- **/
1106
- DuplicateMetadataKey: AugmentedError<ApiType>;
1107
- /**
1108
- * There's no asset associated to the given asset_id.
1109
- **/
1110
- InvalidAssetId: AugmentedError<ApiType>;
1111
- /**
1112
- * The asset must be of type non-fungible.
1113
- **/
1114
- InvalidAssetType: AugmentedError<ApiType>;
1115
- /**
1116
- * Either the number of keys or the key identifier does not match the keys defined for the collection.
1117
- **/
1118
- InvalidMetadataAttribute: AugmentedError<ApiType>;
1119
- /**
1120
- * Failed to transfer an NFT - NFT collection not found.
1121
- **/
1122
- InvalidNFTTransferCollectionNotFound: AugmentedError<ApiType>;
1123
- /**
1124
- * Failed to transfer an NFT - compliance failed.
1125
- **/
1126
- InvalidNFTTransferComplianceFailure: AugmentedError<ApiType>;
1127
- /**
1128
- * Failed to transfer an NFT - identity count would overflow.
1129
- **/
1130
- InvalidNFTTransferCountOverflow: AugmentedError<ApiType>;
1131
- /**
1132
- * Failed to transfer an NFT - asset is frozen.
1133
- **/
1134
- InvalidNFTTransferFrozenAsset: AugmentedError<ApiType>;
1135
- /**
1136
- * Failed to transfer an NFT - the number of nfts in the identity is insufficient.
1137
- **/
1138
- InvalidNFTTransferInsufficientCount: AugmentedError<ApiType>;
1139
- /**
1140
- * The receiver has an invalid CDD.
1141
- **/
1142
- InvalidNFTTransferInvalidReceiverCDD: AugmentedError<ApiType>;
1143
- /**
1144
- * The sender has an invalid CDD.
1145
- **/
1146
- InvalidNFTTransferInvalidSenderCDD: AugmentedError<ApiType>;
1147
- /**
1148
- * Failed to transfer an NFT - nft is locked.
1149
- **/
1150
- InvalidNFTTransferNFTIsLocked: AugmentedError<ApiType>;
1151
- /**
1152
- * Failed to transfer an NFT - NFT not found in portfolio.
1153
- **/
1154
- InvalidNFTTransferNFTNotOwned: AugmentedError<ApiType>;
1155
- /**
1156
- * Failed to transfer an NFT - attempt to move to the same portfolio.
1157
- **/
1158
- InvalidNFTTransferSamePortfolio: AugmentedError<ApiType>;
1159
- /**
1160
- * The sender identity can't be the same as the receiver identity.
1161
- **/
1162
- InvalidNFTTransferSenderIdMatchesReceiverId: AugmentedError<ApiType>;
1163
- /**
1164
- * The maximum number of metadata keys was exceeded.
1165
- **/
1166
- MaxNumberOfKeysExceeded: AugmentedError<ApiType>;
1167
- /**
1168
- * The maximum number of nfts being transferred in one leg was exceeded.
1169
- **/
1170
- MaxNumberOfNFTsPerLegExceeded: AugmentedError<ApiType>;
1171
- /**
1172
- * The NFT is locked.
1173
- **/
1174
- NFTIsLocked: AugmentedError<ApiType>;
1175
- /**
1176
- * The NFT does not exist.
1177
- **/
1178
- NFTNotFound: AugmentedError<ApiType>;
1179
- /**
1180
- * The number of keys in the collection is greater than the input.
1181
- **/
1182
- NumberOfKeysIsLessThanExpected: AugmentedError<ApiType>;
1183
- /**
1184
- * An overflow while calculating the updated supply.
1185
- **/
1186
- SupplyOverflow: AugmentedError<ApiType>;
1187
- /**
1188
- * An underflow while calculating the updated supply.
1189
- **/
1190
- SupplyUnderflow: AugmentedError<ApiType>;
1191
- /**
1192
- * At least one of the metadata keys has not been registered.
1193
- **/
1194
- UnregisteredMetadataKey: AugmentedError<ApiType>;
1195
- /**
1196
- * It is not possible to transferr zero nft.
1197
- **/
1198
- ZeroCount: AugmentedError<ApiType>;
1199
- };
1200
- permissions: {
1201
- /**
1202
- * The caller is not authorized to call the current extrinsic.
1203
- **/
1204
- UnauthorizedCaller: AugmentedError<ApiType>;
1205
- };
1206
- pips: {
1207
- /**
1208
- * When enacting snapshot results, an unskippable PIP was skipped.
1209
- **/
1210
- CannotSkipPip: AugmentedError<ApiType>;
1211
- /**
1212
- * Proposer specifies an incorrect deposit amount.
1213
- **/
1214
- IncorrectDeposit: AugmentedError<ApiType>;
1215
- /**
1216
- * The proposal is not in the correct state for the requested operation.
1217
- **/
1218
- IncorrectProposalState: AugmentedError<ApiType>;
1219
- /**
1220
- * Proposer cannot afford to lock the minimum deposit.
1221
- **/
1222
- InsufficientDeposit: AugmentedError<ApiType>;
1223
- /**
1224
- * The specified block number is less than the current block number.
1225
- **/
1226
- InvalidFutureBlockNumber: AugmentedError<ApiType>;
1227
- /**
1228
- * Invalid PIP ID. Pip id was not expected to be in the live queue.
1229
- **/
1230
- InvalidPipId: AugmentedError<ApiType>;
1231
- /**
1232
- * The current DID is missing.
1233
- **/
1234
- MissingCurrentIdentity: AugmentedError<ApiType>;
1235
- /**
1236
- * The proposal does not exist.
1237
- **/
1238
- NoSuchProposal: AugmentedError<ApiType>;
1239
- /**
1240
- * The caller is not a member of the governance committee.
1241
- **/
1242
- NotACommitteeMember: AugmentedError<ApiType>;
1243
- /**
1244
- * The given dispatchable call is not valid for this proposal.
1245
- * The proposal must be from a committee, but isn't.
1246
- **/
1247
- NotByCommittee: AugmentedError<ApiType>;
1248
- /**
1249
- * The given dispatchable call is not valid for this proposal.
1250
- * The proposal must be from the community, but isn't.
1251
- **/
1252
- NotFromCommunity: AugmentedError<ApiType>;
1253
- /**
1254
- * The number of votes exceeds the allowed limit.
1255
- **/
1256
- NumberOfVotesExceeded: AugmentedError<ApiType>;
1257
- /**
1258
- * A proposal that is not in a scheduled state cannot be executed.
1259
- **/
1260
- ProposalNotInScheduledState: AugmentedError<ApiType>;
1261
- /**
1262
- * Only the GC release coordinator is allowed to reschedule proposal execution.
1263
- **/
1264
- RescheduleNotByReleaseCoordinator: AugmentedError<ApiType>;
1265
- /**
1266
- * Execution of a scheduled proposal failed because it is missing.
1267
- **/
1268
- ScheduledProposalDoesntExist: AugmentedError<ApiType>;
1269
- /**
1270
- * Tried to enact result for PIP with an ID different from that at the position in the queue.
1271
- **/
1272
- SnapshotIdMismatch: AugmentedError<ApiType>;
1273
- /**
1274
- * Tried to enact results for the snapshot queue overflowing its length.
1275
- **/
1276
- SnapshotResultTooLarge: AugmentedError<ApiType>;
1277
- /**
1278
- * The stake amount of a vote exceeds the allowed limit.
1279
- **/
1280
- StakeAmountOfVotesExceeded: AugmentedError<ApiType>;
1281
- /**
1282
- * The current number of active (pending or scheduled) PIPs exceeds the maximum
1283
- * and the proposal is not by a committee.
1284
- **/
1285
- TooManyActivePips: AugmentedError<ApiType>;
1286
- };
1287
- polymeshCommittee: {
1288
- /**
1289
- * Duplicate proposal.
1290
- **/
1291
- DuplicateProposal: AugmentedError<ApiType>;
1292
- /**
1293
- * Duplicate votes are not allowed.
1294
- **/
1295
- DuplicateVote: AugmentedError<ApiType>;
1296
- /**
1297
- * First vote on a proposal creates it, so it must be an approval.
1298
- * All proposals are motions to execute something as "GC majority".
1299
- * To reject e.g., a PIP, a motion to reject should be *approved*.
1300
- **/
1301
- FirstVoteReject: AugmentedError<ApiType>;
1302
- /**
1303
- * Proportion must be a rational number.
1304
- **/
1305
- InvalidProportion: AugmentedError<ApiType>;
1306
- /**
1307
- * Mismatched voting index.
1308
- **/
1309
- MismatchedVotingIndex: AugmentedError<ApiType>;
1310
- /**
1311
- * No such proposal.
1312
- **/
1313
- NoSuchProposal: AugmentedError<ApiType>;
1314
- /**
1315
- * A DID isn't part of the committee.
1316
- * The DID may either be a caller or some other context.
1317
- **/
1318
- NotAMember: AugmentedError<ApiType>;
1319
- /**
1320
- * Proposal exists, but it has expired.
1321
- **/
1322
- ProposalExpired: AugmentedError<ApiType>;
1323
- /**
1324
- * Maximum number of proposals has been reached.
1325
- **/
1326
- ProposalsLimitReached: AugmentedError<ApiType>;
1327
- };
1328
- polymeshContracts: {
1329
- /**
1330
- * The caller is not a primary key.
1331
- **/
1332
- CallerNotAPrimaryKey: AugmentedError<ApiType>;
1333
- /**
1334
- * Data left in input when decoding arguments of a call.
1335
- **/
1336
- DataLeftAfterDecoding: AugmentedError<ApiType>;
1337
- /**
1338
- * Input data that a contract passed when using the ChainExtension was too large.
1339
- **/
1340
- InLenTooLarge: AugmentedError<ApiType>;
1341
- /**
1342
- * A contract was attempted to be instantiated,
1343
- * but no identity was given to associate the new contract's key with.
1344
- **/
1345
- InstantiatorWithNoIdentity: AugmentedError<ApiType>;
1346
- /**
1347
- * Only future chain versions are allowed.
1348
- **/
1349
- InvalidChainVersion: AugmentedError<ApiType>;
1350
- /**
1351
- * Invalid `func_id` provided from contract.
1352
- **/
1353
- InvalidFuncId: AugmentedError<ApiType>;
1354
- /**
1355
- * Failed to decode a valid `RuntimeCall`.
1356
- **/
1357
- InvalidRuntimeCall: AugmentedError<ApiType>;
1358
- /**
1359
- * Secondary key permissions are missing.
1360
- **/
1361
- MissingKeyPermissions: AugmentedError<ApiType>;
1362
- /**
1363
- * There are no api upgrades supported for the contract.
1364
- **/
1365
- NoUpgradesSupported: AugmentedError<ApiType>;
1366
- /**
1367
- * Output data returned from the ChainExtension was too large.
1368
- **/
1369
- OutLenTooLarge: AugmentedError<ApiType>;
1370
- /**
1371
- * `ReadStorage` failed to write value into the contract's buffer.
1372
- **/
1373
- ReadStorageFailed: AugmentedError<ApiType>;
1374
- /**
1375
- * Extrinsic is not allowed to be called by contracts.
1376
- **/
1377
- RuntimeCallDenied: AugmentedError<ApiType>;
1378
- };
1379
- portfolio: {
1380
- /**
1381
- * The extrinsic expected a different `AuthorizationType` than what the `data.auth_type()` is.
1382
- **/
1383
- BadAuthorizationType: AugmentedError<ApiType>;
1384
- /**
1385
- * The source and destination portfolios should be different.
1386
- **/
1387
- DestinationIsSamePortfolio: AugmentedError<ApiType>;
1388
- /**
1389
- * The portfolios belong to different identities
1390
- **/
1391
- DifferentIdentityPortfolios: AugmentedError<ApiType>;
1392
- /**
1393
- * Trying to move an amount of zero assets.
1394
- **/
1395
- EmptyTransfer: AugmentedError<ApiType>;
1396
- /**
1397
- * Insufficient balance for a transaction.
1398
- **/
1399
- InsufficientPortfolioBalance: AugmentedError<ApiType>;
1400
- /**
1401
- * Can not unlock more tokens than what are locked
1402
- **/
1403
- InsufficientTokensLocked: AugmentedError<ApiType>;
1404
- /**
1405
- * Locked NFTs can not be moved between portfolios.
1406
- **/
1407
- InvalidTransferNFTIsLocked: AugmentedError<ApiType>;
1408
- /**
1409
- * Only owned NFTs can be moved between portfolios.
1410
- **/
1411
- InvalidTransferNFTNotOwned: AugmentedError<ApiType>;
1412
- /**
1413
- * The sender identity can't be the same as the receiver identity.
1414
- **/
1415
- InvalidTransferSenderIdMatchesReceiverId: AugmentedError<ApiType>;
1416
- /**
1417
- * The caller doesn't have permission to create portfolios on the owner's behalf.
1418
- **/
1419
- MissingOwnersPermission: AugmentedError<ApiType>;
1420
- /**
1421
- * The NFT is already locked.
1422
- **/
1423
- NFTAlreadyLocked: AugmentedError<ApiType>;
1424
- /**
1425
- * The NFT does not exist in the portfolio.
1426
- **/
1427
- NFTNotFoundInPortfolio: AugmentedError<ApiType>;
1428
- /**
1429
- * The NFT has never been locked.
1430
- **/
1431
- NFTNotLocked: AugmentedError<ApiType>;
1432
- /**
1433
- * Duplicate asset among the items.
1434
- **/
1435
- NoDuplicateAssetsAllowed: AugmentedError<ApiType>;
1436
- /**
1437
- * The portfolio doesn't exist.
1438
- **/
1439
- PortfolioDoesNotExist: AugmentedError<ApiType>;
1440
- /**
1441
- * The portfolio couldn't be renamed because the chosen name is already in use.
1442
- **/
1443
- PortfolioNameAlreadyInUse: AugmentedError<ApiType>;
1444
- /**
1445
- * The portfolio still has some asset balance left
1446
- **/
1447
- PortfolioNotEmpty: AugmentedError<ApiType>;
1448
- /**
1449
- * The secondary key is not authorized to access the portfolio(s).
1450
- **/
1451
- SecondaryKeyNotAuthorizedForPortfolio: AugmentedError<ApiType>;
1452
- /**
1453
- * Adding itself as an AllowedCustodian is not permitted.
1454
- **/
1455
- SelfAdditionNotAllowed: AugmentedError<ApiType>;
1456
- /**
1457
- * The porfolio's custody is with someone other than the caller.
1458
- **/
1459
- UnauthorizedCustodian: AugmentedError<ApiType>;
1460
- };
1461
- preimage: {
1462
- /**
1463
- * Preimage has already been noted on-chain.
1464
- **/
1465
- AlreadyNoted: AugmentedError<ApiType>;
1466
- /**
1467
- * The user is not authorized to perform this action.
1468
- **/
1469
- NotAuthorized: AugmentedError<ApiType>;
1470
- /**
1471
- * The preimage cannot be removed since it has not yet been noted.
1472
- **/
1473
- NotNoted: AugmentedError<ApiType>;
1474
- /**
1475
- * The preimage request cannot be removed since no outstanding requests exist.
1476
- **/
1477
- NotRequested: AugmentedError<ApiType>;
1478
- /**
1479
- * A preimage may not be removed when there are outstanding requests.
1480
- **/
1481
- Requested: AugmentedError<ApiType>;
1482
- /**
1483
- * Preimage is too large to store on-chain.
1484
- **/
1485
- TooBig: AugmentedError<ApiType>;
1486
- };
1487
- protocolFee: {
1488
- /**
1489
- * Insufficient account balance to pay the fee.
1490
- **/
1491
- InsufficientAccountBalance: AugmentedError<ApiType>;
1492
- /**
1493
- * Insufficient subsidy balance to pay the fee.
1494
- **/
1495
- InsufficientSubsidyBalance: AugmentedError<ApiType>;
1496
- /**
1497
- * Not able to handled the imbalances
1498
- **/
1499
- UnHandledImbalances: AugmentedError<ApiType>;
1500
- };
1501
- relayer: {
1502
- /**
1503
- * The extrinsic expected a different `AuthorizationType` than what the `data.auth_type()` is.
1504
- **/
1505
- BadAuthorizationType: AugmentedError<ApiType>;
1506
- /**
1507
- * The `user_key` doesn't have a `paying_key`.
1508
- **/
1509
- NoPayingKey: AugmentedError<ApiType>;
1510
- /**
1511
- * The signer is not authorized for `paying_key`.
1512
- **/
1513
- NotAuthorizedForPayingKey: AugmentedError<ApiType>;
1514
- /**
1515
- * The signer is not authorized for `user_key`.
1516
- **/
1517
- NotAuthorizedForUserKey: AugmentedError<ApiType>;
1518
- /**
1519
- * The `user_key` has a different `paying_key`.
1520
- **/
1521
- NotPayingKey: AugmentedError<ApiType>;
1522
- /**
1523
- * The remaining POLYX for `user_key` overflowed.
1524
- **/
1525
- Overflow: AugmentedError<ApiType>;
1526
- /**
1527
- * The `user_key` is not attached to a CDD'd identity.
1528
- **/
1529
- PayingKeyCddMissing: AugmentedError<ApiType>;
1530
- /**
1531
- * The `user_key` is not attached to a CDD'd identity.
1532
- **/
1533
- UserKeyCddMissing: AugmentedError<ApiType>;
1534
- };
1535
- scheduler: {
1536
- /**
1537
- * Failed to schedule a call
1538
- **/
1539
- FailedToSchedule: AugmentedError<ApiType>;
1540
- /**
1541
- * Attempt to use a non-named function on a named task.
1542
- **/
1543
- Named: AugmentedError<ApiType>;
1544
- /**
1545
- * Cannot find the scheduled call.
1546
- **/
1547
- NotFound: AugmentedError<ApiType>;
1548
- /**
1549
- * Reschedule failed because it does not change scheduled time.
1550
- **/
1551
- RescheduleNoChange: AugmentedError<ApiType>;
1552
- /**
1553
- * Given target block number is in the past.
1554
- **/
1555
- TargetBlockNumberInPast: AugmentedError<ApiType>;
1556
- };
1557
- session: {
1558
- /**
1559
- * Registered duplicate key.
1560
- **/
1561
- DuplicatedKey: AugmentedError<ApiType>;
1562
- /**
1563
- * Invalid ownership proof.
1564
- **/
1565
- InvalidProof: AugmentedError<ApiType>;
1566
- /**
1567
- * Key setting account is not live, so it's impossible to associate keys.
1568
- **/
1569
- NoAccount: AugmentedError<ApiType>;
1570
- /**
1571
- * No associated validator ID for account.
1572
- **/
1573
- NoAssociatedValidatorId: AugmentedError<ApiType>;
1574
- /**
1575
- * No keys are associated with this account.
1576
- **/
1577
- NoKeys: AugmentedError<ApiType>;
1578
- };
1579
- settlement: {
1580
- /**
1581
- * The caller is not a mediator in the instruction.
1582
- **/
1583
- CallerIsNotAMediator: AugmentedError<ApiType>;
1584
- /**
1585
- * The caller is not a party of this instruction.
1586
- **/
1587
- CallerIsNotAParty: AugmentedError<ApiType>;
1588
- /**
1589
- * No duplicate uid are allowed for different receipts.
1590
- **/
1591
- DuplicateReceiptUid: AugmentedError<ApiType>;
1592
- /**
1593
- * The instruction failed to release asset locks or transfer the assets.
1594
- **/
1595
- FailedToReleaseLockOrTransferAssets: AugmentedError<ApiType>;
1596
- /**
1597
- * Scheduling of an instruction fails.
1598
- **/
1599
- FailedToSchedule: AugmentedError<ApiType>;
1600
- /**
1601
- * The input weight is less than the minimum required.
1602
- **/
1603
- InputWeightIsLessThanMinimum: AugmentedError<ApiType>;
1604
- /**
1605
- * Instruction has invalid dates
1606
- **/
1607
- InstructionDatesInvalid: AugmentedError<ApiType>;
1608
- /**
1609
- * Instruction has not been affirmed.
1610
- **/
1611
- InstructionNotAffirmed: AugmentedError<ApiType>;
1612
- /**
1613
- * Instruction settlement block has not yet been reached.
1614
- **/
1615
- InstructionSettleBlockNotReached: AugmentedError<ApiType>;
1616
- /**
1617
- * Instruction's target settle block reached.
1618
- **/
1619
- InstructionSettleBlockPassed: AugmentedError<ApiType>;
1620
- /**
1621
- * The mediator's expiry date must be in the future.
1622
- **/
1623
- InvalidExpiryDate: AugmentedError<ApiType>;
1624
- /**
1625
- * Only [`InstructionStatus::Pending`] or [`InstructionStatus::Failed`] instructions can be executed.
1626
- **/
1627
- InvalidInstructionStatusForExecution: AugmentedError<ApiType>;
1628
- /**
1629
- * Offchain signature is invalid.
1630
- **/
1631
- InvalidSignature: AugmentedError<ApiType>;
1632
- /**
1633
- * Venue does not exist.
1634
- **/
1635
- InvalidVenue: AugmentedError<ApiType>;
1636
- /**
1637
- * No leg with the given id was found
1638
- **/
1639
- LegNotFound: AugmentedError<ApiType>;
1640
- /**
1641
- * The maximum number of fungible assets was exceeded.
1642
- **/
1643
- MaxNumberOfFungibleAssetsExceeded: AugmentedError<ApiType>;
1644
- /**
1645
- * The number of nfts being transferred in the instruction was exceeded.
1646
- **/
1647
- MaxNumberOfNFTsExceeded: AugmentedError<ApiType>;
1648
- /**
1649
- * The maximum number of off-chain assets was exceeded.
1650
- **/
1651
- MaxNumberOfOffChainAssetsExceeded: AugmentedError<ApiType>;
1652
- /**
1653
- * The maximum number of receipts was exceeded.
1654
- **/
1655
- MaxNumberOfReceiptsExceeded: AugmentedError<ApiType>;
1656
- /**
1657
- * The expiry date for the mediator's affirmation has passed.
1658
- **/
1659
- MediatorAffirmationExpired: AugmentedError<ApiType>;
1660
- /**
1661
- * Multiple receipts for the same leg are not allowed.
1662
- **/
1663
- MultipleReceiptsForOneLeg: AugmentedError<ApiType>;
1664
- /**
1665
- * There are parties who have not affirmed the instruction.
1666
- **/
1667
- NotAllAffirmationsHaveBeenReceived: AugmentedError<ApiType>;
1668
- /**
1669
- * The given number of fungible transfers was underestimated.
1670
- **/
1671
- NumberOfFungibleTransfersUnderestimated: AugmentedError<ApiType>;
1672
- /**
1673
- * The given number of off-chain transfers was underestimated.
1674
- **/
1675
- NumberOfOffChainTransfersUnderestimated: AugmentedError<ApiType>;
1676
- /**
1677
- * The given number of nfts being transferred was underestimated.
1678
- **/
1679
- NumberOfTransferredNFTsUnderestimated: AugmentedError<ApiType>;
1680
- /**
1681
- * The maximum number of venue signers was exceeded.
1682
- **/
1683
- NumberOfVenueSignersExceeded: AugmentedError<ApiType>;
1684
- /**
1685
- * Off-Chain assets cannot be locked.
1686
- **/
1687
- OffChainAssetCantBeLocked: AugmentedError<ApiType>;
1688
- /**
1689
- * Offchain assets must have a venue.
1690
- **/
1691
- OffChainAssetsMustHaveAVenue: AugmentedError<ApiType>;
1692
- /**
1693
- * Receipt already used.
1694
- **/
1695
- ReceiptAlreadyClaimed: AugmentedError<ApiType>;
1696
- /**
1697
- * Off-chain receipts can only be used for off-chain leg type.
1698
- **/
1699
- ReceiptForInvalidLegType: AugmentedError<ApiType>;
1700
- /**
1701
- * The instruction id in all receipts must match the extrinsic parameter.
1702
- **/
1703
- ReceiptInstructionIdMissmatch: AugmentedError<ApiType>;
1704
- /**
1705
- * Sender and receiver are the same.
1706
- **/
1707
- SameSenderReceiver: AugmentedError<ApiType>;
1708
- /**
1709
- * The provided settlement block number is in the past and cannot be used by the scheduler.
1710
- **/
1711
- SettleOnPastBlock: AugmentedError<ApiType>;
1712
- /**
1713
- * Signer is already added to venue.
1714
- **/
1715
- SignerAlreadyExists: AugmentedError<ApiType>;
1716
- /**
1717
- * Signer is not added to venue.
1718
- **/
1719
- SignerDoesNotExist: AugmentedError<ApiType>;
1720
- /**
1721
- * Sender does not have required permissions.
1722
- **/
1723
- Unauthorized: AugmentedError<ApiType>;
1724
- /**
1725
- * Signer is not authorized by the venue.
1726
- **/
1727
- UnauthorizedSigner: AugmentedError<ApiType>;
1728
- /**
1729
- * Venue does not have required permissions.
1730
- **/
1731
- UnauthorizedVenue: AugmentedError<ApiType>;
1732
- /**
1733
- * The current instruction affirmation status does not support the requested action.
1734
- **/
1735
- UnexpectedAffirmationStatus: AugmentedError<ApiType>;
1736
- /**
1737
- * An invalid has been reached.
1738
- **/
1739
- UnexpectedLegStatus: AugmentedError<ApiType>;
1740
- /**
1741
- * AssetId could not be found on chain.
1742
- **/
1743
- UnexpectedOFFChainAsset: AugmentedError<ApiType>;
1744
- /**
1745
- * Instruction status is unknown
1746
- **/
1747
- UnknownInstruction: AugmentedError<ApiType>;
1748
- /**
1749
- * The maximum weight limit for executing the function was exceeded.
1750
- **/
1751
- WeightLimitExceeded: AugmentedError<ApiType>;
1752
- /**
1753
- * Instruction leg amount can't be zero.
1754
- **/
1755
- ZeroAmount: AugmentedError<ApiType>;
1756
- };
1757
- staking: {
1758
- /**
1759
- * Stash is already bonded.
1760
- **/
1761
- AlreadyBonded: AugmentedError<ApiType>;
1762
- /**
1763
- * Rewards for this era have already been claimed for this validator.
1764
- **/
1765
- AlreadyClaimed: AugmentedError<ApiType>;
1766
- /**
1767
- * Controller is already paired.
1768
- **/
1769
- AlreadyPaired: AugmentedError<ApiType>;
1770
- /**
1771
- * Internal state has become somehow corrupted and the operation cannot continue.
1772
- **/
1773
- BadState: AugmentedError<ApiType>;
1774
- /**
1775
- * A nomination target was supplied that was blocked or otherwise not a validator.
1776
- **/
1777
- BadTarget: AugmentedError<ApiType>;
1778
- /**
1779
- * Some bound is not met.
1780
- **/
1781
- BoundNotMet: AugmentedError<ApiType>;
1782
- /**
1783
- * The user has enough bond and thus cannot be chilled forcefully by an external person.
1784
- **/
1785
- CannotChillOther: AugmentedError<ApiType>;
1786
- /**
1787
- * Validator commiission is above maximum.
1788
- **/
1789
- CommissionTooHigh: AugmentedError<ApiType>;
1790
- /**
1791
- * Commission is too low. Must be at least `MinCommission`.
1792
- **/
1793
- CommissionTooLow: AugmentedError<ApiType>;
1794
- /**
1795
- * New commission must be different from previous commission.
1796
- **/
1797
- CommissionUnchanged: AugmentedError<ApiType>;
1798
- /**
1799
- * Duplicate index.
1800
- **/
1801
- DuplicateIndex: AugmentedError<ApiType>;
1802
- /**
1803
- * Targets cannot be empty.
1804
- **/
1805
- EmptyTargets: AugmentedError<ApiType>;
1806
- /**
1807
- * Attempting to target a stash that still has funds.
1808
- **/
1809
- FundedTarget: AugmentedError<ApiType>;
1810
- /**
1811
- * Permissioned validator already exists.
1812
- **/
1813
- IdentityIsAlreadyPermissioned: AugmentedError<ApiType>;
1814
- /**
1815
- * Identity has not gone throught CDD.
1816
- **/
1817
- IdentityIsMissingCDD: AugmentedError<ApiType>;
1818
- /**
1819
- * Identity was not found in the permissioned identity pool.
1820
- **/
1821
- IdentityNotFound: AugmentedError<ApiType>;
1822
- /**
1823
- * Incorrect previous history depth input provided.
1824
- **/
1825
- IncorrectHistoryDepth: AugmentedError<ApiType>;
1826
- /**
1827
- * Incorrect number of slashing spans provided.
1828
- **/
1829
- IncorrectSlashingSpans: AugmentedError<ApiType>;
1830
- /**
1831
- * Cannot have a validator or nominator role, with value less than the minimum defined by
1832
- * governance (see `MinValidatorBond` and `MinNominatorBond`). If unbonding is the
1833
- * intention, `chill` first to remove one's role as validator/nominator.
1834
- **/
1835
- InsufficientBond: AugmentedError<ApiType>;
1836
- /**
1837
- * When the intended number of validators to run is >= 2/3 of `validator_count`.
1838
- **/
1839
- IntendedCountIsExceedingConsensusLimit: AugmentedError<ApiType>;
1840
- /**
1841
- * Invalid era to reward.
1842
- **/
1843
- InvalidEraToReward: AugmentedError<ApiType>;
1844
- /**
1845
- * Invalid number of nominations.
1846
- **/
1847
- InvalidNumberOfNominations: AugmentedError<ApiType>;
1848
- /**
1849
- * Slash record index out of bounds.
1850
- **/
1851
- InvalidSlashIndex: AugmentedError<ApiType>;
1852
- /**
1853
- * Can not schedule more unlock chunks.
1854
- **/
1855
- NoMoreChunks: AugmentedError<ApiType>;
1856
- /**
1857
- * Not a controller account.
1858
- **/
1859
- NotController: AugmentedError<ApiType>;
1860
- /**
1861
- * Items are not sorted and unique.
1862
- **/
1863
- NotSortedAndUnique: AugmentedError<ApiType>;
1864
- /**
1865
- * Not a stash account.
1866
- **/
1867
- NotStash: AugmentedError<ApiType>;
1868
- /**
1869
- * Can not rebond without unlocking chunks.
1870
- **/
1871
- NoUnlockChunk: AugmentedError<ApiType>;
1872
- /**
1873
- * Validator or nominator stash identity does not exist.
1874
- **/
1875
- StashIdentityDoesNotExist: AugmentedError<ApiType>;
1876
- /**
1877
- * Nominator stash has not gone through CDD.
1878
- **/
1879
- StashIdentityNotCDDed: AugmentedError<ApiType>;
1880
- /**
1881
- * Validator's stash identity is not permissioned.
1882
- **/
1883
- StashIdentityNotPermissioned: AugmentedError<ApiType>;
1884
- /**
1885
- * There are too many nominators in the system. Governance needs to adjust the staking
1886
- * settings to keep things safe for the runtime.
1887
- **/
1888
- TooManyNominators: AugmentedError<ApiType>;
1889
- /**
1890
- * Too many nomination targets supplied.
1891
- **/
1892
- TooManyTargets: AugmentedError<ApiType>;
1893
- /**
1894
- * There are too many validator candidates in the system.
1895
- **/
1896
- TooManyValidators: AugmentedError<ApiType>;
1897
- /**
1898
- * No validator was found for the given key.
1899
- **/
1900
- ValidatorNotFound: AugmentedError<ApiType>;
1901
- };
1902
- statistics: {
1903
- /**
1904
- * A Stattype is in use and can't be removed.
1905
- **/
1906
- CannotRemoveStatTypeInUse: AugmentedError<ApiType>;
1907
- /**
1908
- * Invalid transfer [`TransferCondition`] not respected.
1909
- **/
1910
- InvalidTransferStatisticsFailure: AugmentedError<ApiType>;
1911
- /**
1912
- * The limit of StatTypes allowed for an asset has been reached.
1913
- **/
1914
- StatTypeLimitReached: AugmentedError<ApiType>;
1915
- /**
1916
- * StatType is not enabled.
1917
- **/
1918
- StatTypeMissing: AugmentedError<ApiType>;
1919
- /**
1920
- * StatType is needed by TransferCondition.
1921
- **/
1922
- StatTypeNeededByTransferCondition: AugmentedError<ApiType>;
1923
- /**
1924
- * The limit of TransferConditions allowed for an asset has been reached.
1925
- **/
1926
- TransferConditionLimitReached: AugmentedError<ApiType>;
1927
- /**
1928
- * The maximum weight limit for executing the function was exceeded.
1929
- **/
1930
- WeightLimitExceeded: AugmentedError<ApiType>;
1931
- };
1932
- sto: {
1933
- /**
1934
- * Fundraiser has been closed/stopped already.
1935
- **/
1936
- FundraiserClosed: AugmentedError<ApiType>;
1937
- /**
1938
- * Interacting with a fundraiser past the end `Moment`.
1939
- **/
1940
- FundraiserExpired: AugmentedError<ApiType>;
1941
- /**
1942
- * Fundraiser not found.
1943
- **/
1944
- FundraiserNotFound: AugmentedError<ApiType>;
1945
- /**
1946
- * Fundraiser is either frozen or stopped.
1947
- **/
1948
- FundraiserNotLive: AugmentedError<ApiType>;
1949
- /**
1950
- * Not enough tokens left for sale.
1951
- **/
1952
- InsufficientTokensRemaining: AugmentedError<ApiType>;
1953
- /**
1954
- * Window (start time, end time) has invalid parameters, e.g start time is after end time.
1955
- **/
1956
- InvalidOfferingWindow: AugmentedError<ApiType>;
1957
- /**
1958
- * An individual price tier was invalid or a set of price tiers was invalid.
1959
- **/
1960
- InvalidPriceTiers: AugmentedError<ApiType>;
1961
- /**
1962
- * An invalid venue provided.
1963
- **/
1964
- InvalidVenue: AugmentedError<ApiType>;
1965
- /**
1966
- * Investment amount is lower than minimum investment amount.
1967
- **/
1968
- InvestmentAmountTooLow: AugmentedError<ApiType>;
1969
- /**
1970
- * Price of the investment exceeded the max price.
1971
- **/
1972
- MaxPriceExceeded: AugmentedError<ApiType>;
1973
- /**
1974
- * An arithmetic operation overflowed.
1975
- **/
1976
- Overflow: AugmentedError<ApiType>;
1977
- /**
1978
- * Sender does not have required permissions.
1979
- **/
1980
- Unauthorized: AugmentedError<ApiType>;
1981
- };
1982
- sudo: {
1983
- /**
1984
- * Sender must be the Sudo account
1985
- **/
1986
- RequireSudo: AugmentedError<ApiType>;
1987
- };
1988
- system: {
1989
- /**
1990
- * The origin filter prevent the call to be dispatched.
1991
- **/
1992
- CallFiltered: AugmentedError<ApiType>;
1993
- /**
1994
- * Failed to extract the runtime version from the new runtime.
1995
- *
1996
- * Either calling `Core_version` or decoding `RuntimeVersion` failed.
1997
- **/
1998
- FailedToExtractRuntimeVersion: AugmentedError<ApiType>;
1999
- /**
2000
- * The name of specification does not match between the current runtime
2001
- * and the new runtime.
2002
- **/
2003
- InvalidSpecName: AugmentedError<ApiType>;
2004
- /**
2005
- * Suicide called when the account has non-default composite data.
2006
- **/
2007
- NonDefaultComposite: AugmentedError<ApiType>;
2008
- /**
2009
- * There is a non-zero reference count preventing the account from being purged.
2010
- **/
2011
- NonZeroRefCount: AugmentedError<ApiType>;
2012
- /**
2013
- * The specification version is not allowed to decrease between the current runtime
2014
- * and the new runtime.
2015
- **/
2016
- SpecVersionNeedsToIncrease: AugmentedError<ApiType>;
2017
- };
2018
- technicalCommittee: {
2019
- /**
2020
- * Duplicate proposal.
2021
- **/
2022
- DuplicateProposal: AugmentedError<ApiType>;
2023
- /**
2024
- * Duplicate votes are not allowed.
2025
- **/
2026
- DuplicateVote: AugmentedError<ApiType>;
2027
- /**
2028
- * First vote on a proposal creates it, so it must be an approval.
2029
- * All proposals are motions to execute something as "GC majority".
2030
- * To reject e.g., a PIP, a motion to reject should be *approved*.
2031
- **/
2032
- FirstVoteReject: AugmentedError<ApiType>;
2033
- /**
2034
- * Proportion must be a rational number.
2035
- **/
2036
- InvalidProportion: AugmentedError<ApiType>;
2037
- /**
2038
- * Mismatched voting index.
2039
- **/
2040
- MismatchedVotingIndex: AugmentedError<ApiType>;
2041
- /**
2042
- * No such proposal.
2043
- **/
2044
- NoSuchProposal: AugmentedError<ApiType>;
2045
- /**
2046
- * A DID isn't part of the committee.
2047
- * The DID may either be a caller or some other context.
2048
- **/
2049
- NotAMember: AugmentedError<ApiType>;
2050
- /**
2051
- * Proposal exists, but it has expired.
2052
- **/
2053
- ProposalExpired: AugmentedError<ApiType>;
2054
- /**
2055
- * Maximum number of proposals has been reached.
2056
- **/
2057
- ProposalsLimitReached: AugmentedError<ApiType>;
2058
- };
2059
- technicalCommitteeMembership: {
2060
- /**
2061
- * The limit for the number of concurrent active members for this group has been exceeded.
2062
- **/
2063
- ActiveMembersLimitExceeded: AugmentedError<ApiType>;
2064
- /**
2065
- * Active member limit was greater than maximum committee members limit.
2066
- **/
2067
- ActiveMembersLimitOverflow: AugmentedError<ApiType>;
2068
- /**
2069
- * Group member was added already.
2070
- **/
2071
- DuplicateMember: AugmentedError<ApiType>;
2072
- /**
2073
- * Last member of the committee can not quit.
2074
- **/
2075
- LastMemberCannotQuit: AugmentedError<ApiType>;
2076
- /**
2077
- * Can't remove a member that doesn't exist.
2078
- **/
2079
- NoSuchMember: AugmentedError<ApiType>;
2080
- /**
2081
- * Only primary key of the identity is allowed.
2082
- **/
2083
- OnlyPrimaryKeyAllowed: AugmentedError<ApiType>;
2084
- };
2085
- treasury: {
2086
- /**
2087
- * Proposer's balance is too low.
2088
- **/
2089
- InsufficientBalance: AugmentedError<ApiType>;
2090
- /**
2091
- * Invalid identity for disbursement.
2092
- **/
2093
- InvalidIdentity: AugmentedError<ApiType>;
2094
- };
2095
- upgradeCommittee: {
2096
- /**
2097
- * Duplicate proposal.
2098
- **/
2099
- DuplicateProposal: AugmentedError<ApiType>;
2100
- /**
2101
- * Duplicate votes are not allowed.
2102
- **/
2103
- DuplicateVote: AugmentedError<ApiType>;
2104
- /**
2105
- * First vote on a proposal creates it, so it must be an approval.
2106
- * All proposals are motions to execute something as "GC majority".
2107
- * To reject e.g., a PIP, a motion to reject should be *approved*.
2108
- **/
2109
- FirstVoteReject: AugmentedError<ApiType>;
2110
- /**
2111
- * Proportion must be a rational number.
2112
- **/
2113
- InvalidProportion: AugmentedError<ApiType>;
2114
- /**
2115
- * Mismatched voting index.
2116
- **/
2117
- MismatchedVotingIndex: AugmentedError<ApiType>;
2118
- /**
2119
- * No such proposal.
2120
- **/
2121
- NoSuchProposal: AugmentedError<ApiType>;
2122
- /**
2123
- * A DID isn't part of the committee.
2124
- * The DID may either be a caller or some other context.
2125
- **/
2126
- NotAMember: AugmentedError<ApiType>;
2127
- /**
2128
- * Proposal exists, but it has expired.
2129
- **/
2130
- ProposalExpired: AugmentedError<ApiType>;
2131
- /**
2132
- * Maximum number of proposals has been reached.
2133
- **/
2134
- ProposalsLimitReached: AugmentedError<ApiType>;
2135
- };
2136
- upgradeCommitteeMembership: {
2137
- /**
2138
- * The limit for the number of concurrent active members for this group has been exceeded.
2139
- **/
2140
- ActiveMembersLimitExceeded: AugmentedError<ApiType>;
2141
- /**
2142
- * Active member limit was greater than maximum committee members limit.
2143
- **/
2144
- ActiveMembersLimitOverflow: AugmentedError<ApiType>;
2145
- /**
2146
- * Group member was added already.
2147
- **/
2148
- DuplicateMember: AugmentedError<ApiType>;
2149
- /**
2150
- * Last member of the committee can not quit.
2151
- **/
2152
- LastMemberCannotQuit: AugmentedError<ApiType>;
2153
- /**
2154
- * Can't remove a member that doesn't exist.
2155
- **/
2156
- NoSuchMember: AugmentedError<ApiType>;
2157
- /**
2158
- * Only primary key of the identity is allowed.
2159
- **/
2160
- OnlyPrimaryKeyAllowed: AugmentedError<ApiType>;
2161
- };
2162
- utility: {
2163
- /**
2164
- * Provided nonce was invalid
2165
- * If the provided nonce < current nonce, the call was already executed
2166
- * If the provided nonce > current nonce, the call(s) before the current failed to execute
2167
- * POLYMESH error
2168
- **/
2169
- InvalidNonce: AugmentedError<ApiType>;
2170
- /**
2171
- * Offchain signature is invalid
2172
- * POLYMESH error
2173
- **/
2174
- InvalidSignature: AugmentedError<ApiType>;
2175
- /**
2176
- * Target does not have a valid CDD
2177
- * POLYMESH error
2178
- **/
2179
- TargetCddMissing: AugmentedError<ApiType>;
2180
- /**
2181
- * Too many calls batched.
2182
- **/
2183
- TooManyCalls: AugmentedError<ApiType>;
2184
- /**
2185
- * Decoding derivative account Id failed.
2186
- **/
2187
- UnableToDeriveAccountId: AugmentedError<ApiType>;
2188
- };
2189
- }
2190
- }
2191
- //# sourceMappingURL=augment-api-errors.d.ts.map