augment-api-errors.ts 76 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201
  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. distributionWorkingGroup: {
  765. /**
  766. * Opening does not exist.
  767. **/
  768. AcceptWorkerApplicationsOpeningDoesNotExist: AugmentedError<ApiType>;
  769. /**
  770. * Opening Is Not in Waiting to begin.
  771. **/
  772. AcceptWorkerApplicationsOpeningIsNotWaitingToBegin: AugmentedError<ApiType>;
  773. /**
  774. * Opening does not activate in the future.
  775. **/
  776. AddWorkerOpeningActivatesInThePast: AugmentedError<ApiType>;
  777. /**
  778. * Add worker opening application stake cannot be zero.
  779. **/
  780. AddWorkerOpeningApplicationStakeCannotBeZero: AugmentedError<ApiType>;
  781. /**
  782. * Application stake amount less than minimum currency balance.
  783. **/
  784. AddWorkerOpeningAppliicationStakeLessThanMinimum: AugmentedError<ApiType>;
  785. /**
  786. * New application was crowded out.
  787. **/
  788. AddWorkerOpeningNewApplicationWasCrowdedOut: AugmentedError<ApiType>;
  789. /**
  790. * Opening does not exist.
  791. **/
  792. AddWorkerOpeningOpeningDoesNotExist: AugmentedError<ApiType>;
  793. /**
  794. * Opening is not in accepting applications stage.
  795. **/
  796. AddWorkerOpeningOpeningNotInAcceptingApplicationStage: AugmentedError<ApiType>;
  797. /**
  798. * Add worker opening role stake cannot be zero.
  799. **/
  800. AddWorkerOpeningRoleStakeCannotBeZero: AugmentedError<ApiType>;
  801. /**
  802. * Role stake amount less than minimum currency balance.
  803. **/
  804. AddWorkerOpeningRoleStakeLessThanMinimum: AugmentedError<ApiType>;
  805. /**
  806. * Stake amount too low.
  807. **/
  808. AddWorkerOpeningStakeAmountTooLow: AugmentedError<ApiType>;
  809. /**
  810. * Stake missing when required.
  811. **/
  812. AddWorkerOpeningStakeMissingWhenRequired: AugmentedError<ApiType>;
  813. /**
  814. * Stake provided when redundant.
  815. **/
  816. AddWorkerOpeningStakeProvidedWhenRedundant: AugmentedError<ApiType>;
  817. /**
  818. * Application rationing has zero max active applicants.
  819. **/
  820. AddWorkerOpeningZeroMaxApplicantCount: AugmentedError<ApiType>;
  821. /**
  822. * Invalid OpeningPolicyCommitment parameter (application_rationing_policy):
  823. * max_active_applicants should be non-zero.
  824. **/
  825. ApplicationRationingPolicyMaxActiveApplicantsIsZero: AugmentedError<ApiType>;
  826. /**
  827. * Invalid OpeningPolicyCommitment parameter (application_staking_policy):
  828. * crowded_out_unstaking_period_length should be non-zero.
  829. **/
  830. ApplicationStakingPolicyCrowdedOutUnstakingPeriodIsZero: AugmentedError<ApiType>;
  831. /**
  832. * Invalid OpeningPolicyCommitment parameter (application_staking_policy):
  833. * review_period_expired_unstaking_period_length should be non-zero.
  834. **/
  835. ApplicationStakingPolicyReviewPeriodUnstakingPeriodIsZero: AugmentedError<ApiType>;
  836. /**
  837. * Signer does not match controller account.
  838. **/
  839. ApplyOnWorkerOpeningSignerNotControllerAccount: AugmentedError<ApiType>;
  840. /**
  841. * Opening does not exist.
  842. **/
  843. BeginWorkerApplicantReviewOpeningDoesNotExist: AugmentedError<ApiType>;
  844. /**
  845. * Opening Is Not in Waiting.
  846. **/
  847. BeginWorkerApplicantReviewOpeningOpeningIsNotWaitingToBegin: AugmentedError<ApiType>;
  848. /**
  849. * Cannot find mint in the minting module.
  850. **/
  851. CannotFindMint: AugmentedError<ApiType>;
  852. /**
  853. * There is leader already, cannot hire another one.
  854. **/
  855. CannotHireLeaderWhenLeaderExists: AugmentedError<ApiType>;
  856. /**
  857. * Cannot fill opening with multiple applications.
  858. **/
  859. CannotHireMultipleLeaders: AugmentedError<ApiType>;
  860. /**
  861. * Current lead is not set.
  862. **/
  863. CurrentLeadNotSet: AugmentedError<ApiType>;
  864. /**
  865. * Invalid OpeningPolicyCommitment parameter:
  866. * exit_role_application_stake_unstaking_period should be non-zero.
  867. **/
  868. ExitRoleApplicationStakeUnstakingPeriodIsZero: AugmentedError<ApiType>;
  869. /**
  870. * Invalid OpeningPolicyCommitment parameter:
  871. * exit_role_stake_unstaking_period should be non-zero.
  872. **/
  873. ExitRoleStakeUnstakingPeriodIsZero: AugmentedError<ApiType>;
  874. /**
  875. * Invalid OpeningPolicyCommitment parameter:
  876. * fill_opening_failed_applicant_application_stake_unstaking_period should be non-zero.
  877. **/
  878. FillOpeningFailedApplicantApplicationStakeUnstakingPeriodIsZero: AugmentedError<ApiType>;
  879. /**
  880. * Invalid OpeningPolicyCommitment parameter:
  881. * fill_opening_failed_applicant_role_stake_unstaking_period should be non-zero.
  882. **/
  883. FillOpeningFailedApplicantRoleStakeUnstakingPeriodIsZero: AugmentedError<ApiType>;
  884. /**
  885. * Reward policy has invalid next payment block number.
  886. **/
  887. FillOpeningInvalidNextPaymentBlock: AugmentedError<ApiType>;
  888. /**
  889. * Working group mint does not exist.
  890. **/
  891. FillOpeningMintDoesNotExist: AugmentedError<ApiType>;
  892. /**
  893. * Invalid OpeningPolicyCommitment parameter:
  894. * fill_opening_successful_applicant_application_stake_unstaking_period should be non-zero.
  895. **/
  896. FillOpeningSuccessfulApplicantApplicationStakeUnstakingPeriodIsZero: AugmentedError<ApiType>;
  897. /**
  898. * Applications not for opening.
  899. **/
  900. FillWorkerOpeningApplicationForWrongOpening: AugmentedError<ApiType>;
  901. /**
  902. * Application does not exist.
  903. **/
  904. FullWorkerOpeningApplicationDoesNotExist: AugmentedError<ApiType>;
  905. /**
  906. * Application not in active stage.
  907. **/
  908. FullWorkerOpeningApplicationNotActive: AugmentedError<ApiType>;
  909. /**
  910. * OpeningDoesNotExist.
  911. **/
  912. FullWorkerOpeningOpeningDoesNotExist: AugmentedError<ApiType>;
  913. /**
  914. * Opening not in review period stage.
  915. **/
  916. FullWorkerOpeningOpeningNotInReviewPeriodStage: AugmentedError<ApiType>;
  917. /**
  918. * Application stake unstaking period for successful applicants redundant.
  919. **/
  920. FullWorkerOpeningSuccessfulApplicationStakeUnstakingPeriodRedundant: AugmentedError<ApiType>;
  921. /**
  922. * Application stake unstaking period for failed applicants too short.
  923. **/
  924. FullWorkerOpeningSuccessfulApplicationStakeUnstakingPeriodTooShort: AugmentedError<ApiType>;
  925. /**
  926. * Role stake unstaking period for successful applicants redundant.
  927. **/
  928. FullWorkerOpeningSuccessfulRoleStakeUnstakingPeriodRedundant: AugmentedError<ApiType>;
  929. /**
  930. * Role stake unstaking period for successful applicants too short.
  931. **/
  932. FullWorkerOpeningSuccessfulRoleStakeUnstakingPeriodTooShort: AugmentedError<ApiType>;
  933. /**
  934. * Application stake unstaking period for failed applicants redundant.
  935. **/
  936. FullWorkerOpeningUnsuccessfulApplicationStakeUnstakingPeriodRedundant: AugmentedError<ApiType>;
  937. /**
  938. * Application stake unstaking period for successful applicants too short.
  939. **/
  940. FullWorkerOpeningUnsuccessfulApplicationStakeUnstakingPeriodTooShort: AugmentedError<ApiType>;
  941. /**
  942. * Role stake unstaking period for failed applicants redundant.
  943. **/
  944. FullWorkerOpeningUnsuccessfulRoleStakeUnstakingPeriodRedundant: AugmentedError<ApiType>;
  945. /**
  946. * Role stake unstaking period for failed applicants too short.
  947. **/
  948. FullWorkerOpeningUnsuccessfulRoleStakeUnstakingPeriodTooShort: AugmentedError<ApiType>;
  949. /**
  950. * Insufficient balance to apply.
  951. **/
  952. InsufficientBalanceToApply: AugmentedError<ApiType>;
  953. /**
  954. * Insufficient balance to cover stake.
  955. **/
  956. InsufficientBalanceToCoverStake: AugmentedError<ApiType>;
  957. /**
  958. * Not a lead account.
  959. **/
  960. IsNotLeadAccount: AugmentedError<ApiType>;
  961. /**
  962. * Working group size limit exceeded.
  963. **/
  964. MaxActiveWorkerNumberExceeded: AugmentedError<ApiType>;
  965. /**
  966. * Member already has an active application on the opening.
  967. **/
  968. MemberHasActiveApplicationOnOpening: AugmentedError<ApiType>;
  969. /**
  970. * Member id is invalid.
  971. **/
  972. MembershipInvalidMemberId: AugmentedError<ApiType>;
  973. /**
  974. * Unsigned origin.
  975. **/
  976. MembershipUnsignedOrigin: AugmentedError<ApiType>;
  977. /**
  978. * Minting error: NextAdjustmentInPast
  979. **/
  980. MintingErrorNextAdjustmentInPast: AugmentedError<ApiType>;
  981. /**
  982. * Cannot get the worker stake profile.
  983. **/
  984. NoWorkerStakeProfile: AugmentedError<ApiType>;
  985. /**
  986. * Opening does not exist.
  987. **/
  988. OpeningDoesNotExist: AugmentedError<ApiType>;
  989. /**
  990. * Opening text too long.
  991. **/
  992. OpeningTextTooLong: AugmentedError<ApiType>;
  993. /**
  994. * Opening text too short.
  995. **/
  996. OpeningTextTooShort: AugmentedError<ApiType>;
  997. /**
  998. * Origin must be controller or root account of member.
  999. **/
  1000. OriginIsNeitherMemberControllerOrRoot: AugmentedError<ApiType>;
  1001. /**
  1002. * Origin is not applicant.
  1003. **/
  1004. OriginIsNotApplicant: AugmentedError<ApiType>;
  1005. /**
  1006. * Next payment is not in the future.
  1007. **/
  1008. RecurringRewardsNextPaymentNotInFuture: AugmentedError<ApiType>;
  1009. /**
  1010. * Recipient not found.
  1011. **/
  1012. RecurringRewardsRecipientNotFound: AugmentedError<ApiType>;
  1013. /**
  1014. * Reward relationship not found.
  1015. **/
  1016. RecurringRewardsRewardRelationshipNotFound: AugmentedError<ApiType>;
  1017. /**
  1018. * Recipient reward source not found.
  1019. **/
  1020. RecurringRewardsRewardSourceNotFound: AugmentedError<ApiType>;
  1021. /**
  1022. * Relationship must exist.
  1023. **/
  1024. RelationshipMustExist: AugmentedError<ApiType>;
  1025. /**
  1026. * Require root origin in extrinsics.
  1027. **/
  1028. RequireRootOrigin: AugmentedError<ApiType>;
  1029. /**
  1030. * Require signed origin in extrinsics.
  1031. **/
  1032. RequireSignedOrigin: AugmentedError<ApiType>;
  1033. /**
  1034. * Invalid OpeningPolicyCommitment parameter (role_staking_policy):
  1035. * crowded_out_unstaking_period_length should be non-zero.
  1036. **/
  1037. RoleStakingPolicyCrowdedOutUnstakingPeriodIsZero: AugmentedError<ApiType>;
  1038. /**
  1039. * Invalid OpeningPolicyCommitment parameter (role_staking_policy):
  1040. * review_period_expired_unstaking_period_length should be non-zero.
  1041. **/
  1042. RoleStakingPolicyReviewPeriodUnstakingPeriodIsZero: AugmentedError<ApiType>;
  1043. /**
  1044. * Signer is not worker role account.
  1045. **/
  1046. SignerIsNotWorkerRoleAccount: AugmentedError<ApiType>;
  1047. /**
  1048. * Provided stake balance cannot be zero.
  1049. **/
  1050. StakeBalanceCannotBeZero: AugmentedError<ApiType>;
  1051. /**
  1052. * Already unstaking.
  1053. **/
  1054. StakingErrorAlreadyUnstaking: AugmentedError<ApiType>;
  1055. /**
  1056. * Cannot change stake by zero.
  1057. **/
  1058. StakingErrorCannotChangeStakeByZero: AugmentedError<ApiType>;
  1059. /**
  1060. * Cannot decrease stake while slashes ongoing.
  1061. **/
  1062. StakingErrorCannotDecreaseWhileSlashesOngoing: AugmentedError<ApiType>;
  1063. /**
  1064. * Cannot increase stake while unstaking.
  1065. **/
  1066. StakingErrorCannotIncreaseStakeWhileUnstaking: AugmentedError<ApiType>;
  1067. /**
  1068. * Cannot unstake while slashes ongoing.
  1069. **/
  1070. StakingErrorCannotUnstakeWhileSlashesOngoing: AugmentedError<ApiType>;
  1071. /**
  1072. * Insufficient balance in source account.
  1073. **/
  1074. StakingErrorInsufficientBalanceInSourceAccount: AugmentedError<ApiType>;
  1075. /**
  1076. * Insufficient stake to decrease.
  1077. **/
  1078. StakingErrorInsufficientStake: AugmentedError<ApiType>;
  1079. /**
  1080. * Not staked.
  1081. **/
  1082. StakingErrorNotStaked: AugmentedError<ApiType>;
  1083. /**
  1084. * Slash amount should be greater than zero.
  1085. **/
  1086. StakingErrorSlashAmountShouldBeGreaterThanZero: AugmentedError<ApiType>;
  1087. /**
  1088. * Stake not found.
  1089. **/
  1090. StakingErrorStakeNotFound: AugmentedError<ApiType>;
  1091. /**
  1092. * Unstaking period should be greater than zero.
  1093. **/
  1094. StakingErrorUnstakingPeriodShouldBeGreaterThanZero: AugmentedError<ApiType>;
  1095. /**
  1096. * Successful worker application does not exist.
  1097. **/
  1098. SuccessfulWorkerApplicationDoesNotExist: AugmentedError<ApiType>;
  1099. /**
  1100. * Invalid OpeningPolicyCommitment parameter:
  1101. * terminate_application_stake_unstaking_period should be non-zero.
  1102. **/
  1103. TerminateApplicationStakeUnstakingPeriodIsZero: AugmentedError<ApiType>;
  1104. /**
  1105. * Invalid OpeningPolicyCommitment parameter:
  1106. * terminate_role_stake_unstaking_period should be non-zero.
  1107. **/
  1108. TerminateRoleStakeUnstakingPeriodIsZero: AugmentedError<ApiType>;
  1109. /**
  1110. * Application does not exist.
  1111. **/
  1112. WithdrawWorkerApplicationApplicationDoesNotExist: AugmentedError<ApiType>;
  1113. /**
  1114. * Application is not active.
  1115. **/
  1116. WithdrawWorkerApplicationApplicationNotActive: AugmentedError<ApiType>;
  1117. /**
  1118. * Opening not accepting applications.
  1119. **/
  1120. WithdrawWorkerApplicationOpeningNotAcceptingApplications: AugmentedError<ApiType>;
  1121. /**
  1122. * Redundant unstaking period provided
  1123. **/
  1124. WithdrawWorkerApplicationRedundantUnstakingPeriod: AugmentedError<ApiType>;
  1125. /**
  1126. * UnstakingPeriodTooShort .... // <== SHOULD REALLY BE TWO SEPARATE, ONE FOR EACH STAKING PURPOSE
  1127. **/
  1128. WithdrawWorkerApplicationUnstakingPeriodTooShort: AugmentedError<ApiType>;
  1129. /**
  1130. * Worker application does not exist.
  1131. **/
  1132. WorkerApplicationDoesNotExist: AugmentedError<ApiType>;
  1133. /**
  1134. * Worker application text too long.
  1135. **/
  1136. WorkerApplicationTextTooLong: AugmentedError<ApiType>;
  1137. /**
  1138. * Worker application text too short.
  1139. **/
  1140. WorkerApplicationTextTooShort: AugmentedError<ApiType>;
  1141. /**
  1142. * Worker does not exist.
  1143. **/
  1144. WorkerDoesNotExist: AugmentedError<ApiType>;
  1145. /**
  1146. * Worker exit rationale text is too long.
  1147. **/
  1148. WorkerExitRationaleTextTooLong: AugmentedError<ApiType>;
  1149. /**
  1150. * Worker exit rationale text is too short.
  1151. **/
  1152. WorkerExitRationaleTextTooShort: AugmentedError<ApiType>;
  1153. /**
  1154. * Worker has no recurring reward.
  1155. **/
  1156. WorkerHasNoReward: AugmentedError<ApiType>;
  1157. };
  1158. finalityTracker: {
  1159. /**
  1160. * Final hint must be updated only once in the block
  1161. **/
  1162. AlreadyUpdated: AugmentedError<ApiType>;
  1163. /**
  1164. * Finalized height above block number
  1165. **/
  1166. BadHint: AugmentedError<ApiType>;
  1167. };
  1168. grandpa: {
  1169. /**
  1170. * Attempt to signal GRANDPA change with one already pending.
  1171. **/
  1172. ChangePending: AugmentedError<ApiType>;
  1173. /**
  1174. * A given equivocation report is valid but already previously reported.
  1175. **/
  1176. DuplicateOffenceReport: AugmentedError<ApiType>;
  1177. /**
  1178. * An equivocation proof provided as part of an equivocation report is invalid.
  1179. **/
  1180. InvalidEquivocationProof: AugmentedError<ApiType>;
  1181. /**
  1182. * A key ownership proof provided as part of an equivocation report is invalid.
  1183. **/
  1184. InvalidKeyOwnershipProof: AugmentedError<ApiType>;
  1185. /**
  1186. * Attempt to signal GRANDPA pause when the authority set isn't live
  1187. * (either paused or already pending pause).
  1188. **/
  1189. PauseFailed: AugmentedError<ApiType>;
  1190. /**
  1191. * Attempt to signal GRANDPA resume when the authority set isn't paused
  1192. * (either live or already pending resume).
  1193. **/
  1194. ResumeFailed: AugmentedError<ApiType>;
  1195. /**
  1196. * Cannot signal forced change so soon after last.
  1197. **/
  1198. TooSoon: AugmentedError<ApiType>;
  1199. };
  1200. imOnline: {
  1201. /**
  1202. * Duplicated heartbeat.
  1203. **/
  1204. DuplicatedHeartbeat: AugmentedError<ApiType>;
  1205. /**
  1206. * Non existent public key.
  1207. **/
  1208. InvalidKey: AugmentedError<ApiType>;
  1209. };
  1210. proposalsCodex: {
  1211. /**
  1212. * Invalid 'decrease stake proposal' parameter - cannot decrease by zero balance.
  1213. **/
  1214. DecreasingStakeIsZero: AugmentedError<ApiType>;
  1215. /**
  1216. * Invalid content working group mint capacity parameter
  1217. **/
  1218. InvalidContentWorkingGroupMintCapacity: AugmentedError<ApiType>;
  1219. /**
  1220. * Invalid council election parameter - announcing_period
  1221. **/
  1222. InvalidCouncilElectionParameterAnnouncingPeriod: AugmentedError<ApiType>;
  1223. /**
  1224. * Invalid council election parameter - candidacy-limit
  1225. **/
  1226. InvalidCouncilElectionParameterCandidacyLimit: AugmentedError<ApiType>;
  1227. /**
  1228. * Invalid council election parameter - council_size
  1229. **/
  1230. InvalidCouncilElectionParameterCouncilSize: AugmentedError<ApiType>;
  1231. /**
  1232. * Invalid council election parameter - min_council_stake
  1233. **/
  1234. InvalidCouncilElectionParameterMinCouncilStake: AugmentedError<ApiType>;
  1235. /**
  1236. * Invalid council election parameter - min-voting_stake
  1237. **/
  1238. InvalidCouncilElectionParameterMinVotingStake: AugmentedError<ApiType>;
  1239. /**
  1240. * Invalid council election parameter - new_term_duration
  1241. **/
  1242. InvalidCouncilElectionParameterNewTermDuration: AugmentedError<ApiType>;
  1243. /**
  1244. * Invalid council election parameter - revealing_period
  1245. **/
  1246. InvalidCouncilElectionParameterRevealingPeriod: AugmentedError<ApiType>;
  1247. /**
  1248. * Invalid council election parameter - voting_period
  1249. **/
  1250. InvalidCouncilElectionParameterVotingPeriod: AugmentedError<ApiType>;
  1251. /**
  1252. * Invalid 'set lead proposal' parameter - proposed lead cannot be a councilor
  1253. **/
  1254. InvalidSetLeadParameterCannotBeCouncilor: AugmentedError<ApiType>;
  1255. /**
  1256. * Invalid balance value for the spending proposal
  1257. **/
  1258. InvalidSpendingProposalBalance: AugmentedError<ApiType>;
  1259. /**
  1260. * Invalid validator count for the 'set validator count' proposal
  1261. **/
  1262. InvalidValidatorCount: AugmentedError<ApiType>;
  1263. /**
  1264. * Invalid working group mint capacity parameter
  1265. **/
  1266. InvalidWorkingGroupMintCapacity: AugmentedError<ApiType>;
  1267. /**
  1268. * Require root origin in extrinsics
  1269. **/
  1270. RequireRootOrigin: AugmentedError<ApiType>;
  1271. /**
  1272. * Provided WASM code for the runtime upgrade proposal is empty
  1273. **/
  1274. RuntimeProposalIsEmpty: AugmentedError<ApiType>;
  1275. /**
  1276. * The size of the provided WASM code for the runtime upgrade proposal exceeded the limit
  1277. **/
  1278. RuntimeProposalSizeExceeded: AugmentedError<ApiType>;
  1279. /**
  1280. * Invalid 'slash stake proposal' parameter - cannot slash by zero balance.
  1281. **/
  1282. SlashingStakeIsZero: AugmentedError<ApiType>;
  1283. /**
  1284. * Provided text for text proposal is empty
  1285. **/
  1286. TextProposalIsEmpty: AugmentedError<ApiType>;
  1287. /**
  1288. * The size of the provided text for text proposal exceeded the limit
  1289. **/
  1290. TextProposalSizeExceeded: AugmentedError<ApiType>;
  1291. };
  1292. proposalsDiscussion: {
  1293. /**
  1294. * Post cannot be empty
  1295. **/
  1296. EmptyPostProvided: AugmentedError<ApiType>;
  1297. /**
  1298. * Discussion cannot have an empty title
  1299. **/
  1300. EmptyTitleProvided: AugmentedError<ApiType>;
  1301. /**
  1302. * Max number of threads by same author in a row limit exceeded
  1303. **/
  1304. MaxThreadInARowLimitExceeded: AugmentedError<ApiType>;
  1305. /**
  1306. * Author should match the post creator
  1307. **/
  1308. NotAuthor: AugmentedError<ApiType>;
  1309. /**
  1310. * Post doesn't exist
  1311. **/
  1312. PostDoesntExist: AugmentedError<ApiType>;
  1313. /**
  1314. * Post edition limit reached
  1315. **/
  1316. PostEditionNumberExceeded: AugmentedError<ApiType>;
  1317. /**
  1318. * Post is too long
  1319. **/
  1320. PostIsTooLong: AugmentedError<ApiType>;
  1321. /**
  1322. * Require root origin in extrinsics
  1323. **/
  1324. RequireRootOrigin: AugmentedError<ApiType>;
  1325. /**
  1326. * Thread doesn't exist
  1327. **/
  1328. ThreadDoesntExist: AugmentedError<ApiType>;
  1329. /**
  1330. * Title is too long
  1331. **/
  1332. TitleIsTooLong: AugmentedError<ApiType>;
  1333. };
  1334. proposalsEngine: {
  1335. /**
  1336. * The proposal have been already voted on
  1337. **/
  1338. AlreadyVoted: AugmentedError<ApiType>;
  1339. /**
  1340. * Description is too long
  1341. **/
  1342. DescriptionIsTooLong: AugmentedError<ApiType>;
  1343. /**
  1344. * Proposal cannot have an empty body
  1345. **/
  1346. EmptyDescriptionProvided: AugmentedError<ApiType>;
  1347. /**
  1348. * Stake cannot be empty with this proposal
  1349. **/
  1350. EmptyStake: AugmentedError<ApiType>;
  1351. /**
  1352. * Proposal cannot have an empty title"
  1353. **/
  1354. EmptyTitleProvided: AugmentedError<ApiType>;
  1355. /**
  1356. * Approval threshold cannot be zero
  1357. **/
  1358. InvalidParameterApprovalThreshold: AugmentedError<ApiType>;
  1359. /**
  1360. * Slashing threshold cannot be zero
  1361. **/
  1362. InvalidParameterSlashingThreshold: AugmentedError<ApiType>;
  1363. /**
  1364. * Max active proposals number exceeded
  1365. **/
  1366. MaxActiveProposalNumberExceeded: AugmentedError<ApiType>;
  1367. /**
  1368. * Not an author
  1369. **/
  1370. NotAuthor: AugmentedError<ApiType>;
  1371. /**
  1372. * Proposal is finalized already
  1373. **/
  1374. ProposalFinalized: AugmentedError<ApiType>;
  1375. /**
  1376. * The proposal does not exist
  1377. **/
  1378. ProposalNotFound: AugmentedError<ApiType>;
  1379. /**
  1380. * Require root origin in extrinsics
  1381. **/
  1382. RequireRootOrigin: AugmentedError<ApiType>;
  1383. /**
  1384. * Stake differs from the proposal requirements
  1385. **/
  1386. StakeDiffersFromRequired: AugmentedError<ApiType>;
  1387. /**
  1388. * Stake should be empty for this proposal
  1389. **/
  1390. StakeShouldBeEmpty: AugmentedError<ApiType>;
  1391. /**
  1392. * Title is too long
  1393. **/
  1394. TitleIsTooLong: AugmentedError<ApiType>;
  1395. };
  1396. session: {
  1397. /**
  1398. * Registered duplicate key.
  1399. **/
  1400. DuplicatedKey: AugmentedError<ApiType>;
  1401. /**
  1402. * Invalid ownership proof.
  1403. **/
  1404. InvalidProof: AugmentedError<ApiType>;
  1405. /**
  1406. * No associated validator ID for account.
  1407. **/
  1408. NoAssociatedValidatorId: AugmentedError<ApiType>;
  1409. /**
  1410. * No keys are associated with this account.
  1411. **/
  1412. NoKeys: AugmentedError<ApiType>;
  1413. };
  1414. staking: {
  1415. /**
  1416. * Stash is already bonded.
  1417. **/
  1418. AlreadyBonded: AugmentedError<ApiType>;
  1419. /**
  1420. * Rewards for this era have already been claimed for this validator.
  1421. **/
  1422. AlreadyClaimed: AugmentedError<ApiType>;
  1423. /**
  1424. * Controller is already paired.
  1425. **/
  1426. AlreadyPaired: AugmentedError<ApiType>;
  1427. /**
  1428. * The call is not allowed at the given time due to restrictions of election period.
  1429. **/
  1430. CallNotAllowed: AugmentedError<ApiType>;
  1431. /**
  1432. * Duplicate index.
  1433. **/
  1434. DuplicateIndex: AugmentedError<ApiType>;
  1435. /**
  1436. * Targets cannot be empty.
  1437. **/
  1438. EmptyTargets: AugmentedError<ApiType>;
  1439. /**
  1440. * Attempting to target a stash that still has funds.
  1441. **/
  1442. FundedTarget: AugmentedError<ApiType>;
  1443. /**
  1444. * Incorrect previous history depth input provided.
  1445. **/
  1446. IncorrectHistoryDepth: AugmentedError<ApiType>;
  1447. /**
  1448. * Incorrect number of slashing spans provided.
  1449. **/
  1450. IncorrectSlashingSpans: AugmentedError<ApiType>;
  1451. /**
  1452. * Can not bond with value less than minimum balance.
  1453. **/
  1454. InsufficientValue: AugmentedError<ApiType>;
  1455. /**
  1456. * Invalid era to reward.
  1457. **/
  1458. InvalidEraToReward: AugmentedError<ApiType>;
  1459. /**
  1460. * Invalid number of nominations.
  1461. **/
  1462. InvalidNumberOfNominations: AugmentedError<ApiType>;
  1463. /**
  1464. * Slash record index out of bounds.
  1465. **/
  1466. InvalidSlashIndex: AugmentedError<ApiType>;
  1467. /**
  1468. * Can not schedule more unlock chunks.
  1469. **/
  1470. NoMoreChunks: AugmentedError<ApiType>;
  1471. /**
  1472. * Not a controller account.
  1473. **/
  1474. NotController: AugmentedError<ApiType>;
  1475. /**
  1476. * Items are not sorted and unique.
  1477. **/
  1478. NotSortedAndUnique: AugmentedError<ApiType>;
  1479. /**
  1480. * Not a stash account.
  1481. **/
  1482. NotStash: AugmentedError<ApiType>;
  1483. /**
  1484. * Can not rebond without unlocking chunks.
  1485. **/
  1486. NoUnlockChunk: AugmentedError<ApiType>;
  1487. /**
  1488. * Error while building the assignment type from the compact. This can happen if an index
  1489. * is invalid, or if the weights _overflow_.
  1490. **/
  1491. OffchainElectionBogusCompact: AugmentedError<ApiType>;
  1492. /**
  1493. * The submitted result has unknown edges that are not among the presented winners.
  1494. **/
  1495. OffchainElectionBogusEdge: AugmentedError<ApiType>;
  1496. /**
  1497. * The election size is invalid.
  1498. **/
  1499. OffchainElectionBogusElectionSize: AugmentedError<ApiType>;
  1500. /**
  1501. * One of the submitted nominators has an edge to which they have not voted on chain.
  1502. **/
  1503. OffchainElectionBogusNomination: AugmentedError<ApiType>;
  1504. /**
  1505. * One of the submitted nominators is not an active nominator on chain.
  1506. **/
  1507. OffchainElectionBogusNominator: AugmentedError<ApiType>;
  1508. /**
  1509. * The claimed score does not match with the one computed from the data.
  1510. **/
  1511. OffchainElectionBogusScore: AugmentedError<ApiType>;
  1512. /**
  1513. * A self vote must only be originated from a validator to ONLY themselves.
  1514. **/
  1515. OffchainElectionBogusSelfVote: AugmentedError<ApiType>;
  1516. /**
  1517. * One of the submitted winners is not an active candidate on chain (index is out of range
  1518. * in snapshot).
  1519. **/
  1520. OffchainElectionBogusWinner: AugmentedError<ApiType>;
  1521. /**
  1522. * Incorrect number of winners were presented.
  1523. **/
  1524. OffchainElectionBogusWinnerCount: AugmentedError<ApiType>;
  1525. /**
  1526. * The submitted result is received out of the open window.
  1527. **/
  1528. OffchainElectionEarlySubmission: AugmentedError<ApiType>;
  1529. /**
  1530. * One of the submitted nominators has an edge which is submitted before the last non-zero
  1531. * slash of the target.
  1532. **/
  1533. OffchainElectionSlashedNomination: AugmentedError<ApiType>;
  1534. /**
  1535. * The submitted result is not as good as the one stored on chain.
  1536. **/
  1537. OffchainElectionWeakSubmission: AugmentedError<ApiType>;
  1538. /**
  1539. * The snapshot data of the current window is missing.
  1540. **/
  1541. SnapshotUnavailable: AugmentedError<ApiType>;
  1542. };
  1543. storage: {
  1544. /**
  1545. * Blacklist size limit exceeded.
  1546. **/
  1547. BlacklistSizeLimitExceeded: AugmentedError<ApiType>;
  1548. /**
  1549. * Cannot delete non empty dynamic bag.
  1550. **/
  1551. CannotDeleteNonEmptyDynamicBag: AugmentedError<ApiType>;
  1552. /**
  1553. * Cannot delete a non-empty storage bucket.
  1554. **/
  1555. CannotDeleteNonEmptyStorageBucket: AugmentedError<ApiType>;
  1556. /**
  1557. * Data object hash is part of the blacklist.
  1558. **/
  1559. DataObjectBlacklisted: AugmentedError<ApiType>;
  1560. /**
  1561. * Data object doesn't exist.
  1562. **/
  1563. DataObjectDoesntExist: AugmentedError<ApiType>;
  1564. /**
  1565. * Data object id collection is empty.
  1566. **/
  1567. DataObjectIdCollectionIsEmpty: AugmentedError<ApiType>;
  1568. /**
  1569. * The `data_object_ids` extrinsic parameter collection is empty.
  1570. **/
  1571. DataObjectIdParamsAreEmpty: AugmentedError<ApiType>;
  1572. /**
  1573. * Upload data error: data objects per bag limit exceeded.
  1574. **/
  1575. DataObjectsPerBagLimitExceeded: AugmentedError<ApiType>;
  1576. /**
  1577. * Invalid extrinsic call: data size fee changed.
  1578. **/
  1579. DataSizeFeeChanged: AugmentedError<ApiType>;
  1580. /**
  1581. * Invalid operation with invites: another storage provider was invited.
  1582. **/
  1583. DifferentStorageProviderInvited: AugmentedError<ApiType>;
  1584. /**
  1585. * Distribution bucket doesn't accept new bags.
  1586. **/
  1587. DistributionBucketDoesntAcceptNewBags: AugmentedError<ApiType>;
  1588. /**
  1589. * Distribution bucket doesn't exist.
  1590. **/
  1591. DistributionBucketDoesntExist: AugmentedError<ApiType>;
  1592. /**
  1593. * Distribution bucket family doesn't exist.
  1594. **/
  1595. DistributionBucketFamilyDoesntExist: AugmentedError<ApiType>;
  1596. /**
  1597. * Distribution bucket id collections are empty.
  1598. **/
  1599. DistributionBucketIdCollectionsAreEmpty: AugmentedError<ApiType>;
  1600. /**
  1601. * Distribution bucket is bound to a bag.
  1602. **/
  1603. DistributionBucketIsBoundToBag: AugmentedError<ApiType>;
  1604. /**
  1605. * Distribution bucket is not bound to a bag.
  1606. **/
  1607. DistributionBucketIsNotBoundToBag: AugmentedError<ApiType>;
  1608. /**
  1609. * The new `DistributionBucketsPerBagLimit` number is too high.
  1610. **/
  1611. DistributionBucketsPerBagLimitTooHigh: AugmentedError<ApiType>;
  1612. /**
  1613. * The new `DistributionBucketsPerBagLimit` number is too low.
  1614. **/
  1615. DistributionBucketsPerBagLimitTooLow: AugmentedError<ApiType>;
  1616. /**
  1617. * Distribution family bound to a bag creation policy.
  1618. **/
  1619. DistributionFamilyBoundToBagCreationPolicy: AugmentedError<ApiType>;
  1620. /**
  1621. * Distribution provider operator already invited.
  1622. **/
  1623. DistributionProviderOperatorAlreadyInvited: AugmentedError<ApiType>;
  1624. /**
  1625. * Distribution provider operator doesn't exist.
  1626. **/
  1627. DistributionProviderOperatorDoesntExist: AugmentedError<ApiType>;
  1628. /**
  1629. * Distribution provider operator already set.
  1630. **/
  1631. DistributionProviderOperatorSet: AugmentedError<ApiType>;
  1632. /**
  1633. * Dynamic bag doesn't exist.
  1634. **/
  1635. DynamicBagDoesntExist: AugmentedError<ApiType>;
  1636. /**
  1637. * Cannot create the dynamic bag: dynamic bag exists.
  1638. **/
  1639. DynamicBagExists: AugmentedError<ApiType>;
  1640. /**
  1641. * Upload data error: empty content ID provided.
  1642. **/
  1643. EmptyContentId: AugmentedError<ApiType>;
  1644. /**
  1645. * Insufficient balance for an operation.
  1646. **/
  1647. InsufficientBalance: AugmentedError<ApiType>;
  1648. /**
  1649. * Insufficient module treasury balance for an operation.
  1650. **/
  1651. InsufficientTreasuryBalance: AugmentedError<ApiType>;
  1652. /**
  1653. * Upload data error: invalid deletion prize source account.
  1654. **/
  1655. InvalidDeletionPrizeSourceAccount: AugmentedError<ApiType>;
  1656. /**
  1657. * Invalid storage provider for bucket.
  1658. **/
  1659. InvalidStorageProvider: AugmentedError<ApiType>;
  1660. /**
  1661. * Invalid operation with invites: storage provider was already invited.
  1662. **/
  1663. InvitedStorageProvider: AugmentedError<ApiType>;
  1664. /**
  1665. * Max distribution bucket family number limit exceeded.
  1666. **/
  1667. MaxDistributionBucketFamilyNumberLimitExceeded: AugmentedError<ApiType>;
  1668. /**
  1669. * Max distribution bucket number per bag limit exceeded.
  1670. **/
  1671. MaxDistributionBucketNumberPerBagLimitExceeded: AugmentedError<ApiType>;
  1672. /**
  1673. * Max distribution bucket number per family limit exceeded.
  1674. **/
  1675. MaxDistributionBucketNumberPerFamilyLimitExceeded: AugmentedError<ApiType>;
  1676. /**
  1677. * Max number of pending invitations limit for a distribution bucket reached.
  1678. **/
  1679. MaxNumberOfPendingInvitationsLimitForDistributionBucketReached: AugmentedError<ApiType>;
  1680. /**
  1681. * Invalid operations: must be a distribution provider operator for a bucket.
  1682. **/
  1683. MustBeDistributionProviderOperatorForBucket: AugmentedError<ApiType>;
  1684. /**
  1685. * No distribution bucket invitation.
  1686. **/
  1687. NoDistributionBucketInvitation: AugmentedError<ApiType>;
  1688. /**
  1689. * Empty "data object creation" collection.
  1690. **/
  1691. NoObjectsOnUpload: AugmentedError<ApiType>;
  1692. /**
  1693. * Invalid operation with invites: there is no storage bucket invitation.
  1694. **/
  1695. NoStorageBucketInvitation: AugmentedError<ApiType>;
  1696. /**
  1697. * Cannot move objects within the same bag.
  1698. **/
  1699. SourceAndDestinationBagsAreEqual: AugmentedError<ApiType>;
  1700. /**
  1701. * The storage bucket doesn't accept new bags.
  1702. **/
  1703. StorageBucketDoesntAcceptNewBags: AugmentedError<ApiType>;
  1704. /**
  1705. * The requested storage bucket doesn't exist.
  1706. **/
  1707. StorageBucketDoesntExist: AugmentedError<ApiType>;
  1708. /**
  1709. * Storage bucket id collections are empty.
  1710. **/
  1711. StorageBucketIdCollectionsAreEmpty: AugmentedError<ApiType>;
  1712. /**
  1713. * The requested storage bucket is already bound to a bag.
  1714. **/
  1715. StorageBucketIsBoundToBag: AugmentedError<ApiType>;
  1716. /**
  1717. * The requested storage bucket is not bound to a bag.
  1718. **/
  1719. StorageBucketIsNotBoundToBag: AugmentedError<ApiType>;
  1720. /**
  1721. * Object number limit for the storage bucket reached.
  1722. **/
  1723. StorageBucketObjectNumberLimitReached: AugmentedError<ApiType>;
  1724. /**
  1725. * Objects total size limit for the storage bucket reached.
  1726. **/
  1727. StorageBucketObjectSizeLimitReached: AugmentedError<ApiType>;
  1728. /**
  1729. * `StorageBucketsPerBagLimit` was exceeded for a bag.
  1730. **/
  1731. StorageBucketPerBagLimitExceeded: AugmentedError<ApiType>;
  1732. /**
  1733. * The new `StorageBucketsPerBagLimit` number is too high.
  1734. **/
  1735. StorageBucketsPerBagLimitTooHigh: AugmentedError<ApiType>;
  1736. /**
  1737. * The new `StorageBucketsPerBagLimit` number is too low.
  1738. **/
  1739. StorageBucketsPerBagLimitTooLow: AugmentedError<ApiType>;
  1740. /**
  1741. * Invalid operation with invites: storage provider was already set.
  1742. **/
  1743. StorageProviderAlreadySet: AugmentedError<ApiType>;
  1744. /**
  1745. * Storage provider must be set.
  1746. **/
  1747. StorageProviderMustBeSet: AugmentedError<ApiType>;
  1748. /**
  1749. * Storage provider operator doesn't exist.
  1750. **/
  1751. StorageProviderOperatorDoesntExist: AugmentedError<ApiType>;
  1752. /**
  1753. * Uploading of the new object is blocked.
  1754. **/
  1755. UploadingBlocked: AugmentedError<ApiType>;
  1756. /**
  1757. * Max object number limit exceeded for voucher.
  1758. **/
  1759. VoucherMaxObjectNumberLimitExceeded: AugmentedError<ApiType>;
  1760. /**
  1761. * Max object size limit exceeded for voucher.
  1762. **/
  1763. VoucherMaxObjectSizeLimitExceeded: AugmentedError<ApiType>;
  1764. /**
  1765. * Upload data error: zero object size.
  1766. **/
  1767. ZeroObjectSize: AugmentedError<ApiType>;
  1768. };
  1769. storageWorkingGroup: {
  1770. /**
  1771. * Opening does not exist.
  1772. **/
  1773. AcceptWorkerApplicationsOpeningDoesNotExist: AugmentedError<ApiType>;
  1774. /**
  1775. * Opening Is Not in Waiting to begin.
  1776. **/
  1777. AcceptWorkerApplicationsOpeningIsNotWaitingToBegin: AugmentedError<ApiType>;
  1778. /**
  1779. * Opening does not activate in the future.
  1780. **/
  1781. AddWorkerOpeningActivatesInThePast: AugmentedError<ApiType>;
  1782. /**
  1783. * Add worker opening application stake cannot be zero.
  1784. **/
  1785. AddWorkerOpeningApplicationStakeCannotBeZero: AugmentedError<ApiType>;
  1786. /**
  1787. * Application stake amount less than minimum currency balance.
  1788. **/
  1789. AddWorkerOpeningAppliicationStakeLessThanMinimum: AugmentedError<ApiType>;
  1790. /**
  1791. * New application was crowded out.
  1792. **/
  1793. AddWorkerOpeningNewApplicationWasCrowdedOut: AugmentedError<ApiType>;
  1794. /**
  1795. * Opening does not exist.
  1796. **/
  1797. AddWorkerOpeningOpeningDoesNotExist: AugmentedError<ApiType>;
  1798. /**
  1799. * Opening is not in accepting applications stage.
  1800. **/
  1801. AddWorkerOpeningOpeningNotInAcceptingApplicationStage: AugmentedError<ApiType>;
  1802. /**
  1803. * Add worker opening role stake cannot be zero.
  1804. **/
  1805. AddWorkerOpeningRoleStakeCannotBeZero: AugmentedError<ApiType>;
  1806. /**
  1807. * Role stake amount less than minimum currency balance.
  1808. **/
  1809. AddWorkerOpeningRoleStakeLessThanMinimum: AugmentedError<ApiType>;
  1810. /**
  1811. * Stake amount too low.
  1812. **/
  1813. AddWorkerOpeningStakeAmountTooLow: AugmentedError<ApiType>;
  1814. /**
  1815. * Stake missing when required.
  1816. **/
  1817. AddWorkerOpeningStakeMissingWhenRequired: AugmentedError<ApiType>;
  1818. /**
  1819. * Stake provided when redundant.
  1820. **/
  1821. AddWorkerOpeningStakeProvidedWhenRedundant: AugmentedError<ApiType>;
  1822. /**
  1823. * Application rationing has zero max active applicants.
  1824. **/
  1825. AddWorkerOpeningZeroMaxApplicantCount: AugmentedError<ApiType>;
  1826. /**
  1827. * Invalid OpeningPolicyCommitment parameter (application_rationing_policy):
  1828. * max_active_applicants should be non-zero.
  1829. **/
  1830. ApplicationRationingPolicyMaxActiveApplicantsIsZero: AugmentedError<ApiType>;
  1831. /**
  1832. * Invalid OpeningPolicyCommitment parameter (application_staking_policy):
  1833. * crowded_out_unstaking_period_length should be non-zero.
  1834. **/
  1835. ApplicationStakingPolicyCrowdedOutUnstakingPeriodIsZero: AugmentedError<ApiType>;
  1836. /**
  1837. * Invalid OpeningPolicyCommitment parameter (application_staking_policy):
  1838. * review_period_expired_unstaking_period_length should be non-zero.
  1839. **/
  1840. ApplicationStakingPolicyReviewPeriodUnstakingPeriodIsZero: AugmentedError<ApiType>;
  1841. /**
  1842. * Signer does not match controller account.
  1843. **/
  1844. ApplyOnWorkerOpeningSignerNotControllerAccount: AugmentedError<ApiType>;
  1845. /**
  1846. * Opening does not exist.
  1847. **/
  1848. BeginWorkerApplicantReviewOpeningDoesNotExist: AugmentedError<ApiType>;
  1849. /**
  1850. * Opening Is Not in Waiting.
  1851. **/
  1852. BeginWorkerApplicantReviewOpeningOpeningIsNotWaitingToBegin: AugmentedError<ApiType>;
  1853. /**
  1854. * Cannot find mint in the minting module.
  1855. **/
  1856. CannotFindMint: AugmentedError<ApiType>;
  1857. /**
  1858. * There is leader already, cannot hire another one.
  1859. **/
  1860. CannotHireLeaderWhenLeaderExists: AugmentedError<ApiType>;
  1861. /**
  1862. * Cannot fill opening with multiple applications.
  1863. **/
  1864. CannotHireMultipleLeaders: AugmentedError<ApiType>;
  1865. /**
  1866. * Current lead is not set.
  1867. **/
  1868. CurrentLeadNotSet: AugmentedError<ApiType>;
  1869. /**
  1870. * Invalid OpeningPolicyCommitment parameter:
  1871. * exit_role_application_stake_unstaking_period should be non-zero.
  1872. **/
  1873. ExitRoleApplicationStakeUnstakingPeriodIsZero: AugmentedError<ApiType>;
  1874. /**
  1875. * Invalid OpeningPolicyCommitment parameter:
  1876. * exit_role_stake_unstaking_period should be non-zero.
  1877. **/
  1878. ExitRoleStakeUnstakingPeriodIsZero: AugmentedError<ApiType>;
  1879. /**
  1880. * Invalid OpeningPolicyCommitment parameter:
  1881. * fill_opening_failed_applicant_application_stake_unstaking_period should be non-zero.
  1882. **/
  1883. FillOpeningFailedApplicantApplicationStakeUnstakingPeriodIsZero: AugmentedError<ApiType>;
  1884. /**
  1885. * Invalid OpeningPolicyCommitment parameter:
  1886. * fill_opening_failed_applicant_role_stake_unstaking_period should be non-zero.
  1887. **/
  1888. FillOpeningFailedApplicantRoleStakeUnstakingPeriodIsZero: AugmentedError<ApiType>;
  1889. /**
  1890. * Reward policy has invalid next payment block number.
  1891. **/
  1892. FillOpeningInvalidNextPaymentBlock: AugmentedError<ApiType>;
  1893. /**
  1894. * Working group mint does not exist.
  1895. **/
  1896. FillOpeningMintDoesNotExist: AugmentedError<ApiType>;
  1897. /**
  1898. * Invalid OpeningPolicyCommitment parameter:
  1899. * fill_opening_successful_applicant_application_stake_unstaking_period should be non-zero.
  1900. **/
  1901. FillOpeningSuccessfulApplicantApplicationStakeUnstakingPeriodIsZero: AugmentedError<ApiType>;
  1902. /**
  1903. * Applications not for opening.
  1904. **/
  1905. FillWorkerOpeningApplicationForWrongOpening: AugmentedError<ApiType>;
  1906. /**
  1907. * Application does not exist.
  1908. **/
  1909. FullWorkerOpeningApplicationDoesNotExist: AugmentedError<ApiType>;
  1910. /**
  1911. * Application not in active stage.
  1912. **/
  1913. FullWorkerOpeningApplicationNotActive: AugmentedError<ApiType>;
  1914. /**
  1915. * OpeningDoesNotExist.
  1916. **/
  1917. FullWorkerOpeningOpeningDoesNotExist: AugmentedError<ApiType>;
  1918. /**
  1919. * Opening not in review period stage.
  1920. **/
  1921. FullWorkerOpeningOpeningNotInReviewPeriodStage: AugmentedError<ApiType>;
  1922. /**
  1923. * Application stake unstaking period for successful applicants redundant.
  1924. **/
  1925. FullWorkerOpeningSuccessfulApplicationStakeUnstakingPeriodRedundant: AugmentedError<ApiType>;
  1926. /**
  1927. * Application stake unstaking period for failed applicants too short.
  1928. **/
  1929. FullWorkerOpeningSuccessfulApplicationStakeUnstakingPeriodTooShort: AugmentedError<ApiType>;
  1930. /**
  1931. * Role stake unstaking period for successful applicants redundant.
  1932. **/
  1933. FullWorkerOpeningSuccessfulRoleStakeUnstakingPeriodRedundant: AugmentedError<ApiType>;
  1934. /**
  1935. * Role stake unstaking period for successful applicants too short.
  1936. **/
  1937. FullWorkerOpeningSuccessfulRoleStakeUnstakingPeriodTooShort: AugmentedError<ApiType>;
  1938. /**
  1939. * Application stake unstaking period for failed applicants redundant.
  1940. **/
  1941. FullWorkerOpeningUnsuccessfulApplicationStakeUnstakingPeriodRedundant: AugmentedError<ApiType>;
  1942. /**
  1943. * Application stake unstaking period for successful applicants too short.
  1944. **/
  1945. FullWorkerOpeningUnsuccessfulApplicationStakeUnstakingPeriodTooShort: AugmentedError<ApiType>;
  1946. /**
  1947. * Role stake unstaking period for failed applicants redundant.
  1948. **/
  1949. FullWorkerOpeningUnsuccessfulRoleStakeUnstakingPeriodRedundant: AugmentedError<ApiType>;
  1950. /**
  1951. * Role stake unstaking period for failed applicants too short.
  1952. **/
  1953. FullWorkerOpeningUnsuccessfulRoleStakeUnstakingPeriodTooShort: AugmentedError<ApiType>;
  1954. /**
  1955. * Insufficient balance to apply.
  1956. **/
  1957. InsufficientBalanceToApply: AugmentedError<ApiType>;
  1958. /**
  1959. * Insufficient balance to cover stake.
  1960. **/
  1961. InsufficientBalanceToCoverStake: AugmentedError<ApiType>;
  1962. /**
  1963. * Not a lead account.
  1964. **/
  1965. IsNotLeadAccount: AugmentedError<ApiType>;
  1966. /**
  1967. * Working group size limit exceeded.
  1968. **/
  1969. MaxActiveWorkerNumberExceeded: AugmentedError<ApiType>;
  1970. /**
  1971. * Member already has an active application on the opening.
  1972. **/
  1973. MemberHasActiveApplicationOnOpening: AugmentedError<ApiType>;
  1974. /**
  1975. * Member id is invalid.
  1976. **/
  1977. MembershipInvalidMemberId: AugmentedError<ApiType>;
  1978. /**
  1979. * Unsigned origin.
  1980. **/
  1981. MembershipUnsignedOrigin: AugmentedError<ApiType>;
  1982. /**
  1983. * Minting error: NextAdjustmentInPast
  1984. **/
  1985. MintingErrorNextAdjustmentInPast: AugmentedError<ApiType>;
  1986. /**
  1987. * Cannot get the worker stake profile.
  1988. **/
  1989. NoWorkerStakeProfile: AugmentedError<ApiType>;
  1990. /**
  1991. * Opening does not exist.
  1992. **/
  1993. OpeningDoesNotExist: AugmentedError<ApiType>;
  1994. /**
  1995. * Opening text too long.
  1996. **/
  1997. OpeningTextTooLong: AugmentedError<ApiType>;
  1998. /**
  1999. * Opening text too short.
  2000. **/
  2001. OpeningTextTooShort: AugmentedError<ApiType>;
  2002. /**
  2003. * Origin must be controller or root account of member.
  2004. **/
  2005. OriginIsNeitherMemberControllerOrRoot: AugmentedError<ApiType>;
  2006. /**
  2007. * Origin is not applicant.
  2008. **/
  2009. OriginIsNotApplicant: AugmentedError<ApiType>;
  2010. /**
  2011. * Next payment is not in the future.
  2012. **/
  2013. RecurringRewardsNextPaymentNotInFuture: AugmentedError<ApiType>;
  2014. /**
  2015. * Recipient not found.
  2016. **/
  2017. RecurringRewardsRecipientNotFound: AugmentedError<ApiType>;
  2018. /**
  2019. * Reward relationship not found.
  2020. **/
  2021. RecurringRewardsRewardRelationshipNotFound: AugmentedError<ApiType>;
  2022. /**
  2023. * Recipient reward source not found.
  2024. **/
  2025. RecurringRewardsRewardSourceNotFound: AugmentedError<ApiType>;
  2026. /**
  2027. * Relationship must exist.
  2028. **/
  2029. RelationshipMustExist: AugmentedError<ApiType>;
  2030. /**
  2031. * Require root origin in extrinsics.
  2032. **/
  2033. RequireRootOrigin: AugmentedError<ApiType>;
  2034. /**
  2035. * Require signed origin in extrinsics.
  2036. **/
  2037. RequireSignedOrigin: AugmentedError<ApiType>;
  2038. /**
  2039. * Invalid OpeningPolicyCommitment parameter (role_staking_policy):
  2040. * crowded_out_unstaking_period_length should be non-zero.
  2041. **/
  2042. RoleStakingPolicyCrowdedOutUnstakingPeriodIsZero: AugmentedError<ApiType>;
  2043. /**
  2044. * Invalid OpeningPolicyCommitment parameter (role_staking_policy):
  2045. * review_period_expired_unstaking_period_length should be non-zero.
  2046. **/
  2047. RoleStakingPolicyReviewPeriodUnstakingPeriodIsZero: AugmentedError<ApiType>;
  2048. /**
  2049. * Signer is not worker role account.
  2050. **/
  2051. SignerIsNotWorkerRoleAccount: AugmentedError<ApiType>;
  2052. /**
  2053. * Provided stake balance cannot be zero.
  2054. **/
  2055. StakeBalanceCannotBeZero: AugmentedError<ApiType>;
  2056. /**
  2057. * Already unstaking.
  2058. **/
  2059. StakingErrorAlreadyUnstaking: AugmentedError<ApiType>;
  2060. /**
  2061. * Cannot change stake by zero.
  2062. **/
  2063. StakingErrorCannotChangeStakeByZero: AugmentedError<ApiType>;
  2064. /**
  2065. * Cannot decrease stake while slashes ongoing.
  2066. **/
  2067. StakingErrorCannotDecreaseWhileSlashesOngoing: AugmentedError<ApiType>;
  2068. /**
  2069. * Cannot increase stake while unstaking.
  2070. **/
  2071. StakingErrorCannotIncreaseStakeWhileUnstaking: AugmentedError<ApiType>;
  2072. /**
  2073. * Cannot unstake while slashes ongoing.
  2074. **/
  2075. StakingErrorCannotUnstakeWhileSlashesOngoing: AugmentedError<ApiType>;
  2076. /**
  2077. * Insufficient balance in source account.
  2078. **/
  2079. StakingErrorInsufficientBalanceInSourceAccount: AugmentedError<ApiType>;
  2080. /**
  2081. * Insufficient stake to decrease.
  2082. **/
  2083. StakingErrorInsufficientStake: AugmentedError<ApiType>;
  2084. /**
  2085. * Not staked.
  2086. **/
  2087. StakingErrorNotStaked: AugmentedError<ApiType>;
  2088. /**
  2089. * Slash amount should be greater than zero.
  2090. **/
  2091. StakingErrorSlashAmountShouldBeGreaterThanZero: AugmentedError<ApiType>;
  2092. /**
  2093. * Stake not found.
  2094. **/
  2095. StakingErrorStakeNotFound: AugmentedError<ApiType>;
  2096. /**
  2097. * Unstaking period should be greater than zero.
  2098. **/
  2099. StakingErrorUnstakingPeriodShouldBeGreaterThanZero: AugmentedError<ApiType>;
  2100. /**
  2101. * Successful worker application does not exist.
  2102. **/
  2103. SuccessfulWorkerApplicationDoesNotExist: AugmentedError<ApiType>;
  2104. /**
  2105. * Invalid OpeningPolicyCommitment parameter:
  2106. * terminate_application_stake_unstaking_period should be non-zero.
  2107. **/
  2108. TerminateApplicationStakeUnstakingPeriodIsZero: AugmentedError<ApiType>;
  2109. /**
  2110. * Invalid OpeningPolicyCommitment parameter:
  2111. * terminate_role_stake_unstaking_period should be non-zero.
  2112. **/
  2113. TerminateRoleStakeUnstakingPeriodIsZero: AugmentedError<ApiType>;
  2114. /**
  2115. * Application does not exist.
  2116. **/
  2117. WithdrawWorkerApplicationApplicationDoesNotExist: AugmentedError<ApiType>;
  2118. /**
  2119. * Application is not active.
  2120. **/
  2121. WithdrawWorkerApplicationApplicationNotActive: AugmentedError<ApiType>;
  2122. /**
  2123. * Opening not accepting applications.
  2124. **/
  2125. WithdrawWorkerApplicationOpeningNotAcceptingApplications: AugmentedError<ApiType>;
  2126. /**
  2127. * Redundant unstaking period provided
  2128. **/
  2129. WithdrawWorkerApplicationRedundantUnstakingPeriod: AugmentedError<ApiType>;
  2130. /**
  2131. * UnstakingPeriodTooShort .... // <== SHOULD REALLY BE TWO SEPARATE, ONE FOR EACH STAKING PURPOSE
  2132. **/
  2133. WithdrawWorkerApplicationUnstakingPeriodTooShort: AugmentedError<ApiType>;
  2134. /**
  2135. * Worker application does not exist.
  2136. **/
  2137. WorkerApplicationDoesNotExist: AugmentedError<ApiType>;
  2138. /**
  2139. * Worker application text too long.
  2140. **/
  2141. WorkerApplicationTextTooLong: AugmentedError<ApiType>;
  2142. /**
  2143. * Worker application text too short.
  2144. **/
  2145. WorkerApplicationTextTooShort: AugmentedError<ApiType>;
  2146. /**
  2147. * Worker does not exist.
  2148. **/
  2149. WorkerDoesNotExist: AugmentedError<ApiType>;
  2150. /**
  2151. * Worker exit rationale text is too long.
  2152. **/
  2153. WorkerExitRationaleTextTooLong: AugmentedError<ApiType>;
  2154. /**
  2155. * Worker exit rationale text is too short.
  2156. **/
  2157. WorkerExitRationaleTextTooShort: AugmentedError<ApiType>;
  2158. /**
  2159. * Worker has no recurring reward.
  2160. **/
  2161. WorkerHasNoReward: AugmentedError<ApiType>;
  2162. };
  2163. sudo: {
  2164. /**
  2165. * Sender must be the Sudo account
  2166. **/
  2167. RequireSudo: AugmentedError<ApiType>;
  2168. };
  2169. system: {
  2170. /**
  2171. * Failed to extract the runtime version from the new runtime.
  2172. *
  2173. * Either calling `Core_version` or decoding `RuntimeVersion` failed.
  2174. **/
  2175. FailedToExtractRuntimeVersion: AugmentedError<ApiType>;
  2176. /**
  2177. * The name of specification does not match between the current runtime
  2178. * and the new runtime.
  2179. **/
  2180. InvalidSpecName: AugmentedError<ApiType>;
  2181. /**
  2182. * Suicide called when the account has non-default composite data.
  2183. **/
  2184. NonDefaultComposite: AugmentedError<ApiType>;
  2185. /**
  2186. * There is a non-zero reference count preventing the account from being purged.
  2187. **/
  2188. NonZeroRefCount: AugmentedError<ApiType>;
  2189. /**
  2190. * The specification version is not allowed to decrease between the current runtime
  2191. * and the new runtime.
  2192. **/
  2193. SpecVersionNeedsToIncrease: AugmentedError<ApiType>;
  2194. };
  2195. }
  2196. export interface DecoratedErrors<ApiType extends ApiTypes> extends AugmentedErrors<ApiType> {
  2197. }
  2198. }