augment-api-errors.ts 79 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315
  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. content: {
  71. /**
  72. * This content actor cannot own a channel
  73. **/
  74. ActorCannotOwnChannel: AugmentedError<ApiType>;
  75. /**
  76. * Operation cannot be perfomed with this Actor
  77. **/
  78. ActorNotAuthorized: AugmentedError<ApiType>;
  79. /**
  80. * Expected root or signed origin
  81. **/
  82. BadOrigin: AugmentedError<ApiType>;
  83. /**
  84. * Curators can only censor non-curator group owned channels
  85. **/
  86. CannotCensoreCuratorGroupOwnedChannels: AugmentedError<ApiType>;
  87. /**
  88. * A Channel or Video Category does not exist.
  89. **/
  90. CategoryDoesNotExist: AugmentedError<ApiType>;
  91. /**
  92. * Channel does not exist
  93. **/
  94. ChannelDoesNotExist: AugmentedError<ApiType>;
  95. /**
  96. * Curator authentication failed
  97. **/
  98. CuratorAuthFailed: AugmentedError<ApiType>;
  99. /**
  100. * Given curator group does not exist
  101. **/
  102. CuratorGroupDoesNotExist: AugmentedError<ApiType>;
  103. /**
  104. * Curator group is not active
  105. **/
  106. CuratorGroupIsNotActive: AugmentedError<ApiType>;
  107. /**
  108. * Curator id is not a worker id in content working group
  109. **/
  110. CuratorIdInvalid: AugmentedError<ApiType>;
  111. /**
  112. * Curator under provided curator id is already a member of curaror group under given id
  113. **/
  114. CuratorIsAlreadyAMemberOfGivenCuratorGroup: AugmentedError<ApiType>;
  115. /**
  116. * Curator under provided curator id is not a member of curaror group under given id
  117. **/
  118. CuratorIsNotAMemberOfGivenCuratorGroup: AugmentedError<ApiType>;
  119. /**
  120. * Max number of curators per group limit reached
  121. **/
  122. CuratorsPerGroupLimitReached: AugmentedError<ApiType>;
  123. /**
  124. * Feature Not Implemented
  125. **/
  126. FeatureNotImplemented: AugmentedError<ApiType>;
  127. /**
  128. * Lead authentication failed
  129. **/
  130. LeadAuthFailed: AugmentedError<ApiType>;
  131. /**
  132. * Member authentication failed
  133. **/
  134. MemberAuthFailed: AugmentedError<ApiType>;
  135. /**
  136. * Video does not exist
  137. **/
  138. VideoDoesNotExist: AugmentedError<ApiType>;
  139. /**
  140. * Video in season can`t be removed (because order is important)
  141. **/
  142. VideoInSeason: AugmentedError<ApiType>;
  143. };
  144. contentDirectoryWorkingGroup: {
  145. /**
  146. * Opening does not exist.
  147. **/
  148. AcceptWorkerApplicationsOpeningDoesNotExist: AugmentedError<ApiType>;
  149. /**
  150. * Opening Is Not in Waiting to begin.
  151. **/
  152. AcceptWorkerApplicationsOpeningIsNotWaitingToBegin: AugmentedError<ApiType>;
  153. /**
  154. * Opening does not activate in the future.
  155. **/
  156. AddWorkerOpeningActivatesInThePast: AugmentedError<ApiType>;
  157. /**
  158. * Add worker opening application stake cannot be zero.
  159. **/
  160. AddWorkerOpeningApplicationStakeCannotBeZero: AugmentedError<ApiType>;
  161. /**
  162. * Application stake amount less than minimum currency balance.
  163. **/
  164. AddWorkerOpeningAppliicationStakeLessThanMinimum: AugmentedError<ApiType>;
  165. /**
  166. * New application was crowded out.
  167. **/
  168. AddWorkerOpeningNewApplicationWasCrowdedOut: AugmentedError<ApiType>;
  169. /**
  170. * Opening does not exist.
  171. **/
  172. AddWorkerOpeningOpeningDoesNotExist: AugmentedError<ApiType>;
  173. /**
  174. * Opening is not in accepting applications stage.
  175. **/
  176. AddWorkerOpeningOpeningNotInAcceptingApplicationStage: AugmentedError<ApiType>;
  177. /**
  178. * Add worker opening role stake cannot be zero.
  179. **/
  180. AddWorkerOpeningRoleStakeCannotBeZero: AugmentedError<ApiType>;
  181. /**
  182. * Role stake amount less than minimum currency balance.
  183. **/
  184. AddWorkerOpeningRoleStakeLessThanMinimum: AugmentedError<ApiType>;
  185. /**
  186. * Stake amount too low.
  187. **/
  188. AddWorkerOpeningStakeAmountTooLow: AugmentedError<ApiType>;
  189. /**
  190. * Stake missing when required.
  191. **/
  192. AddWorkerOpeningStakeMissingWhenRequired: AugmentedError<ApiType>;
  193. /**
  194. * Stake provided when redundant.
  195. **/
  196. AddWorkerOpeningStakeProvidedWhenRedundant: AugmentedError<ApiType>;
  197. /**
  198. * Application rationing has zero max active applicants.
  199. **/
  200. AddWorkerOpeningZeroMaxApplicantCount: AugmentedError<ApiType>;
  201. /**
  202. * Invalid OpeningPolicyCommitment parameter (application_rationing_policy):
  203. * max_active_applicants should be non-zero.
  204. **/
  205. ApplicationRationingPolicyMaxActiveApplicantsIsZero: AugmentedError<ApiType>;
  206. /**
  207. * Invalid OpeningPolicyCommitment parameter (application_staking_policy):
  208. * crowded_out_unstaking_period_length should be non-zero.
  209. **/
  210. ApplicationStakingPolicyCrowdedOutUnstakingPeriodIsZero: AugmentedError<ApiType>;
  211. /**
  212. * Invalid OpeningPolicyCommitment parameter (application_staking_policy):
  213. * review_period_expired_unstaking_period_length should be non-zero.
  214. **/
  215. ApplicationStakingPolicyReviewPeriodUnstakingPeriodIsZero: AugmentedError<ApiType>;
  216. /**
  217. * Signer does not match controller account.
  218. **/
  219. ApplyOnWorkerOpeningSignerNotControllerAccount: AugmentedError<ApiType>;
  220. /**
  221. * Opening does not exist.
  222. **/
  223. BeginWorkerApplicantReviewOpeningDoesNotExist: AugmentedError<ApiType>;
  224. /**
  225. * Opening Is Not in Waiting.
  226. **/
  227. BeginWorkerApplicantReviewOpeningOpeningIsNotWaitingToBegin: AugmentedError<ApiType>;
  228. /**
  229. * Cannot find mint in the minting module.
  230. **/
  231. CannotFindMint: AugmentedError<ApiType>;
  232. /**
  233. * There is leader already, cannot hire another one.
  234. **/
  235. CannotHireLeaderWhenLeaderExists: AugmentedError<ApiType>;
  236. /**
  237. * Cannot fill opening with multiple applications.
  238. **/
  239. CannotHireMultipleLeaders: AugmentedError<ApiType>;
  240. /**
  241. * Current lead is not set.
  242. **/
  243. CurrentLeadNotSet: AugmentedError<ApiType>;
  244. /**
  245. * Invalid OpeningPolicyCommitment parameter:
  246. * exit_role_application_stake_unstaking_period should be non-zero.
  247. **/
  248. ExitRoleApplicationStakeUnstakingPeriodIsZero: AugmentedError<ApiType>;
  249. /**
  250. * Invalid OpeningPolicyCommitment parameter:
  251. * exit_role_stake_unstaking_period should be non-zero.
  252. **/
  253. ExitRoleStakeUnstakingPeriodIsZero: AugmentedError<ApiType>;
  254. /**
  255. * Invalid OpeningPolicyCommitment parameter:
  256. * fill_opening_failed_applicant_application_stake_unstaking_period should be non-zero.
  257. **/
  258. FillOpeningFailedApplicantApplicationStakeUnstakingPeriodIsZero: AugmentedError<ApiType>;
  259. /**
  260. * Invalid OpeningPolicyCommitment parameter:
  261. * fill_opening_failed_applicant_role_stake_unstaking_period should be non-zero.
  262. **/
  263. FillOpeningFailedApplicantRoleStakeUnstakingPeriodIsZero: AugmentedError<ApiType>;
  264. /**
  265. * Reward policy has invalid next payment block number.
  266. **/
  267. FillOpeningInvalidNextPaymentBlock: AugmentedError<ApiType>;
  268. /**
  269. * Working group mint does not exist.
  270. **/
  271. FillOpeningMintDoesNotExist: AugmentedError<ApiType>;
  272. /**
  273. * Invalid OpeningPolicyCommitment parameter:
  274. * fill_opening_successful_applicant_application_stake_unstaking_period should be non-zero.
  275. **/
  276. FillOpeningSuccessfulApplicantApplicationStakeUnstakingPeriodIsZero: AugmentedError<ApiType>;
  277. /**
  278. * Applications not for opening.
  279. **/
  280. FillWorkerOpeningApplicationForWrongOpening: AugmentedError<ApiType>;
  281. /**
  282. * Application does not exist.
  283. **/
  284. FullWorkerOpeningApplicationDoesNotExist: AugmentedError<ApiType>;
  285. /**
  286. * Application not in active stage.
  287. **/
  288. FullWorkerOpeningApplicationNotActive: AugmentedError<ApiType>;
  289. /**
  290. * OpeningDoesNotExist.
  291. **/
  292. FullWorkerOpeningOpeningDoesNotExist: AugmentedError<ApiType>;
  293. /**
  294. * Opening not in review period stage.
  295. **/
  296. FullWorkerOpeningOpeningNotInReviewPeriodStage: AugmentedError<ApiType>;
  297. /**
  298. * Application stake unstaking period for successful applicants redundant.
  299. **/
  300. FullWorkerOpeningSuccessfulApplicationStakeUnstakingPeriodRedundant: AugmentedError<ApiType>;
  301. /**
  302. * Application stake unstaking period for failed applicants too short.
  303. **/
  304. FullWorkerOpeningSuccessfulApplicationStakeUnstakingPeriodTooShort: AugmentedError<ApiType>;
  305. /**
  306. * Role stake unstaking period for successful applicants redundant.
  307. **/
  308. FullWorkerOpeningSuccessfulRoleStakeUnstakingPeriodRedundant: AugmentedError<ApiType>;
  309. /**
  310. * Role stake unstaking period for successful applicants too short.
  311. **/
  312. FullWorkerOpeningSuccessfulRoleStakeUnstakingPeriodTooShort: AugmentedError<ApiType>;
  313. /**
  314. * Application stake unstaking period for failed applicants redundant.
  315. **/
  316. FullWorkerOpeningUnsuccessfulApplicationStakeUnstakingPeriodRedundant: AugmentedError<ApiType>;
  317. /**
  318. * Application stake unstaking period for successful applicants too short.
  319. **/
  320. FullWorkerOpeningUnsuccessfulApplicationStakeUnstakingPeriodTooShort: AugmentedError<ApiType>;
  321. /**
  322. * Role stake unstaking period for failed applicants redundant.
  323. **/
  324. FullWorkerOpeningUnsuccessfulRoleStakeUnstakingPeriodRedundant: AugmentedError<ApiType>;
  325. /**
  326. * Role stake unstaking period for failed applicants too short.
  327. **/
  328. FullWorkerOpeningUnsuccessfulRoleStakeUnstakingPeriodTooShort: AugmentedError<ApiType>;
  329. /**
  330. * Insufficient balance to apply.
  331. **/
  332. InsufficientBalanceToApply: AugmentedError<ApiType>;
  333. /**
  334. * Insufficient balance to cover stake.
  335. **/
  336. InsufficientBalanceToCoverStake: AugmentedError<ApiType>;
  337. /**
  338. * Not a lead account.
  339. **/
  340. IsNotLeadAccount: AugmentedError<ApiType>;
  341. /**
  342. * Working group size limit exceeded.
  343. **/
  344. MaxActiveWorkerNumberExceeded: AugmentedError<ApiType>;
  345. /**
  346. * Member already has an active application on the opening.
  347. **/
  348. MemberHasActiveApplicationOnOpening: AugmentedError<ApiType>;
  349. /**
  350. * Member id is invalid.
  351. **/
  352. MembershipInvalidMemberId: AugmentedError<ApiType>;
  353. /**
  354. * Unsigned origin.
  355. **/
  356. MembershipUnsignedOrigin: AugmentedError<ApiType>;
  357. /**
  358. * Minting error: NextAdjustmentInPast
  359. **/
  360. MintingErrorNextAdjustmentInPast: AugmentedError<ApiType>;
  361. /**
  362. * Cannot get the worker stake profile.
  363. **/
  364. NoWorkerStakeProfile: AugmentedError<ApiType>;
  365. /**
  366. * Opening does not exist.
  367. **/
  368. OpeningDoesNotExist: AugmentedError<ApiType>;
  369. /**
  370. * Opening text too long.
  371. **/
  372. OpeningTextTooLong: AugmentedError<ApiType>;
  373. /**
  374. * Opening text too short.
  375. **/
  376. OpeningTextTooShort: AugmentedError<ApiType>;
  377. /**
  378. * Origin must be controller or root account of member.
  379. **/
  380. OriginIsNeitherMemberControllerOrRoot: AugmentedError<ApiType>;
  381. /**
  382. * Origin is not applicant.
  383. **/
  384. OriginIsNotApplicant: AugmentedError<ApiType>;
  385. /**
  386. * Next payment is not in the future.
  387. **/
  388. RecurringRewardsNextPaymentNotInFuture: AugmentedError<ApiType>;
  389. /**
  390. * Recipient not found.
  391. **/
  392. RecurringRewardsRecipientNotFound: AugmentedError<ApiType>;
  393. /**
  394. * Reward relationship not found.
  395. **/
  396. RecurringRewardsRewardRelationshipNotFound: AugmentedError<ApiType>;
  397. /**
  398. * Recipient reward source not found.
  399. **/
  400. RecurringRewardsRewardSourceNotFound: AugmentedError<ApiType>;
  401. /**
  402. * Relationship must exist.
  403. **/
  404. RelationshipMustExist: AugmentedError<ApiType>;
  405. /**
  406. * Require root origin in extrinsics.
  407. **/
  408. RequireRootOrigin: AugmentedError<ApiType>;
  409. /**
  410. * Require signed origin in extrinsics.
  411. **/
  412. RequireSignedOrigin: AugmentedError<ApiType>;
  413. /**
  414. * Invalid OpeningPolicyCommitment parameter (role_staking_policy):
  415. * crowded_out_unstaking_period_length should be non-zero.
  416. **/
  417. RoleStakingPolicyCrowdedOutUnstakingPeriodIsZero: AugmentedError<ApiType>;
  418. /**
  419. * Invalid OpeningPolicyCommitment parameter (role_staking_policy):
  420. * review_period_expired_unstaking_period_length should be non-zero.
  421. **/
  422. RoleStakingPolicyReviewPeriodUnstakingPeriodIsZero: AugmentedError<ApiType>;
  423. /**
  424. * Signer is not worker role account.
  425. **/
  426. SignerIsNotWorkerRoleAccount: AugmentedError<ApiType>;
  427. /**
  428. * Provided stake balance cannot be zero.
  429. **/
  430. StakeBalanceCannotBeZero: AugmentedError<ApiType>;
  431. /**
  432. * Already unstaking.
  433. **/
  434. StakingErrorAlreadyUnstaking: AugmentedError<ApiType>;
  435. /**
  436. * Cannot change stake by zero.
  437. **/
  438. StakingErrorCannotChangeStakeByZero: AugmentedError<ApiType>;
  439. /**
  440. * Cannot decrease stake while slashes ongoing.
  441. **/
  442. StakingErrorCannotDecreaseWhileSlashesOngoing: AugmentedError<ApiType>;
  443. /**
  444. * Cannot increase stake while unstaking.
  445. **/
  446. StakingErrorCannotIncreaseStakeWhileUnstaking: AugmentedError<ApiType>;
  447. /**
  448. * Cannot unstake while slashes ongoing.
  449. **/
  450. StakingErrorCannotUnstakeWhileSlashesOngoing: AugmentedError<ApiType>;
  451. /**
  452. * Insufficient balance in source account.
  453. **/
  454. StakingErrorInsufficientBalanceInSourceAccount: AugmentedError<ApiType>;
  455. /**
  456. * Insufficient stake to decrease.
  457. **/
  458. StakingErrorInsufficientStake: AugmentedError<ApiType>;
  459. /**
  460. * Not staked.
  461. **/
  462. StakingErrorNotStaked: AugmentedError<ApiType>;
  463. /**
  464. * Slash amount should be greater than zero.
  465. **/
  466. StakingErrorSlashAmountShouldBeGreaterThanZero: AugmentedError<ApiType>;
  467. /**
  468. * Stake not found.
  469. **/
  470. StakingErrorStakeNotFound: AugmentedError<ApiType>;
  471. /**
  472. * Unstaking period should be greater than zero.
  473. **/
  474. StakingErrorUnstakingPeriodShouldBeGreaterThanZero: AugmentedError<ApiType>;
  475. /**
  476. * Successful worker application does not exist.
  477. **/
  478. SuccessfulWorkerApplicationDoesNotExist: AugmentedError<ApiType>;
  479. /**
  480. * Invalid OpeningPolicyCommitment parameter:
  481. * terminate_application_stake_unstaking_period should be non-zero.
  482. **/
  483. TerminateApplicationStakeUnstakingPeriodIsZero: AugmentedError<ApiType>;
  484. /**
  485. * Invalid OpeningPolicyCommitment parameter:
  486. * terminate_role_stake_unstaking_period should be non-zero.
  487. **/
  488. TerminateRoleStakeUnstakingPeriodIsZero: AugmentedError<ApiType>;
  489. /**
  490. * Application does not exist.
  491. **/
  492. WithdrawWorkerApplicationApplicationDoesNotExist: AugmentedError<ApiType>;
  493. /**
  494. * Application is not active.
  495. **/
  496. WithdrawWorkerApplicationApplicationNotActive: AugmentedError<ApiType>;
  497. /**
  498. * Opening not accepting applications.
  499. **/
  500. WithdrawWorkerApplicationOpeningNotAcceptingApplications: AugmentedError<ApiType>;
  501. /**
  502. * Redundant unstaking period provided
  503. **/
  504. WithdrawWorkerApplicationRedundantUnstakingPeriod: AugmentedError<ApiType>;
  505. /**
  506. * UnstakingPeriodTooShort .... // <== SHOULD REALLY BE TWO SEPARATE, ONE FOR EACH STAKING PURPOSE
  507. **/
  508. WithdrawWorkerApplicationUnstakingPeriodTooShort: AugmentedError<ApiType>;
  509. /**
  510. * Worker application does not exist.
  511. **/
  512. WorkerApplicationDoesNotExist: AugmentedError<ApiType>;
  513. /**
  514. * Worker application text too long.
  515. **/
  516. WorkerApplicationTextTooLong: AugmentedError<ApiType>;
  517. /**
  518. * Worker application text too short.
  519. **/
  520. WorkerApplicationTextTooShort: AugmentedError<ApiType>;
  521. /**
  522. * Worker does not exist.
  523. **/
  524. WorkerDoesNotExist: AugmentedError<ApiType>;
  525. /**
  526. * Worker exit rationale text is too long.
  527. **/
  528. WorkerExitRationaleTextTooLong: AugmentedError<ApiType>;
  529. /**
  530. * Worker exit rationale text is too short.
  531. **/
  532. WorkerExitRationaleTextTooShort: AugmentedError<ApiType>;
  533. /**
  534. * Worker has no recurring reward.
  535. **/
  536. WorkerHasNoReward: AugmentedError<ApiType>;
  537. /**
  538. * Worker storage text is too long.
  539. **/
  540. WorkerStorageValueTooLong: AugmentedError<ApiType>;
  541. };
  542. dataDirectory: {
  543. /**
  544. * Content with this ID not found.
  545. **/
  546. CidNotFound: AugmentedError<ApiType>;
  547. /**
  548. * Content uploading blocked.
  549. **/
  550. ContentUploadingBlocked: AugmentedError<ApiType>;
  551. /**
  552. * "Data object already added under this content id".
  553. **/
  554. DataObjectAlreadyAdded: AugmentedError<ApiType>;
  555. /**
  556. * DataObject Injection Failed. Too Many DataObjects.
  557. **/
  558. DataObjectsInjectionExceededLimit: AugmentedError<ApiType>;
  559. /**
  560. * Cannot create content for inactive or missing data object type.
  561. **/
  562. DataObjectTypeMustBeActive: AugmentedError<ApiType>;
  563. /**
  564. * Provided owner should be equal o the data object owner under given content id
  565. **/
  566. OwnersAreNotEqual: AugmentedError<ApiType>;
  567. /**
  568. * Require root origin in extrinsics.
  569. **/
  570. RequireRootOrigin: AugmentedError<ApiType>;
  571. /**
  572. * New voucher limit being set is less than used.
  573. **/
  574. VoucherLimitLessThanUsed: AugmentedError<ApiType>;
  575. /**
  576. * Contant uploading failed. Actor voucher objects limit exceeded.
  577. **/
  578. VoucherObjectsLimitExceeded: AugmentedError<ApiType>;
  579. /**
  580. * Voucher objects limit upper bound exceeded
  581. **/
  582. VoucherObjectsLimitUpperBoundExceeded: AugmentedError<ApiType>;
  583. /**
  584. * Overflow detected when changing
  585. **/
  586. VoucherOverflow: AugmentedError<ApiType>;
  587. /**
  588. * Contant uploading failed. Actor voucher size limit exceeded.
  589. **/
  590. VoucherSizeLimitExceeded: AugmentedError<ApiType>;
  591. /**
  592. * Voucher size limit upper bound exceeded
  593. **/
  594. VoucherSizeLimitUpperBoundExceeded: AugmentedError<ApiType>;
  595. };
  596. dataObjectStorageRegistry: {
  597. /**
  598. * Content with this ID not found.
  599. **/
  600. CidNotFound: AugmentedError<ApiType>;
  601. /**
  602. * No data object storage relationship found for this ID.
  603. **/
  604. DataObjectStorageRelationshipNotFound: AugmentedError<ApiType>;
  605. /**
  606. * Only the storage provider in a DOSR can decide whether they're ready.
  607. **/
  608. OnlyStorageProviderMayClaimReady: AugmentedError<ApiType>;
  609. /**
  610. * Require root origin in extrinsics
  611. **/
  612. RequireRootOrigin: AugmentedError<ApiType>;
  613. };
  614. dataObjectTypeRegistry: {
  615. /**
  616. * Data Object Type with the given ID not found.
  617. **/
  618. DataObjectTypeNotFound: AugmentedError<ApiType>;
  619. /**
  620. * Require root origin in extrinsics
  621. **/
  622. RequireRootOrigin: AugmentedError<ApiType>;
  623. };
  624. finalityTracker: {
  625. /**
  626. * Final hint must be updated only once in the block
  627. **/
  628. AlreadyUpdated: AugmentedError<ApiType>;
  629. /**
  630. * Finalized height above block number
  631. **/
  632. BadHint: AugmentedError<ApiType>;
  633. };
  634. gatewayWorkingGroup: {
  635. /**
  636. * Opening does not exist.
  637. **/
  638. AcceptWorkerApplicationsOpeningDoesNotExist: AugmentedError<ApiType>;
  639. /**
  640. * Opening Is Not in Waiting to begin.
  641. **/
  642. AcceptWorkerApplicationsOpeningIsNotWaitingToBegin: AugmentedError<ApiType>;
  643. /**
  644. * Opening does not activate in the future.
  645. **/
  646. AddWorkerOpeningActivatesInThePast: AugmentedError<ApiType>;
  647. /**
  648. * Add worker opening application stake cannot be zero.
  649. **/
  650. AddWorkerOpeningApplicationStakeCannotBeZero: AugmentedError<ApiType>;
  651. /**
  652. * Application stake amount less than minimum currency balance.
  653. **/
  654. AddWorkerOpeningAppliicationStakeLessThanMinimum: AugmentedError<ApiType>;
  655. /**
  656. * New application was crowded out.
  657. **/
  658. AddWorkerOpeningNewApplicationWasCrowdedOut: AugmentedError<ApiType>;
  659. /**
  660. * Opening does not exist.
  661. **/
  662. AddWorkerOpeningOpeningDoesNotExist: AugmentedError<ApiType>;
  663. /**
  664. * Opening is not in accepting applications stage.
  665. **/
  666. AddWorkerOpeningOpeningNotInAcceptingApplicationStage: AugmentedError<ApiType>;
  667. /**
  668. * Add worker opening role stake cannot be zero.
  669. **/
  670. AddWorkerOpeningRoleStakeCannotBeZero: AugmentedError<ApiType>;
  671. /**
  672. * Role stake amount less than minimum currency balance.
  673. **/
  674. AddWorkerOpeningRoleStakeLessThanMinimum: AugmentedError<ApiType>;
  675. /**
  676. * Stake amount too low.
  677. **/
  678. AddWorkerOpeningStakeAmountTooLow: AugmentedError<ApiType>;
  679. /**
  680. * Stake missing when required.
  681. **/
  682. AddWorkerOpeningStakeMissingWhenRequired: AugmentedError<ApiType>;
  683. /**
  684. * Stake provided when redundant.
  685. **/
  686. AddWorkerOpeningStakeProvidedWhenRedundant: AugmentedError<ApiType>;
  687. /**
  688. * Application rationing has zero max active applicants.
  689. **/
  690. AddWorkerOpeningZeroMaxApplicantCount: AugmentedError<ApiType>;
  691. /**
  692. * Invalid OpeningPolicyCommitment parameter (application_rationing_policy):
  693. * max_active_applicants should be non-zero.
  694. **/
  695. ApplicationRationingPolicyMaxActiveApplicantsIsZero: AugmentedError<ApiType>;
  696. /**
  697. * Invalid OpeningPolicyCommitment parameter (application_staking_policy):
  698. * crowded_out_unstaking_period_length should be non-zero.
  699. **/
  700. ApplicationStakingPolicyCrowdedOutUnstakingPeriodIsZero: AugmentedError<ApiType>;
  701. /**
  702. * Invalid OpeningPolicyCommitment parameter (application_staking_policy):
  703. * review_period_expired_unstaking_period_length should be non-zero.
  704. **/
  705. ApplicationStakingPolicyReviewPeriodUnstakingPeriodIsZero: AugmentedError<ApiType>;
  706. /**
  707. * Signer does not match controller account.
  708. **/
  709. ApplyOnWorkerOpeningSignerNotControllerAccount: AugmentedError<ApiType>;
  710. /**
  711. * Opening does not exist.
  712. **/
  713. BeginWorkerApplicantReviewOpeningDoesNotExist: AugmentedError<ApiType>;
  714. /**
  715. * Opening Is Not in Waiting.
  716. **/
  717. BeginWorkerApplicantReviewOpeningOpeningIsNotWaitingToBegin: AugmentedError<ApiType>;
  718. /**
  719. * Cannot find mint in the minting module.
  720. **/
  721. CannotFindMint: AugmentedError<ApiType>;
  722. /**
  723. * There is leader already, cannot hire another one.
  724. **/
  725. CannotHireLeaderWhenLeaderExists: AugmentedError<ApiType>;
  726. /**
  727. * Cannot fill opening with multiple applications.
  728. **/
  729. CannotHireMultipleLeaders: AugmentedError<ApiType>;
  730. /**
  731. * Current lead is not set.
  732. **/
  733. CurrentLeadNotSet: AugmentedError<ApiType>;
  734. /**
  735. * Invalid OpeningPolicyCommitment parameter:
  736. * exit_role_application_stake_unstaking_period should be non-zero.
  737. **/
  738. ExitRoleApplicationStakeUnstakingPeriodIsZero: AugmentedError<ApiType>;
  739. /**
  740. * Invalid OpeningPolicyCommitment parameter:
  741. * exit_role_stake_unstaking_period should be non-zero.
  742. **/
  743. ExitRoleStakeUnstakingPeriodIsZero: AugmentedError<ApiType>;
  744. /**
  745. * Invalid OpeningPolicyCommitment parameter:
  746. * fill_opening_failed_applicant_application_stake_unstaking_period should be non-zero.
  747. **/
  748. FillOpeningFailedApplicantApplicationStakeUnstakingPeriodIsZero: AugmentedError<ApiType>;
  749. /**
  750. * Invalid OpeningPolicyCommitment parameter:
  751. * fill_opening_failed_applicant_role_stake_unstaking_period should be non-zero.
  752. **/
  753. FillOpeningFailedApplicantRoleStakeUnstakingPeriodIsZero: AugmentedError<ApiType>;
  754. /**
  755. * Reward policy has invalid next payment block number.
  756. **/
  757. FillOpeningInvalidNextPaymentBlock: AugmentedError<ApiType>;
  758. /**
  759. * Working group mint does not exist.
  760. **/
  761. FillOpeningMintDoesNotExist: AugmentedError<ApiType>;
  762. /**
  763. * Invalid OpeningPolicyCommitment parameter:
  764. * fill_opening_successful_applicant_application_stake_unstaking_period should be non-zero.
  765. **/
  766. FillOpeningSuccessfulApplicantApplicationStakeUnstakingPeriodIsZero: AugmentedError<ApiType>;
  767. /**
  768. * Applications not for opening.
  769. **/
  770. FillWorkerOpeningApplicationForWrongOpening: AugmentedError<ApiType>;
  771. /**
  772. * Application does not exist.
  773. **/
  774. FullWorkerOpeningApplicationDoesNotExist: AugmentedError<ApiType>;
  775. /**
  776. * Application not in active stage.
  777. **/
  778. FullWorkerOpeningApplicationNotActive: AugmentedError<ApiType>;
  779. /**
  780. * OpeningDoesNotExist.
  781. **/
  782. FullWorkerOpeningOpeningDoesNotExist: AugmentedError<ApiType>;
  783. /**
  784. * Opening not in review period stage.
  785. **/
  786. FullWorkerOpeningOpeningNotInReviewPeriodStage: AugmentedError<ApiType>;
  787. /**
  788. * Application stake unstaking period for successful applicants redundant.
  789. **/
  790. FullWorkerOpeningSuccessfulApplicationStakeUnstakingPeriodRedundant: AugmentedError<ApiType>;
  791. /**
  792. * Application stake unstaking period for failed applicants too short.
  793. **/
  794. FullWorkerOpeningSuccessfulApplicationStakeUnstakingPeriodTooShort: AugmentedError<ApiType>;
  795. /**
  796. * Role stake unstaking period for successful applicants redundant.
  797. **/
  798. FullWorkerOpeningSuccessfulRoleStakeUnstakingPeriodRedundant: AugmentedError<ApiType>;
  799. /**
  800. * Role stake unstaking period for successful applicants too short.
  801. **/
  802. FullWorkerOpeningSuccessfulRoleStakeUnstakingPeriodTooShort: AugmentedError<ApiType>;
  803. /**
  804. * Application stake unstaking period for failed applicants redundant.
  805. **/
  806. FullWorkerOpeningUnsuccessfulApplicationStakeUnstakingPeriodRedundant: AugmentedError<ApiType>;
  807. /**
  808. * Application stake unstaking period for successful applicants too short.
  809. **/
  810. FullWorkerOpeningUnsuccessfulApplicationStakeUnstakingPeriodTooShort: AugmentedError<ApiType>;
  811. /**
  812. * Role stake unstaking period for failed applicants redundant.
  813. **/
  814. FullWorkerOpeningUnsuccessfulRoleStakeUnstakingPeriodRedundant: AugmentedError<ApiType>;
  815. /**
  816. * Role stake unstaking period for failed applicants too short.
  817. **/
  818. FullWorkerOpeningUnsuccessfulRoleStakeUnstakingPeriodTooShort: AugmentedError<ApiType>;
  819. /**
  820. * Insufficient balance to apply.
  821. **/
  822. InsufficientBalanceToApply: AugmentedError<ApiType>;
  823. /**
  824. * Insufficient balance to cover stake.
  825. **/
  826. InsufficientBalanceToCoverStake: AugmentedError<ApiType>;
  827. /**
  828. * Not a lead account.
  829. **/
  830. IsNotLeadAccount: AugmentedError<ApiType>;
  831. /**
  832. * Working group size limit exceeded.
  833. **/
  834. MaxActiveWorkerNumberExceeded: AugmentedError<ApiType>;
  835. /**
  836. * Member already has an active application on the opening.
  837. **/
  838. MemberHasActiveApplicationOnOpening: AugmentedError<ApiType>;
  839. /**
  840. * Member id is invalid.
  841. **/
  842. MembershipInvalidMemberId: AugmentedError<ApiType>;
  843. /**
  844. * Unsigned origin.
  845. **/
  846. MembershipUnsignedOrigin: AugmentedError<ApiType>;
  847. /**
  848. * Minting error: NextAdjustmentInPast
  849. **/
  850. MintingErrorNextAdjustmentInPast: AugmentedError<ApiType>;
  851. /**
  852. * Cannot get the worker stake profile.
  853. **/
  854. NoWorkerStakeProfile: AugmentedError<ApiType>;
  855. /**
  856. * Opening does not exist.
  857. **/
  858. OpeningDoesNotExist: AugmentedError<ApiType>;
  859. /**
  860. * Opening text too long.
  861. **/
  862. OpeningTextTooLong: AugmentedError<ApiType>;
  863. /**
  864. * Opening text too short.
  865. **/
  866. OpeningTextTooShort: AugmentedError<ApiType>;
  867. /**
  868. * Origin must be controller or root account of member.
  869. **/
  870. OriginIsNeitherMemberControllerOrRoot: AugmentedError<ApiType>;
  871. /**
  872. * Origin is not applicant.
  873. **/
  874. OriginIsNotApplicant: AugmentedError<ApiType>;
  875. /**
  876. * Next payment is not in the future.
  877. **/
  878. RecurringRewardsNextPaymentNotInFuture: AugmentedError<ApiType>;
  879. /**
  880. * Recipient not found.
  881. **/
  882. RecurringRewardsRecipientNotFound: AugmentedError<ApiType>;
  883. /**
  884. * Reward relationship not found.
  885. **/
  886. RecurringRewardsRewardRelationshipNotFound: AugmentedError<ApiType>;
  887. /**
  888. * Recipient reward source not found.
  889. **/
  890. RecurringRewardsRewardSourceNotFound: AugmentedError<ApiType>;
  891. /**
  892. * Relationship must exist.
  893. **/
  894. RelationshipMustExist: AugmentedError<ApiType>;
  895. /**
  896. * Require root origin in extrinsics.
  897. **/
  898. RequireRootOrigin: AugmentedError<ApiType>;
  899. /**
  900. * Require signed origin in extrinsics.
  901. **/
  902. RequireSignedOrigin: AugmentedError<ApiType>;
  903. /**
  904. * Invalid OpeningPolicyCommitment parameter (role_staking_policy):
  905. * crowded_out_unstaking_period_length should be non-zero.
  906. **/
  907. RoleStakingPolicyCrowdedOutUnstakingPeriodIsZero: AugmentedError<ApiType>;
  908. /**
  909. * Invalid OpeningPolicyCommitment parameter (role_staking_policy):
  910. * review_period_expired_unstaking_period_length should be non-zero.
  911. **/
  912. RoleStakingPolicyReviewPeriodUnstakingPeriodIsZero: AugmentedError<ApiType>;
  913. /**
  914. * Signer is not worker role account.
  915. **/
  916. SignerIsNotWorkerRoleAccount: AugmentedError<ApiType>;
  917. /**
  918. * Provided stake balance cannot be zero.
  919. **/
  920. StakeBalanceCannotBeZero: AugmentedError<ApiType>;
  921. /**
  922. * Already unstaking.
  923. **/
  924. StakingErrorAlreadyUnstaking: AugmentedError<ApiType>;
  925. /**
  926. * Cannot change stake by zero.
  927. **/
  928. StakingErrorCannotChangeStakeByZero: AugmentedError<ApiType>;
  929. /**
  930. * Cannot decrease stake while slashes ongoing.
  931. **/
  932. StakingErrorCannotDecreaseWhileSlashesOngoing: AugmentedError<ApiType>;
  933. /**
  934. * Cannot increase stake while unstaking.
  935. **/
  936. StakingErrorCannotIncreaseStakeWhileUnstaking: AugmentedError<ApiType>;
  937. /**
  938. * Cannot unstake while slashes ongoing.
  939. **/
  940. StakingErrorCannotUnstakeWhileSlashesOngoing: AugmentedError<ApiType>;
  941. /**
  942. * Insufficient balance in source account.
  943. **/
  944. StakingErrorInsufficientBalanceInSourceAccount: AugmentedError<ApiType>;
  945. /**
  946. * Insufficient stake to decrease.
  947. **/
  948. StakingErrorInsufficientStake: AugmentedError<ApiType>;
  949. /**
  950. * Not staked.
  951. **/
  952. StakingErrorNotStaked: AugmentedError<ApiType>;
  953. /**
  954. * Slash amount should be greater than zero.
  955. **/
  956. StakingErrorSlashAmountShouldBeGreaterThanZero: AugmentedError<ApiType>;
  957. /**
  958. * Stake not found.
  959. **/
  960. StakingErrorStakeNotFound: AugmentedError<ApiType>;
  961. /**
  962. * Unstaking period should be greater than zero.
  963. **/
  964. StakingErrorUnstakingPeriodShouldBeGreaterThanZero: AugmentedError<ApiType>;
  965. /**
  966. * Successful worker application does not exist.
  967. **/
  968. SuccessfulWorkerApplicationDoesNotExist: AugmentedError<ApiType>;
  969. /**
  970. * Invalid OpeningPolicyCommitment parameter:
  971. * terminate_application_stake_unstaking_period should be non-zero.
  972. **/
  973. TerminateApplicationStakeUnstakingPeriodIsZero: AugmentedError<ApiType>;
  974. /**
  975. * Invalid OpeningPolicyCommitment parameter:
  976. * terminate_role_stake_unstaking_period should be non-zero.
  977. **/
  978. TerminateRoleStakeUnstakingPeriodIsZero: AugmentedError<ApiType>;
  979. /**
  980. * Application does not exist.
  981. **/
  982. WithdrawWorkerApplicationApplicationDoesNotExist: AugmentedError<ApiType>;
  983. /**
  984. * Application is not active.
  985. **/
  986. WithdrawWorkerApplicationApplicationNotActive: AugmentedError<ApiType>;
  987. /**
  988. * Opening not accepting applications.
  989. **/
  990. WithdrawWorkerApplicationOpeningNotAcceptingApplications: AugmentedError<ApiType>;
  991. /**
  992. * Redundant unstaking period provided
  993. **/
  994. WithdrawWorkerApplicationRedundantUnstakingPeriod: AugmentedError<ApiType>;
  995. /**
  996. * UnstakingPeriodTooShort .... // <== SHOULD REALLY BE TWO SEPARATE, ONE FOR EACH STAKING PURPOSE
  997. **/
  998. WithdrawWorkerApplicationUnstakingPeriodTooShort: AugmentedError<ApiType>;
  999. /**
  1000. * Worker application does not exist.
  1001. **/
  1002. WorkerApplicationDoesNotExist: AugmentedError<ApiType>;
  1003. /**
  1004. * Worker application text too long.
  1005. **/
  1006. WorkerApplicationTextTooLong: AugmentedError<ApiType>;
  1007. /**
  1008. * Worker application text too short.
  1009. **/
  1010. WorkerApplicationTextTooShort: AugmentedError<ApiType>;
  1011. /**
  1012. * Worker does not exist.
  1013. **/
  1014. WorkerDoesNotExist: AugmentedError<ApiType>;
  1015. /**
  1016. * Worker exit rationale text is too long.
  1017. **/
  1018. WorkerExitRationaleTextTooLong: AugmentedError<ApiType>;
  1019. /**
  1020. * Worker exit rationale text is too short.
  1021. **/
  1022. WorkerExitRationaleTextTooShort: AugmentedError<ApiType>;
  1023. /**
  1024. * Worker has no recurring reward.
  1025. **/
  1026. WorkerHasNoReward: AugmentedError<ApiType>;
  1027. /**
  1028. * Worker storage text is too long.
  1029. **/
  1030. WorkerStorageValueTooLong: AugmentedError<ApiType>;
  1031. };
  1032. grandpa: {
  1033. /**
  1034. * Attempt to signal GRANDPA change with one already pending.
  1035. **/
  1036. ChangePending: AugmentedError<ApiType>;
  1037. /**
  1038. * A given equivocation report is valid but already previously reported.
  1039. **/
  1040. DuplicateOffenceReport: AugmentedError<ApiType>;
  1041. /**
  1042. * An equivocation proof provided as part of an equivocation report is invalid.
  1043. **/
  1044. InvalidEquivocationProof: AugmentedError<ApiType>;
  1045. /**
  1046. * A key ownership proof provided as part of an equivocation report is invalid.
  1047. **/
  1048. InvalidKeyOwnershipProof: AugmentedError<ApiType>;
  1049. /**
  1050. * Attempt to signal GRANDPA pause when the authority set isn't live
  1051. * (either paused or already pending pause).
  1052. **/
  1053. PauseFailed: AugmentedError<ApiType>;
  1054. /**
  1055. * Attempt to signal GRANDPA resume when the authority set isn't paused
  1056. * (either live or already pending resume).
  1057. **/
  1058. ResumeFailed: AugmentedError<ApiType>;
  1059. /**
  1060. * Cannot signal forced change so soon after last.
  1061. **/
  1062. TooSoon: AugmentedError<ApiType>;
  1063. };
  1064. imOnline: {
  1065. /**
  1066. * Duplicated heartbeat.
  1067. **/
  1068. DuplicatedHeartbeat: AugmentedError<ApiType>;
  1069. /**
  1070. * Non existent public key.
  1071. **/
  1072. InvalidKey: AugmentedError<ApiType>;
  1073. };
  1074. members: {
  1075. /**
  1076. * Avatar url is too long.
  1077. **/
  1078. AvatarUriTooLong: AugmentedError<ApiType>;
  1079. /**
  1080. * Controller account required.
  1081. **/
  1082. ControllerAccountRequired: AugmentedError<ApiType>;
  1083. /**
  1084. * Handle already registered.
  1085. **/
  1086. HandleAlreadyRegistered: AugmentedError<ApiType>;
  1087. /**
  1088. * Handle must be provided during registration.
  1089. **/
  1090. HandleMustBeProvidedDuringRegistration: AugmentedError<ApiType>;
  1091. /**
  1092. * Handle too long.
  1093. **/
  1094. HandleTooLong: AugmentedError<ApiType>;
  1095. /**
  1096. * Handle too short.
  1097. **/
  1098. HandleTooShort: AugmentedError<ApiType>;
  1099. /**
  1100. * Screening authority attempting to endow more that maximum allowed.
  1101. **/
  1102. InitialBalanceExceedsMaxInitialBalance: AugmentedError<ApiType>;
  1103. /**
  1104. * Member profile not found (invalid member id).
  1105. **/
  1106. MemberProfileNotFound: AugmentedError<ApiType>;
  1107. /**
  1108. * New memberships not allowed.
  1109. **/
  1110. NewMembershipsNotAllowed: AugmentedError<ApiType>;
  1111. /**
  1112. * A screening authority is not defined.
  1113. **/
  1114. NoScreeningAuthorityDefined: AugmentedError<ApiType>;
  1115. /**
  1116. * Not enough balance to buy membership.
  1117. **/
  1118. NotEnoughBalanceToBuyMembership: AugmentedError<ApiType>;
  1119. /**
  1120. * Origin is not the screeing authority.
  1121. **/
  1122. NotScreeningAuthority: AugmentedError<ApiType>;
  1123. /**
  1124. * Only new accounts can be used for screened members.
  1125. **/
  1126. OnlyNewAccountsCanBeUsedForScreenedMembers: AugmentedError<ApiType>;
  1127. /**
  1128. * Paid term id not active.
  1129. **/
  1130. PaidTermIdNotActive: AugmentedError<ApiType>;
  1131. /**
  1132. * Paid term id not found.
  1133. **/
  1134. PaidTermIdNotFound: AugmentedError<ApiType>;
  1135. /**
  1136. * Root account required.
  1137. **/
  1138. RootAccountRequired: AugmentedError<ApiType>;
  1139. /**
  1140. * Invalid origin.
  1141. **/
  1142. UnsignedOrigin: AugmentedError<ApiType>;
  1143. };
  1144. operationsWorkingGroup: {
  1145. /**
  1146. * Opening does not exist.
  1147. **/
  1148. AcceptWorkerApplicationsOpeningDoesNotExist: AugmentedError<ApiType>;
  1149. /**
  1150. * Opening Is Not in Waiting to begin.
  1151. **/
  1152. AcceptWorkerApplicationsOpeningIsNotWaitingToBegin: AugmentedError<ApiType>;
  1153. /**
  1154. * Opening does not activate in the future.
  1155. **/
  1156. AddWorkerOpeningActivatesInThePast: AugmentedError<ApiType>;
  1157. /**
  1158. * Add worker opening application stake cannot be zero.
  1159. **/
  1160. AddWorkerOpeningApplicationStakeCannotBeZero: AugmentedError<ApiType>;
  1161. /**
  1162. * Application stake amount less than minimum currency balance.
  1163. **/
  1164. AddWorkerOpeningAppliicationStakeLessThanMinimum: AugmentedError<ApiType>;
  1165. /**
  1166. * New application was crowded out.
  1167. **/
  1168. AddWorkerOpeningNewApplicationWasCrowdedOut: AugmentedError<ApiType>;
  1169. /**
  1170. * Opening does not exist.
  1171. **/
  1172. AddWorkerOpeningOpeningDoesNotExist: AugmentedError<ApiType>;
  1173. /**
  1174. * Opening is not in accepting applications stage.
  1175. **/
  1176. AddWorkerOpeningOpeningNotInAcceptingApplicationStage: AugmentedError<ApiType>;
  1177. /**
  1178. * Add worker opening role stake cannot be zero.
  1179. **/
  1180. AddWorkerOpeningRoleStakeCannotBeZero: AugmentedError<ApiType>;
  1181. /**
  1182. * Role stake amount less than minimum currency balance.
  1183. **/
  1184. AddWorkerOpeningRoleStakeLessThanMinimum: AugmentedError<ApiType>;
  1185. /**
  1186. * Stake amount too low.
  1187. **/
  1188. AddWorkerOpeningStakeAmountTooLow: AugmentedError<ApiType>;
  1189. /**
  1190. * Stake missing when required.
  1191. **/
  1192. AddWorkerOpeningStakeMissingWhenRequired: AugmentedError<ApiType>;
  1193. /**
  1194. * Stake provided when redundant.
  1195. **/
  1196. AddWorkerOpeningStakeProvidedWhenRedundant: AugmentedError<ApiType>;
  1197. /**
  1198. * Application rationing has zero max active applicants.
  1199. **/
  1200. AddWorkerOpeningZeroMaxApplicantCount: AugmentedError<ApiType>;
  1201. /**
  1202. * Invalid OpeningPolicyCommitment parameter (application_rationing_policy):
  1203. * max_active_applicants should be non-zero.
  1204. **/
  1205. ApplicationRationingPolicyMaxActiveApplicantsIsZero: AugmentedError<ApiType>;
  1206. /**
  1207. * Invalid OpeningPolicyCommitment parameter (application_staking_policy):
  1208. * crowded_out_unstaking_period_length should be non-zero.
  1209. **/
  1210. ApplicationStakingPolicyCrowdedOutUnstakingPeriodIsZero: AugmentedError<ApiType>;
  1211. /**
  1212. * Invalid OpeningPolicyCommitment parameter (application_staking_policy):
  1213. * review_period_expired_unstaking_period_length should be non-zero.
  1214. **/
  1215. ApplicationStakingPolicyReviewPeriodUnstakingPeriodIsZero: AugmentedError<ApiType>;
  1216. /**
  1217. * Signer does not match controller account.
  1218. **/
  1219. ApplyOnWorkerOpeningSignerNotControllerAccount: AugmentedError<ApiType>;
  1220. /**
  1221. * Opening does not exist.
  1222. **/
  1223. BeginWorkerApplicantReviewOpeningDoesNotExist: AugmentedError<ApiType>;
  1224. /**
  1225. * Opening Is Not in Waiting.
  1226. **/
  1227. BeginWorkerApplicantReviewOpeningOpeningIsNotWaitingToBegin: AugmentedError<ApiType>;
  1228. /**
  1229. * Cannot find mint in the minting module.
  1230. **/
  1231. CannotFindMint: AugmentedError<ApiType>;
  1232. /**
  1233. * There is leader already, cannot hire another one.
  1234. **/
  1235. CannotHireLeaderWhenLeaderExists: AugmentedError<ApiType>;
  1236. /**
  1237. * Cannot fill opening with multiple applications.
  1238. **/
  1239. CannotHireMultipleLeaders: AugmentedError<ApiType>;
  1240. /**
  1241. * Current lead is not set.
  1242. **/
  1243. CurrentLeadNotSet: AugmentedError<ApiType>;
  1244. /**
  1245. * Invalid OpeningPolicyCommitment parameter:
  1246. * exit_role_application_stake_unstaking_period should be non-zero.
  1247. **/
  1248. ExitRoleApplicationStakeUnstakingPeriodIsZero: AugmentedError<ApiType>;
  1249. /**
  1250. * Invalid OpeningPolicyCommitment parameter:
  1251. * exit_role_stake_unstaking_period should be non-zero.
  1252. **/
  1253. ExitRoleStakeUnstakingPeriodIsZero: AugmentedError<ApiType>;
  1254. /**
  1255. * Invalid OpeningPolicyCommitment parameter:
  1256. * fill_opening_failed_applicant_application_stake_unstaking_period should be non-zero.
  1257. **/
  1258. FillOpeningFailedApplicantApplicationStakeUnstakingPeriodIsZero: AugmentedError<ApiType>;
  1259. /**
  1260. * Invalid OpeningPolicyCommitment parameter:
  1261. * fill_opening_failed_applicant_role_stake_unstaking_period should be non-zero.
  1262. **/
  1263. FillOpeningFailedApplicantRoleStakeUnstakingPeriodIsZero: AugmentedError<ApiType>;
  1264. /**
  1265. * Reward policy has invalid next payment block number.
  1266. **/
  1267. FillOpeningInvalidNextPaymentBlock: AugmentedError<ApiType>;
  1268. /**
  1269. * Working group mint does not exist.
  1270. **/
  1271. FillOpeningMintDoesNotExist: AugmentedError<ApiType>;
  1272. /**
  1273. * Invalid OpeningPolicyCommitment parameter:
  1274. * fill_opening_successful_applicant_application_stake_unstaking_period should be non-zero.
  1275. **/
  1276. FillOpeningSuccessfulApplicantApplicationStakeUnstakingPeriodIsZero: AugmentedError<ApiType>;
  1277. /**
  1278. * Applications not for opening.
  1279. **/
  1280. FillWorkerOpeningApplicationForWrongOpening: AugmentedError<ApiType>;
  1281. /**
  1282. * Application does not exist.
  1283. **/
  1284. FullWorkerOpeningApplicationDoesNotExist: AugmentedError<ApiType>;
  1285. /**
  1286. * Application not in active stage.
  1287. **/
  1288. FullWorkerOpeningApplicationNotActive: AugmentedError<ApiType>;
  1289. /**
  1290. * OpeningDoesNotExist.
  1291. **/
  1292. FullWorkerOpeningOpeningDoesNotExist: AugmentedError<ApiType>;
  1293. /**
  1294. * Opening not in review period stage.
  1295. **/
  1296. FullWorkerOpeningOpeningNotInReviewPeriodStage: AugmentedError<ApiType>;
  1297. /**
  1298. * Application stake unstaking period for successful applicants redundant.
  1299. **/
  1300. FullWorkerOpeningSuccessfulApplicationStakeUnstakingPeriodRedundant: AugmentedError<ApiType>;
  1301. /**
  1302. * Application stake unstaking period for failed applicants too short.
  1303. **/
  1304. FullWorkerOpeningSuccessfulApplicationStakeUnstakingPeriodTooShort: AugmentedError<ApiType>;
  1305. /**
  1306. * Role stake unstaking period for successful applicants redundant.
  1307. **/
  1308. FullWorkerOpeningSuccessfulRoleStakeUnstakingPeriodRedundant: AugmentedError<ApiType>;
  1309. /**
  1310. * Role stake unstaking period for successful applicants too short.
  1311. **/
  1312. FullWorkerOpeningSuccessfulRoleStakeUnstakingPeriodTooShort: AugmentedError<ApiType>;
  1313. /**
  1314. * Application stake unstaking period for failed applicants redundant.
  1315. **/
  1316. FullWorkerOpeningUnsuccessfulApplicationStakeUnstakingPeriodRedundant: AugmentedError<ApiType>;
  1317. /**
  1318. * Application stake unstaking period for successful applicants too short.
  1319. **/
  1320. FullWorkerOpeningUnsuccessfulApplicationStakeUnstakingPeriodTooShort: AugmentedError<ApiType>;
  1321. /**
  1322. * Role stake unstaking period for failed applicants redundant.
  1323. **/
  1324. FullWorkerOpeningUnsuccessfulRoleStakeUnstakingPeriodRedundant: AugmentedError<ApiType>;
  1325. /**
  1326. * Role stake unstaking period for failed applicants too short.
  1327. **/
  1328. FullWorkerOpeningUnsuccessfulRoleStakeUnstakingPeriodTooShort: AugmentedError<ApiType>;
  1329. /**
  1330. * Insufficient balance to apply.
  1331. **/
  1332. InsufficientBalanceToApply: AugmentedError<ApiType>;
  1333. /**
  1334. * Insufficient balance to cover stake.
  1335. **/
  1336. InsufficientBalanceToCoverStake: AugmentedError<ApiType>;
  1337. /**
  1338. * Not a lead account.
  1339. **/
  1340. IsNotLeadAccount: AugmentedError<ApiType>;
  1341. /**
  1342. * Working group size limit exceeded.
  1343. **/
  1344. MaxActiveWorkerNumberExceeded: AugmentedError<ApiType>;
  1345. /**
  1346. * Member already has an active application on the opening.
  1347. **/
  1348. MemberHasActiveApplicationOnOpening: AugmentedError<ApiType>;
  1349. /**
  1350. * Member id is invalid.
  1351. **/
  1352. MembershipInvalidMemberId: AugmentedError<ApiType>;
  1353. /**
  1354. * Unsigned origin.
  1355. **/
  1356. MembershipUnsignedOrigin: AugmentedError<ApiType>;
  1357. /**
  1358. * Minting error: NextAdjustmentInPast
  1359. **/
  1360. MintingErrorNextAdjustmentInPast: AugmentedError<ApiType>;
  1361. /**
  1362. * Cannot get the worker stake profile.
  1363. **/
  1364. NoWorkerStakeProfile: AugmentedError<ApiType>;
  1365. /**
  1366. * Opening does not exist.
  1367. **/
  1368. OpeningDoesNotExist: AugmentedError<ApiType>;
  1369. /**
  1370. * Opening text too long.
  1371. **/
  1372. OpeningTextTooLong: AugmentedError<ApiType>;
  1373. /**
  1374. * Opening text too short.
  1375. **/
  1376. OpeningTextTooShort: AugmentedError<ApiType>;
  1377. /**
  1378. * Origin must be controller or root account of member.
  1379. **/
  1380. OriginIsNeitherMemberControllerOrRoot: AugmentedError<ApiType>;
  1381. /**
  1382. * Origin is not applicant.
  1383. **/
  1384. OriginIsNotApplicant: AugmentedError<ApiType>;
  1385. /**
  1386. * Next payment is not in the future.
  1387. **/
  1388. RecurringRewardsNextPaymentNotInFuture: AugmentedError<ApiType>;
  1389. /**
  1390. * Recipient not found.
  1391. **/
  1392. RecurringRewardsRecipientNotFound: AugmentedError<ApiType>;
  1393. /**
  1394. * Reward relationship not found.
  1395. **/
  1396. RecurringRewardsRewardRelationshipNotFound: AugmentedError<ApiType>;
  1397. /**
  1398. * Recipient reward source not found.
  1399. **/
  1400. RecurringRewardsRewardSourceNotFound: AugmentedError<ApiType>;
  1401. /**
  1402. * Relationship must exist.
  1403. **/
  1404. RelationshipMustExist: AugmentedError<ApiType>;
  1405. /**
  1406. * Require root origin in extrinsics.
  1407. **/
  1408. RequireRootOrigin: AugmentedError<ApiType>;
  1409. /**
  1410. * Require signed origin in extrinsics.
  1411. **/
  1412. RequireSignedOrigin: AugmentedError<ApiType>;
  1413. /**
  1414. * Invalid OpeningPolicyCommitment parameter (role_staking_policy):
  1415. * crowded_out_unstaking_period_length should be non-zero.
  1416. **/
  1417. RoleStakingPolicyCrowdedOutUnstakingPeriodIsZero: AugmentedError<ApiType>;
  1418. /**
  1419. * Invalid OpeningPolicyCommitment parameter (role_staking_policy):
  1420. * review_period_expired_unstaking_period_length should be non-zero.
  1421. **/
  1422. RoleStakingPolicyReviewPeriodUnstakingPeriodIsZero: AugmentedError<ApiType>;
  1423. /**
  1424. * Signer is not worker role account.
  1425. **/
  1426. SignerIsNotWorkerRoleAccount: AugmentedError<ApiType>;
  1427. /**
  1428. * Provided stake balance cannot be zero.
  1429. **/
  1430. StakeBalanceCannotBeZero: AugmentedError<ApiType>;
  1431. /**
  1432. * Already unstaking.
  1433. **/
  1434. StakingErrorAlreadyUnstaking: AugmentedError<ApiType>;
  1435. /**
  1436. * Cannot change stake by zero.
  1437. **/
  1438. StakingErrorCannotChangeStakeByZero: AugmentedError<ApiType>;
  1439. /**
  1440. * Cannot decrease stake while slashes ongoing.
  1441. **/
  1442. StakingErrorCannotDecreaseWhileSlashesOngoing: AugmentedError<ApiType>;
  1443. /**
  1444. * Cannot increase stake while unstaking.
  1445. **/
  1446. StakingErrorCannotIncreaseStakeWhileUnstaking: AugmentedError<ApiType>;
  1447. /**
  1448. * Cannot unstake while slashes ongoing.
  1449. **/
  1450. StakingErrorCannotUnstakeWhileSlashesOngoing: AugmentedError<ApiType>;
  1451. /**
  1452. * Insufficient balance in source account.
  1453. **/
  1454. StakingErrorInsufficientBalanceInSourceAccount: AugmentedError<ApiType>;
  1455. /**
  1456. * Insufficient stake to decrease.
  1457. **/
  1458. StakingErrorInsufficientStake: AugmentedError<ApiType>;
  1459. /**
  1460. * Not staked.
  1461. **/
  1462. StakingErrorNotStaked: AugmentedError<ApiType>;
  1463. /**
  1464. * Slash amount should be greater than zero.
  1465. **/
  1466. StakingErrorSlashAmountShouldBeGreaterThanZero: AugmentedError<ApiType>;
  1467. /**
  1468. * Stake not found.
  1469. **/
  1470. StakingErrorStakeNotFound: AugmentedError<ApiType>;
  1471. /**
  1472. * Unstaking period should be greater than zero.
  1473. **/
  1474. StakingErrorUnstakingPeriodShouldBeGreaterThanZero: AugmentedError<ApiType>;
  1475. /**
  1476. * Successful worker application does not exist.
  1477. **/
  1478. SuccessfulWorkerApplicationDoesNotExist: AugmentedError<ApiType>;
  1479. /**
  1480. * Invalid OpeningPolicyCommitment parameter:
  1481. * terminate_application_stake_unstaking_period should be non-zero.
  1482. **/
  1483. TerminateApplicationStakeUnstakingPeriodIsZero: AugmentedError<ApiType>;
  1484. /**
  1485. * Invalid OpeningPolicyCommitment parameter:
  1486. * terminate_role_stake_unstaking_period should be non-zero.
  1487. **/
  1488. TerminateRoleStakeUnstakingPeriodIsZero: AugmentedError<ApiType>;
  1489. /**
  1490. * Application does not exist.
  1491. **/
  1492. WithdrawWorkerApplicationApplicationDoesNotExist: AugmentedError<ApiType>;
  1493. /**
  1494. * Application is not active.
  1495. **/
  1496. WithdrawWorkerApplicationApplicationNotActive: AugmentedError<ApiType>;
  1497. /**
  1498. * Opening not accepting applications.
  1499. **/
  1500. WithdrawWorkerApplicationOpeningNotAcceptingApplications: AugmentedError<ApiType>;
  1501. /**
  1502. * Redundant unstaking period provided
  1503. **/
  1504. WithdrawWorkerApplicationRedundantUnstakingPeriod: AugmentedError<ApiType>;
  1505. /**
  1506. * UnstakingPeriodTooShort .... // <== SHOULD REALLY BE TWO SEPARATE, ONE FOR EACH STAKING PURPOSE
  1507. **/
  1508. WithdrawWorkerApplicationUnstakingPeriodTooShort: AugmentedError<ApiType>;
  1509. /**
  1510. * Worker application does not exist.
  1511. **/
  1512. WorkerApplicationDoesNotExist: AugmentedError<ApiType>;
  1513. /**
  1514. * Worker application text too long.
  1515. **/
  1516. WorkerApplicationTextTooLong: AugmentedError<ApiType>;
  1517. /**
  1518. * Worker application text too short.
  1519. **/
  1520. WorkerApplicationTextTooShort: AugmentedError<ApiType>;
  1521. /**
  1522. * Worker does not exist.
  1523. **/
  1524. WorkerDoesNotExist: AugmentedError<ApiType>;
  1525. /**
  1526. * Worker exit rationale text is too long.
  1527. **/
  1528. WorkerExitRationaleTextTooLong: AugmentedError<ApiType>;
  1529. /**
  1530. * Worker exit rationale text is too short.
  1531. **/
  1532. WorkerExitRationaleTextTooShort: AugmentedError<ApiType>;
  1533. /**
  1534. * Worker has no recurring reward.
  1535. **/
  1536. WorkerHasNoReward: AugmentedError<ApiType>;
  1537. /**
  1538. * Worker storage text is too long.
  1539. **/
  1540. WorkerStorageValueTooLong: AugmentedError<ApiType>;
  1541. };
  1542. proposalsCodex: {
  1543. /**
  1544. * Invalid 'decrease stake proposal' parameter - cannot decrease by zero balance.
  1545. **/
  1546. DecreasingStakeIsZero: AugmentedError<ApiType>;
  1547. /**
  1548. * Invalid content working group mint capacity parameter
  1549. **/
  1550. InvalidContentWorkingGroupMintCapacity: AugmentedError<ApiType>;
  1551. /**
  1552. * Invalid council election parameter - announcing_period
  1553. **/
  1554. InvalidCouncilElectionParameterAnnouncingPeriod: AugmentedError<ApiType>;
  1555. /**
  1556. * Invalid council election parameter - candidacy-limit
  1557. **/
  1558. InvalidCouncilElectionParameterCandidacyLimit: AugmentedError<ApiType>;
  1559. /**
  1560. * Invalid council election parameter - council_size
  1561. **/
  1562. InvalidCouncilElectionParameterCouncilSize: AugmentedError<ApiType>;
  1563. /**
  1564. * Invalid council election parameter - min_council_stake
  1565. **/
  1566. InvalidCouncilElectionParameterMinCouncilStake: AugmentedError<ApiType>;
  1567. /**
  1568. * Invalid council election parameter - min-voting_stake
  1569. **/
  1570. InvalidCouncilElectionParameterMinVotingStake: AugmentedError<ApiType>;
  1571. /**
  1572. * Invalid council election parameter - new_term_duration
  1573. **/
  1574. InvalidCouncilElectionParameterNewTermDuration: AugmentedError<ApiType>;
  1575. /**
  1576. * Invalid council election parameter - revealing_period
  1577. **/
  1578. InvalidCouncilElectionParameterRevealingPeriod: AugmentedError<ApiType>;
  1579. /**
  1580. * Invalid council election parameter - voting_period
  1581. **/
  1582. InvalidCouncilElectionParameterVotingPeriod: AugmentedError<ApiType>;
  1583. /**
  1584. * Invalid 'set lead proposal' parameter - proposed lead cannot be a councilor
  1585. **/
  1586. InvalidSetLeadParameterCannotBeCouncilor: AugmentedError<ApiType>;
  1587. /**
  1588. * Invalid balance value for the spending proposal
  1589. **/
  1590. InvalidSpendingProposalBalance: AugmentedError<ApiType>;
  1591. /**
  1592. * Invalid validator count for the 'set validator count' proposal
  1593. **/
  1594. InvalidValidatorCount: AugmentedError<ApiType>;
  1595. /**
  1596. * Invalid working group mint capacity parameter
  1597. **/
  1598. InvalidWorkingGroupMintCapacity: AugmentedError<ApiType>;
  1599. /**
  1600. * Require root origin in extrinsics
  1601. **/
  1602. RequireRootOrigin: AugmentedError<ApiType>;
  1603. /**
  1604. * Provided WASM code for the runtime upgrade proposal is empty
  1605. **/
  1606. RuntimeProposalIsEmpty: AugmentedError<ApiType>;
  1607. /**
  1608. * The size of the provided WASM code for the runtime upgrade proposal exceeded the limit
  1609. **/
  1610. RuntimeProposalSizeExceeded: AugmentedError<ApiType>;
  1611. /**
  1612. * Invalid 'slash stake proposal' parameter - cannot slash by zero balance.
  1613. **/
  1614. SlashingStakeIsZero: AugmentedError<ApiType>;
  1615. /**
  1616. * Provided text for text proposal is empty
  1617. **/
  1618. TextProposalIsEmpty: AugmentedError<ApiType>;
  1619. /**
  1620. * The size of the provided text for text proposal exceeded the limit
  1621. **/
  1622. TextProposalSizeExceeded: AugmentedError<ApiType>;
  1623. };
  1624. proposalsDiscussion: {
  1625. /**
  1626. * Post cannot be empty
  1627. **/
  1628. EmptyPostProvided: AugmentedError<ApiType>;
  1629. /**
  1630. * Discussion cannot have an empty title
  1631. **/
  1632. EmptyTitleProvided: AugmentedError<ApiType>;
  1633. /**
  1634. * Max number of threads by same author in a row limit exceeded
  1635. **/
  1636. MaxThreadInARowLimitExceeded: AugmentedError<ApiType>;
  1637. /**
  1638. * Author should match the post creator
  1639. **/
  1640. NotAuthor: AugmentedError<ApiType>;
  1641. /**
  1642. * Post doesn't exist
  1643. **/
  1644. PostDoesntExist: AugmentedError<ApiType>;
  1645. /**
  1646. * Post edition limit reached
  1647. **/
  1648. PostEditionNumberExceeded: AugmentedError<ApiType>;
  1649. /**
  1650. * Post is too long
  1651. **/
  1652. PostIsTooLong: AugmentedError<ApiType>;
  1653. /**
  1654. * Require root origin in extrinsics
  1655. **/
  1656. RequireRootOrigin: AugmentedError<ApiType>;
  1657. /**
  1658. * Thread doesn't exist
  1659. **/
  1660. ThreadDoesntExist: AugmentedError<ApiType>;
  1661. /**
  1662. * Title is too long
  1663. **/
  1664. TitleIsTooLong: AugmentedError<ApiType>;
  1665. };
  1666. proposalsEngine: {
  1667. /**
  1668. * The proposal have been already voted on
  1669. **/
  1670. AlreadyVoted: AugmentedError<ApiType>;
  1671. /**
  1672. * Description is too long
  1673. **/
  1674. DescriptionIsTooLong: AugmentedError<ApiType>;
  1675. /**
  1676. * Proposal cannot have an empty body
  1677. **/
  1678. EmptyDescriptionProvided: AugmentedError<ApiType>;
  1679. /**
  1680. * Stake cannot be empty with this proposal
  1681. **/
  1682. EmptyStake: AugmentedError<ApiType>;
  1683. /**
  1684. * Proposal cannot have an empty title"
  1685. **/
  1686. EmptyTitleProvided: AugmentedError<ApiType>;
  1687. /**
  1688. * Insufficient balance for operation.
  1689. **/
  1690. InsufficientBalance: AugmentedError<ApiType>;
  1691. /**
  1692. * Approval threshold cannot be zero
  1693. **/
  1694. InvalidParameterApprovalThreshold: AugmentedError<ApiType>;
  1695. /**
  1696. * Slashing threshold cannot be zero
  1697. **/
  1698. InvalidParameterSlashingThreshold: AugmentedError<ApiType>;
  1699. /**
  1700. * Max active proposals number exceeded
  1701. **/
  1702. MaxActiveProposalNumberExceeded: AugmentedError<ApiType>;
  1703. /**
  1704. * Not an author
  1705. **/
  1706. NotAuthor: AugmentedError<ApiType>;
  1707. /**
  1708. * Proposal is finalized already
  1709. **/
  1710. ProposalFinalized: AugmentedError<ApiType>;
  1711. /**
  1712. * The proposal does not exist
  1713. **/
  1714. ProposalNotFound: AugmentedError<ApiType>;
  1715. /**
  1716. * Require root origin in extrinsics
  1717. **/
  1718. RequireRootOrigin: AugmentedError<ApiType>;
  1719. /**
  1720. * Stake differs from the proposal requirements
  1721. **/
  1722. StakeDiffersFromRequired: AugmentedError<ApiType>;
  1723. /**
  1724. * Stake should be empty for this proposal
  1725. **/
  1726. StakeShouldBeEmpty: AugmentedError<ApiType>;
  1727. /**
  1728. * Title is too long
  1729. **/
  1730. TitleIsTooLong: AugmentedError<ApiType>;
  1731. };
  1732. session: {
  1733. /**
  1734. * Registered duplicate key.
  1735. **/
  1736. DuplicatedKey: AugmentedError<ApiType>;
  1737. /**
  1738. * Invalid ownership proof.
  1739. **/
  1740. InvalidProof: AugmentedError<ApiType>;
  1741. /**
  1742. * No associated validator ID for account.
  1743. **/
  1744. NoAssociatedValidatorId: AugmentedError<ApiType>;
  1745. /**
  1746. * No keys are associated with this account.
  1747. **/
  1748. NoKeys: AugmentedError<ApiType>;
  1749. };
  1750. staking: {
  1751. /**
  1752. * Stash is already bonded.
  1753. **/
  1754. AlreadyBonded: AugmentedError<ApiType>;
  1755. /**
  1756. * Rewards for this era have already been claimed for this validator.
  1757. **/
  1758. AlreadyClaimed: AugmentedError<ApiType>;
  1759. /**
  1760. * Controller is already paired.
  1761. **/
  1762. AlreadyPaired: AugmentedError<ApiType>;
  1763. /**
  1764. * The call is not allowed at the given time due to restrictions of election period.
  1765. **/
  1766. CallNotAllowed: AugmentedError<ApiType>;
  1767. /**
  1768. * Duplicate index.
  1769. **/
  1770. DuplicateIndex: AugmentedError<ApiType>;
  1771. /**
  1772. * Targets cannot be empty.
  1773. **/
  1774. EmptyTargets: AugmentedError<ApiType>;
  1775. /**
  1776. * Attempting to target a stash that still has funds.
  1777. **/
  1778. FundedTarget: AugmentedError<ApiType>;
  1779. /**
  1780. * Incorrect previous history depth input provided.
  1781. **/
  1782. IncorrectHistoryDepth: AugmentedError<ApiType>;
  1783. /**
  1784. * Incorrect number of slashing spans provided.
  1785. **/
  1786. IncorrectSlashingSpans: AugmentedError<ApiType>;
  1787. /**
  1788. * Can not bond with value less than minimum balance.
  1789. **/
  1790. InsufficientValue: AugmentedError<ApiType>;
  1791. /**
  1792. * Invalid era to reward.
  1793. **/
  1794. InvalidEraToReward: AugmentedError<ApiType>;
  1795. /**
  1796. * Invalid number of nominations.
  1797. **/
  1798. InvalidNumberOfNominations: AugmentedError<ApiType>;
  1799. /**
  1800. * Slash record index out of bounds.
  1801. **/
  1802. InvalidSlashIndex: AugmentedError<ApiType>;
  1803. /**
  1804. * Can not schedule more unlock chunks.
  1805. **/
  1806. NoMoreChunks: AugmentedError<ApiType>;
  1807. /**
  1808. * Not a controller account.
  1809. **/
  1810. NotController: AugmentedError<ApiType>;
  1811. /**
  1812. * Items are not sorted and unique.
  1813. **/
  1814. NotSortedAndUnique: AugmentedError<ApiType>;
  1815. /**
  1816. * Not a stash account.
  1817. **/
  1818. NotStash: AugmentedError<ApiType>;
  1819. /**
  1820. * Can not rebond without unlocking chunks.
  1821. **/
  1822. NoUnlockChunk: AugmentedError<ApiType>;
  1823. /**
  1824. * Error while building the assignment type from the compact. This can happen if an index
  1825. * is invalid, or if the weights _overflow_.
  1826. **/
  1827. OffchainElectionBogusCompact: AugmentedError<ApiType>;
  1828. /**
  1829. * The submitted result has unknown edges that are not among the presented winners.
  1830. **/
  1831. OffchainElectionBogusEdge: AugmentedError<ApiType>;
  1832. /**
  1833. * The election size is invalid.
  1834. **/
  1835. OffchainElectionBogusElectionSize: AugmentedError<ApiType>;
  1836. /**
  1837. * One of the submitted nominators has an edge to which they have not voted on chain.
  1838. **/
  1839. OffchainElectionBogusNomination: AugmentedError<ApiType>;
  1840. /**
  1841. * One of the submitted nominators is not an active nominator on chain.
  1842. **/
  1843. OffchainElectionBogusNominator: AugmentedError<ApiType>;
  1844. /**
  1845. * The claimed score does not match with the one computed from the data.
  1846. **/
  1847. OffchainElectionBogusScore: AugmentedError<ApiType>;
  1848. /**
  1849. * A self vote must only be originated from a validator to ONLY themselves.
  1850. **/
  1851. OffchainElectionBogusSelfVote: AugmentedError<ApiType>;
  1852. /**
  1853. * One of the submitted winners is not an active candidate on chain (index is out of range
  1854. * in snapshot).
  1855. **/
  1856. OffchainElectionBogusWinner: AugmentedError<ApiType>;
  1857. /**
  1858. * Incorrect number of winners were presented.
  1859. **/
  1860. OffchainElectionBogusWinnerCount: AugmentedError<ApiType>;
  1861. /**
  1862. * The submitted result is received out of the open window.
  1863. **/
  1864. OffchainElectionEarlySubmission: AugmentedError<ApiType>;
  1865. /**
  1866. * One of the submitted nominators has an edge which is submitted before the last non-zero
  1867. * slash of the target.
  1868. **/
  1869. OffchainElectionSlashedNomination: AugmentedError<ApiType>;
  1870. /**
  1871. * The submitted result is not as good as the one stored on chain.
  1872. **/
  1873. OffchainElectionWeakSubmission: AugmentedError<ApiType>;
  1874. /**
  1875. * The snapshot data of the current window is missing.
  1876. **/
  1877. SnapshotUnavailable: AugmentedError<ApiType>;
  1878. };
  1879. storageWorkingGroup: {
  1880. /**
  1881. * Opening does not exist.
  1882. **/
  1883. AcceptWorkerApplicationsOpeningDoesNotExist: AugmentedError<ApiType>;
  1884. /**
  1885. * Opening Is Not in Waiting to begin.
  1886. **/
  1887. AcceptWorkerApplicationsOpeningIsNotWaitingToBegin: AugmentedError<ApiType>;
  1888. /**
  1889. * Opening does not activate in the future.
  1890. **/
  1891. AddWorkerOpeningActivatesInThePast: AugmentedError<ApiType>;
  1892. /**
  1893. * Add worker opening application stake cannot be zero.
  1894. **/
  1895. AddWorkerOpeningApplicationStakeCannotBeZero: AugmentedError<ApiType>;
  1896. /**
  1897. * Application stake amount less than minimum currency balance.
  1898. **/
  1899. AddWorkerOpeningAppliicationStakeLessThanMinimum: AugmentedError<ApiType>;
  1900. /**
  1901. * New application was crowded out.
  1902. **/
  1903. AddWorkerOpeningNewApplicationWasCrowdedOut: AugmentedError<ApiType>;
  1904. /**
  1905. * Opening does not exist.
  1906. **/
  1907. AddWorkerOpeningOpeningDoesNotExist: AugmentedError<ApiType>;
  1908. /**
  1909. * Opening is not in accepting applications stage.
  1910. **/
  1911. AddWorkerOpeningOpeningNotInAcceptingApplicationStage: AugmentedError<ApiType>;
  1912. /**
  1913. * Add worker opening role stake cannot be zero.
  1914. **/
  1915. AddWorkerOpeningRoleStakeCannotBeZero: AugmentedError<ApiType>;
  1916. /**
  1917. * Role stake amount less than minimum currency balance.
  1918. **/
  1919. AddWorkerOpeningRoleStakeLessThanMinimum: AugmentedError<ApiType>;
  1920. /**
  1921. * Stake amount too low.
  1922. **/
  1923. AddWorkerOpeningStakeAmountTooLow: AugmentedError<ApiType>;
  1924. /**
  1925. * Stake missing when required.
  1926. **/
  1927. AddWorkerOpeningStakeMissingWhenRequired: AugmentedError<ApiType>;
  1928. /**
  1929. * Stake provided when redundant.
  1930. **/
  1931. AddWorkerOpeningStakeProvidedWhenRedundant: AugmentedError<ApiType>;
  1932. /**
  1933. * Application rationing has zero max active applicants.
  1934. **/
  1935. AddWorkerOpeningZeroMaxApplicantCount: AugmentedError<ApiType>;
  1936. /**
  1937. * Invalid OpeningPolicyCommitment parameter (application_rationing_policy):
  1938. * max_active_applicants should be non-zero.
  1939. **/
  1940. ApplicationRationingPolicyMaxActiveApplicantsIsZero: AugmentedError<ApiType>;
  1941. /**
  1942. * Invalid OpeningPolicyCommitment parameter (application_staking_policy):
  1943. * crowded_out_unstaking_period_length should be non-zero.
  1944. **/
  1945. ApplicationStakingPolicyCrowdedOutUnstakingPeriodIsZero: AugmentedError<ApiType>;
  1946. /**
  1947. * Invalid OpeningPolicyCommitment parameter (application_staking_policy):
  1948. * review_period_expired_unstaking_period_length should be non-zero.
  1949. **/
  1950. ApplicationStakingPolicyReviewPeriodUnstakingPeriodIsZero: AugmentedError<ApiType>;
  1951. /**
  1952. * Signer does not match controller account.
  1953. **/
  1954. ApplyOnWorkerOpeningSignerNotControllerAccount: AugmentedError<ApiType>;
  1955. /**
  1956. * Opening does not exist.
  1957. **/
  1958. BeginWorkerApplicantReviewOpeningDoesNotExist: AugmentedError<ApiType>;
  1959. /**
  1960. * Opening Is Not in Waiting.
  1961. **/
  1962. BeginWorkerApplicantReviewOpeningOpeningIsNotWaitingToBegin: AugmentedError<ApiType>;
  1963. /**
  1964. * Cannot find mint in the minting module.
  1965. **/
  1966. CannotFindMint: AugmentedError<ApiType>;
  1967. /**
  1968. * There is leader already, cannot hire another one.
  1969. **/
  1970. CannotHireLeaderWhenLeaderExists: AugmentedError<ApiType>;
  1971. /**
  1972. * Cannot fill opening with multiple applications.
  1973. **/
  1974. CannotHireMultipleLeaders: AugmentedError<ApiType>;
  1975. /**
  1976. * Current lead is not set.
  1977. **/
  1978. CurrentLeadNotSet: AugmentedError<ApiType>;
  1979. /**
  1980. * Invalid OpeningPolicyCommitment parameter:
  1981. * exit_role_application_stake_unstaking_period should be non-zero.
  1982. **/
  1983. ExitRoleApplicationStakeUnstakingPeriodIsZero: AugmentedError<ApiType>;
  1984. /**
  1985. * Invalid OpeningPolicyCommitment parameter:
  1986. * exit_role_stake_unstaking_period should be non-zero.
  1987. **/
  1988. ExitRoleStakeUnstakingPeriodIsZero: AugmentedError<ApiType>;
  1989. /**
  1990. * Invalid OpeningPolicyCommitment parameter:
  1991. * fill_opening_failed_applicant_application_stake_unstaking_period should be non-zero.
  1992. **/
  1993. FillOpeningFailedApplicantApplicationStakeUnstakingPeriodIsZero: AugmentedError<ApiType>;
  1994. /**
  1995. * Invalid OpeningPolicyCommitment parameter:
  1996. * fill_opening_failed_applicant_role_stake_unstaking_period should be non-zero.
  1997. **/
  1998. FillOpeningFailedApplicantRoleStakeUnstakingPeriodIsZero: AugmentedError<ApiType>;
  1999. /**
  2000. * Reward policy has invalid next payment block number.
  2001. **/
  2002. FillOpeningInvalidNextPaymentBlock: AugmentedError<ApiType>;
  2003. /**
  2004. * Working group mint does not exist.
  2005. **/
  2006. FillOpeningMintDoesNotExist: AugmentedError<ApiType>;
  2007. /**
  2008. * Invalid OpeningPolicyCommitment parameter:
  2009. * fill_opening_successful_applicant_application_stake_unstaking_period should be non-zero.
  2010. **/
  2011. FillOpeningSuccessfulApplicantApplicationStakeUnstakingPeriodIsZero: AugmentedError<ApiType>;
  2012. /**
  2013. * Applications not for opening.
  2014. **/
  2015. FillWorkerOpeningApplicationForWrongOpening: AugmentedError<ApiType>;
  2016. /**
  2017. * Application does not exist.
  2018. **/
  2019. FullWorkerOpeningApplicationDoesNotExist: AugmentedError<ApiType>;
  2020. /**
  2021. * Application not in active stage.
  2022. **/
  2023. FullWorkerOpeningApplicationNotActive: AugmentedError<ApiType>;
  2024. /**
  2025. * OpeningDoesNotExist.
  2026. **/
  2027. FullWorkerOpeningOpeningDoesNotExist: AugmentedError<ApiType>;
  2028. /**
  2029. * Opening not in review period stage.
  2030. **/
  2031. FullWorkerOpeningOpeningNotInReviewPeriodStage: AugmentedError<ApiType>;
  2032. /**
  2033. * Application stake unstaking period for successful applicants redundant.
  2034. **/
  2035. FullWorkerOpeningSuccessfulApplicationStakeUnstakingPeriodRedundant: AugmentedError<ApiType>;
  2036. /**
  2037. * Application stake unstaking period for failed applicants too short.
  2038. **/
  2039. FullWorkerOpeningSuccessfulApplicationStakeUnstakingPeriodTooShort: AugmentedError<ApiType>;
  2040. /**
  2041. * Role stake unstaking period for successful applicants redundant.
  2042. **/
  2043. FullWorkerOpeningSuccessfulRoleStakeUnstakingPeriodRedundant: AugmentedError<ApiType>;
  2044. /**
  2045. * Role stake unstaking period for successful applicants too short.
  2046. **/
  2047. FullWorkerOpeningSuccessfulRoleStakeUnstakingPeriodTooShort: AugmentedError<ApiType>;
  2048. /**
  2049. * Application stake unstaking period for failed applicants redundant.
  2050. **/
  2051. FullWorkerOpeningUnsuccessfulApplicationStakeUnstakingPeriodRedundant: AugmentedError<ApiType>;
  2052. /**
  2053. * Application stake unstaking period for successful applicants too short.
  2054. **/
  2055. FullWorkerOpeningUnsuccessfulApplicationStakeUnstakingPeriodTooShort: AugmentedError<ApiType>;
  2056. /**
  2057. * Role stake unstaking period for failed applicants redundant.
  2058. **/
  2059. FullWorkerOpeningUnsuccessfulRoleStakeUnstakingPeriodRedundant: AugmentedError<ApiType>;
  2060. /**
  2061. * Role stake unstaking period for failed applicants too short.
  2062. **/
  2063. FullWorkerOpeningUnsuccessfulRoleStakeUnstakingPeriodTooShort: AugmentedError<ApiType>;
  2064. /**
  2065. * Insufficient balance to apply.
  2066. **/
  2067. InsufficientBalanceToApply: AugmentedError<ApiType>;
  2068. /**
  2069. * Insufficient balance to cover stake.
  2070. **/
  2071. InsufficientBalanceToCoverStake: AugmentedError<ApiType>;
  2072. /**
  2073. * Not a lead account.
  2074. **/
  2075. IsNotLeadAccount: AugmentedError<ApiType>;
  2076. /**
  2077. * Working group size limit exceeded.
  2078. **/
  2079. MaxActiveWorkerNumberExceeded: AugmentedError<ApiType>;
  2080. /**
  2081. * Member already has an active application on the opening.
  2082. **/
  2083. MemberHasActiveApplicationOnOpening: AugmentedError<ApiType>;
  2084. /**
  2085. * Member id is invalid.
  2086. **/
  2087. MembershipInvalidMemberId: AugmentedError<ApiType>;
  2088. /**
  2089. * Unsigned origin.
  2090. **/
  2091. MembershipUnsignedOrigin: AugmentedError<ApiType>;
  2092. /**
  2093. * Minting error: NextAdjustmentInPast
  2094. **/
  2095. MintingErrorNextAdjustmentInPast: AugmentedError<ApiType>;
  2096. /**
  2097. * Cannot get the worker stake profile.
  2098. **/
  2099. NoWorkerStakeProfile: AugmentedError<ApiType>;
  2100. /**
  2101. * Opening does not exist.
  2102. **/
  2103. OpeningDoesNotExist: AugmentedError<ApiType>;
  2104. /**
  2105. * Opening text too long.
  2106. **/
  2107. OpeningTextTooLong: AugmentedError<ApiType>;
  2108. /**
  2109. * Opening text too short.
  2110. **/
  2111. OpeningTextTooShort: AugmentedError<ApiType>;
  2112. /**
  2113. * Origin must be controller or root account of member.
  2114. **/
  2115. OriginIsNeitherMemberControllerOrRoot: AugmentedError<ApiType>;
  2116. /**
  2117. * Origin is not applicant.
  2118. **/
  2119. OriginIsNotApplicant: AugmentedError<ApiType>;
  2120. /**
  2121. * Next payment is not in the future.
  2122. **/
  2123. RecurringRewardsNextPaymentNotInFuture: AugmentedError<ApiType>;
  2124. /**
  2125. * Recipient not found.
  2126. **/
  2127. RecurringRewardsRecipientNotFound: AugmentedError<ApiType>;
  2128. /**
  2129. * Reward relationship not found.
  2130. **/
  2131. RecurringRewardsRewardRelationshipNotFound: AugmentedError<ApiType>;
  2132. /**
  2133. * Recipient reward source not found.
  2134. **/
  2135. RecurringRewardsRewardSourceNotFound: AugmentedError<ApiType>;
  2136. /**
  2137. * Relationship must exist.
  2138. **/
  2139. RelationshipMustExist: AugmentedError<ApiType>;
  2140. /**
  2141. * Require root origin in extrinsics.
  2142. **/
  2143. RequireRootOrigin: AugmentedError<ApiType>;
  2144. /**
  2145. * Require signed origin in extrinsics.
  2146. **/
  2147. RequireSignedOrigin: AugmentedError<ApiType>;
  2148. /**
  2149. * Invalid OpeningPolicyCommitment parameter (role_staking_policy):
  2150. * crowded_out_unstaking_period_length should be non-zero.
  2151. **/
  2152. RoleStakingPolicyCrowdedOutUnstakingPeriodIsZero: AugmentedError<ApiType>;
  2153. /**
  2154. * Invalid OpeningPolicyCommitment parameter (role_staking_policy):
  2155. * review_period_expired_unstaking_period_length should be non-zero.
  2156. **/
  2157. RoleStakingPolicyReviewPeriodUnstakingPeriodIsZero: AugmentedError<ApiType>;
  2158. /**
  2159. * Signer is not worker role account.
  2160. **/
  2161. SignerIsNotWorkerRoleAccount: AugmentedError<ApiType>;
  2162. /**
  2163. * Provided stake balance cannot be zero.
  2164. **/
  2165. StakeBalanceCannotBeZero: AugmentedError<ApiType>;
  2166. /**
  2167. * Already unstaking.
  2168. **/
  2169. StakingErrorAlreadyUnstaking: AugmentedError<ApiType>;
  2170. /**
  2171. * Cannot change stake by zero.
  2172. **/
  2173. StakingErrorCannotChangeStakeByZero: AugmentedError<ApiType>;
  2174. /**
  2175. * Cannot decrease stake while slashes ongoing.
  2176. **/
  2177. StakingErrorCannotDecreaseWhileSlashesOngoing: AugmentedError<ApiType>;
  2178. /**
  2179. * Cannot increase stake while unstaking.
  2180. **/
  2181. StakingErrorCannotIncreaseStakeWhileUnstaking: AugmentedError<ApiType>;
  2182. /**
  2183. * Cannot unstake while slashes ongoing.
  2184. **/
  2185. StakingErrorCannotUnstakeWhileSlashesOngoing: AugmentedError<ApiType>;
  2186. /**
  2187. * Insufficient balance in source account.
  2188. **/
  2189. StakingErrorInsufficientBalanceInSourceAccount: AugmentedError<ApiType>;
  2190. /**
  2191. * Insufficient stake to decrease.
  2192. **/
  2193. StakingErrorInsufficientStake: AugmentedError<ApiType>;
  2194. /**
  2195. * Not staked.
  2196. **/
  2197. StakingErrorNotStaked: AugmentedError<ApiType>;
  2198. /**
  2199. * Slash amount should be greater than zero.
  2200. **/
  2201. StakingErrorSlashAmountShouldBeGreaterThanZero: AugmentedError<ApiType>;
  2202. /**
  2203. * Stake not found.
  2204. **/
  2205. StakingErrorStakeNotFound: AugmentedError<ApiType>;
  2206. /**
  2207. * Unstaking period should be greater than zero.
  2208. **/
  2209. StakingErrorUnstakingPeriodShouldBeGreaterThanZero: AugmentedError<ApiType>;
  2210. /**
  2211. * Successful worker application does not exist.
  2212. **/
  2213. SuccessfulWorkerApplicationDoesNotExist: AugmentedError<ApiType>;
  2214. /**
  2215. * Invalid OpeningPolicyCommitment parameter:
  2216. * terminate_application_stake_unstaking_period should be non-zero.
  2217. **/
  2218. TerminateApplicationStakeUnstakingPeriodIsZero: AugmentedError<ApiType>;
  2219. /**
  2220. * Invalid OpeningPolicyCommitment parameter:
  2221. * terminate_role_stake_unstaking_period should be non-zero.
  2222. **/
  2223. TerminateRoleStakeUnstakingPeriodIsZero: AugmentedError<ApiType>;
  2224. /**
  2225. * Application does not exist.
  2226. **/
  2227. WithdrawWorkerApplicationApplicationDoesNotExist: AugmentedError<ApiType>;
  2228. /**
  2229. * Application is not active.
  2230. **/
  2231. WithdrawWorkerApplicationApplicationNotActive: AugmentedError<ApiType>;
  2232. /**
  2233. * Opening not accepting applications.
  2234. **/
  2235. WithdrawWorkerApplicationOpeningNotAcceptingApplications: AugmentedError<ApiType>;
  2236. /**
  2237. * Redundant unstaking period provided
  2238. **/
  2239. WithdrawWorkerApplicationRedundantUnstakingPeriod: AugmentedError<ApiType>;
  2240. /**
  2241. * UnstakingPeriodTooShort .... // <== SHOULD REALLY BE TWO SEPARATE, ONE FOR EACH STAKING PURPOSE
  2242. **/
  2243. WithdrawWorkerApplicationUnstakingPeriodTooShort: AugmentedError<ApiType>;
  2244. /**
  2245. * Worker application does not exist.
  2246. **/
  2247. WorkerApplicationDoesNotExist: AugmentedError<ApiType>;
  2248. /**
  2249. * Worker application text too long.
  2250. **/
  2251. WorkerApplicationTextTooLong: AugmentedError<ApiType>;
  2252. /**
  2253. * Worker application text too short.
  2254. **/
  2255. WorkerApplicationTextTooShort: AugmentedError<ApiType>;
  2256. /**
  2257. * Worker does not exist.
  2258. **/
  2259. WorkerDoesNotExist: AugmentedError<ApiType>;
  2260. /**
  2261. * Worker exit rationale text is too long.
  2262. **/
  2263. WorkerExitRationaleTextTooLong: AugmentedError<ApiType>;
  2264. /**
  2265. * Worker exit rationale text is too short.
  2266. **/
  2267. WorkerExitRationaleTextTooShort: AugmentedError<ApiType>;
  2268. /**
  2269. * Worker has no recurring reward.
  2270. **/
  2271. WorkerHasNoReward: AugmentedError<ApiType>;
  2272. /**
  2273. * Worker storage text is too long.
  2274. **/
  2275. WorkerStorageValueTooLong: AugmentedError<ApiType>;
  2276. };
  2277. sudo: {
  2278. /**
  2279. * Sender must be the Sudo account
  2280. **/
  2281. RequireSudo: AugmentedError<ApiType>;
  2282. };
  2283. system: {
  2284. /**
  2285. * Failed to extract the runtime version from the new runtime.
  2286. *
  2287. * Either calling `Core_version` or decoding `RuntimeVersion` failed.
  2288. **/
  2289. FailedToExtractRuntimeVersion: AugmentedError<ApiType>;
  2290. /**
  2291. * The name of specification does not match between the current runtime
  2292. * and the new runtime.
  2293. **/
  2294. InvalidSpecName: AugmentedError<ApiType>;
  2295. /**
  2296. * Suicide called when the account has non-default composite data.
  2297. **/
  2298. NonDefaultComposite: AugmentedError<ApiType>;
  2299. /**
  2300. * There is a non-zero reference count preventing the account from being purged.
  2301. **/
  2302. NonZeroRefCount: AugmentedError<ApiType>;
  2303. /**
  2304. * The specification version is not allowed to decrease between the current runtime
  2305. * and the new runtime.
  2306. **/
  2307. SpecVersionNeedsToIncrease: AugmentedError<ApiType>;
  2308. };
  2309. }
  2310. export interface DecoratedErrors<ApiType extends ApiTypes> extends AugmentedErrors<ApiType> {
  2311. }
  2312. }