augment-api-errors.ts 99 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861
  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. contentWorkingGroup: {
  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. distributionWorkingGroup: {
  543. /**
  544. * Opening does not exist.
  545. **/
  546. AcceptWorkerApplicationsOpeningDoesNotExist: AugmentedError<ApiType>;
  547. /**
  548. * Opening Is Not in Waiting to begin.
  549. **/
  550. AcceptWorkerApplicationsOpeningIsNotWaitingToBegin: AugmentedError<ApiType>;
  551. /**
  552. * Opening does not activate in the future.
  553. **/
  554. AddWorkerOpeningActivatesInThePast: AugmentedError<ApiType>;
  555. /**
  556. * Add worker opening application stake cannot be zero.
  557. **/
  558. AddWorkerOpeningApplicationStakeCannotBeZero: AugmentedError<ApiType>;
  559. /**
  560. * Application stake amount less than minimum currency balance.
  561. **/
  562. AddWorkerOpeningAppliicationStakeLessThanMinimum: AugmentedError<ApiType>;
  563. /**
  564. * New application was crowded out.
  565. **/
  566. AddWorkerOpeningNewApplicationWasCrowdedOut: AugmentedError<ApiType>;
  567. /**
  568. * Opening does not exist.
  569. **/
  570. AddWorkerOpeningOpeningDoesNotExist: AugmentedError<ApiType>;
  571. /**
  572. * Opening is not in accepting applications stage.
  573. **/
  574. AddWorkerOpeningOpeningNotInAcceptingApplicationStage: AugmentedError<ApiType>;
  575. /**
  576. * Add worker opening role stake cannot be zero.
  577. **/
  578. AddWorkerOpeningRoleStakeCannotBeZero: AugmentedError<ApiType>;
  579. /**
  580. * Role stake amount less than minimum currency balance.
  581. **/
  582. AddWorkerOpeningRoleStakeLessThanMinimum: AugmentedError<ApiType>;
  583. /**
  584. * Stake amount too low.
  585. **/
  586. AddWorkerOpeningStakeAmountTooLow: AugmentedError<ApiType>;
  587. /**
  588. * Stake missing when required.
  589. **/
  590. AddWorkerOpeningStakeMissingWhenRequired: AugmentedError<ApiType>;
  591. /**
  592. * Stake provided when redundant.
  593. **/
  594. AddWorkerOpeningStakeProvidedWhenRedundant: AugmentedError<ApiType>;
  595. /**
  596. * Application rationing has zero max active applicants.
  597. **/
  598. AddWorkerOpeningZeroMaxApplicantCount: AugmentedError<ApiType>;
  599. /**
  600. * Invalid OpeningPolicyCommitment parameter (application_rationing_policy):
  601. * max_active_applicants should be non-zero.
  602. **/
  603. ApplicationRationingPolicyMaxActiveApplicantsIsZero: AugmentedError<ApiType>;
  604. /**
  605. * Invalid OpeningPolicyCommitment parameter (application_staking_policy):
  606. * crowded_out_unstaking_period_length should be non-zero.
  607. **/
  608. ApplicationStakingPolicyCrowdedOutUnstakingPeriodIsZero: AugmentedError<ApiType>;
  609. /**
  610. * Invalid OpeningPolicyCommitment parameter (application_staking_policy):
  611. * review_period_expired_unstaking_period_length should be non-zero.
  612. **/
  613. ApplicationStakingPolicyReviewPeriodUnstakingPeriodIsZero: AugmentedError<ApiType>;
  614. /**
  615. * Signer does not match controller account.
  616. **/
  617. ApplyOnWorkerOpeningSignerNotControllerAccount: AugmentedError<ApiType>;
  618. /**
  619. * Opening does not exist.
  620. **/
  621. BeginWorkerApplicantReviewOpeningDoesNotExist: AugmentedError<ApiType>;
  622. /**
  623. * Opening Is Not in Waiting.
  624. **/
  625. BeginWorkerApplicantReviewOpeningOpeningIsNotWaitingToBegin: AugmentedError<ApiType>;
  626. /**
  627. * Cannot find mint in the minting module.
  628. **/
  629. CannotFindMint: AugmentedError<ApiType>;
  630. /**
  631. * There is leader already, cannot hire another one.
  632. **/
  633. CannotHireLeaderWhenLeaderExists: AugmentedError<ApiType>;
  634. /**
  635. * Cannot fill opening with multiple applications.
  636. **/
  637. CannotHireMultipleLeaders: AugmentedError<ApiType>;
  638. /**
  639. * Current lead is not set.
  640. **/
  641. CurrentLeadNotSet: AugmentedError<ApiType>;
  642. /**
  643. * Invalid OpeningPolicyCommitment parameter:
  644. * exit_role_application_stake_unstaking_period should be non-zero.
  645. **/
  646. ExitRoleApplicationStakeUnstakingPeriodIsZero: AugmentedError<ApiType>;
  647. /**
  648. * Invalid OpeningPolicyCommitment parameter:
  649. * exit_role_stake_unstaking_period should be non-zero.
  650. **/
  651. ExitRoleStakeUnstakingPeriodIsZero: AugmentedError<ApiType>;
  652. /**
  653. * Invalid OpeningPolicyCommitment parameter:
  654. * fill_opening_failed_applicant_application_stake_unstaking_period should be non-zero.
  655. **/
  656. FillOpeningFailedApplicantApplicationStakeUnstakingPeriodIsZero: AugmentedError<ApiType>;
  657. /**
  658. * Invalid OpeningPolicyCommitment parameter:
  659. * fill_opening_failed_applicant_role_stake_unstaking_period should be non-zero.
  660. **/
  661. FillOpeningFailedApplicantRoleStakeUnstakingPeriodIsZero: AugmentedError<ApiType>;
  662. /**
  663. * Reward policy has invalid next payment block number.
  664. **/
  665. FillOpeningInvalidNextPaymentBlock: AugmentedError<ApiType>;
  666. /**
  667. * Working group mint does not exist.
  668. **/
  669. FillOpeningMintDoesNotExist: AugmentedError<ApiType>;
  670. /**
  671. * Invalid OpeningPolicyCommitment parameter:
  672. * fill_opening_successful_applicant_application_stake_unstaking_period should be non-zero.
  673. **/
  674. FillOpeningSuccessfulApplicantApplicationStakeUnstakingPeriodIsZero: AugmentedError<ApiType>;
  675. /**
  676. * Applications not for opening.
  677. **/
  678. FillWorkerOpeningApplicationForWrongOpening: AugmentedError<ApiType>;
  679. /**
  680. * Application does not exist.
  681. **/
  682. FullWorkerOpeningApplicationDoesNotExist: AugmentedError<ApiType>;
  683. /**
  684. * Application not in active stage.
  685. **/
  686. FullWorkerOpeningApplicationNotActive: AugmentedError<ApiType>;
  687. /**
  688. * OpeningDoesNotExist.
  689. **/
  690. FullWorkerOpeningOpeningDoesNotExist: AugmentedError<ApiType>;
  691. /**
  692. * Opening not in review period stage.
  693. **/
  694. FullWorkerOpeningOpeningNotInReviewPeriodStage: AugmentedError<ApiType>;
  695. /**
  696. * Application stake unstaking period for successful applicants redundant.
  697. **/
  698. FullWorkerOpeningSuccessfulApplicationStakeUnstakingPeriodRedundant: AugmentedError<ApiType>;
  699. /**
  700. * Application stake unstaking period for failed applicants too short.
  701. **/
  702. FullWorkerOpeningSuccessfulApplicationStakeUnstakingPeriodTooShort: AugmentedError<ApiType>;
  703. /**
  704. * Role stake unstaking period for successful applicants redundant.
  705. **/
  706. FullWorkerOpeningSuccessfulRoleStakeUnstakingPeriodRedundant: AugmentedError<ApiType>;
  707. /**
  708. * Role stake unstaking period for successful applicants too short.
  709. **/
  710. FullWorkerOpeningSuccessfulRoleStakeUnstakingPeriodTooShort: AugmentedError<ApiType>;
  711. /**
  712. * Application stake unstaking period for failed applicants redundant.
  713. **/
  714. FullWorkerOpeningUnsuccessfulApplicationStakeUnstakingPeriodRedundant: AugmentedError<ApiType>;
  715. /**
  716. * Application stake unstaking period for successful applicants too short.
  717. **/
  718. FullWorkerOpeningUnsuccessfulApplicationStakeUnstakingPeriodTooShort: AugmentedError<ApiType>;
  719. /**
  720. * Role stake unstaking period for failed applicants redundant.
  721. **/
  722. FullWorkerOpeningUnsuccessfulRoleStakeUnstakingPeriodRedundant: AugmentedError<ApiType>;
  723. /**
  724. * Role stake unstaking period for failed applicants too short.
  725. **/
  726. FullWorkerOpeningUnsuccessfulRoleStakeUnstakingPeriodTooShort: AugmentedError<ApiType>;
  727. /**
  728. * Insufficient balance to apply.
  729. **/
  730. InsufficientBalanceToApply: AugmentedError<ApiType>;
  731. /**
  732. * Insufficient balance to cover stake.
  733. **/
  734. InsufficientBalanceToCoverStake: AugmentedError<ApiType>;
  735. /**
  736. * Not a lead account.
  737. **/
  738. IsNotLeadAccount: AugmentedError<ApiType>;
  739. /**
  740. * Working group size limit exceeded.
  741. **/
  742. MaxActiveWorkerNumberExceeded: AugmentedError<ApiType>;
  743. /**
  744. * Member already has an active application on the opening.
  745. **/
  746. MemberHasActiveApplicationOnOpening: AugmentedError<ApiType>;
  747. /**
  748. * Member id is invalid.
  749. **/
  750. MembershipInvalidMemberId: AugmentedError<ApiType>;
  751. /**
  752. * Unsigned origin.
  753. **/
  754. MembershipUnsignedOrigin: AugmentedError<ApiType>;
  755. /**
  756. * Minting error: NextAdjustmentInPast
  757. **/
  758. MintingErrorNextAdjustmentInPast: AugmentedError<ApiType>;
  759. /**
  760. * Cannot get the worker stake profile.
  761. **/
  762. NoWorkerStakeProfile: AugmentedError<ApiType>;
  763. /**
  764. * Opening does not exist.
  765. **/
  766. OpeningDoesNotExist: AugmentedError<ApiType>;
  767. /**
  768. * Opening text too long.
  769. **/
  770. OpeningTextTooLong: AugmentedError<ApiType>;
  771. /**
  772. * Opening text too short.
  773. **/
  774. OpeningTextTooShort: AugmentedError<ApiType>;
  775. /**
  776. * Origin must be controller or root account of member.
  777. **/
  778. OriginIsNeitherMemberControllerOrRoot: AugmentedError<ApiType>;
  779. /**
  780. * Origin is not applicant.
  781. **/
  782. OriginIsNotApplicant: AugmentedError<ApiType>;
  783. /**
  784. * Next payment is not in the future.
  785. **/
  786. RecurringRewardsNextPaymentNotInFuture: AugmentedError<ApiType>;
  787. /**
  788. * Recipient not found.
  789. **/
  790. RecurringRewardsRecipientNotFound: AugmentedError<ApiType>;
  791. /**
  792. * Reward relationship not found.
  793. **/
  794. RecurringRewardsRewardRelationshipNotFound: AugmentedError<ApiType>;
  795. /**
  796. * Recipient reward source not found.
  797. **/
  798. RecurringRewardsRewardSourceNotFound: AugmentedError<ApiType>;
  799. /**
  800. * Relationship must exist.
  801. **/
  802. RelationshipMustExist: AugmentedError<ApiType>;
  803. /**
  804. * Require root origin in extrinsics.
  805. **/
  806. RequireRootOrigin: AugmentedError<ApiType>;
  807. /**
  808. * Require signed origin in extrinsics.
  809. **/
  810. RequireSignedOrigin: AugmentedError<ApiType>;
  811. /**
  812. * Invalid OpeningPolicyCommitment parameter (role_staking_policy):
  813. * crowded_out_unstaking_period_length should be non-zero.
  814. **/
  815. RoleStakingPolicyCrowdedOutUnstakingPeriodIsZero: AugmentedError<ApiType>;
  816. /**
  817. * Invalid OpeningPolicyCommitment parameter (role_staking_policy):
  818. * review_period_expired_unstaking_period_length should be non-zero.
  819. **/
  820. RoleStakingPolicyReviewPeriodUnstakingPeriodIsZero: AugmentedError<ApiType>;
  821. /**
  822. * Signer is not worker role account.
  823. **/
  824. SignerIsNotWorkerRoleAccount: AugmentedError<ApiType>;
  825. /**
  826. * Provided stake balance cannot be zero.
  827. **/
  828. StakeBalanceCannotBeZero: AugmentedError<ApiType>;
  829. /**
  830. * Already unstaking.
  831. **/
  832. StakingErrorAlreadyUnstaking: AugmentedError<ApiType>;
  833. /**
  834. * Cannot change stake by zero.
  835. **/
  836. StakingErrorCannotChangeStakeByZero: AugmentedError<ApiType>;
  837. /**
  838. * Cannot decrease stake while slashes ongoing.
  839. **/
  840. StakingErrorCannotDecreaseWhileSlashesOngoing: AugmentedError<ApiType>;
  841. /**
  842. * Cannot increase stake while unstaking.
  843. **/
  844. StakingErrorCannotIncreaseStakeWhileUnstaking: AugmentedError<ApiType>;
  845. /**
  846. * Cannot unstake while slashes ongoing.
  847. **/
  848. StakingErrorCannotUnstakeWhileSlashesOngoing: AugmentedError<ApiType>;
  849. /**
  850. * Insufficient balance in source account.
  851. **/
  852. StakingErrorInsufficientBalanceInSourceAccount: AugmentedError<ApiType>;
  853. /**
  854. * Insufficient stake to decrease.
  855. **/
  856. StakingErrorInsufficientStake: AugmentedError<ApiType>;
  857. /**
  858. * Not staked.
  859. **/
  860. StakingErrorNotStaked: AugmentedError<ApiType>;
  861. /**
  862. * Slash amount should be greater than zero.
  863. **/
  864. StakingErrorSlashAmountShouldBeGreaterThanZero: AugmentedError<ApiType>;
  865. /**
  866. * Stake not found.
  867. **/
  868. StakingErrorStakeNotFound: AugmentedError<ApiType>;
  869. /**
  870. * Unstaking period should be greater than zero.
  871. **/
  872. StakingErrorUnstakingPeriodShouldBeGreaterThanZero: AugmentedError<ApiType>;
  873. /**
  874. * Successful worker application does not exist.
  875. **/
  876. SuccessfulWorkerApplicationDoesNotExist: AugmentedError<ApiType>;
  877. /**
  878. * Invalid OpeningPolicyCommitment parameter:
  879. * terminate_application_stake_unstaking_period should be non-zero.
  880. **/
  881. TerminateApplicationStakeUnstakingPeriodIsZero: AugmentedError<ApiType>;
  882. /**
  883. * Invalid OpeningPolicyCommitment parameter:
  884. * terminate_role_stake_unstaking_period should be non-zero.
  885. **/
  886. TerminateRoleStakeUnstakingPeriodIsZero: AugmentedError<ApiType>;
  887. /**
  888. * Application does not exist.
  889. **/
  890. WithdrawWorkerApplicationApplicationDoesNotExist: AugmentedError<ApiType>;
  891. /**
  892. * Application is not active.
  893. **/
  894. WithdrawWorkerApplicationApplicationNotActive: AugmentedError<ApiType>;
  895. /**
  896. * Opening not accepting applications.
  897. **/
  898. WithdrawWorkerApplicationOpeningNotAcceptingApplications: AugmentedError<ApiType>;
  899. /**
  900. * Redundant unstaking period provided
  901. **/
  902. WithdrawWorkerApplicationRedundantUnstakingPeriod: AugmentedError<ApiType>;
  903. /**
  904. * UnstakingPeriodTooShort .... // <== SHOULD REALLY BE TWO SEPARATE, ONE FOR EACH STAKING PURPOSE
  905. **/
  906. WithdrawWorkerApplicationUnstakingPeriodTooShort: AugmentedError<ApiType>;
  907. /**
  908. * Worker application does not exist.
  909. **/
  910. WorkerApplicationDoesNotExist: AugmentedError<ApiType>;
  911. /**
  912. * Worker application text too long.
  913. **/
  914. WorkerApplicationTextTooLong: AugmentedError<ApiType>;
  915. /**
  916. * Worker application text too short.
  917. **/
  918. WorkerApplicationTextTooShort: AugmentedError<ApiType>;
  919. /**
  920. * Worker does not exist.
  921. **/
  922. WorkerDoesNotExist: AugmentedError<ApiType>;
  923. /**
  924. * Worker exit rationale text is too long.
  925. **/
  926. WorkerExitRationaleTextTooLong: AugmentedError<ApiType>;
  927. /**
  928. * Worker exit rationale text is too short.
  929. **/
  930. WorkerExitRationaleTextTooShort: AugmentedError<ApiType>;
  931. /**
  932. * Worker has no recurring reward.
  933. **/
  934. WorkerHasNoReward: AugmentedError<ApiType>;
  935. /**
  936. * Worker storage text is too long.
  937. **/
  938. WorkerStorageValueTooLong: AugmentedError<ApiType>;
  939. };
  940. finalityTracker: {
  941. /**
  942. * Final hint must be updated only once in the block
  943. **/
  944. AlreadyUpdated: AugmentedError<ApiType>;
  945. /**
  946. * Finalized height above block number
  947. **/
  948. BadHint: AugmentedError<ApiType>;
  949. };
  950. gatewayWorkingGroup: {
  951. /**
  952. * Opening does not exist.
  953. **/
  954. AcceptWorkerApplicationsOpeningDoesNotExist: AugmentedError<ApiType>;
  955. /**
  956. * Opening Is Not in Waiting to begin.
  957. **/
  958. AcceptWorkerApplicationsOpeningIsNotWaitingToBegin: AugmentedError<ApiType>;
  959. /**
  960. * Opening does not activate in the future.
  961. **/
  962. AddWorkerOpeningActivatesInThePast: AugmentedError<ApiType>;
  963. /**
  964. * Add worker opening application stake cannot be zero.
  965. **/
  966. AddWorkerOpeningApplicationStakeCannotBeZero: AugmentedError<ApiType>;
  967. /**
  968. * Application stake amount less than minimum currency balance.
  969. **/
  970. AddWorkerOpeningAppliicationStakeLessThanMinimum: AugmentedError<ApiType>;
  971. /**
  972. * New application was crowded out.
  973. **/
  974. AddWorkerOpeningNewApplicationWasCrowdedOut: AugmentedError<ApiType>;
  975. /**
  976. * Opening does not exist.
  977. **/
  978. AddWorkerOpeningOpeningDoesNotExist: AugmentedError<ApiType>;
  979. /**
  980. * Opening is not in accepting applications stage.
  981. **/
  982. AddWorkerOpeningOpeningNotInAcceptingApplicationStage: AugmentedError<ApiType>;
  983. /**
  984. * Add worker opening role stake cannot be zero.
  985. **/
  986. AddWorkerOpeningRoleStakeCannotBeZero: AugmentedError<ApiType>;
  987. /**
  988. * Role stake amount less than minimum currency balance.
  989. **/
  990. AddWorkerOpeningRoleStakeLessThanMinimum: AugmentedError<ApiType>;
  991. /**
  992. * Stake amount too low.
  993. **/
  994. AddWorkerOpeningStakeAmountTooLow: AugmentedError<ApiType>;
  995. /**
  996. * Stake missing when required.
  997. **/
  998. AddWorkerOpeningStakeMissingWhenRequired: AugmentedError<ApiType>;
  999. /**
  1000. * Stake provided when redundant.
  1001. **/
  1002. AddWorkerOpeningStakeProvidedWhenRedundant: AugmentedError<ApiType>;
  1003. /**
  1004. * Application rationing has zero max active applicants.
  1005. **/
  1006. AddWorkerOpeningZeroMaxApplicantCount: AugmentedError<ApiType>;
  1007. /**
  1008. * Invalid OpeningPolicyCommitment parameter (application_rationing_policy):
  1009. * max_active_applicants should be non-zero.
  1010. **/
  1011. ApplicationRationingPolicyMaxActiveApplicantsIsZero: AugmentedError<ApiType>;
  1012. /**
  1013. * Invalid OpeningPolicyCommitment parameter (application_staking_policy):
  1014. * crowded_out_unstaking_period_length should be non-zero.
  1015. **/
  1016. ApplicationStakingPolicyCrowdedOutUnstakingPeriodIsZero: AugmentedError<ApiType>;
  1017. /**
  1018. * Invalid OpeningPolicyCommitment parameter (application_staking_policy):
  1019. * review_period_expired_unstaking_period_length should be non-zero.
  1020. **/
  1021. ApplicationStakingPolicyReviewPeriodUnstakingPeriodIsZero: AugmentedError<ApiType>;
  1022. /**
  1023. * Signer does not match controller account.
  1024. **/
  1025. ApplyOnWorkerOpeningSignerNotControllerAccount: AugmentedError<ApiType>;
  1026. /**
  1027. * Opening does not exist.
  1028. **/
  1029. BeginWorkerApplicantReviewOpeningDoesNotExist: AugmentedError<ApiType>;
  1030. /**
  1031. * Opening Is Not in Waiting.
  1032. **/
  1033. BeginWorkerApplicantReviewOpeningOpeningIsNotWaitingToBegin: AugmentedError<ApiType>;
  1034. /**
  1035. * Cannot find mint in the minting module.
  1036. **/
  1037. CannotFindMint: AugmentedError<ApiType>;
  1038. /**
  1039. * There is leader already, cannot hire another one.
  1040. **/
  1041. CannotHireLeaderWhenLeaderExists: AugmentedError<ApiType>;
  1042. /**
  1043. * Cannot fill opening with multiple applications.
  1044. **/
  1045. CannotHireMultipleLeaders: AugmentedError<ApiType>;
  1046. /**
  1047. * Current lead is not set.
  1048. **/
  1049. CurrentLeadNotSet: AugmentedError<ApiType>;
  1050. /**
  1051. * Invalid OpeningPolicyCommitment parameter:
  1052. * exit_role_application_stake_unstaking_period should be non-zero.
  1053. **/
  1054. ExitRoleApplicationStakeUnstakingPeriodIsZero: AugmentedError<ApiType>;
  1055. /**
  1056. * Invalid OpeningPolicyCommitment parameter:
  1057. * exit_role_stake_unstaking_period should be non-zero.
  1058. **/
  1059. ExitRoleStakeUnstakingPeriodIsZero: AugmentedError<ApiType>;
  1060. /**
  1061. * Invalid OpeningPolicyCommitment parameter:
  1062. * fill_opening_failed_applicant_application_stake_unstaking_period should be non-zero.
  1063. **/
  1064. FillOpeningFailedApplicantApplicationStakeUnstakingPeriodIsZero: AugmentedError<ApiType>;
  1065. /**
  1066. * Invalid OpeningPolicyCommitment parameter:
  1067. * fill_opening_failed_applicant_role_stake_unstaking_period should be non-zero.
  1068. **/
  1069. FillOpeningFailedApplicantRoleStakeUnstakingPeriodIsZero: AugmentedError<ApiType>;
  1070. /**
  1071. * Reward policy has invalid next payment block number.
  1072. **/
  1073. FillOpeningInvalidNextPaymentBlock: AugmentedError<ApiType>;
  1074. /**
  1075. * Working group mint does not exist.
  1076. **/
  1077. FillOpeningMintDoesNotExist: AugmentedError<ApiType>;
  1078. /**
  1079. * Invalid OpeningPolicyCommitment parameter:
  1080. * fill_opening_successful_applicant_application_stake_unstaking_period should be non-zero.
  1081. **/
  1082. FillOpeningSuccessfulApplicantApplicationStakeUnstakingPeriodIsZero: AugmentedError<ApiType>;
  1083. /**
  1084. * Applications not for opening.
  1085. **/
  1086. FillWorkerOpeningApplicationForWrongOpening: AugmentedError<ApiType>;
  1087. /**
  1088. * Application does not exist.
  1089. **/
  1090. FullWorkerOpeningApplicationDoesNotExist: AugmentedError<ApiType>;
  1091. /**
  1092. * Application not in active stage.
  1093. **/
  1094. FullWorkerOpeningApplicationNotActive: AugmentedError<ApiType>;
  1095. /**
  1096. * OpeningDoesNotExist.
  1097. **/
  1098. FullWorkerOpeningOpeningDoesNotExist: AugmentedError<ApiType>;
  1099. /**
  1100. * Opening not in review period stage.
  1101. **/
  1102. FullWorkerOpeningOpeningNotInReviewPeriodStage: AugmentedError<ApiType>;
  1103. /**
  1104. * Application stake unstaking period for successful applicants redundant.
  1105. **/
  1106. FullWorkerOpeningSuccessfulApplicationStakeUnstakingPeriodRedundant: AugmentedError<ApiType>;
  1107. /**
  1108. * Application stake unstaking period for failed applicants too short.
  1109. **/
  1110. FullWorkerOpeningSuccessfulApplicationStakeUnstakingPeriodTooShort: AugmentedError<ApiType>;
  1111. /**
  1112. * Role stake unstaking period for successful applicants redundant.
  1113. **/
  1114. FullWorkerOpeningSuccessfulRoleStakeUnstakingPeriodRedundant: AugmentedError<ApiType>;
  1115. /**
  1116. * Role stake unstaking period for successful applicants too short.
  1117. **/
  1118. FullWorkerOpeningSuccessfulRoleStakeUnstakingPeriodTooShort: AugmentedError<ApiType>;
  1119. /**
  1120. * Application stake unstaking period for failed applicants redundant.
  1121. **/
  1122. FullWorkerOpeningUnsuccessfulApplicationStakeUnstakingPeriodRedundant: AugmentedError<ApiType>;
  1123. /**
  1124. * Application stake unstaking period for successful applicants too short.
  1125. **/
  1126. FullWorkerOpeningUnsuccessfulApplicationStakeUnstakingPeriodTooShort: AugmentedError<ApiType>;
  1127. /**
  1128. * Role stake unstaking period for failed applicants redundant.
  1129. **/
  1130. FullWorkerOpeningUnsuccessfulRoleStakeUnstakingPeriodRedundant: AugmentedError<ApiType>;
  1131. /**
  1132. * Role stake unstaking period for failed applicants too short.
  1133. **/
  1134. FullWorkerOpeningUnsuccessfulRoleStakeUnstakingPeriodTooShort: AugmentedError<ApiType>;
  1135. /**
  1136. * Insufficient balance to apply.
  1137. **/
  1138. InsufficientBalanceToApply: AugmentedError<ApiType>;
  1139. /**
  1140. * Insufficient balance to cover stake.
  1141. **/
  1142. InsufficientBalanceToCoverStake: AugmentedError<ApiType>;
  1143. /**
  1144. * Not a lead account.
  1145. **/
  1146. IsNotLeadAccount: AugmentedError<ApiType>;
  1147. /**
  1148. * Working group size limit exceeded.
  1149. **/
  1150. MaxActiveWorkerNumberExceeded: AugmentedError<ApiType>;
  1151. /**
  1152. * Member already has an active application on the opening.
  1153. **/
  1154. MemberHasActiveApplicationOnOpening: AugmentedError<ApiType>;
  1155. /**
  1156. * Member id is invalid.
  1157. **/
  1158. MembershipInvalidMemberId: AugmentedError<ApiType>;
  1159. /**
  1160. * Unsigned origin.
  1161. **/
  1162. MembershipUnsignedOrigin: AugmentedError<ApiType>;
  1163. /**
  1164. * Minting error: NextAdjustmentInPast
  1165. **/
  1166. MintingErrorNextAdjustmentInPast: AugmentedError<ApiType>;
  1167. /**
  1168. * Cannot get the worker stake profile.
  1169. **/
  1170. NoWorkerStakeProfile: AugmentedError<ApiType>;
  1171. /**
  1172. * Opening does not exist.
  1173. **/
  1174. OpeningDoesNotExist: AugmentedError<ApiType>;
  1175. /**
  1176. * Opening text too long.
  1177. **/
  1178. OpeningTextTooLong: AugmentedError<ApiType>;
  1179. /**
  1180. * Opening text too short.
  1181. **/
  1182. OpeningTextTooShort: AugmentedError<ApiType>;
  1183. /**
  1184. * Origin must be controller or root account of member.
  1185. **/
  1186. OriginIsNeitherMemberControllerOrRoot: AugmentedError<ApiType>;
  1187. /**
  1188. * Origin is not applicant.
  1189. **/
  1190. OriginIsNotApplicant: AugmentedError<ApiType>;
  1191. /**
  1192. * Next payment is not in the future.
  1193. **/
  1194. RecurringRewardsNextPaymentNotInFuture: AugmentedError<ApiType>;
  1195. /**
  1196. * Recipient not found.
  1197. **/
  1198. RecurringRewardsRecipientNotFound: AugmentedError<ApiType>;
  1199. /**
  1200. * Reward relationship not found.
  1201. **/
  1202. RecurringRewardsRewardRelationshipNotFound: AugmentedError<ApiType>;
  1203. /**
  1204. * Recipient reward source not found.
  1205. **/
  1206. RecurringRewardsRewardSourceNotFound: AugmentedError<ApiType>;
  1207. /**
  1208. * Relationship must exist.
  1209. **/
  1210. RelationshipMustExist: AugmentedError<ApiType>;
  1211. /**
  1212. * Require root origin in extrinsics.
  1213. **/
  1214. RequireRootOrigin: AugmentedError<ApiType>;
  1215. /**
  1216. * Require signed origin in extrinsics.
  1217. **/
  1218. RequireSignedOrigin: AugmentedError<ApiType>;
  1219. /**
  1220. * Invalid OpeningPolicyCommitment parameter (role_staking_policy):
  1221. * crowded_out_unstaking_period_length should be non-zero.
  1222. **/
  1223. RoleStakingPolicyCrowdedOutUnstakingPeriodIsZero: AugmentedError<ApiType>;
  1224. /**
  1225. * Invalid OpeningPolicyCommitment parameter (role_staking_policy):
  1226. * review_period_expired_unstaking_period_length should be non-zero.
  1227. **/
  1228. RoleStakingPolicyReviewPeriodUnstakingPeriodIsZero: AugmentedError<ApiType>;
  1229. /**
  1230. * Signer is not worker role account.
  1231. **/
  1232. SignerIsNotWorkerRoleAccount: AugmentedError<ApiType>;
  1233. /**
  1234. * Provided stake balance cannot be zero.
  1235. **/
  1236. StakeBalanceCannotBeZero: AugmentedError<ApiType>;
  1237. /**
  1238. * Already unstaking.
  1239. **/
  1240. StakingErrorAlreadyUnstaking: AugmentedError<ApiType>;
  1241. /**
  1242. * Cannot change stake by zero.
  1243. **/
  1244. StakingErrorCannotChangeStakeByZero: AugmentedError<ApiType>;
  1245. /**
  1246. * Cannot decrease stake while slashes ongoing.
  1247. **/
  1248. StakingErrorCannotDecreaseWhileSlashesOngoing: AugmentedError<ApiType>;
  1249. /**
  1250. * Cannot increase stake while unstaking.
  1251. **/
  1252. StakingErrorCannotIncreaseStakeWhileUnstaking: AugmentedError<ApiType>;
  1253. /**
  1254. * Cannot unstake while slashes ongoing.
  1255. **/
  1256. StakingErrorCannotUnstakeWhileSlashesOngoing: AugmentedError<ApiType>;
  1257. /**
  1258. * Insufficient balance in source account.
  1259. **/
  1260. StakingErrorInsufficientBalanceInSourceAccount: AugmentedError<ApiType>;
  1261. /**
  1262. * Insufficient stake to decrease.
  1263. **/
  1264. StakingErrorInsufficientStake: AugmentedError<ApiType>;
  1265. /**
  1266. * Not staked.
  1267. **/
  1268. StakingErrorNotStaked: AugmentedError<ApiType>;
  1269. /**
  1270. * Slash amount should be greater than zero.
  1271. **/
  1272. StakingErrorSlashAmountShouldBeGreaterThanZero: AugmentedError<ApiType>;
  1273. /**
  1274. * Stake not found.
  1275. **/
  1276. StakingErrorStakeNotFound: AugmentedError<ApiType>;
  1277. /**
  1278. * Unstaking period should be greater than zero.
  1279. **/
  1280. StakingErrorUnstakingPeriodShouldBeGreaterThanZero: AugmentedError<ApiType>;
  1281. /**
  1282. * Successful worker application does not exist.
  1283. **/
  1284. SuccessfulWorkerApplicationDoesNotExist: AugmentedError<ApiType>;
  1285. /**
  1286. * Invalid OpeningPolicyCommitment parameter:
  1287. * terminate_application_stake_unstaking_period should be non-zero.
  1288. **/
  1289. TerminateApplicationStakeUnstakingPeriodIsZero: AugmentedError<ApiType>;
  1290. /**
  1291. * Invalid OpeningPolicyCommitment parameter:
  1292. * terminate_role_stake_unstaking_period should be non-zero.
  1293. **/
  1294. TerminateRoleStakeUnstakingPeriodIsZero: AugmentedError<ApiType>;
  1295. /**
  1296. * Application does not exist.
  1297. **/
  1298. WithdrawWorkerApplicationApplicationDoesNotExist: AugmentedError<ApiType>;
  1299. /**
  1300. * Application is not active.
  1301. **/
  1302. WithdrawWorkerApplicationApplicationNotActive: AugmentedError<ApiType>;
  1303. /**
  1304. * Opening not accepting applications.
  1305. **/
  1306. WithdrawWorkerApplicationOpeningNotAcceptingApplications: AugmentedError<ApiType>;
  1307. /**
  1308. * Redundant unstaking period provided
  1309. **/
  1310. WithdrawWorkerApplicationRedundantUnstakingPeriod: AugmentedError<ApiType>;
  1311. /**
  1312. * UnstakingPeriodTooShort .... // <== SHOULD REALLY BE TWO SEPARATE, ONE FOR EACH STAKING PURPOSE
  1313. **/
  1314. WithdrawWorkerApplicationUnstakingPeriodTooShort: AugmentedError<ApiType>;
  1315. /**
  1316. * Worker application does not exist.
  1317. **/
  1318. WorkerApplicationDoesNotExist: AugmentedError<ApiType>;
  1319. /**
  1320. * Worker application text too long.
  1321. **/
  1322. WorkerApplicationTextTooLong: AugmentedError<ApiType>;
  1323. /**
  1324. * Worker application text too short.
  1325. **/
  1326. WorkerApplicationTextTooShort: AugmentedError<ApiType>;
  1327. /**
  1328. * Worker does not exist.
  1329. **/
  1330. WorkerDoesNotExist: AugmentedError<ApiType>;
  1331. /**
  1332. * Worker exit rationale text is too long.
  1333. **/
  1334. WorkerExitRationaleTextTooLong: AugmentedError<ApiType>;
  1335. /**
  1336. * Worker exit rationale text is too short.
  1337. **/
  1338. WorkerExitRationaleTextTooShort: AugmentedError<ApiType>;
  1339. /**
  1340. * Worker has no recurring reward.
  1341. **/
  1342. WorkerHasNoReward: AugmentedError<ApiType>;
  1343. /**
  1344. * Worker storage text is too long.
  1345. **/
  1346. WorkerStorageValueTooLong: AugmentedError<ApiType>;
  1347. };
  1348. grandpa: {
  1349. /**
  1350. * Attempt to signal GRANDPA change with one already pending.
  1351. **/
  1352. ChangePending: AugmentedError<ApiType>;
  1353. /**
  1354. * A given equivocation report is valid but already previously reported.
  1355. **/
  1356. DuplicateOffenceReport: AugmentedError<ApiType>;
  1357. /**
  1358. * An equivocation proof provided as part of an equivocation report is invalid.
  1359. **/
  1360. InvalidEquivocationProof: AugmentedError<ApiType>;
  1361. /**
  1362. * A key ownership proof provided as part of an equivocation report is invalid.
  1363. **/
  1364. InvalidKeyOwnershipProof: AugmentedError<ApiType>;
  1365. /**
  1366. * Attempt to signal GRANDPA pause when the authority set isn't live
  1367. * (either paused or already pending pause).
  1368. **/
  1369. PauseFailed: AugmentedError<ApiType>;
  1370. /**
  1371. * Attempt to signal GRANDPA resume when the authority set isn't paused
  1372. * (either live or already pending resume).
  1373. **/
  1374. ResumeFailed: AugmentedError<ApiType>;
  1375. /**
  1376. * Cannot signal forced change so soon after last.
  1377. **/
  1378. TooSoon: AugmentedError<ApiType>;
  1379. };
  1380. imOnline: {
  1381. /**
  1382. * Duplicated heartbeat.
  1383. **/
  1384. DuplicatedHeartbeat: AugmentedError<ApiType>;
  1385. /**
  1386. * Non existent public key.
  1387. **/
  1388. InvalidKey: AugmentedError<ApiType>;
  1389. };
  1390. members: {
  1391. /**
  1392. * Avatar url is too long.
  1393. **/
  1394. AvatarUriTooLong: AugmentedError<ApiType>;
  1395. /**
  1396. * Controller account required.
  1397. **/
  1398. ControllerAccountRequired: AugmentedError<ApiType>;
  1399. /**
  1400. * Handle already registered.
  1401. **/
  1402. HandleAlreadyRegistered: AugmentedError<ApiType>;
  1403. /**
  1404. * Handle must be provided during registration.
  1405. **/
  1406. HandleMustBeProvidedDuringRegistration: AugmentedError<ApiType>;
  1407. /**
  1408. * Handle too long.
  1409. **/
  1410. HandleTooLong: AugmentedError<ApiType>;
  1411. /**
  1412. * Handle too short.
  1413. **/
  1414. HandleTooShort: AugmentedError<ApiType>;
  1415. /**
  1416. * Screening authority attempting to endow more that maximum allowed.
  1417. **/
  1418. InitialBalanceExceedsMaxInitialBalance: AugmentedError<ApiType>;
  1419. /**
  1420. * Member profile not found (invalid member id).
  1421. **/
  1422. MemberProfileNotFound: AugmentedError<ApiType>;
  1423. /**
  1424. * New memberships not allowed.
  1425. **/
  1426. NewMembershipsNotAllowed: AugmentedError<ApiType>;
  1427. /**
  1428. * A screening authority is not defined.
  1429. **/
  1430. NoScreeningAuthorityDefined: AugmentedError<ApiType>;
  1431. /**
  1432. * Not enough balance to buy membership.
  1433. **/
  1434. NotEnoughBalanceToBuyMembership: AugmentedError<ApiType>;
  1435. /**
  1436. * Origin is not the screeing authority.
  1437. **/
  1438. NotScreeningAuthority: AugmentedError<ApiType>;
  1439. /**
  1440. * Only new accounts can be used for screened members.
  1441. **/
  1442. OnlyNewAccountsCanBeUsedForScreenedMembers: AugmentedError<ApiType>;
  1443. /**
  1444. * Paid term id not active.
  1445. **/
  1446. PaidTermIdNotActive: AugmentedError<ApiType>;
  1447. /**
  1448. * Paid term id not found.
  1449. **/
  1450. PaidTermIdNotFound: AugmentedError<ApiType>;
  1451. /**
  1452. * Root account required.
  1453. **/
  1454. RootAccountRequired: AugmentedError<ApiType>;
  1455. /**
  1456. * Invalid origin.
  1457. **/
  1458. UnsignedOrigin: AugmentedError<ApiType>;
  1459. };
  1460. operationsWorkingGroup: {
  1461. /**
  1462. * Opening does not exist.
  1463. **/
  1464. AcceptWorkerApplicationsOpeningDoesNotExist: AugmentedError<ApiType>;
  1465. /**
  1466. * Opening Is Not in Waiting to begin.
  1467. **/
  1468. AcceptWorkerApplicationsOpeningIsNotWaitingToBegin: AugmentedError<ApiType>;
  1469. /**
  1470. * Opening does not activate in the future.
  1471. **/
  1472. AddWorkerOpeningActivatesInThePast: AugmentedError<ApiType>;
  1473. /**
  1474. * Add worker opening application stake cannot be zero.
  1475. **/
  1476. AddWorkerOpeningApplicationStakeCannotBeZero: AugmentedError<ApiType>;
  1477. /**
  1478. * Application stake amount less than minimum currency balance.
  1479. **/
  1480. AddWorkerOpeningAppliicationStakeLessThanMinimum: AugmentedError<ApiType>;
  1481. /**
  1482. * New application was crowded out.
  1483. **/
  1484. AddWorkerOpeningNewApplicationWasCrowdedOut: AugmentedError<ApiType>;
  1485. /**
  1486. * Opening does not exist.
  1487. **/
  1488. AddWorkerOpeningOpeningDoesNotExist: AugmentedError<ApiType>;
  1489. /**
  1490. * Opening is not in accepting applications stage.
  1491. **/
  1492. AddWorkerOpeningOpeningNotInAcceptingApplicationStage: AugmentedError<ApiType>;
  1493. /**
  1494. * Add worker opening role stake cannot be zero.
  1495. **/
  1496. AddWorkerOpeningRoleStakeCannotBeZero: AugmentedError<ApiType>;
  1497. /**
  1498. * Role stake amount less than minimum currency balance.
  1499. **/
  1500. AddWorkerOpeningRoleStakeLessThanMinimum: AugmentedError<ApiType>;
  1501. /**
  1502. * Stake amount too low.
  1503. **/
  1504. AddWorkerOpeningStakeAmountTooLow: AugmentedError<ApiType>;
  1505. /**
  1506. * Stake missing when required.
  1507. **/
  1508. AddWorkerOpeningStakeMissingWhenRequired: AugmentedError<ApiType>;
  1509. /**
  1510. * Stake provided when redundant.
  1511. **/
  1512. AddWorkerOpeningStakeProvidedWhenRedundant: AugmentedError<ApiType>;
  1513. /**
  1514. * Application rationing has zero max active applicants.
  1515. **/
  1516. AddWorkerOpeningZeroMaxApplicantCount: AugmentedError<ApiType>;
  1517. /**
  1518. * Invalid OpeningPolicyCommitment parameter (application_rationing_policy):
  1519. * max_active_applicants should be non-zero.
  1520. **/
  1521. ApplicationRationingPolicyMaxActiveApplicantsIsZero: AugmentedError<ApiType>;
  1522. /**
  1523. * Invalid OpeningPolicyCommitment parameter (application_staking_policy):
  1524. * crowded_out_unstaking_period_length should be non-zero.
  1525. **/
  1526. ApplicationStakingPolicyCrowdedOutUnstakingPeriodIsZero: AugmentedError<ApiType>;
  1527. /**
  1528. * Invalid OpeningPolicyCommitment parameter (application_staking_policy):
  1529. * review_period_expired_unstaking_period_length should be non-zero.
  1530. **/
  1531. ApplicationStakingPolicyReviewPeriodUnstakingPeriodIsZero: AugmentedError<ApiType>;
  1532. /**
  1533. * Signer does not match controller account.
  1534. **/
  1535. ApplyOnWorkerOpeningSignerNotControllerAccount: AugmentedError<ApiType>;
  1536. /**
  1537. * Opening does not exist.
  1538. **/
  1539. BeginWorkerApplicantReviewOpeningDoesNotExist: AugmentedError<ApiType>;
  1540. /**
  1541. * Opening Is Not in Waiting.
  1542. **/
  1543. BeginWorkerApplicantReviewOpeningOpeningIsNotWaitingToBegin: AugmentedError<ApiType>;
  1544. /**
  1545. * Cannot find mint in the minting module.
  1546. **/
  1547. CannotFindMint: AugmentedError<ApiType>;
  1548. /**
  1549. * There is leader already, cannot hire another one.
  1550. **/
  1551. CannotHireLeaderWhenLeaderExists: AugmentedError<ApiType>;
  1552. /**
  1553. * Cannot fill opening with multiple applications.
  1554. **/
  1555. CannotHireMultipleLeaders: AugmentedError<ApiType>;
  1556. /**
  1557. * Current lead is not set.
  1558. **/
  1559. CurrentLeadNotSet: AugmentedError<ApiType>;
  1560. /**
  1561. * Invalid OpeningPolicyCommitment parameter:
  1562. * exit_role_application_stake_unstaking_period should be non-zero.
  1563. **/
  1564. ExitRoleApplicationStakeUnstakingPeriodIsZero: AugmentedError<ApiType>;
  1565. /**
  1566. * Invalid OpeningPolicyCommitment parameter:
  1567. * exit_role_stake_unstaking_period should be non-zero.
  1568. **/
  1569. ExitRoleStakeUnstakingPeriodIsZero: AugmentedError<ApiType>;
  1570. /**
  1571. * Invalid OpeningPolicyCommitment parameter:
  1572. * fill_opening_failed_applicant_application_stake_unstaking_period should be non-zero.
  1573. **/
  1574. FillOpeningFailedApplicantApplicationStakeUnstakingPeriodIsZero: AugmentedError<ApiType>;
  1575. /**
  1576. * Invalid OpeningPolicyCommitment parameter:
  1577. * fill_opening_failed_applicant_role_stake_unstaking_period should be non-zero.
  1578. **/
  1579. FillOpeningFailedApplicantRoleStakeUnstakingPeriodIsZero: AugmentedError<ApiType>;
  1580. /**
  1581. * Reward policy has invalid next payment block number.
  1582. **/
  1583. FillOpeningInvalidNextPaymentBlock: AugmentedError<ApiType>;
  1584. /**
  1585. * Working group mint does not exist.
  1586. **/
  1587. FillOpeningMintDoesNotExist: AugmentedError<ApiType>;
  1588. /**
  1589. * Invalid OpeningPolicyCommitment parameter:
  1590. * fill_opening_successful_applicant_application_stake_unstaking_period should be non-zero.
  1591. **/
  1592. FillOpeningSuccessfulApplicantApplicationStakeUnstakingPeriodIsZero: AugmentedError<ApiType>;
  1593. /**
  1594. * Applications not for opening.
  1595. **/
  1596. FillWorkerOpeningApplicationForWrongOpening: AugmentedError<ApiType>;
  1597. /**
  1598. * Application does not exist.
  1599. **/
  1600. FullWorkerOpeningApplicationDoesNotExist: AugmentedError<ApiType>;
  1601. /**
  1602. * Application not in active stage.
  1603. **/
  1604. FullWorkerOpeningApplicationNotActive: AugmentedError<ApiType>;
  1605. /**
  1606. * OpeningDoesNotExist.
  1607. **/
  1608. FullWorkerOpeningOpeningDoesNotExist: AugmentedError<ApiType>;
  1609. /**
  1610. * Opening not in review period stage.
  1611. **/
  1612. FullWorkerOpeningOpeningNotInReviewPeriodStage: AugmentedError<ApiType>;
  1613. /**
  1614. * Application stake unstaking period for successful applicants redundant.
  1615. **/
  1616. FullWorkerOpeningSuccessfulApplicationStakeUnstakingPeriodRedundant: AugmentedError<ApiType>;
  1617. /**
  1618. * Application stake unstaking period for failed applicants too short.
  1619. **/
  1620. FullWorkerOpeningSuccessfulApplicationStakeUnstakingPeriodTooShort: AugmentedError<ApiType>;
  1621. /**
  1622. * Role stake unstaking period for successful applicants redundant.
  1623. **/
  1624. FullWorkerOpeningSuccessfulRoleStakeUnstakingPeriodRedundant: AugmentedError<ApiType>;
  1625. /**
  1626. * Role stake unstaking period for successful applicants too short.
  1627. **/
  1628. FullWorkerOpeningSuccessfulRoleStakeUnstakingPeriodTooShort: AugmentedError<ApiType>;
  1629. /**
  1630. * Application stake unstaking period for failed applicants redundant.
  1631. **/
  1632. FullWorkerOpeningUnsuccessfulApplicationStakeUnstakingPeriodRedundant: AugmentedError<ApiType>;
  1633. /**
  1634. * Application stake unstaking period for successful applicants too short.
  1635. **/
  1636. FullWorkerOpeningUnsuccessfulApplicationStakeUnstakingPeriodTooShort: AugmentedError<ApiType>;
  1637. /**
  1638. * Role stake unstaking period for failed applicants redundant.
  1639. **/
  1640. FullWorkerOpeningUnsuccessfulRoleStakeUnstakingPeriodRedundant: AugmentedError<ApiType>;
  1641. /**
  1642. * Role stake unstaking period for failed applicants too short.
  1643. **/
  1644. FullWorkerOpeningUnsuccessfulRoleStakeUnstakingPeriodTooShort: AugmentedError<ApiType>;
  1645. /**
  1646. * Insufficient balance to apply.
  1647. **/
  1648. InsufficientBalanceToApply: AugmentedError<ApiType>;
  1649. /**
  1650. * Insufficient balance to cover stake.
  1651. **/
  1652. InsufficientBalanceToCoverStake: AugmentedError<ApiType>;
  1653. /**
  1654. * Not a lead account.
  1655. **/
  1656. IsNotLeadAccount: AugmentedError<ApiType>;
  1657. /**
  1658. * Working group size limit exceeded.
  1659. **/
  1660. MaxActiveWorkerNumberExceeded: AugmentedError<ApiType>;
  1661. /**
  1662. * Member already has an active application on the opening.
  1663. **/
  1664. MemberHasActiveApplicationOnOpening: AugmentedError<ApiType>;
  1665. /**
  1666. * Member id is invalid.
  1667. **/
  1668. MembershipInvalidMemberId: AugmentedError<ApiType>;
  1669. /**
  1670. * Unsigned origin.
  1671. **/
  1672. MembershipUnsignedOrigin: AugmentedError<ApiType>;
  1673. /**
  1674. * Minting error: NextAdjustmentInPast
  1675. **/
  1676. MintingErrorNextAdjustmentInPast: AugmentedError<ApiType>;
  1677. /**
  1678. * Cannot get the worker stake profile.
  1679. **/
  1680. NoWorkerStakeProfile: AugmentedError<ApiType>;
  1681. /**
  1682. * Opening does not exist.
  1683. **/
  1684. OpeningDoesNotExist: AugmentedError<ApiType>;
  1685. /**
  1686. * Opening text too long.
  1687. **/
  1688. OpeningTextTooLong: AugmentedError<ApiType>;
  1689. /**
  1690. * Opening text too short.
  1691. **/
  1692. OpeningTextTooShort: AugmentedError<ApiType>;
  1693. /**
  1694. * Origin must be controller or root account of member.
  1695. **/
  1696. OriginIsNeitherMemberControllerOrRoot: AugmentedError<ApiType>;
  1697. /**
  1698. * Origin is not applicant.
  1699. **/
  1700. OriginIsNotApplicant: AugmentedError<ApiType>;
  1701. /**
  1702. * Next payment is not in the future.
  1703. **/
  1704. RecurringRewardsNextPaymentNotInFuture: AugmentedError<ApiType>;
  1705. /**
  1706. * Recipient not found.
  1707. **/
  1708. RecurringRewardsRecipientNotFound: AugmentedError<ApiType>;
  1709. /**
  1710. * Reward relationship not found.
  1711. **/
  1712. RecurringRewardsRewardRelationshipNotFound: AugmentedError<ApiType>;
  1713. /**
  1714. * Recipient reward source not found.
  1715. **/
  1716. RecurringRewardsRewardSourceNotFound: AugmentedError<ApiType>;
  1717. /**
  1718. * Relationship must exist.
  1719. **/
  1720. RelationshipMustExist: AugmentedError<ApiType>;
  1721. /**
  1722. * Require root origin in extrinsics.
  1723. **/
  1724. RequireRootOrigin: AugmentedError<ApiType>;
  1725. /**
  1726. * Require signed origin in extrinsics.
  1727. **/
  1728. RequireSignedOrigin: AugmentedError<ApiType>;
  1729. /**
  1730. * Invalid OpeningPolicyCommitment parameter (role_staking_policy):
  1731. * crowded_out_unstaking_period_length should be non-zero.
  1732. **/
  1733. RoleStakingPolicyCrowdedOutUnstakingPeriodIsZero: AugmentedError<ApiType>;
  1734. /**
  1735. * Invalid OpeningPolicyCommitment parameter (role_staking_policy):
  1736. * review_period_expired_unstaking_period_length should be non-zero.
  1737. **/
  1738. RoleStakingPolicyReviewPeriodUnstakingPeriodIsZero: AugmentedError<ApiType>;
  1739. /**
  1740. * Signer is not worker role account.
  1741. **/
  1742. SignerIsNotWorkerRoleAccount: AugmentedError<ApiType>;
  1743. /**
  1744. * Provided stake balance cannot be zero.
  1745. **/
  1746. StakeBalanceCannotBeZero: AugmentedError<ApiType>;
  1747. /**
  1748. * Already unstaking.
  1749. **/
  1750. StakingErrorAlreadyUnstaking: AugmentedError<ApiType>;
  1751. /**
  1752. * Cannot change stake by zero.
  1753. **/
  1754. StakingErrorCannotChangeStakeByZero: AugmentedError<ApiType>;
  1755. /**
  1756. * Cannot decrease stake while slashes ongoing.
  1757. **/
  1758. StakingErrorCannotDecreaseWhileSlashesOngoing: AugmentedError<ApiType>;
  1759. /**
  1760. * Cannot increase stake while unstaking.
  1761. **/
  1762. StakingErrorCannotIncreaseStakeWhileUnstaking: AugmentedError<ApiType>;
  1763. /**
  1764. * Cannot unstake while slashes ongoing.
  1765. **/
  1766. StakingErrorCannotUnstakeWhileSlashesOngoing: AugmentedError<ApiType>;
  1767. /**
  1768. * Insufficient balance in source account.
  1769. **/
  1770. StakingErrorInsufficientBalanceInSourceAccount: AugmentedError<ApiType>;
  1771. /**
  1772. * Insufficient stake to decrease.
  1773. **/
  1774. StakingErrorInsufficientStake: AugmentedError<ApiType>;
  1775. /**
  1776. * Not staked.
  1777. **/
  1778. StakingErrorNotStaked: AugmentedError<ApiType>;
  1779. /**
  1780. * Slash amount should be greater than zero.
  1781. **/
  1782. StakingErrorSlashAmountShouldBeGreaterThanZero: AugmentedError<ApiType>;
  1783. /**
  1784. * Stake not found.
  1785. **/
  1786. StakingErrorStakeNotFound: AugmentedError<ApiType>;
  1787. /**
  1788. * Unstaking period should be greater than zero.
  1789. **/
  1790. StakingErrorUnstakingPeriodShouldBeGreaterThanZero: AugmentedError<ApiType>;
  1791. /**
  1792. * Successful worker application does not exist.
  1793. **/
  1794. SuccessfulWorkerApplicationDoesNotExist: AugmentedError<ApiType>;
  1795. /**
  1796. * Invalid OpeningPolicyCommitment parameter:
  1797. * terminate_application_stake_unstaking_period should be non-zero.
  1798. **/
  1799. TerminateApplicationStakeUnstakingPeriodIsZero: AugmentedError<ApiType>;
  1800. /**
  1801. * Invalid OpeningPolicyCommitment parameter:
  1802. * terminate_role_stake_unstaking_period should be non-zero.
  1803. **/
  1804. TerminateRoleStakeUnstakingPeriodIsZero: AugmentedError<ApiType>;
  1805. /**
  1806. * Application does not exist.
  1807. **/
  1808. WithdrawWorkerApplicationApplicationDoesNotExist: AugmentedError<ApiType>;
  1809. /**
  1810. * Application is not active.
  1811. **/
  1812. WithdrawWorkerApplicationApplicationNotActive: AugmentedError<ApiType>;
  1813. /**
  1814. * Opening not accepting applications.
  1815. **/
  1816. WithdrawWorkerApplicationOpeningNotAcceptingApplications: AugmentedError<ApiType>;
  1817. /**
  1818. * Redundant unstaking period provided
  1819. **/
  1820. WithdrawWorkerApplicationRedundantUnstakingPeriod: AugmentedError<ApiType>;
  1821. /**
  1822. * UnstakingPeriodTooShort .... // <== SHOULD REALLY BE TWO SEPARATE, ONE FOR EACH STAKING PURPOSE
  1823. **/
  1824. WithdrawWorkerApplicationUnstakingPeriodTooShort: AugmentedError<ApiType>;
  1825. /**
  1826. * Worker application does not exist.
  1827. **/
  1828. WorkerApplicationDoesNotExist: AugmentedError<ApiType>;
  1829. /**
  1830. * Worker application text too long.
  1831. **/
  1832. WorkerApplicationTextTooLong: AugmentedError<ApiType>;
  1833. /**
  1834. * Worker application text too short.
  1835. **/
  1836. WorkerApplicationTextTooShort: AugmentedError<ApiType>;
  1837. /**
  1838. * Worker does not exist.
  1839. **/
  1840. WorkerDoesNotExist: AugmentedError<ApiType>;
  1841. /**
  1842. * Worker exit rationale text is too long.
  1843. **/
  1844. WorkerExitRationaleTextTooLong: AugmentedError<ApiType>;
  1845. /**
  1846. * Worker exit rationale text is too short.
  1847. **/
  1848. WorkerExitRationaleTextTooShort: AugmentedError<ApiType>;
  1849. /**
  1850. * Worker has no recurring reward.
  1851. **/
  1852. WorkerHasNoReward: AugmentedError<ApiType>;
  1853. /**
  1854. * Worker storage text is too long.
  1855. **/
  1856. WorkerStorageValueTooLong: AugmentedError<ApiType>;
  1857. };
  1858. proposalsCodex: {
  1859. /**
  1860. * Invalid 'decrease stake proposal' parameter - cannot decrease by zero balance.
  1861. **/
  1862. DecreasingStakeIsZero: AugmentedError<ApiType>;
  1863. /**
  1864. * Invalid content working group mint capacity parameter
  1865. **/
  1866. InvalidContentWorkingGroupMintCapacity: AugmentedError<ApiType>;
  1867. /**
  1868. * Invalid council election parameter - announcing_period
  1869. **/
  1870. InvalidCouncilElectionParameterAnnouncingPeriod: AugmentedError<ApiType>;
  1871. /**
  1872. * Invalid council election parameter - candidacy-limit
  1873. **/
  1874. InvalidCouncilElectionParameterCandidacyLimit: AugmentedError<ApiType>;
  1875. /**
  1876. * Invalid council election parameter - council_size
  1877. **/
  1878. InvalidCouncilElectionParameterCouncilSize: AugmentedError<ApiType>;
  1879. /**
  1880. * Invalid council election parameter - min_council_stake
  1881. **/
  1882. InvalidCouncilElectionParameterMinCouncilStake: AugmentedError<ApiType>;
  1883. /**
  1884. * Invalid council election parameter - min-voting_stake
  1885. **/
  1886. InvalidCouncilElectionParameterMinVotingStake: AugmentedError<ApiType>;
  1887. /**
  1888. * Invalid council election parameter - new_term_duration
  1889. **/
  1890. InvalidCouncilElectionParameterNewTermDuration: AugmentedError<ApiType>;
  1891. /**
  1892. * Invalid council election parameter - revealing_period
  1893. **/
  1894. InvalidCouncilElectionParameterRevealingPeriod: AugmentedError<ApiType>;
  1895. /**
  1896. * Invalid council election parameter - voting_period
  1897. **/
  1898. InvalidCouncilElectionParameterVotingPeriod: AugmentedError<ApiType>;
  1899. /**
  1900. * Invalid 'set lead proposal' parameter - proposed lead cannot be a councilor
  1901. **/
  1902. InvalidSetLeadParameterCannotBeCouncilor: AugmentedError<ApiType>;
  1903. /**
  1904. * Invalid balance value for the spending proposal
  1905. **/
  1906. InvalidSpendingProposalBalance: AugmentedError<ApiType>;
  1907. /**
  1908. * Invalid validator count for the 'set validator count' proposal
  1909. **/
  1910. InvalidValidatorCount: AugmentedError<ApiType>;
  1911. /**
  1912. * Invalid working group mint capacity parameter
  1913. **/
  1914. InvalidWorkingGroupMintCapacity: AugmentedError<ApiType>;
  1915. /**
  1916. * Require root origin in extrinsics
  1917. **/
  1918. RequireRootOrigin: AugmentedError<ApiType>;
  1919. /**
  1920. * Provided WASM code for the runtime upgrade proposal is empty
  1921. **/
  1922. RuntimeProposalIsEmpty: AugmentedError<ApiType>;
  1923. /**
  1924. * The size of the provided WASM code for the runtime upgrade proposal exceeded the limit
  1925. **/
  1926. RuntimeProposalSizeExceeded: AugmentedError<ApiType>;
  1927. /**
  1928. * Invalid 'slash stake proposal' parameter - cannot slash by zero balance.
  1929. **/
  1930. SlashingStakeIsZero: AugmentedError<ApiType>;
  1931. /**
  1932. * Provided text for text proposal is empty
  1933. **/
  1934. TextProposalIsEmpty: AugmentedError<ApiType>;
  1935. /**
  1936. * The size of the provided text for text proposal exceeded the limit
  1937. **/
  1938. TextProposalSizeExceeded: AugmentedError<ApiType>;
  1939. };
  1940. proposalsDiscussion: {
  1941. /**
  1942. * Post cannot be empty
  1943. **/
  1944. EmptyPostProvided: AugmentedError<ApiType>;
  1945. /**
  1946. * Discussion cannot have an empty title
  1947. **/
  1948. EmptyTitleProvided: AugmentedError<ApiType>;
  1949. /**
  1950. * Max number of threads by same author in a row limit exceeded
  1951. **/
  1952. MaxThreadInARowLimitExceeded: AugmentedError<ApiType>;
  1953. /**
  1954. * Author should match the post creator
  1955. **/
  1956. NotAuthor: AugmentedError<ApiType>;
  1957. /**
  1958. * Post doesn't exist
  1959. **/
  1960. PostDoesntExist: AugmentedError<ApiType>;
  1961. /**
  1962. * Post edition limit reached
  1963. **/
  1964. PostEditionNumberExceeded: AugmentedError<ApiType>;
  1965. /**
  1966. * Post is too long
  1967. **/
  1968. PostIsTooLong: AugmentedError<ApiType>;
  1969. /**
  1970. * Require root origin in extrinsics
  1971. **/
  1972. RequireRootOrigin: AugmentedError<ApiType>;
  1973. /**
  1974. * Thread doesn't exist
  1975. **/
  1976. ThreadDoesntExist: AugmentedError<ApiType>;
  1977. /**
  1978. * Title is too long
  1979. **/
  1980. TitleIsTooLong: AugmentedError<ApiType>;
  1981. };
  1982. proposalsEngine: {
  1983. /**
  1984. * The proposal have been already voted on
  1985. **/
  1986. AlreadyVoted: AugmentedError<ApiType>;
  1987. /**
  1988. * Description is too long
  1989. **/
  1990. DescriptionIsTooLong: AugmentedError<ApiType>;
  1991. /**
  1992. * Proposal cannot have an empty body
  1993. **/
  1994. EmptyDescriptionProvided: AugmentedError<ApiType>;
  1995. /**
  1996. * Stake cannot be empty with this proposal
  1997. **/
  1998. EmptyStake: AugmentedError<ApiType>;
  1999. /**
  2000. * Proposal cannot have an empty title"
  2001. **/
  2002. EmptyTitleProvided: AugmentedError<ApiType>;
  2003. /**
  2004. * Insufficient balance for operation.
  2005. **/
  2006. InsufficientBalance: AugmentedError<ApiType>;
  2007. /**
  2008. * Approval threshold cannot be zero
  2009. **/
  2010. InvalidParameterApprovalThreshold: AugmentedError<ApiType>;
  2011. /**
  2012. * Slashing threshold cannot be zero
  2013. **/
  2014. InvalidParameterSlashingThreshold: AugmentedError<ApiType>;
  2015. /**
  2016. * Max active proposals number exceeded
  2017. **/
  2018. MaxActiveProposalNumberExceeded: AugmentedError<ApiType>;
  2019. /**
  2020. * Not an author
  2021. **/
  2022. NotAuthor: AugmentedError<ApiType>;
  2023. /**
  2024. * Proposal is finalized already
  2025. **/
  2026. ProposalFinalized: AugmentedError<ApiType>;
  2027. /**
  2028. * The proposal does not exist
  2029. **/
  2030. ProposalNotFound: AugmentedError<ApiType>;
  2031. /**
  2032. * Require root origin in extrinsics
  2033. **/
  2034. RequireRootOrigin: AugmentedError<ApiType>;
  2035. /**
  2036. * Stake differs from the proposal requirements
  2037. **/
  2038. StakeDiffersFromRequired: AugmentedError<ApiType>;
  2039. /**
  2040. * Stake should be empty for this proposal
  2041. **/
  2042. StakeShouldBeEmpty: AugmentedError<ApiType>;
  2043. /**
  2044. * Title is too long
  2045. **/
  2046. TitleIsTooLong: AugmentedError<ApiType>;
  2047. };
  2048. session: {
  2049. /**
  2050. * Registered duplicate key.
  2051. **/
  2052. DuplicatedKey: AugmentedError<ApiType>;
  2053. /**
  2054. * Invalid ownership proof.
  2055. **/
  2056. InvalidProof: AugmentedError<ApiType>;
  2057. /**
  2058. * No associated validator ID for account.
  2059. **/
  2060. NoAssociatedValidatorId: AugmentedError<ApiType>;
  2061. /**
  2062. * No keys are associated with this account.
  2063. **/
  2064. NoKeys: AugmentedError<ApiType>;
  2065. };
  2066. staking: {
  2067. /**
  2068. * Stash is already bonded.
  2069. **/
  2070. AlreadyBonded: AugmentedError<ApiType>;
  2071. /**
  2072. * Rewards for this era have already been claimed for this validator.
  2073. **/
  2074. AlreadyClaimed: AugmentedError<ApiType>;
  2075. /**
  2076. * Controller is already paired.
  2077. **/
  2078. AlreadyPaired: AugmentedError<ApiType>;
  2079. /**
  2080. * The call is not allowed at the given time due to restrictions of election period.
  2081. **/
  2082. CallNotAllowed: AugmentedError<ApiType>;
  2083. /**
  2084. * Duplicate index.
  2085. **/
  2086. DuplicateIndex: AugmentedError<ApiType>;
  2087. /**
  2088. * Targets cannot be empty.
  2089. **/
  2090. EmptyTargets: AugmentedError<ApiType>;
  2091. /**
  2092. * Attempting to target a stash that still has funds.
  2093. **/
  2094. FundedTarget: AugmentedError<ApiType>;
  2095. /**
  2096. * Incorrect previous history depth input provided.
  2097. **/
  2098. IncorrectHistoryDepth: AugmentedError<ApiType>;
  2099. /**
  2100. * Incorrect number of slashing spans provided.
  2101. **/
  2102. IncorrectSlashingSpans: AugmentedError<ApiType>;
  2103. /**
  2104. * Can not bond with value less than minimum balance.
  2105. **/
  2106. InsufficientValue: AugmentedError<ApiType>;
  2107. /**
  2108. * Invalid era to reward.
  2109. **/
  2110. InvalidEraToReward: AugmentedError<ApiType>;
  2111. /**
  2112. * Invalid number of nominations.
  2113. **/
  2114. InvalidNumberOfNominations: AugmentedError<ApiType>;
  2115. /**
  2116. * Slash record index out of bounds.
  2117. **/
  2118. InvalidSlashIndex: AugmentedError<ApiType>;
  2119. /**
  2120. * Can not schedule more unlock chunks.
  2121. **/
  2122. NoMoreChunks: AugmentedError<ApiType>;
  2123. /**
  2124. * Not a controller account.
  2125. **/
  2126. NotController: AugmentedError<ApiType>;
  2127. /**
  2128. * Items are not sorted and unique.
  2129. **/
  2130. NotSortedAndUnique: AugmentedError<ApiType>;
  2131. /**
  2132. * Not a stash account.
  2133. **/
  2134. NotStash: AugmentedError<ApiType>;
  2135. /**
  2136. * Can not rebond without unlocking chunks.
  2137. **/
  2138. NoUnlockChunk: AugmentedError<ApiType>;
  2139. /**
  2140. * Error while building the assignment type from the compact. This can happen if an index
  2141. * is invalid, or if the weights _overflow_.
  2142. **/
  2143. OffchainElectionBogusCompact: AugmentedError<ApiType>;
  2144. /**
  2145. * The submitted result has unknown edges that are not among the presented winners.
  2146. **/
  2147. OffchainElectionBogusEdge: AugmentedError<ApiType>;
  2148. /**
  2149. * The election size is invalid.
  2150. **/
  2151. OffchainElectionBogusElectionSize: AugmentedError<ApiType>;
  2152. /**
  2153. * One of the submitted nominators has an edge to which they have not voted on chain.
  2154. **/
  2155. OffchainElectionBogusNomination: AugmentedError<ApiType>;
  2156. /**
  2157. * One of the submitted nominators is not an active nominator on chain.
  2158. **/
  2159. OffchainElectionBogusNominator: AugmentedError<ApiType>;
  2160. /**
  2161. * The claimed score does not match with the one computed from the data.
  2162. **/
  2163. OffchainElectionBogusScore: AugmentedError<ApiType>;
  2164. /**
  2165. * A self vote must only be originated from a validator to ONLY themselves.
  2166. **/
  2167. OffchainElectionBogusSelfVote: AugmentedError<ApiType>;
  2168. /**
  2169. * One of the submitted winners is not an active candidate on chain (index is out of range
  2170. * in snapshot).
  2171. **/
  2172. OffchainElectionBogusWinner: AugmentedError<ApiType>;
  2173. /**
  2174. * Incorrect number of winners were presented.
  2175. **/
  2176. OffchainElectionBogusWinnerCount: AugmentedError<ApiType>;
  2177. /**
  2178. * The submitted result is received out of the open window.
  2179. **/
  2180. OffchainElectionEarlySubmission: AugmentedError<ApiType>;
  2181. /**
  2182. * One of the submitted nominators has an edge which is submitted before the last non-zero
  2183. * slash of the target.
  2184. **/
  2185. OffchainElectionSlashedNomination: AugmentedError<ApiType>;
  2186. /**
  2187. * The submitted result is not as good as the one stored on chain.
  2188. **/
  2189. OffchainElectionWeakSubmission: AugmentedError<ApiType>;
  2190. /**
  2191. * The snapshot data of the current window is missing.
  2192. **/
  2193. SnapshotUnavailable: AugmentedError<ApiType>;
  2194. };
  2195. storage: {
  2196. /**
  2197. * Blacklist size limit exceeded.
  2198. **/
  2199. BlacklistSizeLimitExceeded: AugmentedError<ApiType>;
  2200. /**
  2201. * Cannot delete non empty dynamic bag.
  2202. **/
  2203. CannotDeleteNonEmptyDynamicBag: AugmentedError<ApiType>;
  2204. /**
  2205. * Cannot delete a non-empty storage bucket.
  2206. **/
  2207. CannotDeleteNonEmptyStorageBucket: AugmentedError<ApiType>;
  2208. /**
  2209. * Data object hash is part of the blacklist.
  2210. **/
  2211. DataObjectBlacklisted: AugmentedError<ApiType>;
  2212. /**
  2213. * Data object doesn't exist.
  2214. **/
  2215. DataObjectDoesntExist: AugmentedError<ApiType>;
  2216. /**
  2217. * Data object id collection is empty.
  2218. **/
  2219. DataObjectIdCollectionIsEmpty: AugmentedError<ApiType>;
  2220. /**
  2221. * The `data_object_ids` extrinsic parameter collection is empty.
  2222. **/
  2223. DataObjectIdParamsAreEmpty: AugmentedError<ApiType>;
  2224. /**
  2225. * Upload data error: data objects per bag limit exceeded.
  2226. **/
  2227. DataObjectsPerBagLimitExceeded: AugmentedError<ApiType>;
  2228. /**
  2229. * Invalid extrinsic call: data size fee changed.
  2230. **/
  2231. DataSizeFeeChanged: AugmentedError<ApiType>;
  2232. /**
  2233. * Invalid operation with invites: another storage provider was invited.
  2234. **/
  2235. DifferentStorageProviderInvited: AugmentedError<ApiType>;
  2236. /**
  2237. * Distribution bucket doesn't accept new bags.
  2238. **/
  2239. DistributionBucketDoesntAcceptNewBags: AugmentedError<ApiType>;
  2240. /**
  2241. * Distribution bucket doesn't exist.
  2242. **/
  2243. DistributionBucketDoesntExist: AugmentedError<ApiType>;
  2244. /**
  2245. * Distribution bucket family doesn't exist.
  2246. **/
  2247. DistributionBucketFamilyDoesntExist: AugmentedError<ApiType>;
  2248. /**
  2249. * Distribution bucket id collections are empty.
  2250. **/
  2251. DistributionBucketIdCollectionsAreEmpty: AugmentedError<ApiType>;
  2252. /**
  2253. * Distribution bucket is bound to a bag.
  2254. **/
  2255. DistributionBucketIsBoundToBag: AugmentedError<ApiType>;
  2256. /**
  2257. * Distribution bucket is not bound to a bag.
  2258. **/
  2259. DistributionBucketIsNotBoundToBag: AugmentedError<ApiType>;
  2260. /**
  2261. * The new `DistributionBucketsPerBagLimit` number is too high.
  2262. **/
  2263. DistributionBucketsPerBagLimitTooHigh: AugmentedError<ApiType>;
  2264. /**
  2265. * The new `DistributionBucketsPerBagLimit` number is too low.
  2266. **/
  2267. DistributionBucketsPerBagLimitTooLow: AugmentedError<ApiType>;
  2268. /**
  2269. * Distribution family bound to a bag creation policy.
  2270. **/
  2271. DistributionFamilyBoundToBagCreationPolicy: AugmentedError<ApiType>;
  2272. /**
  2273. * Distribution provider operator already invited.
  2274. **/
  2275. DistributionProviderOperatorAlreadyInvited: AugmentedError<ApiType>;
  2276. /**
  2277. * Distribution provider operator doesn't exist.
  2278. **/
  2279. DistributionProviderOperatorDoesntExist: AugmentedError<ApiType>;
  2280. /**
  2281. * Distribution provider operator already set.
  2282. **/
  2283. DistributionProviderOperatorSet: AugmentedError<ApiType>;
  2284. /**
  2285. * Dynamic bag doesn't exist.
  2286. **/
  2287. DynamicBagDoesntExist: AugmentedError<ApiType>;
  2288. /**
  2289. * Cannot create the dynamic bag: dynamic bag exists.
  2290. **/
  2291. DynamicBagExists: AugmentedError<ApiType>;
  2292. /**
  2293. * Upload data error: empty content ID provided.
  2294. **/
  2295. EmptyContentId: AugmentedError<ApiType>;
  2296. /**
  2297. * Insufficient balance for an operation.
  2298. **/
  2299. InsufficientBalance: AugmentedError<ApiType>;
  2300. /**
  2301. * Insufficient module treasury balance for an operation.
  2302. **/
  2303. InsufficientTreasuryBalance: AugmentedError<ApiType>;
  2304. /**
  2305. * Upload data error: invalid deletion prize source account.
  2306. **/
  2307. InvalidDeletionPrizeSourceAccount: AugmentedError<ApiType>;
  2308. /**
  2309. * Invalid storage provider for bucket.
  2310. **/
  2311. InvalidStorageProvider: AugmentedError<ApiType>;
  2312. /**
  2313. * Invalid operation with invites: storage provider was already invited.
  2314. **/
  2315. InvitedStorageProvider: AugmentedError<ApiType>;
  2316. /**
  2317. * Max data object size exceeded.
  2318. **/
  2319. MaxDataObjectSizeExceeded: AugmentedError<ApiType>;
  2320. /**
  2321. * Max distribution bucket family number limit exceeded.
  2322. **/
  2323. MaxDistributionBucketFamilyNumberLimitExceeded: AugmentedError<ApiType>;
  2324. /**
  2325. * Max distribution bucket number per bag limit exceeded.
  2326. **/
  2327. MaxDistributionBucketNumberPerBagLimitExceeded: AugmentedError<ApiType>;
  2328. /**
  2329. * Max distribution bucket number per family limit exceeded.
  2330. **/
  2331. MaxDistributionBucketNumberPerFamilyLimitExceeded: AugmentedError<ApiType>;
  2332. /**
  2333. * Max number of pending invitations limit for a distribution bucket reached.
  2334. **/
  2335. MaxNumberOfPendingInvitationsLimitForDistributionBucketReached: AugmentedError<ApiType>;
  2336. /**
  2337. * Invalid operations: must be a distribution provider operator for a bucket.
  2338. **/
  2339. MustBeDistributionProviderOperatorForBucket: AugmentedError<ApiType>;
  2340. /**
  2341. * No distribution bucket invitation.
  2342. **/
  2343. NoDistributionBucketInvitation: AugmentedError<ApiType>;
  2344. /**
  2345. * Empty "data object creation" collection.
  2346. **/
  2347. NoObjectsOnUpload: AugmentedError<ApiType>;
  2348. /**
  2349. * Invalid operation with invites: there is no storage bucket invitation.
  2350. **/
  2351. NoStorageBucketInvitation: AugmentedError<ApiType>;
  2352. /**
  2353. * Cannot move objects within the same bag.
  2354. **/
  2355. SourceAndDestinationBagsAreEqual: AugmentedError<ApiType>;
  2356. /**
  2357. * The storage bucket doesn't accept new bags.
  2358. **/
  2359. StorageBucketDoesntAcceptNewBags: AugmentedError<ApiType>;
  2360. /**
  2361. * The requested storage bucket doesn't exist.
  2362. **/
  2363. StorageBucketDoesntExist: AugmentedError<ApiType>;
  2364. /**
  2365. * Storage bucket id collections are empty.
  2366. **/
  2367. StorageBucketIdCollectionsAreEmpty: AugmentedError<ApiType>;
  2368. /**
  2369. * The requested storage bucket is already bound to a bag.
  2370. **/
  2371. StorageBucketIsBoundToBag: AugmentedError<ApiType>;
  2372. /**
  2373. * The requested storage bucket is not bound to a bag.
  2374. **/
  2375. StorageBucketIsNotBoundToBag: AugmentedError<ApiType>;
  2376. /**
  2377. * Object number limit for the storage bucket reached.
  2378. **/
  2379. StorageBucketObjectNumberLimitReached: AugmentedError<ApiType>;
  2380. /**
  2381. * Objects total size limit for the storage bucket reached.
  2382. **/
  2383. StorageBucketObjectSizeLimitReached: AugmentedError<ApiType>;
  2384. /**
  2385. * `StorageBucketsPerBagLimit` was exceeded for a bag.
  2386. **/
  2387. StorageBucketPerBagLimitExceeded: AugmentedError<ApiType>;
  2388. /**
  2389. * The new `StorageBucketsPerBagLimit` number is too high.
  2390. **/
  2391. StorageBucketsPerBagLimitTooHigh: AugmentedError<ApiType>;
  2392. /**
  2393. * The new `StorageBucketsPerBagLimit` number is too low.
  2394. **/
  2395. StorageBucketsPerBagLimitTooLow: AugmentedError<ApiType>;
  2396. /**
  2397. * Invalid operation with invites: storage provider was already set.
  2398. **/
  2399. StorageProviderAlreadySet: AugmentedError<ApiType>;
  2400. /**
  2401. * Storage provider must be set.
  2402. **/
  2403. StorageProviderMustBeSet: AugmentedError<ApiType>;
  2404. /**
  2405. * Storage provider operator doesn't exist.
  2406. **/
  2407. StorageProviderOperatorDoesntExist: AugmentedError<ApiType>;
  2408. /**
  2409. * Uploading of the new object is blocked.
  2410. **/
  2411. UploadingBlocked: AugmentedError<ApiType>;
  2412. /**
  2413. * Max object number limit exceeded for voucher.
  2414. **/
  2415. VoucherMaxObjectNumberLimitExceeded: AugmentedError<ApiType>;
  2416. /**
  2417. * Max object size limit exceeded for voucher.
  2418. **/
  2419. VoucherMaxObjectSizeLimitExceeded: AugmentedError<ApiType>;
  2420. /**
  2421. * Upload data error: zero object size.
  2422. **/
  2423. ZeroObjectSize: AugmentedError<ApiType>;
  2424. };
  2425. storageWorkingGroup: {
  2426. /**
  2427. * Opening does not exist.
  2428. **/
  2429. AcceptWorkerApplicationsOpeningDoesNotExist: AugmentedError<ApiType>;
  2430. /**
  2431. * Opening Is Not in Waiting to begin.
  2432. **/
  2433. AcceptWorkerApplicationsOpeningIsNotWaitingToBegin: AugmentedError<ApiType>;
  2434. /**
  2435. * Opening does not activate in the future.
  2436. **/
  2437. AddWorkerOpeningActivatesInThePast: AugmentedError<ApiType>;
  2438. /**
  2439. * Add worker opening application stake cannot be zero.
  2440. **/
  2441. AddWorkerOpeningApplicationStakeCannotBeZero: AugmentedError<ApiType>;
  2442. /**
  2443. * Application stake amount less than minimum currency balance.
  2444. **/
  2445. AddWorkerOpeningAppliicationStakeLessThanMinimum: AugmentedError<ApiType>;
  2446. /**
  2447. * New application was crowded out.
  2448. **/
  2449. AddWorkerOpeningNewApplicationWasCrowdedOut: AugmentedError<ApiType>;
  2450. /**
  2451. * Opening does not exist.
  2452. **/
  2453. AddWorkerOpeningOpeningDoesNotExist: AugmentedError<ApiType>;
  2454. /**
  2455. * Opening is not in accepting applications stage.
  2456. **/
  2457. AddWorkerOpeningOpeningNotInAcceptingApplicationStage: AugmentedError<ApiType>;
  2458. /**
  2459. * Add worker opening role stake cannot be zero.
  2460. **/
  2461. AddWorkerOpeningRoleStakeCannotBeZero: AugmentedError<ApiType>;
  2462. /**
  2463. * Role stake amount less than minimum currency balance.
  2464. **/
  2465. AddWorkerOpeningRoleStakeLessThanMinimum: AugmentedError<ApiType>;
  2466. /**
  2467. * Stake amount too low.
  2468. **/
  2469. AddWorkerOpeningStakeAmountTooLow: AugmentedError<ApiType>;
  2470. /**
  2471. * Stake missing when required.
  2472. **/
  2473. AddWorkerOpeningStakeMissingWhenRequired: AugmentedError<ApiType>;
  2474. /**
  2475. * Stake provided when redundant.
  2476. **/
  2477. AddWorkerOpeningStakeProvidedWhenRedundant: AugmentedError<ApiType>;
  2478. /**
  2479. * Application rationing has zero max active applicants.
  2480. **/
  2481. AddWorkerOpeningZeroMaxApplicantCount: AugmentedError<ApiType>;
  2482. /**
  2483. * Invalid OpeningPolicyCommitment parameter (application_rationing_policy):
  2484. * max_active_applicants should be non-zero.
  2485. **/
  2486. ApplicationRationingPolicyMaxActiveApplicantsIsZero: AugmentedError<ApiType>;
  2487. /**
  2488. * Invalid OpeningPolicyCommitment parameter (application_staking_policy):
  2489. * crowded_out_unstaking_period_length should be non-zero.
  2490. **/
  2491. ApplicationStakingPolicyCrowdedOutUnstakingPeriodIsZero: AugmentedError<ApiType>;
  2492. /**
  2493. * Invalid OpeningPolicyCommitment parameter (application_staking_policy):
  2494. * review_period_expired_unstaking_period_length should be non-zero.
  2495. **/
  2496. ApplicationStakingPolicyReviewPeriodUnstakingPeriodIsZero: AugmentedError<ApiType>;
  2497. /**
  2498. * Signer does not match controller account.
  2499. **/
  2500. ApplyOnWorkerOpeningSignerNotControllerAccount: AugmentedError<ApiType>;
  2501. /**
  2502. * Opening does not exist.
  2503. **/
  2504. BeginWorkerApplicantReviewOpeningDoesNotExist: AugmentedError<ApiType>;
  2505. /**
  2506. * Opening Is Not in Waiting.
  2507. **/
  2508. BeginWorkerApplicantReviewOpeningOpeningIsNotWaitingToBegin: AugmentedError<ApiType>;
  2509. /**
  2510. * Cannot find mint in the minting module.
  2511. **/
  2512. CannotFindMint: AugmentedError<ApiType>;
  2513. /**
  2514. * There is leader already, cannot hire another one.
  2515. **/
  2516. CannotHireLeaderWhenLeaderExists: AugmentedError<ApiType>;
  2517. /**
  2518. * Cannot fill opening with multiple applications.
  2519. **/
  2520. CannotHireMultipleLeaders: AugmentedError<ApiType>;
  2521. /**
  2522. * Current lead is not set.
  2523. **/
  2524. CurrentLeadNotSet: AugmentedError<ApiType>;
  2525. /**
  2526. * Invalid OpeningPolicyCommitment parameter:
  2527. * exit_role_application_stake_unstaking_period should be non-zero.
  2528. **/
  2529. ExitRoleApplicationStakeUnstakingPeriodIsZero: AugmentedError<ApiType>;
  2530. /**
  2531. * Invalid OpeningPolicyCommitment parameter:
  2532. * exit_role_stake_unstaking_period should be non-zero.
  2533. **/
  2534. ExitRoleStakeUnstakingPeriodIsZero: AugmentedError<ApiType>;
  2535. /**
  2536. * Invalid OpeningPolicyCommitment parameter:
  2537. * fill_opening_failed_applicant_application_stake_unstaking_period should be non-zero.
  2538. **/
  2539. FillOpeningFailedApplicantApplicationStakeUnstakingPeriodIsZero: AugmentedError<ApiType>;
  2540. /**
  2541. * Invalid OpeningPolicyCommitment parameter:
  2542. * fill_opening_failed_applicant_role_stake_unstaking_period should be non-zero.
  2543. **/
  2544. FillOpeningFailedApplicantRoleStakeUnstakingPeriodIsZero: AugmentedError<ApiType>;
  2545. /**
  2546. * Reward policy has invalid next payment block number.
  2547. **/
  2548. FillOpeningInvalidNextPaymentBlock: AugmentedError<ApiType>;
  2549. /**
  2550. * Working group mint does not exist.
  2551. **/
  2552. FillOpeningMintDoesNotExist: AugmentedError<ApiType>;
  2553. /**
  2554. * Invalid OpeningPolicyCommitment parameter:
  2555. * fill_opening_successful_applicant_application_stake_unstaking_period should be non-zero.
  2556. **/
  2557. FillOpeningSuccessfulApplicantApplicationStakeUnstakingPeriodIsZero: AugmentedError<ApiType>;
  2558. /**
  2559. * Applications not for opening.
  2560. **/
  2561. FillWorkerOpeningApplicationForWrongOpening: AugmentedError<ApiType>;
  2562. /**
  2563. * Application does not exist.
  2564. **/
  2565. FullWorkerOpeningApplicationDoesNotExist: AugmentedError<ApiType>;
  2566. /**
  2567. * Application not in active stage.
  2568. **/
  2569. FullWorkerOpeningApplicationNotActive: AugmentedError<ApiType>;
  2570. /**
  2571. * OpeningDoesNotExist.
  2572. **/
  2573. FullWorkerOpeningOpeningDoesNotExist: AugmentedError<ApiType>;
  2574. /**
  2575. * Opening not in review period stage.
  2576. **/
  2577. FullWorkerOpeningOpeningNotInReviewPeriodStage: AugmentedError<ApiType>;
  2578. /**
  2579. * Application stake unstaking period for successful applicants redundant.
  2580. **/
  2581. FullWorkerOpeningSuccessfulApplicationStakeUnstakingPeriodRedundant: AugmentedError<ApiType>;
  2582. /**
  2583. * Application stake unstaking period for failed applicants too short.
  2584. **/
  2585. FullWorkerOpeningSuccessfulApplicationStakeUnstakingPeriodTooShort: AugmentedError<ApiType>;
  2586. /**
  2587. * Role stake unstaking period for successful applicants redundant.
  2588. **/
  2589. FullWorkerOpeningSuccessfulRoleStakeUnstakingPeriodRedundant: AugmentedError<ApiType>;
  2590. /**
  2591. * Role stake unstaking period for successful applicants too short.
  2592. **/
  2593. FullWorkerOpeningSuccessfulRoleStakeUnstakingPeriodTooShort: AugmentedError<ApiType>;
  2594. /**
  2595. * Application stake unstaking period for failed applicants redundant.
  2596. **/
  2597. FullWorkerOpeningUnsuccessfulApplicationStakeUnstakingPeriodRedundant: AugmentedError<ApiType>;
  2598. /**
  2599. * Application stake unstaking period for successful applicants too short.
  2600. **/
  2601. FullWorkerOpeningUnsuccessfulApplicationStakeUnstakingPeriodTooShort: AugmentedError<ApiType>;
  2602. /**
  2603. * Role stake unstaking period for failed applicants redundant.
  2604. **/
  2605. FullWorkerOpeningUnsuccessfulRoleStakeUnstakingPeriodRedundant: AugmentedError<ApiType>;
  2606. /**
  2607. * Role stake unstaking period for failed applicants too short.
  2608. **/
  2609. FullWorkerOpeningUnsuccessfulRoleStakeUnstakingPeriodTooShort: AugmentedError<ApiType>;
  2610. /**
  2611. * Insufficient balance to apply.
  2612. **/
  2613. InsufficientBalanceToApply: AugmentedError<ApiType>;
  2614. /**
  2615. * Insufficient balance to cover stake.
  2616. **/
  2617. InsufficientBalanceToCoverStake: AugmentedError<ApiType>;
  2618. /**
  2619. * Not a lead account.
  2620. **/
  2621. IsNotLeadAccount: AugmentedError<ApiType>;
  2622. /**
  2623. * Working group size limit exceeded.
  2624. **/
  2625. MaxActiveWorkerNumberExceeded: AugmentedError<ApiType>;
  2626. /**
  2627. * Member already has an active application on the opening.
  2628. **/
  2629. MemberHasActiveApplicationOnOpening: AugmentedError<ApiType>;
  2630. /**
  2631. * Member id is invalid.
  2632. **/
  2633. MembershipInvalidMemberId: AugmentedError<ApiType>;
  2634. /**
  2635. * Unsigned origin.
  2636. **/
  2637. MembershipUnsignedOrigin: AugmentedError<ApiType>;
  2638. /**
  2639. * Minting error: NextAdjustmentInPast
  2640. **/
  2641. MintingErrorNextAdjustmentInPast: AugmentedError<ApiType>;
  2642. /**
  2643. * Cannot get the worker stake profile.
  2644. **/
  2645. NoWorkerStakeProfile: AugmentedError<ApiType>;
  2646. /**
  2647. * Opening does not exist.
  2648. **/
  2649. OpeningDoesNotExist: AugmentedError<ApiType>;
  2650. /**
  2651. * Opening text too long.
  2652. **/
  2653. OpeningTextTooLong: AugmentedError<ApiType>;
  2654. /**
  2655. * Opening text too short.
  2656. **/
  2657. OpeningTextTooShort: AugmentedError<ApiType>;
  2658. /**
  2659. * Origin must be controller or root account of member.
  2660. **/
  2661. OriginIsNeitherMemberControllerOrRoot: AugmentedError<ApiType>;
  2662. /**
  2663. * Origin is not applicant.
  2664. **/
  2665. OriginIsNotApplicant: AugmentedError<ApiType>;
  2666. /**
  2667. * Next payment is not in the future.
  2668. **/
  2669. RecurringRewardsNextPaymentNotInFuture: AugmentedError<ApiType>;
  2670. /**
  2671. * Recipient not found.
  2672. **/
  2673. RecurringRewardsRecipientNotFound: AugmentedError<ApiType>;
  2674. /**
  2675. * Reward relationship not found.
  2676. **/
  2677. RecurringRewardsRewardRelationshipNotFound: AugmentedError<ApiType>;
  2678. /**
  2679. * Recipient reward source not found.
  2680. **/
  2681. RecurringRewardsRewardSourceNotFound: AugmentedError<ApiType>;
  2682. /**
  2683. * Relationship must exist.
  2684. **/
  2685. RelationshipMustExist: AugmentedError<ApiType>;
  2686. /**
  2687. * Require root origin in extrinsics.
  2688. **/
  2689. RequireRootOrigin: AugmentedError<ApiType>;
  2690. /**
  2691. * Require signed origin in extrinsics.
  2692. **/
  2693. RequireSignedOrigin: AugmentedError<ApiType>;
  2694. /**
  2695. * Invalid OpeningPolicyCommitment parameter (role_staking_policy):
  2696. * crowded_out_unstaking_period_length should be non-zero.
  2697. **/
  2698. RoleStakingPolicyCrowdedOutUnstakingPeriodIsZero: AugmentedError<ApiType>;
  2699. /**
  2700. * Invalid OpeningPolicyCommitment parameter (role_staking_policy):
  2701. * review_period_expired_unstaking_period_length should be non-zero.
  2702. **/
  2703. RoleStakingPolicyReviewPeriodUnstakingPeriodIsZero: AugmentedError<ApiType>;
  2704. /**
  2705. * Signer is not worker role account.
  2706. **/
  2707. SignerIsNotWorkerRoleAccount: AugmentedError<ApiType>;
  2708. /**
  2709. * Provided stake balance cannot be zero.
  2710. **/
  2711. StakeBalanceCannotBeZero: AugmentedError<ApiType>;
  2712. /**
  2713. * Already unstaking.
  2714. **/
  2715. StakingErrorAlreadyUnstaking: AugmentedError<ApiType>;
  2716. /**
  2717. * Cannot change stake by zero.
  2718. **/
  2719. StakingErrorCannotChangeStakeByZero: AugmentedError<ApiType>;
  2720. /**
  2721. * Cannot decrease stake while slashes ongoing.
  2722. **/
  2723. StakingErrorCannotDecreaseWhileSlashesOngoing: AugmentedError<ApiType>;
  2724. /**
  2725. * Cannot increase stake while unstaking.
  2726. **/
  2727. StakingErrorCannotIncreaseStakeWhileUnstaking: AugmentedError<ApiType>;
  2728. /**
  2729. * Cannot unstake while slashes ongoing.
  2730. **/
  2731. StakingErrorCannotUnstakeWhileSlashesOngoing: AugmentedError<ApiType>;
  2732. /**
  2733. * Insufficient balance in source account.
  2734. **/
  2735. StakingErrorInsufficientBalanceInSourceAccount: AugmentedError<ApiType>;
  2736. /**
  2737. * Insufficient stake to decrease.
  2738. **/
  2739. StakingErrorInsufficientStake: AugmentedError<ApiType>;
  2740. /**
  2741. * Not staked.
  2742. **/
  2743. StakingErrorNotStaked: AugmentedError<ApiType>;
  2744. /**
  2745. * Slash amount should be greater than zero.
  2746. **/
  2747. StakingErrorSlashAmountShouldBeGreaterThanZero: AugmentedError<ApiType>;
  2748. /**
  2749. * Stake not found.
  2750. **/
  2751. StakingErrorStakeNotFound: AugmentedError<ApiType>;
  2752. /**
  2753. * Unstaking period should be greater than zero.
  2754. **/
  2755. StakingErrorUnstakingPeriodShouldBeGreaterThanZero: AugmentedError<ApiType>;
  2756. /**
  2757. * Successful worker application does not exist.
  2758. **/
  2759. SuccessfulWorkerApplicationDoesNotExist: AugmentedError<ApiType>;
  2760. /**
  2761. * Invalid OpeningPolicyCommitment parameter:
  2762. * terminate_application_stake_unstaking_period should be non-zero.
  2763. **/
  2764. TerminateApplicationStakeUnstakingPeriodIsZero: AugmentedError<ApiType>;
  2765. /**
  2766. * Invalid OpeningPolicyCommitment parameter:
  2767. * terminate_role_stake_unstaking_period should be non-zero.
  2768. **/
  2769. TerminateRoleStakeUnstakingPeriodIsZero: AugmentedError<ApiType>;
  2770. /**
  2771. * Application does not exist.
  2772. **/
  2773. WithdrawWorkerApplicationApplicationDoesNotExist: AugmentedError<ApiType>;
  2774. /**
  2775. * Application is not active.
  2776. **/
  2777. WithdrawWorkerApplicationApplicationNotActive: AugmentedError<ApiType>;
  2778. /**
  2779. * Opening not accepting applications.
  2780. **/
  2781. WithdrawWorkerApplicationOpeningNotAcceptingApplications: AugmentedError<ApiType>;
  2782. /**
  2783. * Redundant unstaking period provided
  2784. **/
  2785. WithdrawWorkerApplicationRedundantUnstakingPeriod: AugmentedError<ApiType>;
  2786. /**
  2787. * UnstakingPeriodTooShort .... // <== SHOULD REALLY BE TWO SEPARATE, ONE FOR EACH STAKING PURPOSE
  2788. **/
  2789. WithdrawWorkerApplicationUnstakingPeriodTooShort: AugmentedError<ApiType>;
  2790. /**
  2791. * Worker application does not exist.
  2792. **/
  2793. WorkerApplicationDoesNotExist: AugmentedError<ApiType>;
  2794. /**
  2795. * Worker application text too long.
  2796. **/
  2797. WorkerApplicationTextTooLong: AugmentedError<ApiType>;
  2798. /**
  2799. * Worker application text too short.
  2800. **/
  2801. WorkerApplicationTextTooShort: AugmentedError<ApiType>;
  2802. /**
  2803. * Worker does not exist.
  2804. **/
  2805. WorkerDoesNotExist: AugmentedError<ApiType>;
  2806. /**
  2807. * Worker exit rationale text is too long.
  2808. **/
  2809. WorkerExitRationaleTextTooLong: AugmentedError<ApiType>;
  2810. /**
  2811. * Worker exit rationale text is too short.
  2812. **/
  2813. WorkerExitRationaleTextTooShort: AugmentedError<ApiType>;
  2814. /**
  2815. * Worker has no recurring reward.
  2816. **/
  2817. WorkerHasNoReward: AugmentedError<ApiType>;
  2818. /**
  2819. * Worker storage text is too long.
  2820. **/
  2821. WorkerStorageValueTooLong: AugmentedError<ApiType>;
  2822. };
  2823. sudo: {
  2824. /**
  2825. * Sender must be the Sudo account
  2826. **/
  2827. RequireSudo: AugmentedError<ApiType>;
  2828. };
  2829. system: {
  2830. /**
  2831. * Failed to extract the runtime version from the new runtime.
  2832. *
  2833. * Either calling `Core_version` or decoding `RuntimeVersion` failed.
  2834. **/
  2835. FailedToExtractRuntimeVersion: AugmentedError<ApiType>;
  2836. /**
  2837. * The name of specification does not match between the current runtime
  2838. * and the new runtime.
  2839. **/
  2840. InvalidSpecName: AugmentedError<ApiType>;
  2841. /**
  2842. * Suicide called when the account has non-default composite data.
  2843. **/
  2844. NonDefaultComposite: AugmentedError<ApiType>;
  2845. /**
  2846. * There is a non-zero reference count preventing the account from being purged.
  2847. **/
  2848. NonZeroRefCount: AugmentedError<ApiType>;
  2849. /**
  2850. * The specification version is not allowed to decrease between the current runtime
  2851. * and the new runtime.
  2852. **/
  2853. SpecVersionNeedsToIncrease: AugmentedError<ApiType>;
  2854. };
  2855. }
  2856. export interface DecoratedErrors<ApiType extends ApiTypes> extends AugmentedErrors<ApiType> {
  2857. }
  2858. }