augment-api-errors.ts 55 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635
  1. // Auto-generated via `yarn polkadot-types-from-chain`, do not edit
  2. /* eslint-disable */
  3. import type { ApiTypes } from '@polkadot/api/types';
  4. declare module '@polkadot/api/types/errors' {
  5. export interface AugmentedErrors<ApiType> {
  6. authorship: {
  7. /**
  8. * The uncle is genesis.
  9. **/
  10. GenesisUncle: AugmentedError<ApiType>;
  11. /**
  12. * The uncle parent not in the chain.
  13. **/
  14. InvalidUncleParent: AugmentedError<ApiType>;
  15. /**
  16. * The uncle isn't recent enough to be included.
  17. **/
  18. OldUncle: AugmentedError<ApiType>;
  19. /**
  20. * The uncle is too high in chain.
  21. **/
  22. TooHighUncle: AugmentedError<ApiType>;
  23. /**
  24. * Too many uncles.
  25. **/
  26. TooManyUncles: AugmentedError<ApiType>;
  27. /**
  28. * The uncle is already included.
  29. **/
  30. UncleAlreadyIncluded: AugmentedError<ApiType>;
  31. /**
  32. * Uncles already set in the block.
  33. **/
  34. UnclesAlreadySet: AugmentedError<ApiType>;
  35. };
  36. balances: {
  37. /**
  38. * Beneficiary account must pre-exist
  39. **/
  40. DeadAccount: AugmentedError<ApiType>;
  41. /**
  42. * Value too low to create account due to existential deposit
  43. **/
  44. ExistentialDeposit: AugmentedError<ApiType>;
  45. /**
  46. * A vesting schedule already exists for this account
  47. **/
  48. ExistingVestingSchedule: AugmentedError<ApiType>;
  49. /**
  50. * Balance too low to send value
  51. **/
  52. InsufficientBalance: AugmentedError<ApiType>;
  53. /**
  54. * Transfer/payment would kill account
  55. **/
  56. KeepAlive: AugmentedError<ApiType>;
  57. /**
  58. * Account liquidity restrictions prevent withdrawal
  59. **/
  60. LiquidityRestrictions: AugmentedError<ApiType>;
  61. /**
  62. * Got an overflow after adding
  63. **/
  64. Overflow: AugmentedError<ApiType>;
  65. /**
  66. * Vesting balance too high to send value
  67. **/
  68. VestingBalance: AugmentedError<ApiType>;
  69. };
  70. contentDirectory: {
  71. /**
  72. * Provided actor can`t create entities of given class
  73. **/
  74. ActorCanNotCreateEntities: AugmentedError<ApiType>;
  75. /**
  76. * All property values, related to a given Entity were locked on Class level
  77. **/
  78. AllPropertiesWereLockedOnClassLevel: AugmentedError<ApiType>;
  79. /**
  80. * All ids of new property value references with same owner flag set should match their respective Properties defined on Class level
  81. **/
  82. AllProvidedPropertyValueIdsMustBeReferencesWithSameOwnerFlagSet: AugmentedError<ApiType>;
  83. /**
  84. * Expected root or signed origin
  85. **/
  86. BadOrigin: AugmentedError<ApiType>;
  87. /**
  88. * Class access denied
  89. **/
  90. ClassAccessDenied: AugmentedError<ApiType>;
  91. /**
  92. * Class description is too long
  93. **/
  94. ClassDescriptionTooLong: AugmentedError<ApiType>;
  95. /**
  96. * Class description is too short
  97. **/
  98. ClassDescriptionTooShort: AugmentedError<ApiType>;
  99. /**
  100. * Maximum number of classes limit reached
  101. **/
  102. ClassLimitReached: AugmentedError<ApiType>;
  103. /**
  104. * Number of maintainers per class limit reached
  105. **/
  106. ClassMaintainersLimitReached: AugmentedError<ApiType>;
  107. /**
  108. * Class name is too long
  109. **/
  110. ClassNameTooLong: AugmentedError<ApiType>;
  111. /**
  112. * Class name is too short
  113. **/
  114. ClassNameTooShort: AugmentedError<ApiType>;
  115. /**
  116. * Main logic errors
  117. * --------------------------------------
  118. * Class was not found by id
  119. **/
  120. ClassNotFound: AugmentedError<ApiType>;
  121. /**
  122. * Class property under given index not found
  123. **/
  124. ClassPropertyNotFound: AugmentedError<ApiType>;
  125. /**
  126. * Given class property type is locked for given actor
  127. **/
  128. ClassPropertyTypeLockedForGivenActor: AugmentedError<ApiType>;
  129. /**
  130. * Given class schema is not active
  131. **/
  132. ClassSchemaNotActive: AugmentedError<ApiType>;
  133. /**
  134. * New class schema refers to an unknown class id
  135. **/
  136. ClassSchemaRefersUnknownClass: AugmentedError<ApiType>;
  137. /**
  138. * New class schema refers to an unknown property index
  139. **/
  140. ClassSchemaRefersUnknownPropertyIndex: AugmentedError<ApiType>;
  141. /**
  142. * Maximum number of given class schemas limit reached
  143. **/
  144. ClassSchemasLimitReached: AugmentedError<ApiType>;
  145. /**
  146. * Curator authentication failed
  147. **/
  148. CuratorAuthFailed: AugmentedError<ApiType>;
  149. /**
  150. * Given curator group does not exist
  151. **/
  152. CuratorGroupDoesNotExist: AugmentedError<ApiType>;
  153. /**
  154. * Curator group is not active
  155. **/
  156. CuratorGroupIsNotActive: AugmentedError<ApiType>;
  157. /**
  158. * Permission errors
  159. * --------------------------------------
  160. * Curator group can`t be removed, as it currently maintains at least one class
  161. **/
  162. CuratorGroupRemovalForbidden: AugmentedError<ApiType>;
  163. /**
  164. * Curator under provided curator id is already a member of curaror group under given id
  165. **/
  166. CuratorIsAlreadyAMemberOfGivenCuratorGroup: AugmentedError<ApiType>;
  167. /**
  168. * Curator under provided curator id is not a member of curaror group under given id
  169. **/
  170. CuratorIsNotAMemberOfGivenCuratorGroup: AugmentedError<ApiType>;
  171. /**
  172. * Max number of curators per group limit reached
  173. **/
  174. CuratorsPerGroupLimitReached: AugmentedError<ApiType>;
  175. /**
  176. * Current class entities creation blocked
  177. **/
  178. EntitiesCreationBlocked: AugmentedError<ApiType>;
  179. /**
  180. * Number of entities per class is to big
  181. **/
  182. EntitiesNumberPerClassConstraintViolated: AugmentedError<ApiType>;
  183. /**
  184. * Entity access denied
  185. **/
  186. EntityAccessDenied: AugmentedError<ApiType>;
  187. /**
  188. * Add entity schema support access denied
  189. **/
  190. EntityAddSchemaSupportAccessDenied: AugmentedError<ApiType>;
  191. /**
  192. * Entity already contains property under provided index
  193. **/
  194. EntityAlreadyContainsGivenPropertyId: AugmentedError<ApiType>;
  195. /**
  196. * Given entity can`t be referenced
  197. **/
  198. EntityCanNotBeReferenced: AugmentedError<ApiType>;
  199. /**
  200. * Entity ownership transfer can`t be completed, as there are some property values pointing to given entity with same owner flag set
  201. **/
  202. EntityInboundSameOwnerRcDoesNotEqualToZero: AugmentedError<ApiType>;
  203. /**
  204. * Entity was not created in batched transaction
  205. **/
  206. EntityNotCreatedByOperation: AugmentedError<ApiType>;
  207. /**
  208. * Entity was not found by id
  209. **/
  210. EntityNotFound: AugmentedError<ApiType>;
  211. /**
  212. * Given property value vector index is out of range
  213. **/
  214. EntityPropertyValueVectorIndexIsOutOfRange: AugmentedError<ApiType>;
  215. /**
  216. * Propery value vector can`t contain more values
  217. **/
  218. EntityPropertyValueVectorIsTooLong: AugmentedError<ApiType>;
  219. /**
  220. * Entity removal can`t be completed, as there are some property values pointing to given entity
  221. **/
  222. EntityRcDoesNotEqualToZero: AugmentedError<ApiType>;
  223. /**
  224. * Entity removal access denied
  225. **/
  226. EntityRemovalAccessDenied: AugmentedError<ApiType>;
  227. /**
  228. * Text property to be hashed is too long
  229. **/
  230. HashedTextPropertyTooLong: AugmentedError<ApiType>;
  231. /**
  232. * Individual number of class entities per actor is too big
  233. **/
  234. IndividualNumberOfClassEntitiesPerActorIsTooBig: AugmentedError<ApiType>;
  235. /**
  236. * Lead authentication failed
  237. **/
  238. LeadAuthFailed: AugmentedError<ApiType>;
  239. /**
  240. * Given maintainer already exist
  241. **/
  242. MaintainerAlreadyExists: AugmentedError<ApiType>;
  243. /**
  244. * Given maintainer does not exist
  245. **/
  246. MaintainerDoesNotExist: AugmentedError<ApiType>;
  247. /**
  248. * Member authentication failed
  249. **/
  250. MemberAuthFailed: AugmentedError<ApiType>;
  251. /**
  252. * Some required property was not found when adding schema support to entity
  253. **/
  254. MissingRequiredProperty: AugmentedError<ApiType>;
  255. /**
  256. * Cannot add a class schema with an empty list of properties
  257. **/
  258. NoPropertiesInClassSchema: AugmentedError<ApiType>;
  259. /**
  260. * Number of class entities per actor constraint violated
  261. **/
  262. NumberOfClassEntitiesPerActorConstraintViolated: AugmentedError<ApiType>;
  263. /**
  264. * Maximum numbers of entities per class limit reached
  265. **/
  266. NumberOfEntitiesPerClassLimitReached: AugmentedError<ApiType>;
  267. /**
  268. * Number of operations during atomic batching limit reached
  269. **/
  270. NumberOfOperationsDuringAtomicBatchingLimitReached: AugmentedError<ApiType>;
  271. /**
  272. * Origin cannot be made into raw origin
  273. **/
  274. OriginCanNotBeMadeIntoRawOrigin: AugmentedError<ApiType>;
  275. /**
  276. * Entities creation limit per controller should be less than overall entities creation limit
  277. **/
  278. PerControllerEntitiesCreationLimitExceedsOverallLimit: AugmentedError<ApiType>;
  279. /**
  280. * Property description is too long
  281. **/
  282. PropertyDescriptionTooLong: AugmentedError<ApiType>;
  283. /**
  284. * Property description is too short
  285. **/
  286. PropertyDescriptionTooShort: AugmentedError<ApiType>;
  287. /**
  288. * Property name is not unique within its class
  289. **/
  290. PropertyNameNotUniqueInAClass: AugmentedError<ApiType>;
  291. /**
  292. * Property name is too long
  293. **/
  294. PropertyNameTooLong: AugmentedError<ApiType>;
  295. /**
  296. * Validation errors
  297. * --------------------------------------
  298. * Property name is too short
  299. **/
  300. PropertyNameTooShort: AugmentedError<ApiType>;
  301. /**
  302. * Some of the provided property values don't match the expected property type
  303. **/
  304. PropertyValueDoNotMatchType: AugmentedError<ApiType>;
  305. /**
  306. * Property value don't match the expected vector property type
  307. **/
  308. PropertyValueDoNotMatchVecType: AugmentedError<ApiType>;
  309. /**
  310. * Property value should be unique across all Entities of this Class
  311. **/
  312. PropertyValueShouldBeUnique: AugmentedError<ApiType>;
  313. /**
  314. * Propery value type does not match internal entity vector type
  315. **/
  316. PropertyValueTypeDoesNotMatchInternalVectorType: AugmentedError<ApiType>;
  317. /**
  318. * Property value under given index is not a vector
  319. **/
  320. PropertyValueUnderGivenIndexIsNotAVector: AugmentedError<ApiType>;
  321. /**
  322. * Current property value vector nonce does not equal to provided one
  323. **/
  324. PropertyValueVecNoncesDoesNotMatch: AugmentedError<ApiType>;
  325. /**
  326. * Provided entity controller is equal to the current one
  327. **/
  328. ProvidedEntityControllerIsEqualToTheCurrentOne: AugmentedError<ApiType>;
  329. /**
  330. * Provided property references entity, which class_id is not equal to class_id, declared in corresponding property type
  331. **/
  332. ReferencedEntityDoesNotMatchItsClass: AugmentedError<ApiType>;
  333. /**
  334. * Entity should be referenced from the entity, owned by the same controller
  335. **/
  336. SameControllerConstraintViolation: AugmentedError<ApiType>;
  337. /**
  338. * Cannot add a schema that is already added to this entity
  339. **/
  340. SchemaAlreadyAddedToTheEntity: AugmentedError<ApiType>;
  341. /**
  342. * Schema under provided schema_id does not contain given property
  343. **/
  344. SchemaDoesNotContainProvidedPropertyId: AugmentedError<ApiType>;
  345. /**
  346. * Maximum number of properties in schema limit reached
  347. **/
  348. SchemaPropertiesLimitReached: AugmentedError<ApiType>;
  349. /**
  350. * Text property is too long
  351. **/
  352. TextPropertyTooLong: AugmentedError<ApiType>;
  353. /**
  354. * Unknown class schema id
  355. **/
  356. UnknownClassSchemaId: AugmentedError<ApiType>;
  357. /**
  358. * Some of the provided property ids cannot be found on the current list of propery values of this entity
  359. **/
  360. UnknownEntityPropertyId: AugmentedError<ApiType>;
  361. /**
  362. * Vector property is too long
  363. **/
  364. VecPropertyTooLong: AugmentedError<ApiType>;
  365. /**
  366. * Entities voucher limit reached
  367. **/
  368. VoucherLimitReached: AugmentedError<ApiType>;
  369. };
  370. contentDirectoryWorkingGroup: {
  371. /**
  372. * Opening does not exist.
  373. **/
  374. AcceptWorkerApplicationsOpeningDoesNotExist: AugmentedError<ApiType>;
  375. /**
  376. * Opening Is Not in Waiting to begin.
  377. **/
  378. AcceptWorkerApplicationsOpeningIsNotWaitingToBegin: AugmentedError<ApiType>;
  379. /**
  380. * Opening does not activate in the future.
  381. **/
  382. AddWorkerOpeningActivatesInThePast: AugmentedError<ApiType>;
  383. /**
  384. * Add worker opening application stake cannot be zero.
  385. **/
  386. AddWorkerOpeningApplicationStakeCannotBeZero: AugmentedError<ApiType>;
  387. /**
  388. * Application stake amount less than minimum currency balance.
  389. **/
  390. AddWorkerOpeningAppliicationStakeLessThanMinimum: AugmentedError<ApiType>;
  391. /**
  392. * New application was crowded out.
  393. **/
  394. AddWorkerOpeningNewApplicationWasCrowdedOut: AugmentedError<ApiType>;
  395. /**
  396. * Opening does not exist.
  397. **/
  398. AddWorkerOpeningOpeningDoesNotExist: AugmentedError<ApiType>;
  399. /**
  400. * Opening is not in accepting applications stage.
  401. **/
  402. AddWorkerOpeningOpeningNotInAcceptingApplicationStage: AugmentedError<ApiType>;
  403. /**
  404. * Add worker opening role stake cannot be zero.
  405. **/
  406. AddWorkerOpeningRoleStakeCannotBeZero: AugmentedError<ApiType>;
  407. /**
  408. * Role stake amount less than minimum currency balance.
  409. **/
  410. AddWorkerOpeningRoleStakeLessThanMinimum: AugmentedError<ApiType>;
  411. /**
  412. * Stake amount too low.
  413. **/
  414. AddWorkerOpeningStakeAmountTooLow: AugmentedError<ApiType>;
  415. /**
  416. * Stake missing when required.
  417. **/
  418. AddWorkerOpeningStakeMissingWhenRequired: AugmentedError<ApiType>;
  419. /**
  420. * Stake provided when redundant.
  421. **/
  422. AddWorkerOpeningStakeProvidedWhenRedundant: AugmentedError<ApiType>;
  423. /**
  424. * Application rationing has zero max active applicants.
  425. **/
  426. AddWorkerOpeningZeroMaxApplicantCount: AugmentedError<ApiType>;
  427. /**
  428. * Invalid OpeningPolicyCommitment parameter (application_rationing_policy):
  429. * max_active_applicants should be non-zero.
  430. **/
  431. ApplicationRationingPolicyMaxActiveApplicantsIsZero: AugmentedError<ApiType>;
  432. /**
  433. * Invalid OpeningPolicyCommitment parameter (application_staking_policy):
  434. * crowded_out_unstaking_period_length should be non-zero.
  435. **/
  436. ApplicationStakingPolicyCrowdedOutUnstakingPeriodIsZero: AugmentedError<ApiType>;
  437. /**
  438. * Invalid OpeningPolicyCommitment parameter (application_staking_policy):
  439. * review_period_expired_unstaking_period_length should be non-zero.
  440. **/
  441. ApplicationStakingPolicyReviewPeriodUnstakingPeriodIsZero: AugmentedError<ApiType>;
  442. /**
  443. * Signer does not match controller account.
  444. **/
  445. ApplyOnWorkerOpeningSignerNotControllerAccount: AugmentedError<ApiType>;
  446. /**
  447. * Opening does not exist.
  448. **/
  449. BeginWorkerApplicantReviewOpeningDoesNotExist: AugmentedError<ApiType>;
  450. /**
  451. * Opening Is Not in Waiting.
  452. **/
  453. BeginWorkerApplicantReviewOpeningOpeningIsNotWaitingToBegin: AugmentedError<ApiType>;
  454. /**
  455. * Cannot find mint in the minting module.
  456. **/
  457. CannotFindMint: AugmentedError<ApiType>;
  458. /**
  459. * There is leader already, cannot hire another one.
  460. **/
  461. CannotHireLeaderWhenLeaderExists: AugmentedError<ApiType>;
  462. /**
  463. * Cannot fill opening with multiple applications.
  464. **/
  465. CannotHireMultipleLeaders: AugmentedError<ApiType>;
  466. /**
  467. * Current lead is not set.
  468. **/
  469. CurrentLeadNotSet: AugmentedError<ApiType>;
  470. /**
  471. * Invalid OpeningPolicyCommitment parameter:
  472. * exit_role_application_stake_unstaking_period should be non-zero.
  473. **/
  474. ExitRoleApplicationStakeUnstakingPeriodIsZero: AugmentedError<ApiType>;
  475. /**
  476. * Invalid OpeningPolicyCommitment parameter:
  477. * exit_role_stake_unstaking_period should be non-zero.
  478. **/
  479. ExitRoleStakeUnstakingPeriodIsZero: AugmentedError<ApiType>;
  480. /**
  481. * Invalid OpeningPolicyCommitment parameter:
  482. * fill_opening_failed_applicant_application_stake_unstaking_period should be non-zero.
  483. **/
  484. FillOpeningFailedApplicantApplicationStakeUnstakingPeriodIsZero: AugmentedError<ApiType>;
  485. /**
  486. * Invalid OpeningPolicyCommitment parameter:
  487. * fill_opening_failed_applicant_role_stake_unstaking_period should be non-zero.
  488. **/
  489. FillOpeningFailedApplicantRoleStakeUnstakingPeriodIsZero: AugmentedError<ApiType>;
  490. /**
  491. * Reward policy has invalid next payment block number.
  492. **/
  493. FillOpeningInvalidNextPaymentBlock: AugmentedError<ApiType>;
  494. /**
  495. * Working group mint does not exist.
  496. **/
  497. FillOpeningMintDoesNotExist: AugmentedError<ApiType>;
  498. /**
  499. * Invalid OpeningPolicyCommitment parameter:
  500. * fill_opening_successful_applicant_application_stake_unstaking_period should be non-zero.
  501. **/
  502. FillOpeningSuccessfulApplicantApplicationStakeUnstakingPeriodIsZero: AugmentedError<ApiType>;
  503. /**
  504. * Applications not for opening.
  505. **/
  506. FillWorkerOpeningApplicationForWrongOpening: AugmentedError<ApiType>;
  507. /**
  508. * Application does not exist.
  509. **/
  510. FullWorkerOpeningApplicationDoesNotExist: AugmentedError<ApiType>;
  511. /**
  512. * Application not in active stage.
  513. **/
  514. FullWorkerOpeningApplicationNotActive: AugmentedError<ApiType>;
  515. /**
  516. * OpeningDoesNotExist.
  517. **/
  518. FullWorkerOpeningOpeningDoesNotExist: AugmentedError<ApiType>;
  519. /**
  520. * Opening not in review period stage.
  521. **/
  522. FullWorkerOpeningOpeningNotInReviewPeriodStage: AugmentedError<ApiType>;
  523. /**
  524. * Application stake unstaking period for successful applicants redundant.
  525. **/
  526. FullWorkerOpeningSuccessfulApplicationStakeUnstakingPeriodRedundant: AugmentedError<ApiType>;
  527. /**
  528. * Application stake unstaking period for failed applicants too short.
  529. **/
  530. FullWorkerOpeningSuccessfulApplicationStakeUnstakingPeriodTooShort: AugmentedError<ApiType>;
  531. /**
  532. * Role stake unstaking period for successful applicants redundant.
  533. **/
  534. FullWorkerOpeningSuccessfulRoleStakeUnstakingPeriodRedundant: AugmentedError<ApiType>;
  535. /**
  536. * Role stake unstaking period for successful applicants too short.
  537. **/
  538. FullWorkerOpeningSuccessfulRoleStakeUnstakingPeriodTooShort: AugmentedError<ApiType>;
  539. /**
  540. * Application stake unstaking period for failed applicants redundant.
  541. **/
  542. FullWorkerOpeningUnsuccessfulApplicationStakeUnstakingPeriodRedundant: AugmentedError<ApiType>;
  543. /**
  544. * Application stake unstaking period for successful applicants too short.
  545. **/
  546. FullWorkerOpeningUnsuccessfulApplicationStakeUnstakingPeriodTooShort: AugmentedError<ApiType>;
  547. /**
  548. * Role stake unstaking period for failed applicants redundant.
  549. **/
  550. FullWorkerOpeningUnsuccessfulRoleStakeUnstakingPeriodRedundant: AugmentedError<ApiType>;
  551. /**
  552. * Role stake unstaking period for failed applicants too short.
  553. **/
  554. FullWorkerOpeningUnsuccessfulRoleStakeUnstakingPeriodTooShort: AugmentedError<ApiType>;
  555. /**
  556. * Insufficient balance to apply.
  557. **/
  558. InsufficientBalanceToApply: AugmentedError<ApiType>;
  559. /**
  560. * Insufficient balance to cover stake.
  561. **/
  562. InsufficientBalanceToCoverStake: AugmentedError<ApiType>;
  563. /**
  564. * Not a lead account.
  565. **/
  566. IsNotLeadAccount: AugmentedError<ApiType>;
  567. /**
  568. * Working group size limit exceeded.
  569. **/
  570. MaxActiveWorkerNumberExceeded: AugmentedError<ApiType>;
  571. /**
  572. * Member already has an active application on the opening.
  573. **/
  574. MemberHasActiveApplicationOnOpening: AugmentedError<ApiType>;
  575. /**
  576. * Member id is invalid.
  577. **/
  578. MembershipInvalidMemberId: AugmentedError<ApiType>;
  579. /**
  580. * Unsigned origin.
  581. **/
  582. MembershipUnsignedOrigin: AugmentedError<ApiType>;
  583. /**
  584. * Minting error: NextAdjustmentInPast
  585. **/
  586. MintingErrorNextAdjustmentInPast: AugmentedError<ApiType>;
  587. /**
  588. * Cannot get the worker stake profile.
  589. **/
  590. NoWorkerStakeProfile: AugmentedError<ApiType>;
  591. /**
  592. * Opening does not exist.
  593. **/
  594. OpeningDoesNotExist: AugmentedError<ApiType>;
  595. /**
  596. * Opening text too long.
  597. **/
  598. OpeningTextTooLong: AugmentedError<ApiType>;
  599. /**
  600. * Opening text too short.
  601. **/
  602. OpeningTextTooShort: AugmentedError<ApiType>;
  603. /**
  604. * Origin must be controller or root account of member.
  605. **/
  606. OriginIsNeitherMemberControllerOrRoot: AugmentedError<ApiType>;
  607. /**
  608. * Origin is not applicant.
  609. **/
  610. OriginIsNotApplicant: AugmentedError<ApiType>;
  611. /**
  612. * Next payment is not in the future.
  613. **/
  614. RecurringRewardsNextPaymentNotInFuture: AugmentedError<ApiType>;
  615. /**
  616. * Recipient not found.
  617. **/
  618. RecurringRewardsRecipientNotFound: AugmentedError<ApiType>;
  619. /**
  620. * Reward relationship not found.
  621. **/
  622. RecurringRewardsRewardRelationshipNotFound: AugmentedError<ApiType>;
  623. /**
  624. * Recipient reward source not found.
  625. **/
  626. RecurringRewardsRewardSourceNotFound: AugmentedError<ApiType>;
  627. /**
  628. * Relationship must exist.
  629. **/
  630. RelationshipMustExist: AugmentedError<ApiType>;
  631. /**
  632. * Require root origin in extrinsics.
  633. **/
  634. RequireRootOrigin: AugmentedError<ApiType>;
  635. /**
  636. * Require signed origin in extrinsics.
  637. **/
  638. RequireSignedOrigin: AugmentedError<ApiType>;
  639. /**
  640. * Invalid OpeningPolicyCommitment parameter (role_staking_policy):
  641. * crowded_out_unstaking_period_length should be non-zero.
  642. **/
  643. RoleStakingPolicyCrowdedOutUnstakingPeriodIsZero: AugmentedError<ApiType>;
  644. /**
  645. * Invalid OpeningPolicyCommitment parameter (role_staking_policy):
  646. * review_period_expired_unstaking_period_length should be non-zero.
  647. **/
  648. RoleStakingPolicyReviewPeriodUnstakingPeriodIsZero: AugmentedError<ApiType>;
  649. /**
  650. * Signer is not worker role account.
  651. **/
  652. SignerIsNotWorkerRoleAccount: AugmentedError<ApiType>;
  653. /**
  654. * Provided stake balance cannot be zero.
  655. **/
  656. StakeBalanceCannotBeZero: AugmentedError<ApiType>;
  657. /**
  658. * Already unstaking.
  659. **/
  660. StakingErrorAlreadyUnstaking: AugmentedError<ApiType>;
  661. /**
  662. * Cannot change stake by zero.
  663. **/
  664. StakingErrorCannotChangeStakeByZero: AugmentedError<ApiType>;
  665. /**
  666. * Cannot decrease stake while slashes ongoing.
  667. **/
  668. StakingErrorCannotDecreaseWhileSlashesOngoing: AugmentedError<ApiType>;
  669. /**
  670. * Cannot increase stake while unstaking.
  671. **/
  672. StakingErrorCannotIncreaseStakeWhileUnstaking: AugmentedError<ApiType>;
  673. /**
  674. * Cannot unstake while slashes ongoing.
  675. **/
  676. StakingErrorCannotUnstakeWhileSlashesOngoing: AugmentedError<ApiType>;
  677. /**
  678. * Insufficient balance in source account.
  679. **/
  680. StakingErrorInsufficientBalanceInSourceAccount: AugmentedError<ApiType>;
  681. /**
  682. * Insufficient stake to decrease.
  683. **/
  684. StakingErrorInsufficientStake: AugmentedError<ApiType>;
  685. /**
  686. * Not staked.
  687. **/
  688. StakingErrorNotStaked: AugmentedError<ApiType>;
  689. /**
  690. * Slash amount should be greater than zero.
  691. **/
  692. StakingErrorSlashAmountShouldBeGreaterThanZero: AugmentedError<ApiType>;
  693. /**
  694. * Stake not found.
  695. **/
  696. StakingErrorStakeNotFound: AugmentedError<ApiType>;
  697. /**
  698. * Unstaking period should be greater than zero.
  699. **/
  700. StakingErrorUnstakingPeriodShouldBeGreaterThanZero: AugmentedError<ApiType>;
  701. /**
  702. * Successful worker application does not exist.
  703. **/
  704. SuccessfulWorkerApplicationDoesNotExist: AugmentedError<ApiType>;
  705. /**
  706. * Invalid OpeningPolicyCommitment parameter:
  707. * terminate_application_stake_unstaking_period should be non-zero.
  708. **/
  709. TerminateApplicationStakeUnstakingPeriodIsZero: AugmentedError<ApiType>;
  710. /**
  711. * Invalid OpeningPolicyCommitment parameter:
  712. * terminate_role_stake_unstaking_period should be non-zero.
  713. **/
  714. TerminateRoleStakeUnstakingPeriodIsZero: AugmentedError<ApiType>;
  715. /**
  716. * Application does not exist.
  717. **/
  718. WithdrawWorkerApplicationApplicationDoesNotExist: AugmentedError<ApiType>;
  719. /**
  720. * Application is not active.
  721. **/
  722. WithdrawWorkerApplicationApplicationNotActive: AugmentedError<ApiType>;
  723. /**
  724. * Opening not accepting applications.
  725. **/
  726. WithdrawWorkerApplicationOpeningNotAcceptingApplications: AugmentedError<ApiType>;
  727. /**
  728. * Redundant unstaking period provided
  729. **/
  730. WithdrawWorkerApplicationRedundantUnstakingPeriod: AugmentedError<ApiType>;
  731. /**
  732. * UnstakingPeriodTooShort .... // <== SHOULD REALLY BE TWO SEPARATE, ONE FOR EACH STAKING PURPOSE
  733. **/
  734. WithdrawWorkerApplicationUnstakingPeriodTooShort: AugmentedError<ApiType>;
  735. /**
  736. * Worker application does not exist.
  737. **/
  738. WorkerApplicationDoesNotExist: AugmentedError<ApiType>;
  739. /**
  740. * Worker application text too long.
  741. **/
  742. WorkerApplicationTextTooLong: AugmentedError<ApiType>;
  743. /**
  744. * Worker application text too short.
  745. **/
  746. WorkerApplicationTextTooShort: AugmentedError<ApiType>;
  747. /**
  748. * Worker does not exist.
  749. **/
  750. WorkerDoesNotExist: AugmentedError<ApiType>;
  751. /**
  752. * Worker exit rationale text is too long.
  753. **/
  754. WorkerExitRationaleTextTooLong: AugmentedError<ApiType>;
  755. /**
  756. * Worker exit rationale text is too short.
  757. **/
  758. WorkerExitRationaleTextTooShort: AugmentedError<ApiType>;
  759. /**
  760. * Worker has no recurring reward.
  761. **/
  762. WorkerHasNoReward: AugmentedError<ApiType>;
  763. };
  764. dataDirectory: {
  765. /**
  766. * Content with this ID not found.
  767. **/
  768. CidNotFound: AugmentedError<ApiType>;
  769. /**
  770. * "Data object already added under this content id".
  771. **/
  772. DataObjectAlreadyAdded: AugmentedError<ApiType>;
  773. /**
  774. * DataObject Injection Failed. Too Many DataObjects.
  775. **/
  776. DataObjectsInjectionExceededLimit: AugmentedError<ApiType>;
  777. /**
  778. * Cannot create content for inactive or missing data object type.
  779. **/
  780. DataObjectTypeMustBeActive: AugmentedError<ApiType>;
  781. /**
  782. * Only the liaison for the content may modify its status.
  783. **/
  784. LiaisonRequired: AugmentedError<ApiType>;
  785. /**
  786. * Require root origin in extrinsics.
  787. **/
  788. RequireRootOrigin: AugmentedError<ApiType>;
  789. };
  790. dataObjectStorageRegistry: {
  791. /**
  792. * Content with this ID not found.
  793. **/
  794. CidNotFound: AugmentedError<ApiType>;
  795. /**
  796. * No data object storage relationship found for this ID.
  797. **/
  798. DataObjectStorageRelationshipNotFound: AugmentedError<ApiType>;
  799. /**
  800. * Only the storage provider in a DOSR can decide whether they're ready.
  801. **/
  802. OnlyStorageProviderMayClaimReady: AugmentedError<ApiType>;
  803. /**
  804. * Require root origin in extrinsics
  805. **/
  806. RequireRootOrigin: AugmentedError<ApiType>;
  807. };
  808. dataObjectTypeRegistry: {
  809. /**
  810. * Data Object Type with the given ID not found.
  811. **/
  812. DataObjectTypeNotFound: AugmentedError<ApiType>;
  813. /**
  814. * Require root origin in extrinsics
  815. **/
  816. RequireRootOrigin: AugmentedError<ApiType>;
  817. };
  818. finalityTracker: {
  819. /**
  820. * Final hint must be updated only once in the block
  821. **/
  822. AlreadyUpdated: AugmentedError<ApiType>;
  823. /**
  824. * Finalized height above block number
  825. **/
  826. BadHint: AugmentedError<ApiType>;
  827. };
  828. grandpa: {
  829. /**
  830. * Attempt to signal GRANDPA change with one already pending.
  831. **/
  832. ChangePending: AugmentedError<ApiType>;
  833. /**
  834. * A given equivocation report is valid but already previously reported.
  835. **/
  836. DuplicateOffenceReport: AugmentedError<ApiType>;
  837. /**
  838. * An equivocation proof provided as part of an equivocation report is invalid.
  839. **/
  840. InvalidEquivocationProof: AugmentedError<ApiType>;
  841. /**
  842. * A key ownership proof provided as part of an equivocation report is invalid.
  843. **/
  844. InvalidKeyOwnershipProof: AugmentedError<ApiType>;
  845. /**
  846. * Attempt to signal GRANDPA pause when the authority set isn't live
  847. * (either paused or already pending pause).
  848. **/
  849. PauseFailed: AugmentedError<ApiType>;
  850. /**
  851. * Attempt to signal GRANDPA resume when the authority set isn't paused
  852. * (either live or already pending resume).
  853. **/
  854. ResumeFailed: AugmentedError<ApiType>;
  855. /**
  856. * Cannot signal forced change so soon after last.
  857. **/
  858. TooSoon: AugmentedError<ApiType>;
  859. };
  860. imOnline: {
  861. /**
  862. * Duplicated heartbeat.
  863. **/
  864. DuplicatedHeartbeat: AugmentedError<ApiType>;
  865. /**
  866. * Non existent public key.
  867. **/
  868. InvalidKey: AugmentedError<ApiType>;
  869. };
  870. proposalsCodex: {
  871. /**
  872. * Invalid 'decrease stake proposal' parameter - cannot decrease by zero balance.
  873. **/
  874. DecreasingStakeIsZero: AugmentedError<ApiType>;
  875. /**
  876. * Invalid content working group mint capacity parameter
  877. **/
  878. InvalidContentWorkingGroupMintCapacity: AugmentedError<ApiType>;
  879. /**
  880. * Invalid council election parameter - announcing_period
  881. **/
  882. InvalidCouncilElectionParameterAnnouncingPeriod: AugmentedError<ApiType>;
  883. /**
  884. * Invalid council election parameter - candidacy-limit
  885. **/
  886. InvalidCouncilElectionParameterCandidacyLimit: AugmentedError<ApiType>;
  887. /**
  888. * Invalid council election parameter - council_size
  889. **/
  890. InvalidCouncilElectionParameterCouncilSize: AugmentedError<ApiType>;
  891. /**
  892. * Invalid council election parameter - min_council_stake
  893. **/
  894. InvalidCouncilElectionParameterMinCouncilStake: AugmentedError<ApiType>;
  895. /**
  896. * Invalid council election parameter - min-voting_stake
  897. **/
  898. InvalidCouncilElectionParameterMinVotingStake: AugmentedError<ApiType>;
  899. /**
  900. * Invalid council election parameter - new_term_duration
  901. **/
  902. InvalidCouncilElectionParameterNewTermDuration: AugmentedError<ApiType>;
  903. /**
  904. * Invalid council election parameter - revealing_period
  905. **/
  906. InvalidCouncilElectionParameterRevealingPeriod: AugmentedError<ApiType>;
  907. /**
  908. * Invalid council election parameter - voting_period
  909. **/
  910. InvalidCouncilElectionParameterVotingPeriod: AugmentedError<ApiType>;
  911. /**
  912. * Invalid 'set lead proposal' parameter - proposed lead cannot be a councilor
  913. **/
  914. InvalidSetLeadParameterCannotBeCouncilor: AugmentedError<ApiType>;
  915. /**
  916. * Invalid balance value for the spending proposal
  917. **/
  918. InvalidSpendingProposalBalance: AugmentedError<ApiType>;
  919. /**
  920. * Invalid validator count for the 'set validator count' proposal
  921. **/
  922. InvalidValidatorCount: AugmentedError<ApiType>;
  923. /**
  924. * Invalid working group mint capacity parameter
  925. **/
  926. InvalidWorkingGroupMintCapacity: AugmentedError<ApiType>;
  927. /**
  928. * Require root origin in extrinsics
  929. **/
  930. RequireRootOrigin: AugmentedError<ApiType>;
  931. /**
  932. * Provided WASM code for the runtime upgrade proposal is empty
  933. **/
  934. RuntimeProposalIsEmpty: AugmentedError<ApiType>;
  935. /**
  936. * The size of the provided WASM code for the runtime upgrade proposal exceeded the limit
  937. **/
  938. RuntimeProposalSizeExceeded: AugmentedError<ApiType>;
  939. /**
  940. * Invalid 'slash stake proposal' parameter - cannot slash by zero balance.
  941. **/
  942. SlashingStakeIsZero: AugmentedError<ApiType>;
  943. /**
  944. * Provided text for text proposal is empty
  945. **/
  946. TextProposalIsEmpty: AugmentedError<ApiType>;
  947. /**
  948. * The size of the provided text for text proposal exceeded the limit
  949. **/
  950. TextProposalSizeExceeded: AugmentedError<ApiType>;
  951. };
  952. proposalsDiscussion: {
  953. /**
  954. * Post cannot be empty
  955. **/
  956. EmptyPostProvided: AugmentedError<ApiType>;
  957. /**
  958. * Discussion cannot have an empty title
  959. **/
  960. EmptyTitleProvided: AugmentedError<ApiType>;
  961. /**
  962. * Max number of threads by same author in a row limit exceeded
  963. **/
  964. MaxThreadInARowLimitExceeded: AugmentedError<ApiType>;
  965. /**
  966. * Author should match the post creator
  967. **/
  968. NotAuthor: AugmentedError<ApiType>;
  969. /**
  970. * Post doesn't exist
  971. **/
  972. PostDoesntExist: AugmentedError<ApiType>;
  973. /**
  974. * Post edition limit reached
  975. **/
  976. PostEditionNumberExceeded: AugmentedError<ApiType>;
  977. /**
  978. * Post is too long
  979. **/
  980. PostIsTooLong: AugmentedError<ApiType>;
  981. /**
  982. * Require root origin in extrinsics
  983. **/
  984. RequireRootOrigin: AugmentedError<ApiType>;
  985. /**
  986. * Thread doesn't exist
  987. **/
  988. ThreadDoesntExist: AugmentedError<ApiType>;
  989. /**
  990. * Title is too long
  991. **/
  992. TitleIsTooLong: AugmentedError<ApiType>;
  993. };
  994. proposalsEngine: {
  995. /**
  996. * The proposal have been already voted on
  997. **/
  998. AlreadyVoted: AugmentedError<ApiType>;
  999. /**
  1000. * Description is too long
  1001. **/
  1002. DescriptionIsTooLong: AugmentedError<ApiType>;
  1003. /**
  1004. * Proposal cannot have an empty body
  1005. **/
  1006. EmptyDescriptionProvided: AugmentedError<ApiType>;
  1007. /**
  1008. * Stake cannot be empty with this proposal
  1009. **/
  1010. EmptyStake: AugmentedError<ApiType>;
  1011. /**
  1012. * Proposal cannot have an empty title"
  1013. **/
  1014. EmptyTitleProvided: AugmentedError<ApiType>;
  1015. /**
  1016. * Approval threshold cannot be zero
  1017. **/
  1018. InvalidParameterApprovalThreshold: AugmentedError<ApiType>;
  1019. /**
  1020. * Slashing threshold cannot be zero
  1021. **/
  1022. InvalidParameterSlashingThreshold: AugmentedError<ApiType>;
  1023. /**
  1024. * Max active proposals number exceeded
  1025. **/
  1026. MaxActiveProposalNumberExceeded: AugmentedError<ApiType>;
  1027. /**
  1028. * Not an author
  1029. **/
  1030. NotAuthor: AugmentedError<ApiType>;
  1031. /**
  1032. * Proposal is finalized already
  1033. **/
  1034. ProposalFinalized: AugmentedError<ApiType>;
  1035. /**
  1036. * The proposal does not exist
  1037. **/
  1038. ProposalNotFound: AugmentedError<ApiType>;
  1039. /**
  1040. * Require root origin in extrinsics
  1041. **/
  1042. RequireRootOrigin: AugmentedError<ApiType>;
  1043. /**
  1044. * Stake differs from the proposal requirements
  1045. **/
  1046. StakeDiffersFromRequired: AugmentedError<ApiType>;
  1047. /**
  1048. * Stake should be empty for this proposal
  1049. **/
  1050. StakeShouldBeEmpty: AugmentedError<ApiType>;
  1051. /**
  1052. * Title is too long
  1053. **/
  1054. TitleIsTooLong: AugmentedError<ApiType>;
  1055. };
  1056. session: {
  1057. /**
  1058. * Registered duplicate key.
  1059. **/
  1060. DuplicatedKey: AugmentedError<ApiType>;
  1061. /**
  1062. * Invalid ownership proof.
  1063. **/
  1064. InvalidProof: AugmentedError<ApiType>;
  1065. /**
  1066. * No associated validator ID for account.
  1067. **/
  1068. NoAssociatedValidatorId: AugmentedError<ApiType>;
  1069. /**
  1070. * No keys are associated with this account.
  1071. **/
  1072. NoKeys: AugmentedError<ApiType>;
  1073. };
  1074. staking: {
  1075. /**
  1076. * Stash is already bonded.
  1077. **/
  1078. AlreadyBonded: AugmentedError<ApiType>;
  1079. /**
  1080. * Rewards for this era have already been claimed for this validator.
  1081. **/
  1082. AlreadyClaimed: AugmentedError<ApiType>;
  1083. /**
  1084. * Controller is already paired.
  1085. **/
  1086. AlreadyPaired: AugmentedError<ApiType>;
  1087. /**
  1088. * The call is not allowed at the given time due to restrictions of election period.
  1089. **/
  1090. CallNotAllowed: AugmentedError<ApiType>;
  1091. /**
  1092. * Duplicate index.
  1093. **/
  1094. DuplicateIndex: AugmentedError<ApiType>;
  1095. /**
  1096. * Targets cannot be empty.
  1097. **/
  1098. EmptyTargets: AugmentedError<ApiType>;
  1099. /**
  1100. * Attempting to target a stash that still has funds.
  1101. **/
  1102. FundedTarget: AugmentedError<ApiType>;
  1103. /**
  1104. * Incorrect previous history depth input provided.
  1105. **/
  1106. IncorrectHistoryDepth: AugmentedError<ApiType>;
  1107. /**
  1108. * Incorrect number of slashing spans provided.
  1109. **/
  1110. IncorrectSlashingSpans: AugmentedError<ApiType>;
  1111. /**
  1112. * Can not bond with value less than minimum balance.
  1113. **/
  1114. InsufficientValue: AugmentedError<ApiType>;
  1115. /**
  1116. * Invalid era to reward.
  1117. **/
  1118. InvalidEraToReward: AugmentedError<ApiType>;
  1119. /**
  1120. * Invalid number of nominations.
  1121. **/
  1122. InvalidNumberOfNominations: AugmentedError<ApiType>;
  1123. /**
  1124. * Slash record index out of bounds.
  1125. **/
  1126. InvalidSlashIndex: AugmentedError<ApiType>;
  1127. /**
  1128. * Can not schedule more unlock chunks.
  1129. **/
  1130. NoMoreChunks: AugmentedError<ApiType>;
  1131. /**
  1132. * Not a controller account.
  1133. **/
  1134. NotController: AugmentedError<ApiType>;
  1135. /**
  1136. * Items are not sorted and unique.
  1137. **/
  1138. NotSortedAndUnique: AugmentedError<ApiType>;
  1139. /**
  1140. * Not a stash account.
  1141. **/
  1142. NotStash: AugmentedError<ApiType>;
  1143. /**
  1144. * Can not rebond without unlocking chunks.
  1145. **/
  1146. NoUnlockChunk: AugmentedError<ApiType>;
  1147. /**
  1148. * Error while building the assignment type from the compact. This can happen if an index
  1149. * is invalid, or if the weights _overflow_.
  1150. **/
  1151. OffchainElectionBogusCompact: AugmentedError<ApiType>;
  1152. /**
  1153. * The submitted result has unknown edges that are not among the presented winners.
  1154. **/
  1155. OffchainElectionBogusEdge: AugmentedError<ApiType>;
  1156. /**
  1157. * The election size is invalid.
  1158. **/
  1159. OffchainElectionBogusElectionSize: AugmentedError<ApiType>;
  1160. /**
  1161. * One of the submitted nominators has an edge to which they have not voted on chain.
  1162. **/
  1163. OffchainElectionBogusNomination: AugmentedError<ApiType>;
  1164. /**
  1165. * One of the submitted nominators is not an active nominator on chain.
  1166. **/
  1167. OffchainElectionBogusNominator: AugmentedError<ApiType>;
  1168. /**
  1169. * The claimed score does not match with the one computed from the data.
  1170. **/
  1171. OffchainElectionBogusScore: AugmentedError<ApiType>;
  1172. /**
  1173. * A self vote must only be originated from a validator to ONLY themselves.
  1174. **/
  1175. OffchainElectionBogusSelfVote: AugmentedError<ApiType>;
  1176. /**
  1177. * One of the submitted winners is not an active candidate on chain (index is out of range
  1178. * in snapshot).
  1179. **/
  1180. OffchainElectionBogusWinner: AugmentedError<ApiType>;
  1181. /**
  1182. * Incorrect number of winners were presented.
  1183. **/
  1184. OffchainElectionBogusWinnerCount: AugmentedError<ApiType>;
  1185. /**
  1186. * The submitted result is received out of the open window.
  1187. **/
  1188. OffchainElectionEarlySubmission: AugmentedError<ApiType>;
  1189. /**
  1190. * One of the submitted nominators has an edge which is submitted before the last non-zero
  1191. * slash of the target.
  1192. **/
  1193. OffchainElectionSlashedNomination: AugmentedError<ApiType>;
  1194. /**
  1195. * The submitted result is not as good as the one stored on chain.
  1196. **/
  1197. OffchainElectionWeakSubmission: AugmentedError<ApiType>;
  1198. /**
  1199. * The snapshot data of the current window is missing.
  1200. **/
  1201. SnapshotUnavailable: AugmentedError<ApiType>;
  1202. };
  1203. storageWorkingGroup: {
  1204. /**
  1205. * Opening does not exist.
  1206. **/
  1207. AcceptWorkerApplicationsOpeningDoesNotExist: AugmentedError<ApiType>;
  1208. /**
  1209. * Opening Is Not in Waiting to begin.
  1210. **/
  1211. AcceptWorkerApplicationsOpeningIsNotWaitingToBegin: AugmentedError<ApiType>;
  1212. /**
  1213. * Opening does not activate in the future.
  1214. **/
  1215. AddWorkerOpeningActivatesInThePast: AugmentedError<ApiType>;
  1216. /**
  1217. * Add worker opening application stake cannot be zero.
  1218. **/
  1219. AddWorkerOpeningApplicationStakeCannotBeZero: AugmentedError<ApiType>;
  1220. /**
  1221. * Application stake amount less than minimum currency balance.
  1222. **/
  1223. AddWorkerOpeningAppliicationStakeLessThanMinimum: AugmentedError<ApiType>;
  1224. /**
  1225. * New application was crowded out.
  1226. **/
  1227. AddWorkerOpeningNewApplicationWasCrowdedOut: AugmentedError<ApiType>;
  1228. /**
  1229. * Opening does not exist.
  1230. **/
  1231. AddWorkerOpeningOpeningDoesNotExist: AugmentedError<ApiType>;
  1232. /**
  1233. * Opening is not in accepting applications stage.
  1234. **/
  1235. AddWorkerOpeningOpeningNotInAcceptingApplicationStage: AugmentedError<ApiType>;
  1236. /**
  1237. * Add worker opening role stake cannot be zero.
  1238. **/
  1239. AddWorkerOpeningRoleStakeCannotBeZero: AugmentedError<ApiType>;
  1240. /**
  1241. * Role stake amount less than minimum currency balance.
  1242. **/
  1243. AddWorkerOpeningRoleStakeLessThanMinimum: AugmentedError<ApiType>;
  1244. /**
  1245. * Stake amount too low.
  1246. **/
  1247. AddWorkerOpeningStakeAmountTooLow: AugmentedError<ApiType>;
  1248. /**
  1249. * Stake missing when required.
  1250. **/
  1251. AddWorkerOpeningStakeMissingWhenRequired: AugmentedError<ApiType>;
  1252. /**
  1253. * Stake provided when redundant.
  1254. **/
  1255. AddWorkerOpeningStakeProvidedWhenRedundant: AugmentedError<ApiType>;
  1256. /**
  1257. * Application rationing has zero max active applicants.
  1258. **/
  1259. AddWorkerOpeningZeroMaxApplicantCount: AugmentedError<ApiType>;
  1260. /**
  1261. * Invalid OpeningPolicyCommitment parameter (application_rationing_policy):
  1262. * max_active_applicants should be non-zero.
  1263. **/
  1264. ApplicationRationingPolicyMaxActiveApplicantsIsZero: AugmentedError<ApiType>;
  1265. /**
  1266. * Invalid OpeningPolicyCommitment parameter (application_staking_policy):
  1267. * crowded_out_unstaking_period_length should be non-zero.
  1268. **/
  1269. ApplicationStakingPolicyCrowdedOutUnstakingPeriodIsZero: AugmentedError<ApiType>;
  1270. /**
  1271. * Invalid OpeningPolicyCommitment parameter (application_staking_policy):
  1272. * review_period_expired_unstaking_period_length should be non-zero.
  1273. **/
  1274. ApplicationStakingPolicyReviewPeriodUnstakingPeriodIsZero: AugmentedError<ApiType>;
  1275. /**
  1276. * Signer does not match controller account.
  1277. **/
  1278. ApplyOnWorkerOpeningSignerNotControllerAccount: AugmentedError<ApiType>;
  1279. /**
  1280. * Opening does not exist.
  1281. **/
  1282. BeginWorkerApplicantReviewOpeningDoesNotExist: AugmentedError<ApiType>;
  1283. /**
  1284. * Opening Is Not in Waiting.
  1285. **/
  1286. BeginWorkerApplicantReviewOpeningOpeningIsNotWaitingToBegin: AugmentedError<ApiType>;
  1287. /**
  1288. * Cannot find mint in the minting module.
  1289. **/
  1290. CannotFindMint: AugmentedError<ApiType>;
  1291. /**
  1292. * There is leader already, cannot hire another one.
  1293. **/
  1294. CannotHireLeaderWhenLeaderExists: AugmentedError<ApiType>;
  1295. /**
  1296. * Cannot fill opening with multiple applications.
  1297. **/
  1298. CannotHireMultipleLeaders: AugmentedError<ApiType>;
  1299. /**
  1300. * Current lead is not set.
  1301. **/
  1302. CurrentLeadNotSet: AugmentedError<ApiType>;
  1303. /**
  1304. * Invalid OpeningPolicyCommitment parameter:
  1305. * exit_role_application_stake_unstaking_period should be non-zero.
  1306. **/
  1307. ExitRoleApplicationStakeUnstakingPeriodIsZero: AugmentedError<ApiType>;
  1308. /**
  1309. * Invalid OpeningPolicyCommitment parameter:
  1310. * exit_role_stake_unstaking_period should be non-zero.
  1311. **/
  1312. ExitRoleStakeUnstakingPeriodIsZero: AugmentedError<ApiType>;
  1313. /**
  1314. * Invalid OpeningPolicyCommitment parameter:
  1315. * fill_opening_failed_applicant_application_stake_unstaking_period should be non-zero.
  1316. **/
  1317. FillOpeningFailedApplicantApplicationStakeUnstakingPeriodIsZero: AugmentedError<ApiType>;
  1318. /**
  1319. * Invalid OpeningPolicyCommitment parameter:
  1320. * fill_opening_failed_applicant_role_stake_unstaking_period should be non-zero.
  1321. **/
  1322. FillOpeningFailedApplicantRoleStakeUnstakingPeriodIsZero: AugmentedError<ApiType>;
  1323. /**
  1324. * Reward policy has invalid next payment block number.
  1325. **/
  1326. FillOpeningInvalidNextPaymentBlock: AugmentedError<ApiType>;
  1327. /**
  1328. * Working group mint does not exist.
  1329. **/
  1330. FillOpeningMintDoesNotExist: AugmentedError<ApiType>;
  1331. /**
  1332. * Invalid OpeningPolicyCommitment parameter:
  1333. * fill_opening_successful_applicant_application_stake_unstaking_period should be non-zero.
  1334. **/
  1335. FillOpeningSuccessfulApplicantApplicationStakeUnstakingPeriodIsZero: AugmentedError<ApiType>;
  1336. /**
  1337. * Applications not for opening.
  1338. **/
  1339. FillWorkerOpeningApplicationForWrongOpening: AugmentedError<ApiType>;
  1340. /**
  1341. * Application does not exist.
  1342. **/
  1343. FullWorkerOpeningApplicationDoesNotExist: AugmentedError<ApiType>;
  1344. /**
  1345. * Application not in active stage.
  1346. **/
  1347. FullWorkerOpeningApplicationNotActive: AugmentedError<ApiType>;
  1348. /**
  1349. * OpeningDoesNotExist.
  1350. **/
  1351. FullWorkerOpeningOpeningDoesNotExist: AugmentedError<ApiType>;
  1352. /**
  1353. * Opening not in review period stage.
  1354. **/
  1355. FullWorkerOpeningOpeningNotInReviewPeriodStage: AugmentedError<ApiType>;
  1356. /**
  1357. * Application stake unstaking period for successful applicants redundant.
  1358. **/
  1359. FullWorkerOpeningSuccessfulApplicationStakeUnstakingPeriodRedundant: AugmentedError<ApiType>;
  1360. /**
  1361. * Application stake unstaking period for failed applicants too short.
  1362. **/
  1363. FullWorkerOpeningSuccessfulApplicationStakeUnstakingPeriodTooShort: AugmentedError<ApiType>;
  1364. /**
  1365. * Role stake unstaking period for successful applicants redundant.
  1366. **/
  1367. FullWorkerOpeningSuccessfulRoleStakeUnstakingPeriodRedundant: AugmentedError<ApiType>;
  1368. /**
  1369. * Role stake unstaking period for successful applicants too short.
  1370. **/
  1371. FullWorkerOpeningSuccessfulRoleStakeUnstakingPeriodTooShort: AugmentedError<ApiType>;
  1372. /**
  1373. * Application stake unstaking period for failed applicants redundant.
  1374. **/
  1375. FullWorkerOpeningUnsuccessfulApplicationStakeUnstakingPeriodRedundant: AugmentedError<ApiType>;
  1376. /**
  1377. * Application stake unstaking period for successful applicants too short.
  1378. **/
  1379. FullWorkerOpeningUnsuccessfulApplicationStakeUnstakingPeriodTooShort: AugmentedError<ApiType>;
  1380. /**
  1381. * Role stake unstaking period for failed applicants redundant.
  1382. **/
  1383. FullWorkerOpeningUnsuccessfulRoleStakeUnstakingPeriodRedundant: AugmentedError<ApiType>;
  1384. /**
  1385. * Role stake unstaking period for failed applicants too short.
  1386. **/
  1387. FullWorkerOpeningUnsuccessfulRoleStakeUnstakingPeriodTooShort: AugmentedError<ApiType>;
  1388. /**
  1389. * Insufficient balance to apply.
  1390. **/
  1391. InsufficientBalanceToApply: AugmentedError<ApiType>;
  1392. /**
  1393. * Insufficient balance to cover stake.
  1394. **/
  1395. InsufficientBalanceToCoverStake: AugmentedError<ApiType>;
  1396. /**
  1397. * Not a lead account.
  1398. **/
  1399. IsNotLeadAccount: AugmentedError<ApiType>;
  1400. /**
  1401. * Working group size limit exceeded.
  1402. **/
  1403. MaxActiveWorkerNumberExceeded: AugmentedError<ApiType>;
  1404. /**
  1405. * Member already has an active application on the opening.
  1406. **/
  1407. MemberHasActiveApplicationOnOpening: AugmentedError<ApiType>;
  1408. /**
  1409. * Member id is invalid.
  1410. **/
  1411. MembershipInvalidMemberId: AugmentedError<ApiType>;
  1412. /**
  1413. * Unsigned origin.
  1414. **/
  1415. MembershipUnsignedOrigin: AugmentedError<ApiType>;
  1416. /**
  1417. * Minting error: NextAdjustmentInPast
  1418. **/
  1419. MintingErrorNextAdjustmentInPast: AugmentedError<ApiType>;
  1420. /**
  1421. * Cannot get the worker stake profile.
  1422. **/
  1423. NoWorkerStakeProfile: AugmentedError<ApiType>;
  1424. /**
  1425. * Opening does not exist.
  1426. **/
  1427. OpeningDoesNotExist: AugmentedError<ApiType>;
  1428. /**
  1429. * Opening text too long.
  1430. **/
  1431. OpeningTextTooLong: AugmentedError<ApiType>;
  1432. /**
  1433. * Opening text too short.
  1434. **/
  1435. OpeningTextTooShort: AugmentedError<ApiType>;
  1436. /**
  1437. * Origin must be controller or root account of member.
  1438. **/
  1439. OriginIsNeitherMemberControllerOrRoot: AugmentedError<ApiType>;
  1440. /**
  1441. * Origin is not applicant.
  1442. **/
  1443. OriginIsNotApplicant: AugmentedError<ApiType>;
  1444. /**
  1445. * Next payment is not in the future.
  1446. **/
  1447. RecurringRewardsNextPaymentNotInFuture: AugmentedError<ApiType>;
  1448. /**
  1449. * Recipient not found.
  1450. **/
  1451. RecurringRewardsRecipientNotFound: AugmentedError<ApiType>;
  1452. /**
  1453. * Reward relationship not found.
  1454. **/
  1455. RecurringRewardsRewardRelationshipNotFound: AugmentedError<ApiType>;
  1456. /**
  1457. * Recipient reward source not found.
  1458. **/
  1459. RecurringRewardsRewardSourceNotFound: AugmentedError<ApiType>;
  1460. /**
  1461. * Relationship must exist.
  1462. **/
  1463. RelationshipMustExist: AugmentedError<ApiType>;
  1464. /**
  1465. * Require root origin in extrinsics.
  1466. **/
  1467. RequireRootOrigin: AugmentedError<ApiType>;
  1468. /**
  1469. * Require signed origin in extrinsics.
  1470. **/
  1471. RequireSignedOrigin: AugmentedError<ApiType>;
  1472. /**
  1473. * Invalid OpeningPolicyCommitment parameter (role_staking_policy):
  1474. * crowded_out_unstaking_period_length should be non-zero.
  1475. **/
  1476. RoleStakingPolicyCrowdedOutUnstakingPeriodIsZero: AugmentedError<ApiType>;
  1477. /**
  1478. * Invalid OpeningPolicyCommitment parameter (role_staking_policy):
  1479. * review_period_expired_unstaking_period_length should be non-zero.
  1480. **/
  1481. RoleStakingPolicyReviewPeriodUnstakingPeriodIsZero: AugmentedError<ApiType>;
  1482. /**
  1483. * Signer is not worker role account.
  1484. **/
  1485. SignerIsNotWorkerRoleAccount: AugmentedError<ApiType>;
  1486. /**
  1487. * Provided stake balance cannot be zero.
  1488. **/
  1489. StakeBalanceCannotBeZero: AugmentedError<ApiType>;
  1490. /**
  1491. * Already unstaking.
  1492. **/
  1493. StakingErrorAlreadyUnstaking: AugmentedError<ApiType>;
  1494. /**
  1495. * Cannot change stake by zero.
  1496. **/
  1497. StakingErrorCannotChangeStakeByZero: AugmentedError<ApiType>;
  1498. /**
  1499. * Cannot decrease stake while slashes ongoing.
  1500. **/
  1501. StakingErrorCannotDecreaseWhileSlashesOngoing: AugmentedError<ApiType>;
  1502. /**
  1503. * Cannot increase stake while unstaking.
  1504. **/
  1505. StakingErrorCannotIncreaseStakeWhileUnstaking: AugmentedError<ApiType>;
  1506. /**
  1507. * Cannot unstake while slashes ongoing.
  1508. **/
  1509. StakingErrorCannotUnstakeWhileSlashesOngoing: AugmentedError<ApiType>;
  1510. /**
  1511. * Insufficient balance in source account.
  1512. **/
  1513. StakingErrorInsufficientBalanceInSourceAccount: AugmentedError<ApiType>;
  1514. /**
  1515. * Insufficient stake to decrease.
  1516. **/
  1517. StakingErrorInsufficientStake: AugmentedError<ApiType>;
  1518. /**
  1519. * Not staked.
  1520. **/
  1521. StakingErrorNotStaked: AugmentedError<ApiType>;
  1522. /**
  1523. * Slash amount should be greater than zero.
  1524. **/
  1525. StakingErrorSlashAmountShouldBeGreaterThanZero: AugmentedError<ApiType>;
  1526. /**
  1527. * Stake not found.
  1528. **/
  1529. StakingErrorStakeNotFound: AugmentedError<ApiType>;
  1530. /**
  1531. * Unstaking period should be greater than zero.
  1532. **/
  1533. StakingErrorUnstakingPeriodShouldBeGreaterThanZero: AugmentedError<ApiType>;
  1534. /**
  1535. * Successful worker application does not exist.
  1536. **/
  1537. SuccessfulWorkerApplicationDoesNotExist: AugmentedError<ApiType>;
  1538. /**
  1539. * Invalid OpeningPolicyCommitment parameter:
  1540. * terminate_application_stake_unstaking_period should be non-zero.
  1541. **/
  1542. TerminateApplicationStakeUnstakingPeriodIsZero: AugmentedError<ApiType>;
  1543. /**
  1544. * Invalid OpeningPolicyCommitment parameter:
  1545. * terminate_role_stake_unstaking_period should be non-zero.
  1546. **/
  1547. TerminateRoleStakeUnstakingPeriodIsZero: AugmentedError<ApiType>;
  1548. /**
  1549. * Application does not exist.
  1550. **/
  1551. WithdrawWorkerApplicationApplicationDoesNotExist: AugmentedError<ApiType>;
  1552. /**
  1553. * Application is not active.
  1554. **/
  1555. WithdrawWorkerApplicationApplicationNotActive: AugmentedError<ApiType>;
  1556. /**
  1557. * Opening not accepting applications.
  1558. **/
  1559. WithdrawWorkerApplicationOpeningNotAcceptingApplications: AugmentedError<ApiType>;
  1560. /**
  1561. * Redundant unstaking period provided
  1562. **/
  1563. WithdrawWorkerApplicationRedundantUnstakingPeriod: AugmentedError<ApiType>;
  1564. /**
  1565. * UnstakingPeriodTooShort .... // <== SHOULD REALLY BE TWO SEPARATE, ONE FOR EACH STAKING PURPOSE
  1566. **/
  1567. WithdrawWorkerApplicationUnstakingPeriodTooShort: AugmentedError<ApiType>;
  1568. /**
  1569. * Worker application does not exist.
  1570. **/
  1571. WorkerApplicationDoesNotExist: AugmentedError<ApiType>;
  1572. /**
  1573. * Worker application text too long.
  1574. **/
  1575. WorkerApplicationTextTooLong: AugmentedError<ApiType>;
  1576. /**
  1577. * Worker application text too short.
  1578. **/
  1579. WorkerApplicationTextTooShort: AugmentedError<ApiType>;
  1580. /**
  1581. * Worker does not exist.
  1582. **/
  1583. WorkerDoesNotExist: AugmentedError<ApiType>;
  1584. /**
  1585. * Worker exit rationale text is too long.
  1586. **/
  1587. WorkerExitRationaleTextTooLong: AugmentedError<ApiType>;
  1588. /**
  1589. * Worker exit rationale text is too short.
  1590. **/
  1591. WorkerExitRationaleTextTooShort: AugmentedError<ApiType>;
  1592. /**
  1593. * Worker has no recurring reward.
  1594. **/
  1595. WorkerHasNoReward: AugmentedError<ApiType>;
  1596. };
  1597. sudo: {
  1598. /**
  1599. * Sender must be the Sudo account
  1600. **/
  1601. RequireSudo: AugmentedError<ApiType>;
  1602. };
  1603. system: {
  1604. /**
  1605. * Failed to extract the runtime version from the new runtime.
  1606. *
  1607. * Either calling `Core_version` or decoding `RuntimeVersion` failed.
  1608. **/
  1609. FailedToExtractRuntimeVersion: AugmentedError<ApiType>;
  1610. /**
  1611. * The name of specification does not match between the current runtime
  1612. * and the new runtime.
  1613. **/
  1614. InvalidSpecName: AugmentedError<ApiType>;
  1615. /**
  1616. * Suicide called when the account has non-default composite data.
  1617. **/
  1618. NonDefaultComposite: AugmentedError<ApiType>;
  1619. /**
  1620. * There is a non-zero reference count preventing the account from being purged.
  1621. **/
  1622. NonZeroRefCount: AugmentedError<ApiType>;
  1623. /**
  1624. * The specification version is not allowed to decrease between the current runtime
  1625. * and the new runtime.
  1626. **/
  1627. SpecVersionNeedsToIncrease: AugmentedError<ApiType>;
  1628. };
  1629. }
  1630. export interface DecoratedErrors<ApiType extends ApiTypes> extends AugmentedErrors<ApiType> {
  1631. }
  1632. }