augment-api-errors.ts 127 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673
  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 Contains Assets
  93. **/
  94. ChannelContainsAssets: AugmentedError<ApiType>;
  95. /**
  96. * Channel Contains Video
  97. **/
  98. ChannelContainsVideos: AugmentedError<ApiType>;
  99. /**
  100. * Channel does not exist
  101. **/
  102. ChannelDoesNotExist: AugmentedError<ApiType>;
  103. /**
  104. * Curator authentication failed
  105. **/
  106. CuratorAuthFailed: AugmentedError<ApiType>;
  107. /**
  108. * Given curator group does not exist
  109. **/
  110. CuratorGroupDoesNotExist: AugmentedError<ApiType>;
  111. /**
  112. * Curator group is not active
  113. **/
  114. CuratorGroupIsNotActive: AugmentedError<ApiType>;
  115. /**
  116. * Curator id is not a worker id in content working group
  117. **/
  118. CuratorIdInvalid: AugmentedError<ApiType>;
  119. /**
  120. * Curator under provided curator id is already a member of curaror group under given id
  121. **/
  122. CuratorIsAlreadyAMemberOfGivenCuratorGroup: AugmentedError<ApiType>;
  123. /**
  124. * Curator under provided curator id is not a member of curaror group under given id
  125. **/
  126. CuratorIsNotAMemberOfGivenCuratorGroup: AugmentedError<ApiType>;
  127. /**
  128. * Max number of curators per group limit reached
  129. **/
  130. CuratorsPerGroupLimitReached: AugmentedError<ApiType>;
  131. /**
  132. * Feature Not Implemented
  133. **/
  134. FeatureNotImplemented: AugmentedError<ApiType>;
  135. /**
  136. * Channel assets feasibility
  137. **/
  138. InvalidAssetsProvided: AugmentedError<ApiType>;
  139. /**
  140. * Bag Size specified is not valid
  141. **/
  142. InvalidBagSizeSpecified: AugmentedError<ApiType>;
  143. /**
  144. * Lead authentication failed
  145. **/
  146. LeadAuthFailed: AugmentedError<ApiType>;
  147. /**
  148. * Member authentication failed
  149. **/
  150. MemberAuthFailed: AugmentedError<ApiType>;
  151. /**
  152. * No assets to be removed have been specified
  153. **/
  154. NoAssetsSpecified: AugmentedError<ApiType>;
  155. /**
  156. * Video does not exist
  157. **/
  158. VideoDoesNotExist: AugmentedError<ApiType>;
  159. /**
  160. * Video in season can`t be removed (because order is important)
  161. **/
  162. VideoInSeason: AugmentedError<ApiType>;
  163. };
  164. contentWorkingGroup: {
  165. /**
  166. * Opening does not exist.
  167. **/
  168. AcceptWorkerApplicationsOpeningDoesNotExist: AugmentedError<ApiType>;
  169. /**
  170. * Opening Is Not in Waiting to begin.
  171. **/
  172. AcceptWorkerApplicationsOpeningIsNotWaitingToBegin: AugmentedError<ApiType>;
  173. /**
  174. * Opening does not activate in the future.
  175. **/
  176. AddWorkerOpeningActivatesInThePast: AugmentedError<ApiType>;
  177. /**
  178. * Add worker opening application stake cannot be zero.
  179. **/
  180. AddWorkerOpeningApplicationStakeCannotBeZero: AugmentedError<ApiType>;
  181. /**
  182. * Application stake amount less than minimum currency balance.
  183. **/
  184. AddWorkerOpeningAppliicationStakeLessThanMinimum: AugmentedError<ApiType>;
  185. /**
  186. * New application was crowded out.
  187. **/
  188. AddWorkerOpeningNewApplicationWasCrowdedOut: AugmentedError<ApiType>;
  189. /**
  190. * Opening does not exist.
  191. **/
  192. AddWorkerOpeningOpeningDoesNotExist: AugmentedError<ApiType>;
  193. /**
  194. * Opening is not in accepting applications stage.
  195. **/
  196. AddWorkerOpeningOpeningNotInAcceptingApplicationStage: AugmentedError<ApiType>;
  197. /**
  198. * Add worker opening role stake cannot be zero.
  199. **/
  200. AddWorkerOpeningRoleStakeCannotBeZero: AugmentedError<ApiType>;
  201. /**
  202. * Role stake amount less than minimum currency balance.
  203. **/
  204. AddWorkerOpeningRoleStakeLessThanMinimum: AugmentedError<ApiType>;
  205. /**
  206. * Stake amount too low.
  207. **/
  208. AddWorkerOpeningStakeAmountTooLow: AugmentedError<ApiType>;
  209. /**
  210. * Stake missing when required.
  211. **/
  212. AddWorkerOpeningStakeMissingWhenRequired: AugmentedError<ApiType>;
  213. /**
  214. * Stake provided when redundant.
  215. **/
  216. AddWorkerOpeningStakeProvidedWhenRedundant: AugmentedError<ApiType>;
  217. /**
  218. * Application rationing has zero max active applicants.
  219. **/
  220. AddWorkerOpeningZeroMaxApplicantCount: AugmentedError<ApiType>;
  221. /**
  222. * Invalid OpeningPolicyCommitment parameter (application_rationing_policy):
  223. * max_active_applicants should be non-zero.
  224. **/
  225. ApplicationRationingPolicyMaxActiveApplicantsIsZero: AugmentedError<ApiType>;
  226. /**
  227. * Invalid OpeningPolicyCommitment parameter (application_staking_policy):
  228. * crowded_out_unstaking_period_length should be non-zero.
  229. **/
  230. ApplicationStakingPolicyCrowdedOutUnstakingPeriodIsZero: AugmentedError<ApiType>;
  231. /**
  232. * Invalid OpeningPolicyCommitment parameter (application_staking_policy):
  233. * review_period_expired_unstaking_period_length should be non-zero.
  234. **/
  235. ApplicationStakingPolicyReviewPeriodUnstakingPeriodIsZero: AugmentedError<ApiType>;
  236. /**
  237. * Signer does not match controller account.
  238. **/
  239. ApplyOnWorkerOpeningSignerNotControllerAccount: AugmentedError<ApiType>;
  240. /**
  241. * Opening does not exist.
  242. **/
  243. BeginWorkerApplicantReviewOpeningDoesNotExist: AugmentedError<ApiType>;
  244. /**
  245. * Opening Is Not in Waiting.
  246. **/
  247. BeginWorkerApplicantReviewOpeningOpeningIsNotWaitingToBegin: AugmentedError<ApiType>;
  248. /**
  249. * Cannot find mint in the minting module.
  250. **/
  251. CannotFindMint: AugmentedError<ApiType>;
  252. /**
  253. * There is leader already, cannot hire another one.
  254. **/
  255. CannotHireLeaderWhenLeaderExists: AugmentedError<ApiType>;
  256. /**
  257. * Cannot fill opening with multiple applications.
  258. **/
  259. CannotHireMultipleLeaders: AugmentedError<ApiType>;
  260. /**
  261. * Current lead is not set.
  262. **/
  263. CurrentLeadNotSet: AugmentedError<ApiType>;
  264. /**
  265. * Invalid OpeningPolicyCommitment parameter:
  266. * exit_role_application_stake_unstaking_period should be non-zero.
  267. **/
  268. ExitRoleApplicationStakeUnstakingPeriodIsZero: AugmentedError<ApiType>;
  269. /**
  270. * Invalid OpeningPolicyCommitment parameter:
  271. * exit_role_stake_unstaking_period should be non-zero.
  272. **/
  273. ExitRoleStakeUnstakingPeriodIsZero: AugmentedError<ApiType>;
  274. /**
  275. * Invalid OpeningPolicyCommitment parameter:
  276. * fill_opening_failed_applicant_application_stake_unstaking_period should be non-zero.
  277. **/
  278. FillOpeningFailedApplicantApplicationStakeUnstakingPeriodIsZero: AugmentedError<ApiType>;
  279. /**
  280. * Invalid OpeningPolicyCommitment parameter:
  281. * fill_opening_failed_applicant_role_stake_unstaking_period should be non-zero.
  282. **/
  283. FillOpeningFailedApplicantRoleStakeUnstakingPeriodIsZero: AugmentedError<ApiType>;
  284. /**
  285. * Reward policy has invalid next payment block number.
  286. **/
  287. FillOpeningInvalidNextPaymentBlock: AugmentedError<ApiType>;
  288. /**
  289. * Working group mint does not exist.
  290. **/
  291. FillOpeningMintDoesNotExist: AugmentedError<ApiType>;
  292. /**
  293. * Invalid OpeningPolicyCommitment parameter:
  294. * fill_opening_successful_applicant_application_stake_unstaking_period should be non-zero.
  295. **/
  296. FillOpeningSuccessfulApplicantApplicationStakeUnstakingPeriodIsZero: AugmentedError<ApiType>;
  297. /**
  298. * Applications not for opening.
  299. **/
  300. FillWorkerOpeningApplicationForWrongOpening: AugmentedError<ApiType>;
  301. /**
  302. * Application does not exist.
  303. **/
  304. FullWorkerOpeningApplicationDoesNotExist: AugmentedError<ApiType>;
  305. /**
  306. * Application not in active stage.
  307. **/
  308. FullWorkerOpeningApplicationNotActive: AugmentedError<ApiType>;
  309. /**
  310. * OpeningDoesNotExist.
  311. **/
  312. FullWorkerOpeningOpeningDoesNotExist: AugmentedError<ApiType>;
  313. /**
  314. * Opening not in review period stage.
  315. **/
  316. FullWorkerOpeningOpeningNotInReviewPeriodStage: AugmentedError<ApiType>;
  317. /**
  318. * Application stake unstaking period for successful applicants redundant.
  319. **/
  320. FullWorkerOpeningSuccessfulApplicationStakeUnstakingPeriodRedundant: AugmentedError<ApiType>;
  321. /**
  322. * Application stake unstaking period for failed applicants too short.
  323. **/
  324. FullWorkerOpeningSuccessfulApplicationStakeUnstakingPeriodTooShort: AugmentedError<ApiType>;
  325. /**
  326. * Role stake unstaking period for successful applicants redundant.
  327. **/
  328. FullWorkerOpeningSuccessfulRoleStakeUnstakingPeriodRedundant: AugmentedError<ApiType>;
  329. /**
  330. * Role stake unstaking period for successful applicants too short.
  331. **/
  332. FullWorkerOpeningSuccessfulRoleStakeUnstakingPeriodTooShort: AugmentedError<ApiType>;
  333. /**
  334. * Application stake unstaking period for failed applicants redundant.
  335. **/
  336. FullWorkerOpeningUnsuccessfulApplicationStakeUnstakingPeriodRedundant: AugmentedError<ApiType>;
  337. /**
  338. * Application stake unstaking period for successful applicants too short.
  339. **/
  340. FullWorkerOpeningUnsuccessfulApplicationStakeUnstakingPeriodTooShort: AugmentedError<ApiType>;
  341. /**
  342. * Role stake unstaking period for failed applicants redundant.
  343. **/
  344. FullWorkerOpeningUnsuccessfulRoleStakeUnstakingPeriodRedundant: AugmentedError<ApiType>;
  345. /**
  346. * Role stake unstaking period for failed applicants too short.
  347. **/
  348. FullWorkerOpeningUnsuccessfulRoleStakeUnstakingPeriodTooShort: AugmentedError<ApiType>;
  349. /**
  350. * Insufficient balance to apply.
  351. **/
  352. InsufficientBalanceToApply: AugmentedError<ApiType>;
  353. /**
  354. * Insufficient balance to cover stake.
  355. **/
  356. InsufficientBalanceToCoverStake: AugmentedError<ApiType>;
  357. /**
  358. * Not a lead account.
  359. **/
  360. IsNotLeadAccount: AugmentedError<ApiType>;
  361. /**
  362. * Working group size limit exceeded.
  363. **/
  364. MaxActiveWorkerNumberExceeded: AugmentedError<ApiType>;
  365. /**
  366. * Member already has an active application on the opening.
  367. **/
  368. MemberHasActiveApplicationOnOpening: AugmentedError<ApiType>;
  369. /**
  370. * Member id is invalid.
  371. **/
  372. MembershipInvalidMemberId: AugmentedError<ApiType>;
  373. /**
  374. * Unsigned origin.
  375. **/
  376. MembershipUnsignedOrigin: AugmentedError<ApiType>;
  377. /**
  378. * Minting error: NextAdjustmentInPast
  379. **/
  380. MintingErrorNextAdjustmentInPast: AugmentedError<ApiType>;
  381. /**
  382. * Cannot get the worker stake profile.
  383. **/
  384. NoWorkerStakeProfile: AugmentedError<ApiType>;
  385. /**
  386. * Opening does not exist.
  387. **/
  388. OpeningDoesNotExist: AugmentedError<ApiType>;
  389. /**
  390. * Opening text too long.
  391. **/
  392. OpeningTextTooLong: AugmentedError<ApiType>;
  393. /**
  394. * Opening text too short.
  395. **/
  396. OpeningTextTooShort: AugmentedError<ApiType>;
  397. /**
  398. * Origin must be controller or root account of member.
  399. **/
  400. OriginIsNeitherMemberControllerOrRoot: AugmentedError<ApiType>;
  401. /**
  402. * Origin is not applicant.
  403. **/
  404. OriginIsNotApplicant: AugmentedError<ApiType>;
  405. /**
  406. * Next payment is not in the future.
  407. **/
  408. RecurringRewardsNextPaymentNotInFuture: AugmentedError<ApiType>;
  409. /**
  410. * Recipient not found.
  411. **/
  412. RecurringRewardsRecipientNotFound: AugmentedError<ApiType>;
  413. /**
  414. * Reward relationship not found.
  415. **/
  416. RecurringRewardsRewardRelationshipNotFound: AugmentedError<ApiType>;
  417. /**
  418. * Recipient reward source not found.
  419. **/
  420. RecurringRewardsRewardSourceNotFound: AugmentedError<ApiType>;
  421. /**
  422. * Relationship must exist.
  423. **/
  424. RelationshipMustExist: AugmentedError<ApiType>;
  425. /**
  426. * Require root origin in extrinsics.
  427. **/
  428. RequireRootOrigin: AugmentedError<ApiType>;
  429. /**
  430. * Require signed origin in extrinsics.
  431. **/
  432. RequireSignedOrigin: AugmentedError<ApiType>;
  433. /**
  434. * Invalid OpeningPolicyCommitment parameter (role_staking_policy):
  435. * crowded_out_unstaking_period_length should be non-zero.
  436. **/
  437. RoleStakingPolicyCrowdedOutUnstakingPeriodIsZero: AugmentedError<ApiType>;
  438. /**
  439. * Invalid OpeningPolicyCommitment parameter (role_staking_policy):
  440. * review_period_expired_unstaking_period_length should be non-zero.
  441. **/
  442. RoleStakingPolicyReviewPeriodUnstakingPeriodIsZero: AugmentedError<ApiType>;
  443. /**
  444. * Signer is not worker role account.
  445. **/
  446. SignerIsNotWorkerRoleAccount: AugmentedError<ApiType>;
  447. /**
  448. * Provided stake balance cannot be zero.
  449. **/
  450. StakeBalanceCannotBeZero: AugmentedError<ApiType>;
  451. /**
  452. * Already unstaking.
  453. **/
  454. StakingErrorAlreadyUnstaking: AugmentedError<ApiType>;
  455. /**
  456. * Cannot change stake by zero.
  457. **/
  458. StakingErrorCannotChangeStakeByZero: AugmentedError<ApiType>;
  459. /**
  460. * Cannot decrease stake while slashes ongoing.
  461. **/
  462. StakingErrorCannotDecreaseWhileSlashesOngoing: AugmentedError<ApiType>;
  463. /**
  464. * Cannot increase stake while unstaking.
  465. **/
  466. StakingErrorCannotIncreaseStakeWhileUnstaking: AugmentedError<ApiType>;
  467. /**
  468. * Cannot unstake while slashes ongoing.
  469. **/
  470. StakingErrorCannotUnstakeWhileSlashesOngoing: AugmentedError<ApiType>;
  471. /**
  472. * Insufficient balance in source account.
  473. **/
  474. StakingErrorInsufficientBalanceInSourceAccount: AugmentedError<ApiType>;
  475. /**
  476. * Insufficient stake to decrease.
  477. **/
  478. StakingErrorInsufficientStake: AugmentedError<ApiType>;
  479. /**
  480. * Not staked.
  481. **/
  482. StakingErrorNotStaked: AugmentedError<ApiType>;
  483. /**
  484. * Slash amount should be greater than zero.
  485. **/
  486. StakingErrorSlashAmountShouldBeGreaterThanZero: AugmentedError<ApiType>;
  487. /**
  488. * Stake not found.
  489. **/
  490. StakingErrorStakeNotFound: AugmentedError<ApiType>;
  491. /**
  492. * Unstaking period should be greater than zero.
  493. **/
  494. StakingErrorUnstakingPeriodShouldBeGreaterThanZero: AugmentedError<ApiType>;
  495. /**
  496. * Successful worker application does not exist.
  497. **/
  498. SuccessfulWorkerApplicationDoesNotExist: AugmentedError<ApiType>;
  499. /**
  500. * Invalid OpeningPolicyCommitment parameter:
  501. * terminate_application_stake_unstaking_period should be non-zero.
  502. **/
  503. TerminateApplicationStakeUnstakingPeriodIsZero: AugmentedError<ApiType>;
  504. /**
  505. * Invalid OpeningPolicyCommitment parameter:
  506. * terminate_role_stake_unstaking_period should be non-zero.
  507. **/
  508. TerminateRoleStakeUnstakingPeriodIsZero: AugmentedError<ApiType>;
  509. /**
  510. * Application does not exist.
  511. **/
  512. WithdrawWorkerApplicationApplicationDoesNotExist: AugmentedError<ApiType>;
  513. /**
  514. * Application is not active.
  515. **/
  516. WithdrawWorkerApplicationApplicationNotActive: AugmentedError<ApiType>;
  517. /**
  518. * Opening not accepting applications.
  519. **/
  520. WithdrawWorkerApplicationOpeningNotAcceptingApplications: AugmentedError<ApiType>;
  521. /**
  522. * Redundant unstaking period provided
  523. **/
  524. WithdrawWorkerApplicationRedundantUnstakingPeriod: AugmentedError<ApiType>;
  525. /**
  526. * UnstakingPeriodTooShort .... // <== SHOULD REALLY BE TWO SEPARATE, ONE FOR EACH STAKING PURPOSE
  527. **/
  528. WithdrawWorkerApplicationUnstakingPeriodTooShort: AugmentedError<ApiType>;
  529. /**
  530. * Worker application does not exist.
  531. **/
  532. WorkerApplicationDoesNotExist: AugmentedError<ApiType>;
  533. /**
  534. * Worker application text too long.
  535. **/
  536. WorkerApplicationTextTooLong: AugmentedError<ApiType>;
  537. /**
  538. * Worker application text too short.
  539. **/
  540. WorkerApplicationTextTooShort: AugmentedError<ApiType>;
  541. /**
  542. * Worker does not exist.
  543. **/
  544. WorkerDoesNotExist: AugmentedError<ApiType>;
  545. /**
  546. * Worker exit rationale text is too long.
  547. **/
  548. WorkerExitRationaleTextTooLong: AugmentedError<ApiType>;
  549. /**
  550. * Worker exit rationale text is too short.
  551. **/
  552. WorkerExitRationaleTextTooShort: AugmentedError<ApiType>;
  553. /**
  554. * Worker has no recurring reward.
  555. **/
  556. WorkerHasNoReward: AugmentedError<ApiType>;
  557. /**
  558. * Worker storage text is too long.
  559. **/
  560. WorkerStorageValueTooLong: AugmentedError<ApiType>;
  561. };
  562. distributionWorkingGroup: {
  563. /**
  564. * Opening does not exist.
  565. **/
  566. AcceptWorkerApplicationsOpeningDoesNotExist: AugmentedError<ApiType>;
  567. /**
  568. * Opening Is Not in Waiting to begin.
  569. **/
  570. AcceptWorkerApplicationsOpeningIsNotWaitingToBegin: AugmentedError<ApiType>;
  571. /**
  572. * Opening does not activate in the future.
  573. **/
  574. AddWorkerOpeningActivatesInThePast: AugmentedError<ApiType>;
  575. /**
  576. * Add worker opening application stake cannot be zero.
  577. **/
  578. AddWorkerOpeningApplicationStakeCannotBeZero: AugmentedError<ApiType>;
  579. /**
  580. * Application stake amount less than minimum currency balance.
  581. **/
  582. AddWorkerOpeningAppliicationStakeLessThanMinimum: AugmentedError<ApiType>;
  583. /**
  584. * New application was crowded out.
  585. **/
  586. AddWorkerOpeningNewApplicationWasCrowdedOut: AugmentedError<ApiType>;
  587. /**
  588. * Opening does not exist.
  589. **/
  590. AddWorkerOpeningOpeningDoesNotExist: AugmentedError<ApiType>;
  591. /**
  592. * Opening is not in accepting applications stage.
  593. **/
  594. AddWorkerOpeningOpeningNotInAcceptingApplicationStage: AugmentedError<ApiType>;
  595. /**
  596. * Add worker opening role stake cannot be zero.
  597. **/
  598. AddWorkerOpeningRoleStakeCannotBeZero: AugmentedError<ApiType>;
  599. /**
  600. * Role stake amount less than minimum currency balance.
  601. **/
  602. AddWorkerOpeningRoleStakeLessThanMinimum: AugmentedError<ApiType>;
  603. /**
  604. * Stake amount too low.
  605. **/
  606. AddWorkerOpeningStakeAmountTooLow: AugmentedError<ApiType>;
  607. /**
  608. * Stake missing when required.
  609. **/
  610. AddWorkerOpeningStakeMissingWhenRequired: AugmentedError<ApiType>;
  611. /**
  612. * Stake provided when redundant.
  613. **/
  614. AddWorkerOpeningStakeProvidedWhenRedundant: AugmentedError<ApiType>;
  615. /**
  616. * Application rationing has zero max active applicants.
  617. **/
  618. AddWorkerOpeningZeroMaxApplicantCount: AugmentedError<ApiType>;
  619. /**
  620. * Invalid OpeningPolicyCommitment parameter (application_rationing_policy):
  621. * max_active_applicants should be non-zero.
  622. **/
  623. ApplicationRationingPolicyMaxActiveApplicantsIsZero: AugmentedError<ApiType>;
  624. /**
  625. * Invalid OpeningPolicyCommitment parameter (application_staking_policy):
  626. * crowded_out_unstaking_period_length should be non-zero.
  627. **/
  628. ApplicationStakingPolicyCrowdedOutUnstakingPeriodIsZero: AugmentedError<ApiType>;
  629. /**
  630. * Invalid OpeningPolicyCommitment parameter (application_staking_policy):
  631. * review_period_expired_unstaking_period_length should be non-zero.
  632. **/
  633. ApplicationStakingPolicyReviewPeriodUnstakingPeriodIsZero: AugmentedError<ApiType>;
  634. /**
  635. * Signer does not match controller account.
  636. **/
  637. ApplyOnWorkerOpeningSignerNotControllerAccount: AugmentedError<ApiType>;
  638. /**
  639. * Opening does not exist.
  640. **/
  641. BeginWorkerApplicantReviewOpeningDoesNotExist: AugmentedError<ApiType>;
  642. /**
  643. * Opening Is Not in Waiting.
  644. **/
  645. BeginWorkerApplicantReviewOpeningOpeningIsNotWaitingToBegin: AugmentedError<ApiType>;
  646. /**
  647. * Cannot find mint in the minting module.
  648. **/
  649. CannotFindMint: AugmentedError<ApiType>;
  650. /**
  651. * There is leader already, cannot hire another one.
  652. **/
  653. CannotHireLeaderWhenLeaderExists: AugmentedError<ApiType>;
  654. /**
  655. * Cannot fill opening with multiple applications.
  656. **/
  657. CannotHireMultipleLeaders: AugmentedError<ApiType>;
  658. /**
  659. * Current lead is not set.
  660. **/
  661. CurrentLeadNotSet: AugmentedError<ApiType>;
  662. /**
  663. * Invalid OpeningPolicyCommitment parameter:
  664. * exit_role_application_stake_unstaking_period should be non-zero.
  665. **/
  666. ExitRoleApplicationStakeUnstakingPeriodIsZero: AugmentedError<ApiType>;
  667. /**
  668. * Invalid OpeningPolicyCommitment parameter:
  669. * exit_role_stake_unstaking_period should be non-zero.
  670. **/
  671. ExitRoleStakeUnstakingPeriodIsZero: AugmentedError<ApiType>;
  672. /**
  673. * Invalid OpeningPolicyCommitment parameter:
  674. * fill_opening_failed_applicant_application_stake_unstaking_period should be non-zero.
  675. **/
  676. FillOpeningFailedApplicantApplicationStakeUnstakingPeriodIsZero: AugmentedError<ApiType>;
  677. /**
  678. * Invalid OpeningPolicyCommitment parameter:
  679. * fill_opening_failed_applicant_role_stake_unstaking_period should be non-zero.
  680. **/
  681. FillOpeningFailedApplicantRoleStakeUnstakingPeriodIsZero: AugmentedError<ApiType>;
  682. /**
  683. * Reward policy has invalid next payment block number.
  684. **/
  685. FillOpeningInvalidNextPaymentBlock: AugmentedError<ApiType>;
  686. /**
  687. * Working group mint does not exist.
  688. **/
  689. FillOpeningMintDoesNotExist: AugmentedError<ApiType>;
  690. /**
  691. * Invalid OpeningPolicyCommitment parameter:
  692. * fill_opening_successful_applicant_application_stake_unstaking_period should be non-zero.
  693. **/
  694. FillOpeningSuccessfulApplicantApplicationStakeUnstakingPeriodIsZero: AugmentedError<ApiType>;
  695. /**
  696. * Applications not for opening.
  697. **/
  698. FillWorkerOpeningApplicationForWrongOpening: AugmentedError<ApiType>;
  699. /**
  700. * Application does not exist.
  701. **/
  702. FullWorkerOpeningApplicationDoesNotExist: AugmentedError<ApiType>;
  703. /**
  704. * Application not in active stage.
  705. **/
  706. FullWorkerOpeningApplicationNotActive: AugmentedError<ApiType>;
  707. /**
  708. * OpeningDoesNotExist.
  709. **/
  710. FullWorkerOpeningOpeningDoesNotExist: AugmentedError<ApiType>;
  711. /**
  712. * Opening not in review period stage.
  713. **/
  714. FullWorkerOpeningOpeningNotInReviewPeriodStage: AugmentedError<ApiType>;
  715. /**
  716. * Application stake unstaking period for successful applicants redundant.
  717. **/
  718. FullWorkerOpeningSuccessfulApplicationStakeUnstakingPeriodRedundant: AugmentedError<ApiType>;
  719. /**
  720. * Application stake unstaking period for failed applicants too short.
  721. **/
  722. FullWorkerOpeningSuccessfulApplicationStakeUnstakingPeriodTooShort: AugmentedError<ApiType>;
  723. /**
  724. * Role stake unstaking period for successful applicants redundant.
  725. **/
  726. FullWorkerOpeningSuccessfulRoleStakeUnstakingPeriodRedundant: AugmentedError<ApiType>;
  727. /**
  728. * Role stake unstaking period for successful applicants too short.
  729. **/
  730. FullWorkerOpeningSuccessfulRoleStakeUnstakingPeriodTooShort: AugmentedError<ApiType>;
  731. /**
  732. * Application stake unstaking period for failed applicants redundant.
  733. **/
  734. FullWorkerOpeningUnsuccessfulApplicationStakeUnstakingPeriodRedundant: AugmentedError<ApiType>;
  735. /**
  736. * Application stake unstaking period for successful applicants too short.
  737. **/
  738. FullWorkerOpeningUnsuccessfulApplicationStakeUnstakingPeriodTooShort: AugmentedError<ApiType>;
  739. /**
  740. * Role stake unstaking period for failed applicants redundant.
  741. **/
  742. FullWorkerOpeningUnsuccessfulRoleStakeUnstakingPeriodRedundant: AugmentedError<ApiType>;
  743. /**
  744. * Role stake unstaking period for failed applicants too short.
  745. **/
  746. FullWorkerOpeningUnsuccessfulRoleStakeUnstakingPeriodTooShort: AugmentedError<ApiType>;
  747. /**
  748. * Insufficient balance to apply.
  749. **/
  750. InsufficientBalanceToApply: AugmentedError<ApiType>;
  751. /**
  752. * Insufficient balance to cover stake.
  753. **/
  754. InsufficientBalanceToCoverStake: AugmentedError<ApiType>;
  755. /**
  756. * Not a lead account.
  757. **/
  758. IsNotLeadAccount: AugmentedError<ApiType>;
  759. /**
  760. * Working group size limit exceeded.
  761. **/
  762. MaxActiveWorkerNumberExceeded: AugmentedError<ApiType>;
  763. /**
  764. * Member already has an active application on the opening.
  765. **/
  766. MemberHasActiveApplicationOnOpening: AugmentedError<ApiType>;
  767. /**
  768. * Member id is invalid.
  769. **/
  770. MembershipInvalidMemberId: AugmentedError<ApiType>;
  771. /**
  772. * Unsigned origin.
  773. **/
  774. MembershipUnsignedOrigin: AugmentedError<ApiType>;
  775. /**
  776. * Minting error: NextAdjustmentInPast
  777. **/
  778. MintingErrorNextAdjustmentInPast: AugmentedError<ApiType>;
  779. /**
  780. * Cannot get the worker stake profile.
  781. **/
  782. NoWorkerStakeProfile: AugmentedError<ApiType>;
  783. /**
  784. * Opening does not exist.
  785. **/
  786. OpeningDoesNotExist: AugmentedError<ApiType>;
  787. /**
  788. * Opening text too long.
  789. **/
  790. OpeningTextTooLong: AugmentedError<ApiType>;
  791. /**
  792. * Opening text too short.
  793. **/
  794. OpeningTextTooShort: AugmentedError<ApiType>;
  795. /**
  796. * Origin must be controller or root account of member.
  797. **/
  798. OriginIsNeitherMemberControllerOrRoot: AugmentedError<ApiType>;
  799. /**
  800. * Origin is not applicant.
  801. **/
  802. OriginIsNotApplicant: AugmentedError<ApiType>;
  803. /**
  804. * Next payment is not in the future.
  805. **/
  806. RecurringRewardsNextPaymentNotInFuture: AugmentedError<ApiType>;
  807. /**
  808. * Recipient not found.
  809. **/
  810. RecurringRewardsRecipientNotFound: AugmentedError<ApiType>;
  811. /**
  812. * Reward relationship not found.
  813. **/
  814. RecurringRewardsRewardRelationshipNotFound: AugmentedError<ApiType>;
  815. /**
  816. * Recipient reward source not found.
  817. **/
  818. RecurringRewardsRewardSourceNotFound: AugmentedError<ApiType>;
  819. /**
  820. * Relationship must exist.
  821. **/
  822. RelationshipMustExist: AugmentedError<ApiType>;
  823. /**
  824. * Require root origin in extrinsics.
  825. **/
  826. RequireRootOrigin: AugmentedError<ApiType>;
  827. /**
  828. * Require signed origin in extrinsics.
  829. **/
  830. RequireSignedOrigin: AugmentedError<ApiType>;
  831. /**
  832. * Invalid OpeningPolicyCommitment parameter (role_staking_policy):
  833. * crowded_out_unstaking_period_length should be non-zero.
  834. **/
  835. RoleStakingPolicyCrowdedOutUnstakingPeriodIsZero: AugmentedError<ApiType>;
  836. /**
  837. * Invalid OpeningPolicyCommitment parameter (role_staking_policy):
  838. * review_period_expired_unstaking_period_length should be non-zero.
  839. **/
  840. RoleStakingPolicyReviewPeriodUnstakingPeriodIsZero: AugmentedError<ApiType>;
  841. /**
  842. * Signer is not worker role account.
  843. **/
  844. SignerIsNotWorkerRoleAccount: AugmentedError<ApiType>;
  845. /**
  846. * Provided stake balance cannot be zero.
  847. **/
  848. StakeBalanceCannotBeZero: AugmentedError<ApiType>;
  849. /**
  850. * Already unstaking.
  851. **/
  852. StakingErrorAlreadyUnstaking: AugmentedError<ApiType>;
  853. /**
  854. * Cannot change stake by zero.
  855. **/
  856. StakingErrorCannotChangeStakeByZero: AugmentedError<ApiType>;
  857. /**
  858. * Cannot decrease stake while slashes ongoing.
  859. **/
  860. StakingErrorCannotDecreaseWhileSlashesOngoing: AugmentedError<ApiType>;
  861. /**
  862. * Cannot increase stake while unstaking.
  863. **/
  864. StakingErrorCannotIncreaseStakeWhileUnstaking: AugmentedError<ApiType>;
  865. /**
  866. * Cannot unstake while slashes ongoing.
  867. **/
  868. StakingErrorCannotUnstakeWhileSlashesOngoing: AugmentedError<ApiType>;
  869. /**
  870. * Insufficient balance in source account.
  871. **/
  872. StakingErrorInsufficientBalanceInSourceAccount: AugmentedError<ApiType>;
  873. /**
  874. * Insufficient stake to decrease.
  875. **/
  876. StakingErrorInsufficientStake: AugmentedError<ApiType>;
  877. /**
  878. * Not staked.
  879. **/
  880. StakingErrorNotStaked: AugmentedError<ApiType>;
  881. /**
  882. * Slash amount should be greater than zero.
  883. **/
  884. StakingErrorSlashAmountShouldBeGreaterThanZero: AugmentedError<ApiType>;
  885. /**
  886. * Stake not found.
  887. **/
  888. StakingErrorStakeNotFound: AugmentedError<ApiType>;
  889. /**
  890. * Unstaking period should be greater than zero.
  891. **/
  892. StakingErrorUnstakingPeriodShouldBeGreaterThanZero: AugmentedError<ApiType>;
  893. /**
  894. * Successful worker application does not exist.
  895. **/
  896. SuccessfulWorkerApplicationDoesNotExist: AugmentedError<ApiType>;
  897. /**
  898. * Invalid OpeningPolicyCommitment parameter:
  899. * terminate_application_stake_unstaking_period should be non-zero.
  900. **/
  901. TerminateApplicationStakeUnstakingPeriodIsZero: AugmentedError<ApiType>;
  902. /**
  903. * Invalid OpeningPolicyCommitment parameter:
  904. * terminate_role_stake_unstaking_period should be non-zero.
  905. **/
  906. TerminateRoleStakeUnstakingPeriodIsZero: AugmentedError<ApiType>;
  907. /**
  908. * Application does not exist.
  909. **/
  910. WithdrawWorkerApplicationApplicationDoesNotExist: AugmentedError<ApiType>;
  911. /**
  912. * Application is not active.
  913. **/
  914. WithdrawWorkerApplicationApplicationNotActive: AugmentedError<ApiType>;
  915. /**
  916. * Opening not accepting applications.
  917. **/
  918. WithdrawWorkerApplicationOpeningNotAcceptingApplications: AugmentedError<ApiType>;
  919. /**
  920. * Redundant unstaking period provided
  921. **/
  922. WithdrawWorkerApplicationRedundantUnstakingPeriod: AugmentedError<ApiType>;
  923. /**
  924. * UnstakingPeriodTooShort .... // <== SHOULD REALLY BE TWO SEPARATE, ONE FOR EACH STAKING PURPOSE
  925. **/
  926. WithdrawWorkerApplicationUnstakingPeriodTooShort: AugmentedError<ApiType>;
  927. /**
  928. * Worker application does not exist.
  929. **/
  930. WorkerApplicationDoesNotExist: AugmentedError<ApiType>;
  931. /**
  932. * Worker application text too long.
  933. **/
  934. WorkerApplicationTextTooLong: AugmentedError<ApiType>;
  935. /**
  936. * Worker application text too short.
  937. **/
  938. WorkerApplicationTextTooShort: AugmentedError<ApiType>;
  939. /**
  940. * Worker does not exist.
  941. **/
  942. WorkerDoesNotExist: AugmentedError<ApiType>;
  943. /**
  944. * Worker exit rationale text is too long.
  945. **/
  946. WorkerExitRationaleTextTooLong: AugmentedError<ApiType>;
  947. /**
  948. * Worker exit rationale text is too short.
  949. **/
  950. WorkerExitRationaleTextTooShort: AugmentedError<ApiType>;
  951. /**
  952. * Worker has no recurring reward.
  953. **/
  954. WorkerHasNoReward: AugmentedError<ApiType>;
  955. /**
  956. * Worker storage text is too long.
  957. **/
  958. WorkerStorageValueTooLong: AugmentedError<ApiType>;
  959. };
  960. finalityTracker: {
  961. /**
  962. * Final hint must be updated only once in the block
  963. **/
  964. AlreadyUpdated: AugmentedError<ApiType>;
  965. /**
  966. * Finalized height above block number
  967. **/
  968. BadHint: AugmentedError<ApiType>;
  969. };
  970. gatewayWorkingGroup: {
  971. /**
  972. * Opening does not exist.
  973. **/
  974. AcceptWorkerApplicationsOpeningDoesNotExist: AugmentedError<ApiType>;
  975. /**
  976. * Opening Is Not in Waiting to begin.
  977. **/
  978. AcceptWorkerApplicationsOpeningIsNotWaitingToBegin: AugmentedError<ApiType>;
  979. /**
  980. * Opening does not activate in the future.
  981. **/
  982. AddWorkerOpeningActivatesInThePast: AugmentedError<ApiType>;
  983. /**
  984. * Add worker opening application stake cannot be zero.
  985. **/
  986. AddWorkerOpeningApplicationStakeCannotBeZero: AugmentedError<ApiType>;
  987. /**
  988. * Application stake amount less than minimum currency balance.
  989. **/
  990. AddWorkerOpeningAppliicationStakeLessThanMinimum: AugmentedError<ApiType>;
  991. /**
  992. * New application was crowded out.
  993. **/
  994. AddWorkerOpeningNewApplicationWasCrowdedOut: AugmentedError<ApiType>;
  995. /**
  996. * Opening does not exist.
  997. **/
  998. AddWorkerOpeningOpeningDoesNotExist: AugmentedError<ApiType>;
  999. /**
  1000. * Opening is not in accepting applications stage.
  1001. **/
  1002. AddWorkerOpeningOpeningNotInAcceptingApplicationStage: AugmentedError<ApiType>;
  1003. /**
  1004. * Add worker opening role stake cannot be zero.
  1005. **/
  1006. AddWorkerOpeningRoleStakeCannotBeZero: AugmentedError<ApiType>;
  1007. /**
  1008. * Role stake amount less than minimum currency balance.
  1009. **/
  1010. AddWorkerOpeningRoleStakeLessThanMinimum: AugmentedError<ApiType>;
  1011. /**
  1012. * Stake amount too low.
  1013. **/
  1014. AddWorkerOpeningStakeAmountTooLow: AugmentedError<ApiType>;
  1015. /**
  1016. * Stake missing when required.
  1017. **/
  1018. AddWorkerOpeningStakeMissingWhenRequired: AugmentedError<ApiType>;
  1019. /**
  1020. * Stake provided when redundant.
  1021. **/
  1022. AddWorkerOpeningStakeProvidedWhenRedundant: AugmentedError<ApiType>;
  1023. /**
  1024. * Application rationing has zero max active applicants.
  1025. **/
  1026. AddWorkerOpeningZeroMaxApplicantCount: AugmentedError<ApiType>;
  1027. /**
  1028. * Invalid OpeningPolicyCommitment parameter (application_rationing_policy):
  1029. * max_active_applicants should be non-zero.
  1030. **/
  1031. ApplicationRationingPolicyMaxActiveApplicantsIsZero: AugmentedError<ApiType>;
  1032. /**
  1033. * Invalid OpeningPolicyCommitment parameter (application_staking_policy):
  1034. * crowded_out_unstaking_period_length should be non-zero.
  1035. **/
  1036. ApplicationStakingPolicyCrowdedOutUnstakingPeriodIsZero: AugmentedError<ApiType>;
  1037. /**
  1038. * Invalid OpeningPolicyCommitment parameter (application_staking_policy):
  1039. * review_period_expired_unstaking_period_length should be non-zero.
  1040. **/
  1041. ApplicationStakingPolicyReviewPeriodUnstakingPeriodIsZero: AugmentedError<ApiType>;
  1042. /**
  1043. * Signer does not match controller account.
  1044. **/
  1045. ApplyOnWorkerOpeningSignerNotControllerAccount: AugmentedError<ApiType>;
  1046. /**
  1047. * Opening does not exist.
  1048. **/
  1049. BeginWorkerApplicantReviewOpeningDoesNotExist: AugmentedError<ApiType>;
  1050. /**
  1051. * Opening Is Not in Waiting.
  1052. **/
  1053. BeginWorkerApplicantReviewOpeningOpeningIsNotWaitingToBegin: AugmentedError<ApiType>;
  1054. /**
  1055. * Cannot find mint in the minting module.
  1056. **/
  1057. CannotFindMint: AugmentedError<ApiType>;
  1058. /**
  1059. * There is leader already, cannot hire another one.
  1060. **/
  1061. CannotHireLeaderWhenLeaderExists: AugmentedError<ApiType>;
  1062. /**
  1063. * Cannot fill opening with multiple applications.
  1064. **/
  1065. CannotHireMultipleLeaders: AugmentedError<ApiType>;
  1066. /**
  1067. * Current lead is not set.
  1068. **/
  1069. CurrentLeadNotSet: AugmentedError<ApiType>;
  1070. /**
  1071. * Invalid OpeningPolicyCommitment parameter:
  1072. * exit_role_application_stake_unstaking_period should be non-zero.
  1073. **/
  1074. ExitRoleApplicationStakeUnstakingPeriodIsZero: AugmentedError<ApiType>;
  1075. /**
  1076. * Invalid OpeningPolicyCommitment parameter:
  1077. * exit_role_stake_unstaking_period should be non-zero.
  1078. **/
  1079. ExitRoleStakeUnstakingPeriodIsZero: AugmentedError<ApiType>;
  1080. /**
  1081. * Invalid OpeningPolicyCommitment parameter:
  1082. * fill_opening_failed_applicant_application_stake_unstaking_period should be non-zero.
  1083. **/
  1084. FillOpeningFailedApplicantApplicationStakeUnstakingPeriodIsZero: AugmentedError<ApiType>;
  1085. /**
  1086. * Invalid OpeningPolicyCommitment parameter:
  1087. * fill_opening_failed_applicant_role_stake_unstaking_period should be non-zero.
  1088. **/
  1089. FillOpeningFailedApplicantRoleStakeUnstakingPeriodIsZero: AugmentedError<ApiType>;
  1090. /**
  1091. * Reward policy has invalid next payment block number.
  1092. **/
  1093. FillOpeningInvalidNextPaymentBlock: AugmentedError<ApiType>;
  1094. /**
  1095. * Working group mint does not exist.
  1096. **/
  1097. FillOpeningMintDoesNotExist: AugmentedError<ApiType>;
  1098. /**
  1099. * Invalid OpeningPolicyCommitment parameter:
  1100. * fill_opening_successful_applicant_application_stake_unstaking_period should be non-zero.
  1101. **/
  1102. FillOpeningSuccessfulApplicantApplicationStakeUnstakingPeriodIsZero: AugmentedError<ApiType>;
  1103. /**
  1104. * Applications not for opening.
  1105. **/
  1106. FillWorkerOpeningApplicationForWrongOpening: AugmentedError<ApiType>;
  1107. /**
  1108. * Application does not exist.
  1109. **/
  1110. FullWorkerOpeningApplicationDoesNotExist: AugmentedError<ApiType>;
  1111. /**
  1112. * Application not in active stage.
  1113. **/
  1114. FullWorkerOpeningApplicationNotActive: AugmentedError<ApiType>;
  1115. /**
  1116. * OpeningDoesNotExist.
  1117. **/
  1118. FullWorkerOpeningOpeningDoesNotExist: AugmentedError<ApiType>;
  1119. /**
  1120. * Opening not in review period stage.
  1121. **/
  1122. FullWorkerOpeningOpeningNotInReviewPeriodStage: AugmentedError<ApiType>;
  1123. /**
  1124. * Application stake unstaking period for successful applicants redundant.
  1125. **/
  1126. FullWorkerOpeningSuccessfulApplicationStakeUnstakingPeriodRedundant: AugmentedError<ApiType>;
  1127. /**
  1128. * Application stake unstaking period for failed applicants too short.
  1129. **/
  1130. FullWorkerOpeningSuccessfulApplicationStakeUnstakingPeriodTooShort: AugmentedError<ApiType>;
  1131. /**
  1132. * Role stake unstaking period for successful applicants redundant.
  1133. **/
  1134. FullWorkerOpeningSuccessfulRoleStakeUnstakingPeriodRedundant: AugmentedError<ApiType>;
  1135. /**
  1136. * Role stake unstaking period for successful applicants too short.
  1137. **/
  1138. FullWorkerOpeningSuccessfulRoleStakeUnstakingPeriodTooShort: AugmentedError<ApiType>;
  1139. /**
  1140. * Application stake unstaking period for failed applicants redundant.
  1141. **/
  1142. FullWorkerOpeningUnsuccessfulApplicationStakeUnstakingPeriodRedundant: AugmentedError<ApiType>;
  1143. /**
  1144. * Application stake unstaking period for successful applicants too short.
  1145. **/
  1146. FullWorkerOpeningUnsuccessfulApplicationStakeUnstakingPeriodTooShort: AugmentedError<ApiType>;
  1147. /**
  1148. * Role stake unstaking period for failed applicants redundant.
  1149. **/
  1150. FullWorkerOpeningUnsuccessfulRoleStakeUnstakingPeriodRedundant: AugmentedError<ApiType>;
  1151. /**
  1152. * Role stake unstaking period for failed applicants too short.
  1153. **/
  1154. FullWorkerOpeningUnsuccessfulRoleStakeUnstakingPeriodTooShort: AugmentedError<ApiType>;
  1155. /**
  1156. * Insufficient balance to apply.
  1157. **/
  1158. InsufficientBalanceToApply: AugmentedError<ApiType>;
  1159. /**
  1160. * Insufficient balance to cover stake.
  1161. **/
  1162. InsufficientBalanceToCoverStake: AugmentedError<ApiType>;
  1163. /**
  1164. * Not a lead account.
  1165. **/
  1166. IsNotLeadAccount: AugmentedError<ApiType>;
  1167. /**
  1168. * Working group size limit exceeded.
  1169. **/
  1170. MaxActiveWorkerNumberExceeded: AugmentedError<ApiType>;
  1171. /**
  1172. * Member already has an active application on the opening.
  1173. **/
  1174. MemberHasActiveApplicationOnOpening: AugmentedError<ApiType>;
  1175. /**
  1176. * Member id is invalid.
  1177. **/
  1178. MembershipInvalidMemberId: AugmentedError<ApiType>;
  1179. /**
  1180. * Unsigned origin.
  1181. **/
  1182. MembershipUnsignedOrigin: AugmentedError<ApiType>;
  1183. /**
  1184. * Minting error: NextAdjustmentInPast
  1185. **/
  1186. MintingErrorNextAdjustmentInPast: AugmentedError<ApiType>;
  1187. /**
  1188. * Cannot get the worker stake profile.
  1189. **/
  1190. NoWorkerStakeProfile: AugmentedError<ApiType>;
  1191. /**
  1192. * Opening does not exist.
  1193. **/
  1194. OpeningDoesNotExist: AugmentedError<ApiType>;
  1195. /**
  1196. * Opening text too long.
  1197. **/
  1198. OpeningTextTooLong: AugmentedError<ApiType>;
  1199. /**
  1200. * Opening text too short.
  1201. **/
  1202. OpeningTextTooShort: AugmentedError<ApiType>;
  1203. /**
  1204. * Origin must be controller or root account of member.
  1205. **/
  1206. OriginIsNeitherMemberControllerOrRoot: AugmentedError<ApiType>;
  1207. /**
  1208. * Origin is not applicant.
  1209. **/
  1210. OriginIsNotApplicant: AugmentedError<ApiType>;
  1211. /**
  1212. * Next payment is not in the future.
  1213. **/
  1214. RecurringRewardsNextPaymentNotInFuture: AugmentedError<ApiType>;
  1215. /**
  1216. * Recipient not found.
  1217. **/
  1218. RecurringRewardsRecipientNotFound: AugmentedError<ApiType>;
  1219. /**
  1220. * Reward relationship not found.
  1221. **/
  1222. RecurringRewardsRewardRelationshipNotFound: AugmentedError<ApiType>;
  1223. /**
  1224. * Recipient reward source not found.
  1225. **/
  1226. RecurringRewardsRewardSourceNotFound: AugmentedError<ApiType>;
  1227. /**
  1228. * Relationship must exist.
  1229. **/
  1230. RelationshipMustExist: AugmentedError<ApiType>;
  1231. /**
  1232. * Require root origin in extrinsics.
  1233. **/
  1234. RequireRootOrigin: AugmentedError<ApiType>;
  1235. /**
  1236. * Require signed origin in extrinsics.
  1237. **/
  1238. RequireSignedOrigin: AugmentedError<ApiType>;
  1239. /**
  1240. * Invalid OpeningPolicyCommitment parameter (role_staking_policy):
  1241. * crowded_out_unstaking_period_length should be non-zero.
  1242. **/
  1243. RoleStakingPolicyCrowdedOutUnstakingPeriodIsZero: AugmentedError<ApiType>;
  1244. /**
  1245. * Invalid OpeningPolicyCommitment parameter (role_staking_policy):
  1246. * review_period_expired_unstaking_period_length should be non-zero.
  1247. **/
  1248. RoleStakingPolicyReviewPeriodUnstakingPeriodIsZero: AugmentedError<ApiType>;
  1249. /**
  1250. * Signer is not worker role account.
  1251. **/
  1252. SignerIsNotWorkerRoleAccount: AugmentedError<ApiType>;
  1253. /**
  1254. * Provided stake balance cannot be zero.
  1255. **/
  1256. StakeBalanceCannotBeZero: AugmentedError<ApiType>;
  1257. /**
  1258. * Already unstaking.
  1259. **/
  1260. StakingErrorAlreadyUnstaking: AugmentedError<ApiType>;
  1261. /**
  1262. * Cannot change stake by zero.
  1263. **/
  1264. StakingErrorCannotChangeStakeByZero: AugmentedError<ApiType>;
  1265. /**
  1266. * Cannot decrease stake while slashes ongoing.
  1267. **/
  1268. StakingErrorCannotDecreaseWhileSlashesOngoing: AugmentedError<ApiType>;
  1269. /**
  1270. * Cannot increase stake while unstaking.
  1271. **/
  1272. StakingErrorCannotIncreaseStakeWhileUnstaking: AugmentedError<ApiType>;
  1273. /**
  1274. * Cannot unstake while slashes ongoing.
  1275. **/
  1276. StakingErrorCannotUnstakeWhileSlashesOngoing: AugmentedError<ApiType>;
  1277. /**
  1278. * Insufficient balance in source account.
  1279. **/
  1280. StakingErrorInsufficientBalanceInSourceAccount: AugmentedError<ApiType>;
  1281. /**
  1282. * Insufficient stake to decrease.
  1283. **/
  1284. StakingErrorInsufficientStake: AugmentedError<ApiType>;
  1285. /**
  1286. * Not staked.
  1287. **/
  1288. StakingErrorNotStaked: AugmentedError<ApiType>;
  1289. /**
  1290. * Slash amount should be greater than zero.
  1291. **/
  1292. StakingErrorSlashAmountShouldBeGreaterThanZero: AugmentedError<ApiType>;
  1293. /**
  1294. * Stake not found.
  1295. **/
  1296. StakingErrorStakeNotFound: AugmentedError<ApiType>;
  1297. /**
  1298. * Unstaking period should be greater than zero.
  1299. **/
  1300. StakingErrorUnstakingPeriodShouldBeGreaterThanZero: AugmentedError<ApiType>;
  1301. /**
  1302. * Successful worker application does not exist.
  1303. **/
  1304. SuccessfulWorkerApplicationDoesNotExist: AugmentedError<ApiType>;
  1305. /**
  1306. * Invalid OpeningPolicyCommitment parameter:
  1307. * terminate_application_stake_unstaking_period should be non-zero.
  1308. **/
  1309. TerminateApplicationStakeUnstakingPeriodIsZero: AugmentedError<ApiType>;
  1310. /**
  1311. * Invalid OpeningPolicyCommitment parameter:
  1312. * terminate_role_stake_unstaking_period should be non-zero.
  1313. **/
  1314. TerminateRoleStakeUnstakingPeriodIsZero: AugmentedError<ApiType>;
  1315. /**
  1316. * Application does not exist.
  1317. **/
  1318. WithdrawWorkerApplicationApplicationDoesNotExist: AugmentedError<ApiType>;
  1319. /**
  1320. * Application is not active.
  1321. **/
  1322. WithdrawWorkerApplicationApplicationNotActive: AugmentedError<ApiType>;
  1323. /**
  1324. * Opening not accepting applications.
  1325. **/
  1326. WithdrawWorkerApplicationOpeningNotAcceptingApplications: AugmentedError<ApiType>;
  1327. /**
  1328. * Redundant unstaking period provided
  1329. **/
  1330. WithdrawWorkerApplicationRedundantUnstakingPeriod: AugmentedError<ApiType>;
  1331. /**
  1332. * UnstakingPeriodTooShort .... // <== SHOULD REALLY BE TWO SEPARATE, ONE FOR EACH STAKING PURPOSE
  1333. **/
  1334. WithdrawWorkerApplicationUnstakingPeriodTooShort: AugmentedError<ApiType>;
  1335. /**
  1336. * Worker application does not exist.
  1337. **/
  1338. WorkerApplicationDoesNotExist: AugmentedError<ApiType>;
  1339. /**
  1340. * Worker application text too long.
  1341. **/
  1342. WorkerApplicationTextTooLong: AugmentedError<ApiType>;
  1343. /**
  1344. * Worker application text too short.
  1345. **/
  1346. WorkerApplicationTextTooShort: AugmentedError<ApiType>;
  1347. /**
  1348. * Worker does not exist.
  1349. **/
  1350. WorkerDoesNotExist: AugmentedError<ApiType>;
  1351. /**
  1352. * Worker exit rationale text is too long.
  1353. **/
  1354. WorkerExitRationaleTextTooLong: AugmentedError<ApiType>;
  1355. /**
  1356. * Worker exit rationale text is too short.
  1357. **/
  1358. WorkerExitRationaleTextTooShort: AugmentedError<ApiType>;
  1359. /**
  1360. * Worker has no recurring reward.
  1361. **/
  1362. WorkerHasNoReward: AugmentedError<ApiType>;
  1363. /**
  1364. * Worker storage text is too long.
  1365. **/
  1366. WorkerStorageValueTooLong: AugmentedError<ApiType>;
  1367. };
  1368. grandpa: {
  1369. /**
  1370. * Attempt to signal GRANDPA change with one already pending.
  1371. **/
  1372. ChangePending: AugmentedError<ApiType>;
  1373. /**
  1374. * A given equivocation report is valid but already previously reported.
  1375. **/
  1376. DuplicateOffenceReport: AugmentedError<ApiType>;
  1377. /**
  1378. * An equivocation proof provided as part of an equivocation report is invalid.
  1379. **/
  1380. InvalidEquivocationProof: AugmentedError<ApiType>;
  1381. /**
  1382. * A key ownership proof provided as part of an equivocation report is invalid.
  1383. **/
  1384. InvalidKeyOwnershipProof: AugmentedError<ApiType>;
  1385. /**
  1386. * Attempt to signal GRANDPA pause when the authority set isn't live
  1387. * (either paused or already pending pause).
  1388. **/
  1389. PauseFailed: AugmentedError<ApiType>;
  1390. /**
  1391. * Attempt to signal GRANDPA resume when the authority set isn't paused
  1392. * (either live or already pending resume).
  1393. **/
  1394. ResumeFailed: AugmentedError<ApiType>;
  1395. /**
  1396. * Cannot signal forced change so soon after last.
  1397. **/
  1398. TooSoon: AugmentedError<ApiType>;
  1399. };
  1400. imOnline: {
  1401. /**
  1402. * Duplicated heartbeat.
  1403. **/
  1404. DuplicatedHeartbeat: AugmentedError<ApiType>;
  1405. /**
  1406. * Non existent public key.
  1407. **/
  1408. InvalidKey: AugmentedError<ApiType>;
  1409. };
  1410. members: {
  1411. /**
  1412. * Avatar url is too long.
  1413. **/
  1414. AvatarUriTooLong: AugmentedError<ApiType>;
  1415. /**
  1416. * Controller account required.
  1417. **/
  1418. ControllerAccountRequired: AugmentedError<ApiType>;
  1419. /**
  1420. * Handle already registered.
  1421. **/
  1422. HandleAlreadyRegistered: AugmentedError<ApiType>;
  1423. /**
  1424. * Handle must be provided during registration.
  1425. **/
  1426. HandleMustBeProvidedDuringRegistration: AugmentedError<ApiType>;
  1427. /**
  1428. * Handle too long.
  1429. **/
  1430. HandleTooLong: AugmentedError<ApiType>;
  1431. /**
  1432. * Handle too short.
  1433. **/
  1434. HandleTooShort: AugmentedError<ApiType>;
  1435. /**
  1436. * Screening authority attempting to endow more that maximum allowed.
  1437. **/
  1438. InitialBalanceExceedsMaxInitialBalance: AugmentedError<ApiType>;
  1439. /**
  1440. * Member profile not found (invalid member id).
  1441. **/
  1442. MemberProfileNotFound: AugmentedError<ApiType>;
  1443. /**
  1444. * New memberships not allowed.
  1445. **/
  1446. NewMembershipsNotAllowed: AugmentedError<ApiType>;
  1447. /**
  1448. * A screening authority is not defined.
  1449. **/
  1450. NoScreeningAuthorityDefined: AugmentedError<ApiType>;
  1451. /**
  1452. * Not enough balance to buy membership.
  1453. **/
  1454. NotEnoughBalanceToBuyMembership: AugmentedError<ApiType>;
  1455. /**
  1456. * Origin is not the screeing authority.
  1457. **/
  1458. NotScreeningAuthority: AugmentedError<ApiType>;
  1459. /**
  1460. * Only new accounts can be used for screened members.
  1461. **/
  1462. OnlyNewAccountsCanBeUsedForScreenedMembers: AugmentedError<ApiType>;
  1463. /**
  1464. * Paid term id not active.
  1465. **/
  1466. PaidTermIdNotActive: AugmentedError<ApiType>;
  1467. /**
  1468. * Paid term id not found.
  1469. **/
  1470. PaidTermIdNotFound: AugmentedError<ApiType>;
  1471. /**
  1472. * Root account required.
  1473. **/
  1474. RootAccountRequired: AugmentedError<ApiType>;
  1475. /**
  1476. * Invalid origin.
  1477. **/
  1478. UnsignedOrigin: AugmentedError<ApiType>;
  1479. };
  1480. operationsWorkingGroupAlpha: {
  1481. /**
  1482. * Opening does not exist.
  1483. **/
  1484. AcceptWorkerApplicationsOpeningDoesNotExist: AugmentedError<ApiType>;
  1485. /**
  1486. * Opening Is Not in Waiting to begin.
  1487. **/
  1488. AcceptWorkerApplicationsOpeningIsNotWaitingToBegin: AugmentedError<ApiType>;
  1489. /**
  1490. * Opening does not activate in the future.
  1491. **/
  1492. AddWorkerOpeningActivatesInThePast: AugmentedError<ApiType>;
  1493. /**
  1494. * Add worker opening application stake cannot be zero.
  1495. **/
  1496. AddWorkerOpeningApplicationStakeCannotBeZero: AugmentedError<ApiType>;
  1497. /**
  1498. * Application stake amount less than minimum currency balance.
  1499. **/
  1500. AddWorkerOpeningAppliicationStakeLessThanMinimum: AugmentedError<ApiType>;
  1501. /**
  1502. * New application was crowded out.
  1503. **/
  1504. AddWorkerOpeningNewApplicationWasCrowdedOut: AugmentedError<ApiType>;
  1505. /**
  1506. * Opening does not exist.
  1507. **/
  1508. AddWorkerOpeningOpeningDoesNotExist: AugmentedError<ApiType>;
  1509. /**
  1510. * Opening is not in accepting applications stage.
  1511. **/
  1512. AddWorkerOpeningOpeningNotInAcceptingApplicationStage: AugmentedError<ApiType>;
  1513. /**
  1514. * Add worker opening role stake cannot be zero.
  1515. **/
  1516. AddWorkerOpeningRoleStakeCannotBeZero: AugmentedError<ApiType>;
  1517. /**
  1518. * Role stake amount less than minimum currency balance.
  1519. **/
  1520. AddWorkerOpeningRoleStakeLessThanMinimum: AugmentedError<ApiType>;
  1521. /**
  1522. * Stake amount too low.
  1523. **/
  1524. AddWorkerOpeningStakeAmountTooLow: AugmentedError<ApiType>;
  1525. /**
  1526. * Stake missing when required.
  1527. **/
  1528. AddWorkerOpeningStakeMissingWhenRequired: AugmentedError<ApiType>;
  1529. /**
  1530. * Stake provided when redundant.
  1531. **/
  1532. AddWorkerOpeningStakeProvidedWhenRedundant: AugmentedError<ApiType>;
  1533. /**
  1534. * Application rationing has zero max active applicants.
  1535. **/
  1536. AddWorkerOpeningZeroMaxApplicantCount: AugmentedError<ApiType>;
  1537. /**
  1538. * Invalid OpeningPolicyCommitment parameter (application_rationing_policy):
  1539. * max_active_applicants should be non-zero.
  1540. **/
  1541. ApplicationRationingPolicyMaxActiveApplicantsIsZero: AugmentedError<ApiType>;
  1542. /**
  1543. * Invalid OpeningPolicyCommitment parameter (application_staking_policy):
  1544. * crowded_out_unstaking_period_length should be non-zero.
  1545. **/
  1546. ApplicationStakingPolicyCrowdedOutUnstakingPeriodIsZero: AugmentedError<ApiType>;
  1547. /**
  1548. * Invalid OpeningPolicyCommitment parameter (application_staking_policy):
  1549. * review_period_expired_unstaking_period_length should be non-zero.
  1550. **/
  1551. ApplicationStakingPolicyReviewPeriodUnstakingPeriodIsZero: AugmentedError<ApiType>;
  1552. /**
  1553. * Signer does not match controller account.
  1554. **/
  1555. ApplyOnWorkerOpeningSignerNotControllerAccount: AugmentedError<ApiType>;
  1556. /**
  1557. * Opening does not exist.
  1558. **/
  1559. BeginWorkerApplicantReviewOpeningDoesNotExist: AugmentedError<ApiType>;
  1560. /**
  1561. * Opening Is Not in Waiting.
  1562. **/
  1563. BeginWorkerApplicantReviewOpeningOpeningIsNotWaitingToBegin: AugmentedError<ApiType>;
  1564. /**
  1565. * Cannot find mint in the minting module.
  1566. **/
  1567. CannotFindMint: AugmentedError<ApiType>;
  1568. /**
  1569. * There is leader already, cannot hire another one.
  1570. **/
  1571. CannotHireLeaderWhenLeaderExists: AugmentedError<ApiType>;
  1572. /**
  1573. * Cannot fill opening with multiple applications.
  1574. **/
  1575. CannotHireMultipleLeaders: AugmentedError<ApiType>;
  1576. /**
  1577. * Current lead is not set.
  1578. **/
  1579. CurrentLeadNotSet: AugmentedError<ApiType>;
  1580. /**
  1581. * Invalid OpeningPolicyCommitment parameter:
  1582. * exit_role_application_stake_unstaking_period should be non-zero.
  1583. **/
  1584. ExitRoleApplicationStakeUnstakingPeriodIsZero: AugmentedError<ApiType>;
  1585. /**
  1586. * Invalid OpeningPolicyCommitment parameter:
  1587. * exit_role_stake_unstaking_period should be non-zero.
  1588. **/
  1589. ExitRoleStakeUnstakingPeriodIsZero: AugmentedError<ApiType>;
  1590. /**
  1591. * Invalid OpeningPolicyCommitment parameter:
  1592. * fill_opening_failed_applicant_application_stake_unstaking_period should be non-zero.
  1593. **/
  1594. FillOpeningFailedApplicantApplicationStakeUnstakingPeriodIsZero: AugmentedError<ApiType>;
  1595. /**
  1596. * Invalid OpeningPolicyCommitment parameter:
  1597. * fill_opening_failed_applicant_role_stake_unstaking_period should be non-zero.
  1598. **/
  1599. FillOpeningFailedApplicantRoleStakeUnstakingPeriodIsZero: AugmentedError<ApiType>;
  1600. /**
  1601. * Reward policy has invalid next payment block number.
  1602. **/
  1603. FillOpeningInvalidNextPaymentBlock: AugmentedError<ApiType>;
  1604. /**
  1605. * Working group mint does not exist.
  1606. **/
  1607. FillOpeningMintDoesNotExist: AugmentedError<ApiType>;
  1608. /**
  1609. * Invalid OpeningPolicyCommitment parameter:
  1610. * fill_opening_successful_applicant_application_stake_unstaking_period should be non-zero.
  1611. **/
  1612. FillOpeningSuccessfulApplicantApplicationStakeUnstakingPeriodIsZero: AugmentedError<ApiType>;
  1613. /**
  1614. * Applications not for opening.
  1615. **/
  1616. FillWorkerOpeningApplicationForWrongOpening: AugmentedError<ApiType>;
  1617. /**
  1618. * Application does not exist.
  1619. **/
  1620. FullWorkerOpeningApplicationDoesNotExist: AugmentedError<ApiType>;
  1621. /**
  1622. * Application not in active stage.
  1623. **/
  1624. FullWorkerOpeningApplicationNotActive: AugmentedError<ApiType>;
  1625. /**
  1626. * OpeningDoesNotExist.
  1627. **/
  1628. FullWorkerOpeningOpeningDoesNotExist: AugmentedError<ApiType>;
  1629. /**
  1630. * Opening not in review period stage.
  1631. **/
  1632. FullWorkerOpeningOpeningNotInReviewPeriodStage: AugmentedError<ApiType>;
  1633. /**
  1634. * Application stake unstaking period for successful applicants redundant.
  1635. **/
  1636. FullWorkerOpeningSuccessfulApplicationStakeUnstakingPeriodRedundant: AugmentedError<ApiType>;
  1637. /**
  1638. * Application stake unstaking period for failed applicants too short.
  1639. **/
  1640. FullWorkerOpeningSuccessfulApplicationStakeUnstakingPeriodTooShort: AugmentedError<ApiType>;
  1641. /**
  1642. * Role stake unstaking period for successful applicants redundant.
  1643. **/
  1644. FullWorkerOpeningSuccessfulRoleStakeUnstakingPeriodRedundant: AugmentedError<ApiType>;
  1645. /**
  1646. * Role stake unstaking period for successful applicants too short.
  1647. **/
  1648. FullWorkerOpeningSuccessfulRoleStakeUnstakingPeriodTooShort: AugmentedError<ApiType>;
  1649. /**
  1650. * Application stake unstaking period for failed applicants redundant.
  1651. **/
  1652. FullWorkerOpeningUnsuccessfulApplicationStakeUnstakingPeriodRedundant: AugmentedError<ApiType>;
  1653. /**
  1654. * Application stake unstaking period for successful applicants too short.
  1655. **/
  1656. FullWorkerOpeningUnsuccessfulApplicationStakeUnstakingPeriodTooShort: AugmentedError<ApiType>;
  1657. /**
  1658. * Role stake unstaking period for failed applicants redundant.
  1659. **/
  1660. FullWorkerOpeningUnsuccessfulRoleStakeUnstakingPeriodRedundant: AugmentedError<ApiType>;
  1661. /**
  1662. * Role stake unstaking period for failed applicants too short.
  1663. **/
  1664. FullWorkerOpeningUnsuccessfulRoleStakeUnstakingPeriodTooShort: AugmentedError<ApiType>;
  1665. /**
  1666. * Insufficient balance to apply.
  1667. **/
  1668. InsufficientBalanceToApply: AugmentedError<ApiType>;
  1669. /**
  1670. * Insufficient balance to cover stake.
  1671. **/
  1672. InsufficientBalanceToCoverStake: AugmentedError<ApiType>;
  1673. /**
  1674. * Not a lead account.
  1675. **/
  1676. IsNotLeadAccount: AugmentedError<ApiType>;
  1677. /**
  1678. * Working group size limit exceeded.
  1679. **/
  1680. MaxActiveWorkerNumberExceeded: AugmentedError<ApiType>;
  1681. /**
  1682. * Member already has an active application on the opening.
  1683. **/
  1684. MemberHasActiveApplicationOnOpening: AugmentedError<ApiType>;
  1685. /**
  1686. * Member id is invalid.
  1687. **/
  1688. MembershipInvalidMemberId: AugmentedError<ApiType>;
  1689. /**
  1690. * Unsigned origin.
  1691. **/
  1692. MembershipUnsignedOrigin: AugmentedError<ApiType>;
  1693. /**
  1694. * Minting error: NextAdjustmentInPast
  1695. **/
  1696. MintingErrorNextAdjustmentInPast: AugmentedError<ApiType>;
  1697. /**
  1698. * Cannot get the worker stake profile.
  1699. **/
  1700. NoWorkerStakeProfile: AugmentedError<ApiType>;
  1701. /**
  1702. * Opening does not exist.
  1703. **/
  1704. OpeningDoesNotExist: AugmentedError<ApiType>;
  1705. /**
  1706. * Opening text too long.
  1707. **/
  1708. OpeningTextTooLong: AugmentedError<ApiType>;
  1709. /**
  1710. * Opening text too short.
  1711. **/
  1712. OpeningTextTooShort: AugmentedError<ApiType>;
  1713. /**
  1714. * Origin must be controller or root account of member.
  1715. **/
  1716. OriginIsNeitherMemberControllerOrRoot: AugmentedError<ApiType>;
  1717. /**
  1718. * Origin is not applicant.
  1719. **/
  1720. OriginIsNotApplicant: AugmentedError<ApiType>;
  1721. /**
  1722. * Next payment is not in the future.
  1723. **/
  1724. RecurringRewardsNextPaymentNotInFuture: AugmentedError<ApiType>;
  1725. /**
  1726. * Recipient not found.
  1727. **/
  1728. RecurringRewardsRecipientNotFound: AugmentedError<ApiType>;
  1729. /**
  1730. * Reward relationship not found.
  1731. **/
  1732. RecurringRewardsRewardRelationshipNotFound: AugmentedError<ApiType>;
  1733. /**
  1734. * Recipient reward source not found.
  1735. **/
  1736. RecurringRewardsRewardSourceNotFound: AugmentedError<ApiType>;
  1737. /**
  1738. * Relationship must exist.
  1739. **/
  1740. RelationshipMustExist: AugmentedError<ApiType>;
  1741. /**
  1742. * Require root origin in extrinsics.
  1743. **/
  1744. RequireRootOrigin: AugmentedError<ApiType>;
  1745. /**
  1746. * Require signed origin in extrinsics.
  1747. **/
  1748. RequireSignedOrigin: AugmentedError<ApiType>;
  1749. /**
  1750. * Invalid OpeningPolicyCommitment parameter (role_staking_policy):
  1751. * crowded_out_unstaking_period_length should be non-zero.
  1752. **/
  1753. RoleStakingPolicyCrowdedOutUnstakingPeriodIsZero: AugmentedError<ApiType>;
  1754. /**
  1755. * Invalid OpeningPolicyCommitment parameter (role_staking_policy):
  1756. * review_period_expired_unstaking_period_length should be non-zero.
  1757. **/
  1758. RoleStakingPolicyReviewPeriodUnstakingPeriodIsZero: AugmentedError<ApiType>;
  1759. /**
  1760. * Signer is not worker role account.
  1761. **/
  1762. SignerIsNotWorkerRoleAccount: AugmentedError<ApiType>;
  1763. /**
  1764. * Provided stake balance cannot be zero.
  1765. **/
  1766. StakeBalanceCannotBeZero: AugmentedError<ApiType>;
  1767. /**
  1768. * Already unstaking.
  1769. **/
  1770. StakingErrorAlreadyUnstaking: AugmentedError<ApiType>;
  1771. /**
  1772. * Cannot change stake by zero.
  1773. **/
  1774. StakingErrorCannotChangeStakeByZero: AugmentedError<ApiType>;
  1775. /**
  1776. * Cannot decrease stake while slashes ongoing.
  1777. **/
  1778. StakingErrorCannotDecreaseWhileSlashesOngoing: AugmentedError<ApiType>;
  1779. /**
  1780. * Cannot increase stake while unstaking.
  1781. **/
  1782. StakingErrorCannotIncreaseStakeWhileUnstaking: AugmentedError<ApiType>;
  1783. /**
  1784. * Cannot unstake while slashes ongoing.
  1785. **/
  1786. StakingErrorCannotUnstakeWhileSlashesOngoing: AugmentedError<ApiType>;
  1787. /**
  1788. * Insufficient balance in source account.
  1789. **/
  1790. StakingErrorInsufficientBalanceInSourceAccount: AugmentedError<ApiType>;
  1791. /**
  1792. * Insufficient stake to decrease.
  1793. **/
  1794. StakingErrorInsufficientStake: AugmentedError<ApiType>;
  1795. /**
  1796. * Not staked.
  1797. **/
  1798. StakingErrorNotStaked: AugmentedError<ApiType>;
  1799. /**
  1800. * Slash amount should be greater than zero.
  1801. **/
  1802. StakingErrorSlashAmountShouldBeGreaterThanZero: AugmentedError<ApiType>;
  1803. /**
  1804. * Stake not found.
  1805. **/
  1806. StakingErrorStakeNotFound: AugmentedError<ApiType>;
  1807. /**
  1808. * Unstaking period should be greater than zero.
  1809. **/
  1810. StakingErrorUnstakingPeriodShouldBeGreaterThanZero: AugmentedError<ApiType>;
  1811. /**
  1812. * Successful worker application does not exist.
  1813. **/
  1814. SuccessfulWorkerApplicationDoesNotExist: AugmentedError<ApiType>;
  1815. /**
  1816. * Invalid OpeningPolicyCommitment parameter:
  1817. * terminate_application_stake_unstaking_period should be non-zero.
  1818. **/
  1819. TerminateApplicationStakeUnstakingPeriodIsZero: AugmentedError<ApiType>;
  1820. /**
  1821. * Invalid OpeningPolicyCommitment parameter:
  1822. * terminate_role_stake_unstaking_period should be non-zero.
  1823. **/
  1824. TerminateRoleStakeUnstakingPeriodIsZero: AugmentedError<ApiType>;
  1825. /**
  1826. * Application does not exist.
  1827. **/
  1828. WithdrawWorkerApplicationApplicationDoesNotExist: AugmentedError<ApiType>;
  1829. /**
  1830. * Application is not active.
  1831. **/
  1832. WithdrawWorkerApplicationApplicationNotActive: AugmentedError<ApiType>;
  1833. /**
  1834. * Opening not accepting applications.
  1835. **/
  1836. WithdrawWorkerApplicationOpeningNotAcceptingApplications: AugmentedError<ApiType>;
  1837. /**
  1838. * Redundant unstaking period provided
  1839. **/
  1840. WithdrawWorkerApplicationRedundantUnstakingPeriod: AugmentedError<ApiType>;
  1841. /**
  1842. * UnstakingPeriodTooShort .... // <== SHOULD REALLY BE TWO SEPARATE, ONE FOR EACH STAKING PURPOSE
  1843. **/
  1844. WithdrawWorkerApplicationUnstakingPeriodTooShort: AugmentedError<ApiType>;
  1845. /**
  1846. * Worker application does not exist.
  1847. **/
  1848. WorkerApplicationDoesNotExist: AugmentedError<ApiType>;
  1849. /**
  1850. * Worker application text too long.
  1851. **/
  1852. WorkerApplicationTextTooLong: AugmentedError<ApiType>;
  1853. /**
  1854. * Worker application text too short.
  1855. **/
  1856. WorkerApplicationTextTooShort: AugmentedError<ApiType>;
  1857. /**
  1858. * Worker does not exist.
  1859. **/
  1860. WorkerDoesNotExist: AugmentedError<ApiType>;
  1861. /**
  1862. * Worker exit rationale text is too long.
  1863. **/
  1864. WorkerExitRationaleTextTooLong: AugmentedError<ApiType>;
  1865. /**
  1866. * Worker exit rationale text is too short.
  1867. **/
  1868. WorkerExitRationaleTextTooShort: AugmentedError<ApiType>;
  1869. /**
  1870. * Worker has no recurring reward.
  1871. **/
  1872. WorkerHasNoReward: AugmentedError<ApiType>;
  1873. /**
  1874. * Worker storage text is too long.
  1875. **/
  1876. WorkerStorageValueTooLong: AugmentedError<ApiType>;
  1877. };
  1878. operationsWorkingGroupBeta: {
  1879. /**
  1880. * Opening does not exist.
  1881. **/
  1882. AcceptWorkerApplicationsOpeningDoesNotExist: AugmentedError<ApiType>;
  1883. /**
  1884. * Opening Is Not in Waiting to begin.
  1885. **/
  1886. AcceptWorkerApplicationsOpeningIsNotWaitingToBegin: AugmentedError<ApiType>;
  1887. /**
  1888. * Opening does not activate in the future.
  1889. **/
  1890. AddWorkerOpeningActivatesInThePast: AugmentedError<ApiType>;
  1891. /**
  1892. * Add worker opening application stake cannot be zero.
  1893. **/
  1894. AddWorkerOpeningApplicationStakeCannotBeZero: AugmentedError<ApiType>;
  1895. /**
  1896. * Application stake amount less than minimum currency balance.
  1897. **/
  1898. AddWorkerOpeningAppliicationStakeLessThanMinimum: AugmentedError<ApiType>;
  1899. /**
  1900. * New application was crowded out.
  1901. **/
  1902. AddWorkerOpeningNewApplicationWasCrowdedOut: AugmentedError<ApiType>;
  1903. /**
  1904. * Opening does not exist.
  1905. **/
  1906. AddWorkerOpeningOpeningDoesNotExist: AugmentedError<ApiType>;
  1907. /**
  1908. * Opening is not in accepting applications stage.
  1909. **/
  1910. AddWorkerOpeningOpeningNotInAcceptingApplicationStage: AugmentedError<ApiType>;
  1911. /**
  1912. * Add worker opening role stake cannot be zero.
  1913. **/
  1914. AddWorkerOpeningRoleStakeCannotBeZero: AugmentedError<ApiType>;
  1915. /**
  1916. * Role stake amount less than minimum currency balance.
  1917. **/
  1918. AddWorkerOpeningRoleStakeLessThanMinimum: AugmentedError<ApiType>;
  1919. /**
  1920. * Stake amount too low.
  1921. **/
  1922. AddWorkerOpeningStakeAmountTooLow: AugmentedError<ApiType>;
  1923. /**
  1924. * Stake missing when required.
  1925. **/
  1926. AddWorkerOpeningStakeMissingWhenRequired: AugmentedError<ApiType>;
  1927. /**
  1928. * Stake provided when redundant.
  1929. **/
  1930. AddWorkerOpeningStakeProvidedWhenRedundant: AugmentedError<ApiType>;
  1931. /**
  1932. * Application rationing has zero max active applicants.
  1933. **/
  1934. AddWorkerOpeningZeroMaxApplicantCount: AugmentedError<ApiType>;
  1935. /**
  1936. * Invalid OpeningPolicyCommitment parameter (application_rationing_policy):
  1937. * max_active_applicants should be non-zero.
  1938. **/
  1939. ApplicationRationingPolicyMaxActiveApplicantsIsZero: AugmentedError<ApiType>;
  1940. /**
  1941. * Invalid OpeningPolicyCommitment parameter (application_staking_policy):
  1942. * crowded_out_unstaking_period_length should be non-zero.
  1943. **/
  1944. ApplicationStakingPolicyCrowdedOutUnstakingPeriodIsZero: AugmentedError<ApiType>;
  1945. /**
  1946. * Invalid OpeningPolicyCommitment parameter (application_staking_policy):
  1947. * review_period_expired_unstaking_period_length should be non-zero.
  1948. **/
  1949. ApplicationStakingPolicyReviewPeriodUnstakingPeriodIsZero: AugmentedError<ApiType>;
  1950. /**
  1951. * Signer does not match controller account.
  1952. **/
  1953. ApplyOnWorkerOpeningSignerNotControllerAccount: AugmentedError<ApiType>;
  1954. /**
  1955. * Opening does not exist.
  1956. **/
  1957. BeginWorkerApplicantReviewOpeningDoesNotExist: AugmentedError<ApiType>;
  1958. /**
  1959. * Opening Is Not in Waiting.
  1960. **/
  1961. BeginWorkerApplicantReviewOpeningOpeningIsNotWaitingToBegin: AugmentedError<ApiType>;
  1962. /**
  1963. * Cannot find mint in the minting module.
  1964. **/
  1965. CannotFindMint: AugmentedError<ApiType>;
  1966. /**
  1967. * There is leader already, cannot hire another one.
  1968. **/
  1969. CannotHireLeaderWhenLeaderExists: AugmentedError<ApiType>;
  1970. /**
  1971. * Cannot fill opening with multiple applications.
  1972. **/
  1973. CannotHireMultipleLeaders: AugmentedError<ApiType>;
  1974. /**
  1975. * Current lead is not set.
  1976. **/
  1977. CurrentLeadNotSet: AugmentedError<ApiType>;
  1978. /**
  1979. * Invalid OpeningPolicyCommitment parameter:
  1980. * exit_role_application_stake_unstaking_period should be non-zero.
  1981. **/
  1982. ExitRoleApplicationStakeUnstakingPeriodIsZero: AugmentedError<ApiType>;
  1983. /**
  1984. * Invalid OpeningPolicyCommitment parameter:
  1985. * exit_role_stake_unstaking_period should be non-zero.
  1986. **/
  1987. ExitRoleStakeUnstakingPeriodIsZero: AugmentedError<ApiType>;
  1988. /**
  1989. * Invalid OpeningPolicyCommitment parameter:
  1990. * fill_opening_failed_applicant_application_stake_unstaking_period should be non-zero.
  1991. **/
  1992. FillOpeningFailedApplicantApplicationStakeUnstakingPeriodIsZero: AugmentedError<ApiType>;
  1993. /**
  1994. * Invalid OpeningPolicyCommitment parameter:
  1995. * fill_opening_failed_applicant_role_stake_unstaking_period should be non-zero.
  1996. **/
  1997. FillOpeningFailedApplicantRoleStakeUnstakingPeriodIsZero: AugmentedError<ApiType>;
  1998. /**
  1999. * Reward policy has invalid next payment block number.
  2000. **/
  2001. FillOpeningInvalidNextPaymentBlock: AugmentedError<ApiType>;
  2002. /**
  2003. * Working group mint does not exist.
  2004. **/
  2005. FillOpeningMintDoesNotExist: AugmentedError<ApiType>;
  2006. /**
  2007. * Invalid OpeningPolicyCommitment parameter:
  2008. * fill_opening_successful_applicant_application_stake_unstaking_period should be non-zero.
  2009. **/
  2010. FillOpeningSuccessfulApplicantApplicationStakeUnstakingPeriodIsZero: AugmentedError<ApiType>;
  2011. /**
  2012. * Applications not for opening.
  2013. **/
  2014. FillWorkerOpeningApplicationForWrongOpening: AugmentedError<ApiType>;
  2015. /**
  2016. * Application does not exist.
  2017. **/
  2018. FullWorkerOpeningApplicationDoesNotExist: AugmentedError<ApiType>;
  2019. /**
  2020. * Application not in active stage.
  2021. **/
  2022. FullWorkerOpeningApplicationNotActive: AugmentedError<ApiType>;
  2023. /**
  2024. * OpeningDoesNotExist.
  2025. **/
  2026. FullWorkerOpeningOpeningDoesNotExist: AugmentedError<ApiType>;
  2027. /**
  2028. * Opening not in review period stage.
  2029. **/
  2030. FullWorkerOpeningOpeningNotInReviewPeriodStage: AugmentedError<ApiType>;
  2031. /**
  2032. * Application stake unstaking period for successful applicants redundant.
  2033. **/
  2034. FullWorkerOpeningSuccessfulApplicationStakeUnstakingPeriodRedundant: AugmentedError<ApiType>;
  2035. /**
  2036. * Application stake unstaking period for failed applicants too short.
  2037. **/
  2038. FullWorkerOpeningSuccessfulApplicationStakeUnstakingPeriodTooShort: AugmentedError<ApiType>;
  2039. /**
  2040. * Role stake unstaking period for successful applicants redundant.
  2041. **/
  2042. FullWorkerOpeningSuccessfulRoleStakeUnstakingPeriodRedundant: AugmentedError<ApiType>;
  2043. /**
  2044. * Role stake unstaking period for successful applicants too short.
  2045. **/
  2046. FullWorkerOpeningSuccessfulRoleStakeUnstakingPeriodTooShort: AugmentedError<ApiType>;
  2047. /**
  2048. * Application stake unstaking period for failed applicants redundant.
  2049. **/
  2050. FullWorkerOpeningUnsuccessfulApplicationStakeUnstakingPeriodRedundant: AugmentedError<ApiType>;
  2051. /**
  2052. * Application stake unstaking period for successful applicants too short.
  2053. **/
  2054. FullWorkerOpeningUnsuccessfulApplicationStakeUnstakingPeriodTooShort: AugmentedError<ApiType>;
  2055. /**
  2056. * Role stake unstaking period for failed applicants redundant.
  2057. **/
  2058. FullWorkerOpeningUnsuccessfulRoleStakeUnstakingPeriodRedundant: AugmentedError<ApiType>;
  2059. /**
  2060. * Role stake unstaking period for failed applicants too short.
  2061. **/
  2062. FullWorkerOpeningUnsuccessfulRoleStakeUnstakingPeriodTooShort: AugmentedError<ApiType>;
  2063. /**
  2064. * Insufficient balance to apply.
  2065. **/
  2066. InsufficientBalanceToApply: AugmentedError<ApiType>;
  2067. /**
  2068. * Insufficient balance to cover stake.
  2069. **/
  2070. InsufficientBalanceToCoverStake: AugmentedError<ApiType>;
  2071. /**
  2072. * Not a lead account.
  2073. **/
  2074. IsNotLeadAccount: AugmentedError<ApiType>;
  2075. /**
  2076. * Working group size limit exceeded.
  2077. **/
  2078. MaxActiveWorkerNumberExceeded: AugmentedError<ApiType>;
  2079. /**
  2080. * Member already has an active application on the opening.
  2081. **/
  2082. MemberHasActiveApplicationOnOpening: AugmentedError<ApiType>;
  2083. /**
  2084. * Member id is invalid.
  2085. **/
  2086. MembershipInvalidMemberId: AugmentedError<ApiType>;
  2087. /**
  2088. * Unsigned origin.
  2089. **/
  2090. MembershipUnsignedOrigin: AugmentedError<ApiType>;
  2091. /**
  2092. * Minting error: NextAdjustmentInPast
  2093. **/
  2094. MintingErrorNextAdjustmentInPast: AugmentedError<ApiType>;
  2095. /**
  2096. * Cannot get the worker stake profile.
  2097. **/
  2098. NoWorkerStakeProfile: AugmentedError<ApiType>;
  2099. /**
  2100. * Opening does not exist.
  2101. **/
  2102. OpeningDoesNotExist: AugmentedError<ApiType>;
  2103. /**
  2104. * Opening text too long.
  2105. **/
  2106. OpeningTextTooLong: AugmentedError<ApiType>;
  2107. /**
  2108. * Opening text too short.
  2109. **/
  2110. OpeningTextTooShort: AugmentedError<ApiType>;
  2111. /**
  2112. * Origin must be controller or root account of member.
  2113. **/
  2114. OriginIsNeitherMemberControllerOrRoot: AugmentedError<ApiType>;
  2115. /**
  2116. * Origin is not applicant.
  2117. **/
  2118. OriginIsNotApplicant: AugmentedError<ApiType>;
  2119. /**
  2120. * Next payment is not in the future.
  2121. **/
  2122. RecurringRewardsNextPaymentNotInFuture: AugmentedError<ApiType>;
  2123. /**
  2124. * Recipient not found.
  2125. **/
  2126. RecurringRewardsRecipientNotFound: AugmentedError<ApiType>;
  2127. /**
  2128. * Reward relationship not found.
  2129. **/
  2130. RecurringRewardsRewardRelationshipNotFound: AugmentedError<ApiType>;
  2131. /**
  2132. * Recipient reward source not found.
  2133. **/
  2134. RecurringRewardsRewardSourceNotFound: AugmentedError<ApiType>;
  2135. /**
  2136. * Relationship must exist.
  2137. **/
  2138. RelationshipMustExist: AugmentedError<ApiType>;
  2139. /**
  2140. * Require root origin in extrinsics.
  2141. **/
  2142. RequireRootOrigin: AugmentedError<ApiType>;
  2143. /**
  2144. * Require signed origin in extrinsics.
  2145. **/
  2146. RequireSignedOrigin: AugmentedError<ApiType>;
  2147. /**
  2148. * Invalid OpeningPolicyCommitment parameter (role_staking_policy):
  2149. * crowded_out_unstaking_period_length should be non-zero.
  2150. **/
  2151. RoleStakingPolicyCrowdedOutUnstakingPeriodIsZero: AugmentedError<ApiType>;
  2152. /**
  2153. * Invalid OpeningPolicyCommitment parameter (role_staking_policy):
  2154. * review_period_expired_unstaking_period_length should be non-zero.
  2155. **/
  2156. RoleStakingPolicyReviewPeriodUnstakingPeriodIsZero: AugmentedError<ApiType>;
  2157. /**
  2158. * Signer is not worker role account.
  2159. **/
  2160. SignerIsNotWorkerRoleAccount: AugmentedError<ApiType>;
  2161. /**
  2162. * Provided stake balance cannot be zero.
  2163. **/
  2164. StakeBalanceCannotBeZero: AugmentedError<ApiType>;
  2165. /**
  2166. * Already unstaking.
  2167. **/
  2168. StakingErrorAlreadyUnstaking: AugmentedError<ApiType>;
  2169. /**
  2170. * Cannot change stake by zero.
  2171. **/
  2172. StakingErrorCannotChangeStakeByZero: AugmentedError<ApiType>;
  2173. /**
  2174. * Cannot decrease stake while slashes ongoing.
  2175. **/
  2176. StakingErrorCannotDecreaseWhileSlashesOngoing: AugmentedError<ApiType>;
  2177. /**
  2178. * Cannot increase stake while unstaking.
  2179. **/
  2180. StakingErrorCannotIncreaseStakeWhileUnstaking: AugmentedError<ApiType>;
  2181. /**
  2182. * Cannot unstake while slashes ongoing.
  2183. **/
  2184. StakingErrorCannotUnstakeWhileSlashesOngoing: AugmentedError<ApiType>;
  2185. /**
  2186. * Insufficient balance in source account.
  2187. **/
  2188. StakingErrorInsufficientBalanceInSourceAccount: AugmentedError<ApiType>;
  2189. /**
  2190. * Insufficient stake to decrease.
  2191. **/
  2192. StakingErrorInsufficientStake: AugmentedError<ApiType>;
  2193. /**
  2194. * Not staked.
  2195. **/
  2196. StakingErrorNotStaked: AugmentedError<ApiType>;
  2197. /**
  2198. * Slash amount should be greater than zero.
  2199. **/
  2200. StakingErrorSlashAmountShouldBeGreaterThanZero: AugmentedError<ApiType>;
  2201. /**
  2202. * Stake not found.
  2203. **/
  2204. StakingErrorStakeNotFound: AugmentedError<ApiType>;
  2205. /**
  2206. * Unstaking period should be greater than zero.
  2207. **/
  2208. StakingErrorUnstakingPeriodShouldBeGreaterThanZero: AugmentedError<ApiType>;
  2209. /**
  2210. * Successful worker application does not exist.
  2211. **/
  2212. SuccessfulWorkerApplicationDoesNotExist: AugmentedError<ApiType>;
  2213. /**
  2214. * Invalid OpeningPolicyCommitment parameter:
  2215. * terminate_application_stake_unstaking_period should be non-zero.
  2216. **/
  2217. TerminateApplicationStakeUnstakingPeriodIsZero: AugmentedError<ApiType>;
  2218. /**
  2219. * Invalid OpeningPolicyCommitment parameter:
  2220. * terminate_role_stake_unstaking_period should be non-zero.
  2221. **/
  2222. TerminateRoleStakeUnstakingPeriodIsZero: AugmentedError<ApiType>;
  2223. /**
  2224. * Application does not exist.
  2225. **/
  2226. WithdrawWorkerApplicationApplicationDoesNotExist: AugmentedError<ApiType>;
  2227. /**
  2228. * Application is not active.
  2229. **/
  2230. WithdrawWorkerApplicationApplicationNotActive: AugmentedError<ApiType>;
  2231. /**
  2232. * Opening not accepting applications.
  2233. **/
  2234. WithdrawWorkerApplicationOpeningNotAcceptingApplications: AugmentedError<ApiType>;
  2235. /**
  2236. * Redundant unstaking period provided
  2237. **/
  2238. WithdrawWorkerApplicationRedundantUnstakingPeriod: AugmentedError<ApiType>;
  2239. /**
  2240. * UnstakingPeriodTooShort .... // <== SHOULD REALLY BE TWO SEPARATE, ONE FOR EACH STAKING PURPOSE
  2241. **/
  2242. WithdrawWorkerApplicationUnstakingPeriodTooShort: AugmentedError<ApiType>;
  2243. /**
  2244. * Worker application does not exist.
  2245. **/
  2246. WorkerApplicationDoesNotExist: AugmentedError<ApiType>;
  2247. /**
  2248. * Worker application text too long.
  2249. **/
  2250. WorkerApplicationTextTooLong: AugmentedError<ApiType>;
  2251. /**
  2252. * Worker application text too short.
  2253. **/
  2254. WorkerApplicationTextTooShort: AugmentedError<ApiType>;
  2255. /**
  2256. * Worker does not exist.
  2257. **/
  2258. WorkerDoesNotExist: AugmentedError<ApiType>;
  2259. /**
  2260. * Worker exit rationale text is too long.
  2261. **/
  2262. WorkerExitRationaleTextTooLong: AugmentedError<ApiType>;
  2263. /**
  2264. * Worker exit rationale text is too short.
  2265. **/
  2266. WorkerExitRationaleTextTooShort: AugmentedError<ApiType>;
  2267. /**
  2268. * Worker has no recurring reward.
  2269. **/
  2270. WorkerHasNoReward: AugmentedError<ApiType>;
  2271. /**
  2272. * Worker storage text is too long.
  2273. **/
  2274. WorkerStorageValueTooLong: AugmentedError<ApiType>;
  2275. };
  2276. operationsWorkingGroupGamma: {
  2277. /**
  2278. * Opening does not exist.
  2279. **/
  2280. AcceptWorkerApplicationsOpeningDoesNotExist: AugmentedError<ApiType>;
  2281. /**
  2282. * Opening Is Not in Waiting to begin.
  2283. **/
  2284. AcceptWorkerApplicationsOpeningIsNotWaitingToBegin: AugmentedError<ApiType>;
  2285. /**
  2286. * Opening does not activate in the future.
  2287. **/
  2288. AddWorkerOpeningActivatesInThePast: AugmentedError<ApiType>;
  2289. /**
  2290. * Add worker opening application stake cannot be zero.
  2291. **/
  2292. AddWorkerOpeningApplicationStakeCannotBeZero: AugmentedError<ApiType>;
  2293. /**
  2294. * Application stake amount less than minimum currency balance.
  2295. **/
  2296. AddWorkerOpeningAppliicationStakeLessThanMinimum: AugmentedError<ApiType>;
  2297. /**
  2298. * New application was crowded out.
  2299. **/
  2300. AddWorkerOpeningNewApplicationWasCrowdedOut: AugmentedError<ApiType>;
  2301. /**
  2302. * Opening does not exist.
  2303. **/
  2304. AddWorkerOpeningOpeningDoesNotExist: AugmentedError<ApiType>;
  2305. /**
  2306. * Opening is not in accepting applications stage.
  2307. **/
  2308. AddWorkerOpeningOpeningNotInAcceptingApplicationStage: AugmentedError<ApiType>;
  2309. /**
  2310. * Add worker opening role stake cannot be zero.
  2311. **/
  2312. AddWorkerOpeningRoleStakeCannotBeZero: AugmentedError<ApiType>;
  2313. /**
  2314. * Role stake amount less than minimum currency balance.
  2315. **/
  2316. AddWorkerOpeningRoleStakeLessThanMinimum: AugmentedError<ApiType>;
  2317. /**
  2318. * Stake amount too low.
  2319. **/
  2320. AddWorkerOpeningStakeAmountTooLow: AugmentedError<ApiType>;
  2321. /**
  2322. * Stake missing when required.
  2323. **/
  2324. AddWorkerOpeningStakeMissingWhenRequired: AugmentedError<ApiType>;
  2325. /**
  2326. * Stake provided when redundant.
  2327. **/
  2328. AddWorkerOpeningStakeProvidedWhenRedundant: AugmentedError<ApiType>;
  2329. /**
  2330. * Application rationing has zero max active applicants.
  2331. **/
  2332. AddWorkerOpeningZeroMaxApplicantCount: AugmentedError<ApiType>;
  2333. /**
  2334. * Invalid OpeningPolicyCommitment parameter (application_rationing_policy):
  2335. * max_active_applicants should be non-zero.
  2336. **/
  2337. ApplicationRationingPolicyMaxActiveApplicantsIsZero: AugmentedError<ApiType>;
  2338. /**
  2339. * Invalid OpeningPolicyCommitment parameter (application_staking_policy):
  2340. * crowded_out_unstaking_period_length should be non-zero.
  2341. **/
  2342. ApplicationStakingPolicyCrowdedOutUnstakingPeriodIsZero: AugmentedError<ApiType>;
  2343. /**
  2344. * Invalid OpeningPolicyCommitment parameter (application_staking_policy):
  2345. * review_period_expired_unstaking_period_length should be non-zero.
  2346. **/
  2347. ApplicationStakingPolicyReviewPeriodUnstakingPeriodIsZero: AugmentedError<ApiType>;
  2348. /**
  2349. * Signer does not match controller account.
  2350. **/
  2351. ApplyOnWorkerOpeningSignerNotControllerAccount: AugmentedError<ApiType>;
  2352. /**
  2353. * Opening does not exist.
  2354. **/
  2355. BeginWorkerApplicantReviewOpeningDoesNotExist: AugmentedError<ApiType>;
  2356. /**
  2357. * Opening Is Not in Waiting.
  2358. **/
  2359. BeginWorkerApplicantReviewOpeningOpeningIsNotWaitingToBegin: AugmentedError<ApiType>;
  2360. /**
  2361. * Cannot find mint in the minting module.
  2362. **/
  2363. CannotFindMint: AugmentedError<ApiType>;
  2364. /**
  2365. * There is leader already, cannot hire another one.
  2366. **/
  2367. CannotHireLeaderWhenLeaderExists: AugmentedError<ApiType>;
  2368. /**
  2369. * Cannot fill opening with multiple applications.
  2370. **/
  2371. CannotHireMultipleLeaders: AugmentedError<ApiType>;
  2372. /**
  2373. * Current lead is not set.
  2374. **/
  2375. CurrentLeadNotSet: AugmentedError<ApiType>;
  2376. /**
  2377. * Invalid OpeningPolicyCommitment parameter:
  2378. * exit_role_application_stake_unstaking_period should be non-zero.
  2379. **/
  2380. ExitRoleApplicationStakeUnstakingPeriodIsZero: AugmentedError<ApiType>;
  2381. /**
  2382. * Invalid OpeningPolicyCommitment parameter:
  2383. * exit_role_stake_unstaking_period should be non-zero.
  2384. **/
  2385. ExitRoleStakeUnstakingPeriodIsZero: AugmentedError<ApiType>;
  2386. /**
  2387. * Invalid OpeningPolicyCommitment parameter:
  2388. * fill_opening_failed_applicant_application_stake_unstaking_period should be non-zero.
  2389. **/
  2390. FillOpeningFailedApplicantApplicationStakeUnstakingPeriodIsZero: AugmentedError<ApiType>;
  2391. /**
  2392. * Invalid OpeningPolicyCommitment parameter:
  2393. * fill_opening_failed_applicant_role_stake_unstaking_period should be non-zero.
  2394. **/
  2395. FillOpeningFailedApplicantRoleStakeUnstakingPeriodIsZero: AugmentedError<ApiType>;
  2396. /**
  2397. * Reward policy has invalid next payment block number.
  2398. **/
  2399. FillOpeningInvalidNextPaymentBlock: AugmentedError<ApiType>;
  2400. /**
  2401. * Working group mint does not exist.
  2402. **/
  2403. FillOpeningMintDoesNotExist: AugmentedError<ApiType>;
  2404. /**
  2405. * Invalid OpeningPolicyCommitment parameter:
  2406. * fill_opening_successful_applicant_application_stake_unstaking_period should be non-zero.
  2407. **/
  2408. FillOpeningSuccessfulApplicantApplicationStakeUnstakingPeriodIsZero: AugmentedError<ApiType>;
  2409. /**
  2410. * Applications not for opening.
  2411. **/
  2412. FillWorkerOpeningApplicationForWrongOpening: AugmentedError<ApiType>;
  2413. /**
  2414. * Application does not exist.
  2415. **/
  2416. FullWorkerOpeningApplicationDoesNotExist: AugmentedError<ApiType>;
  2417. /**
  2418. * Application not in active stage.
  2419. **/
  2420. FullWorkerOpeningApplicationNotActive: AugmentedError<ApiType>;
  2421. /**
  2422. * OpeningDoesNotExist.
  2423. **/
  2424. FullWorkerOpeningOpeningDoesNotExist: AugmentedError<ApiType>;
  2425. /**
  2426. * Opening not in review period stage.
  2427. **/
  2428. FullWorkerOpeningOpeningNotInReviewPeriodStage: AugmentedError<ApiType>;
  2429. /**
  2430. * Application stake unstaking period for successful applicants redundant.
  2431. **/
  2432. FullWorkerOpeningSuccessfulApplicationStakeUnstakingPeriodRedundant: AugmentedError<ApiType>;
  2433. /**
  2434. * Application stake unstaking period for failed applicants too short.
  2435. **/
  2436. FullWorkerOpeningSuccessfulApplicationStakeUnstakingPeriodTooShort: AugmentedError<ApiType>;
  2437. /**
  2438. * Role stake unstaking period for successful applicants redundant.
  2439. **/
  2440. FullWorkerOpeningSuccessfulRoleStakeUnstakingPeriodRedundant: AugmentedError<ApiType>;
  2441. /**
  2442. * Role stake unstaking period for successful applicants too short.
  2443. **/
  2444. FullWorkerOpeningSuccessfulRoleStakeUnstakingPeriodTooShort: AugmentedError<ApiType>;
  2445. /**
  2446. * Application stake unstaking period for failed applicants redundant.
  2447. **/
  2448. FullWorkerOpeningUnsuccessfulApplicationStakeUnstakingPeriodRedundant: AugmentedError<ApiType>;
  2449. /**
  2450. * Application stake unstaking period for successful applicants too short.
  2451. **/
  2452. FullWorkerOpeningUnsuccessfulApplicationStakeUnstakingPeriodTooShort: AugmentedError<ApiType>;
  2453. /**
  2454. * Role stake unstaking period for failed applicants redundant.
  2455. **/
  2456. FullWorkerOpeningUnsuccessfulRoleStakeUnstakingPeriodRedundant: AugmentedError<ApiType>;
  2457. /**
  2458. * Role stake unstaking period for failed applicants too short.
  2459. **/
  2460. FullWorkerOpeningUnsuccessfulRoleStakeUnstakingPeriodTooShort: AugmentedError<ApiType>;
  2461. /**
  2462. * Insufficient balance to apply.
  2463. **/
  2464. InsufficientBalanceToApply: AugmentedError<ApiType>;
  2465. /**
  2466. * Insufficient balance to cover stake.
  2467. **/
  2468. InsufficientBalanceToCoverStake: AugmentedError<ApiType>;
  2469. /**
  2470. * Not a lead account.
  2471. **/
  2472. IsNotLeadAccount: AugmentedError<ApiType>;
  2473. /**
  2474. * Working group size limit exceeded.
  2475. **/
  2476. MaxActiveWorkerNumberExceeded: AugmentedError<ApiType>;
  2477. /**
  2478. * Member already has an active application on the opening.
  2479. **/
  2480. MemberHasActiveApplicationOnOpening: AugmentedError<ApiType>;
  2481. /**
  2482. * Member id is invalid.
  2483. **/
  2484. MembershipInvalidMemberId: AugmentedError<ApiType>;
  2485. /**
  2486. * Unsigned origin.
  2487. **/
  2488. MembershipUnsignedOrigin: AugmentedError<ApiType>;
  2489. /**
  2490. * Minting error: NextAdjustmentInPast
  2491. **/
  2492. MintingErrorNextAdjustmentInPast: AugmentedError<ApiType>;
  2493. /**
  2494. * Cannot get the worker stake profile.
  2495. **/
  2496. NoWorkerStakeProfile: AugmentedError<ApiType>;
  2497. /**
  2498. * Opening does not exist.
  2499. **/
  2500. OpeningDoesNotExist: AugmentedError<ApiType>;
  2501. /**
  2502. * Opening text too long.
  2503. **/
  2504. OpeningTextTooLong: AugmentedError<ApiType>;
  2505. /**
  2506. * Opening text too short.
  2507. **/
  2508. OpeningTextTooShort: AugmentedError<ApiType>;
  2509. /**
  2510. * Origin must be controller or root account of member.
  2511. **/
  2512. OriginIsNeitherMemberControllerOrRoot: AugmentedError<ApiType>;
  2513. /**
  2514. * Origin is not applicant.
  2515. **/
  2516. OriginIsNotApplicant: AugmentedError<ApiType>;
  2517. /**
  2518. * Next payment is not in the future.
  2519. **/
  2520. RecurringRewardsNextPaymentNotInFuture: AugmentedError<ApiType>;
  2521. /**
  2522. * Recipient not found.
  2523. **/
  2524. RecurringRewardsRecipientNotFound: AugmentedError<ApiType>;
  2525. /**
  2526. * Reward relationship not found.
  2527. **/
  2528. RecurringRewardsRewardRelationshipNotFound: AugmentedError<ApiType>;
  2529. /**
  2530. * Recipient reward source not found.
  2531. **/
  2532. RecurringRewardsRewardSourceNotFound: AugmentedError<ApiType>;
  2533. /**
  2534. * Relationship must exist.
  2535. **/
  2536. RelationshipMustExist: AugmentedError<ApiType>;
  2537. /**
  2538. * Require root origin in extrinsics.
  2539. **/
  2540. RequireRootOrigin: AugmentedError<ApiType>;
  2541. /**
  2542. * Require signed origin in extrinsics.
  2543. **/
  2544. RequireSignedOrigin: AugmentedError<ApiType>;
  2545. /**
  2546. * Invalid OpeningPolicyCommitment parameter (role_staking_policy):
  2547. * crowded_out_unstaking_period_length should be non-zero.
  2548. **/
  2549. RoleStakingPolicyCrowdedOutUnstakingPeriodIsZero: AugmentedError<ApiType>;
  2550. /**
  2551. * Invalid OpeningPolicyCommitment parameter (role_staking_policy):
  2552. * review_period_expired_unstaking_period_length should be non-zero.
  2553. **/
  2554. RoleStakingPolicyReviewPeriodUnstakingPeriodIsZero: AugmentedError<ApiType>;
  2555. /**
  2556. * Signer is not worker role account.
  2557. **/
  2558. SignerIsNotWorkerRoleAccount: AugmentedError<ApiType>;
  2559. /**
  2560. * Provided stake balance cannot be zero.
  2561. **/
  2562. StakeBalanceCannotBeZero: AugmentedError<ApiType>;
  2563. /**
  2564. * Already unstaking.
  2565. **/
  2566. StakingErrorAlreadyUnstaking: AugmentedError<ApiType>;
  2567. /**
  2568. * Cannot change stake by zero.
  2569. **/
  2570. StakingErrorCannotChangeStakeByZero: AugmentedError<ApiType>;
  2571. /**
  2572. * Cannot decrease stake while slashes ongoing.
  2573. **/
  2574. StakingErrorCannotDecreaseWhileSlashesOngoing: AugmentedError<ApiType>;
  2575. /**
  2576. * Cannot increase stake while unstaking.
  2577. **/
  2578. StakingErrorCannotIncreaseStakeWhileUnstaking: AugmentedError<ApiType>;
  2579. /**
  2580. * Cannot unstake while slashes ongoing.
  2581. **/
  2582. StakingErrorCannotUnstakeWhileSlashesOngoing: AugmentedError<ApiType>;
  2583. /**
  2584. * Insufficient balance in source account.
  2585. **/
  2586. StakingErrorInsufficientBalanceInSourceAccount: AugmentedError<ApiType>;
  2587. /**
  2588. * Insufficient stake to decrease.
  2589. **/
  2590. StakingErrorInsufficientStake: AugmentedError<ApiType>;
  2591. /**
  2592. * Not staked.
  2593. **/
  2594. StakingErrorNotStaked: AugmentedError<ApiType>;
  2595. /**
  2596. * Slash amount should be greater than zero.
  2597. **/
  2598. StakingErrorSlashAmountShouldBeGreaterThanZero: AugmentedError<ApiType>;
  2599. /**
  2600. * Stake not found.
  2601. **/
  2602. StakingErrorStakeNotFound: AugmentedError<ApiType>;
  2603. /**
  2604. * Unstaking period should be greater than zero.
  2605. **/
  2606. StakingErrorUnstakingPeriodShouldBeGreaterThanZero: AugmentedError<ApiType>;
  2607. /**
  2608. * Successful worker application does not exist.
  2609. **/
  2610. SuccessfulWorkerApplicationDoesNotExist: AugmentedError<ApiType>;
  2611. /**
  2612. * Invalid OpeningPolicyCommitment parameter:
  2613. * terminate_application_stake_unstaking_period should be non-zero.
  2614. **/
  2615. TerminateApplicationStakeUnstakingPeriodIsZero: AugmentedError<ApiType>;
  2616. /**
  2617. * Invalid OpeningPolicyCommitment parameter:
  2618. * terminate_role_stake_unstaking_period should be non-zero.
  2619. **/
  2620. TerminateRoleStakeUnstakingPeriodIsZero: AugmentedError<ApiType>;
  2621. /**
  2622. * Application does not exist.
  2623. **/
  2624. WithdrawWorkerApplicationApplicationDoesNotExist: AugmentedError<ApiType>;
  2625. /**
  2626. * Application is not active.
  2627. **/
  2628. WithdrawWorkerApplicationApplicationNotActive: AugmentedError<ApiType>;
  2629. /**
  2630. * Opening not accepting applications.
  2631. **/
  2632. WithdrawWorkerApplicationOpeningNotAcceptingApplications: AugmentedError<ApiType>;
  2633. /**
  2634. * Redundant unstaking period provided
  2635. **/
  2636. WithdrawWorkerApplicationRedundantUnstakingPeriod: AugmentedError<ApiType>;
  2637. /**
  2638. * UnstakingPeriodTooShort .... // <== SHOULD REALLY BE TWO SEPARATE, ONE FOR EACH STAKING PURPOSE
  2639. **/
  2640. WithdrawWorkerApplicationUnstakingPeriodTooShort: AugmentedError<ApiType>;
  2641. /**
  2642. * Worker application does not exist.
  2643. **/
  2644. WorkerApplicationDoesNotExist: AugmentedError<ApiType>;
  2645. /**
  2646. * Worker application text too long.
  2647. **/
  2648. WorkerApplicationTextTooLong: AugmentedError<ApiType>;
  2649. /**
  2650. * Worker application text too short.
  2651. **/
  2652. WorkerApplicationTextTooShort: AugmentedError<ApiType>;
  2653. /**
  2654. * Worker does not exist.
  2655. **/
  2656. WorkerDoesNotExist: AugmentedError<ApiType>;
  2657. /**
  2658. * Worker exit rationale text is too long.
  2659. **/
  2660. WorkerExitRationaleTextTooLong: AugmentedError<ApiType>;
  2661. /**
  2662. * Worker exit rationale text is too short.
  2663. **/
  2664. WorkerExitRationaleTextTooShort: AugmentedError<ApiType>;
  2665. /**
  2666. * Worker has no recurring reward.
  2667. **/
  2668. WorkerHasNoReward: AugmentedError<ApiType>;
  2669. /**
  2670. * Worker storage text is too long.
  2671. **/
  2672. WorkerStorageValueTooLong: AugmentedError<ApiType>;
  2673. };
  2674. proposalsCodex: {
  2675. /**
  2676. * Invalid 'decrease stake proposal' parameter - cannot decrease by zero balance.
  2677. **/
  2678. DecreasingStakeIsZero: AugmentedError<ApiType>;
  2679. /**
  2680. * Invalid content working group mint capacity parameter
  2681. **/
  2682. InvalidContentWorkingGroupMintCapacity: AugmentedError<ApiType>;
  2683. /**
  2684. * Invalid council election parameter - announcing_period
  2685. **/
  2686. InvalidCouncilElectionParameterAnnouncingPeriod: AugmentedError<ApiType>;
  2687. /**
  2688. * Invalid council election parameter - candidacy-limit
  2689. **/
  2690. InvalidCouncilElectionParameterCandidacyLimit: AugmentedError<ApiType>;
  2691. /**
  2692. * Invalid council election parameter - council_size
  2693. **/
  2694. InvalidCouncilElectionParameterCouncilSize: AugmentedError<ApiType>;
  2695. /**
  2696. * Invalid council election parameter - min_council_stake
  2697. **/
  2698. InvalidCouncilElectionParameterMinCouncilStake: AugmentedError<ApiType>;
  2699. /**
  2700. * Invalid council election parameter - min-voting_stake
  2701. **/
  2702. InvalidCouncilElectionParameterMinVotingStake: AugmentedError<ApiType>;
  2703. /**
  2704. * Invalid council election parameter - new_term_duration
  2705. **/
  2706. InvalidCouncilElectionParameterNewTermDuration: AugmentedError<ApiType>;
  2707. /**
  2708. * Invalid council election parameter - revealing_period
  2709. **/
  2710. InvalidCouncilElectionParameterRevealingPeriod: AugmentedError<ApiType>;
  2711. /**
  2712. * Invalid council election parameter - voting_period
  2713. **/
  2714. InvalidCouncilElectionParameterVotingPeriod: AugmentedError<ApiType>;
  2715. /**
  2716. * Invalid 'set lead proposal' parameter - proposed lead cannot be a councilor
  2717. **/
  2718. InvalidSetLeadParameterCannotBeCouncilor: AugmentedError<ApiType>;
  2719. /**
  2720. * Invalid balance value for the spending proposal
  2721. **/
  2722. InvalidSpendingProposalBalance: AugmentedError<ApiType>;
  2723. /**
  2724. * Invalid validator count for the 'set validator count' proposal
  2725. **/
  2726. InvalidValidatorCount: AugmentedError<ApiType>;
  2727. /**
  2728. * Invalid working group mint capacity parameter
  2729. **/
  2730. InvalidWorkingGroupMintCapacity: AugmentedError<ApiType>;
  2731. /**
  2732. * Require root origin in extrinsics
  2733. **/
  2734. RequireRootOrigin: AugmentedError<ApiType>;
  2735. /**
  2736. * Provided WASM code for the runtime upgrade proposal is empty
  2737. **/
  2738. RuntimeProposalIsEmpty: AugmentedError<ApiType>;
  2739. /**
  2740. * The size of the provided WASM code for the runtime upgrade proposal exceeded the limit
  2741. **/
  2742. RuntimeProposalSizeExceeded: AugmentedError<ApiType>;
  2743. /**
  2744. * Invalid 'slash stake proposal' parameter - cannot slash by zero balance.
  2745. **/
  2746. SlashingStakeIsZero: AugmentedError<ApiType>;
  2747. /**
  2748. * Provided text for text proposal is empty
  2749. **/
  2750. TextProposalIsEmpty: AugmentedError<ApiType>;
  2751. /**
  2752. * The size of the provided text for text proposal exceeded the limit
  2753. **/
  2754. TextProposalSizeExceeded: AugmentedError<ApiType>;
  2755. };
  2756. proposalsDiscussion: {
  2757. /**
  2758. * Post cannot be empty
  2759. **/
  2760. EmptyPostProvided: AugmentedError<ApiType>;
  2761. /**
  2762. * Discussion cannot have an empty title
  2763. **/
  2764. EmptyTitleProvided: AugmentedError<ApiType>;
  2765. /**
  2766. * Max number of threads by same author in a row limit exceeded
  2767. **/
  2768. MaxThreadInARowLimitExceeded: AugmentedError<ApiType>;
  2769. /**
  2770. * Author should match the post creator
  2771. **/
  2772. NotAuthor: AugmentedError<ApiType>;
  2773. /**
  2774. * Post doesn't exist
  2775. **/
  2776. PostDoesntExist: AugmentedError<ApiType>;
  2777. /**
  2778. * Post edition limit reached
  2779. **/
  2780. PostEditionNumberExceeded: AugmentedError<ApiType>;
  2781. /**
  2782. * Post is too long
  2783. **/
  2784. PostIsTooLong: AugmentedError<ApiType>;
  2785. /**
  2786. * Require root origin in extrinsics
  2787. **/
  2788. RequireRootOrigin: AugmentedError<ApiType>;
  2789. /**
  2790. * Thread doesn't exist
  2791. **/
  2792. ThreadDoesntExist: AugmentedError<ApiType>;
  2793. /**
  2794. * Title is too long
  2795. **/
  2796. TitleIsTooLong: AugmentedError<ApiType>;
  2797. };
  2798. proposalsEngine: {
  2799. /**
  2800. * The proposal have been already voted on
  2801. **/
  2802. AlreadyVoted: AugmentedError<ApiType>;
  2803. /**
  2804. * Description is too long
  2805. **/
  2806. DescriptionIsTooLong: AugmentedError<ApiType>;
  2807. /**
  2808. * Proposal cannot have an empty body
  2809. **/
  2810. EmptyDescriptionProvided: AugmentedError<ApiType>;
  2811. /**
  2812. * Stake cannot be empty with this proposal
  2813. **/
  2814. EmptyStake: AugmentedError<ApiType>;
  2815. /**
  2816. * Proposal cannot have an empty title"
  2817. **/
  2818. EmptyTitleProvided: AugmentedError<ApiType>;
  2819. /**
  2820. * Insufficient balance for operation.
  2821. **/
  2822. InsufficientBalance: AugmentedError<ApiType>;
  2823. /**
  2824. * Approval threshold cannot be zero
  2825. **/
  2826. InvalidParameterApprovalThreshold: AugmentedError<ApiType>;
  2827. /**
  2828. * Slashing threshold cannot be zero
  2829. **/
  2830. InvalidParameterSlashingThreshold: AugmentedError<ApiType>;
  2831. /**
  2832. * Max active proposals number exceeded
  2833. **/
  2834. MaxActiveProposalNumberExceeded: AugmentedError<ApiType>;
  2835. /**
  2836. * Not an author
  2837. **/
  2838. NotAuthor: AugmentedError<ApiType>;
  2839. /**
  2840. * Proposal is finalized already
  2841. **/
  2842. ProposalFinalized: AugmentedError<ApiType>;
  2843. /**
  2844. * The proposal does not exist
  2845. **/
  2846. ProposalNotFound: AugmentedError<ApiType>;
  2847. /**
  2848. * Require root origin in extrinsics
  2849. **/
  2850. RequireRootOrigin: AugmentedError<ApiType>;
  2851. /**
  2852. * Stake differs from the proposal requirements
  2853. **/
  2854. StakeDiffersFromRequired: AugmentedError<ApiType>;
  2855. /**
  2856. * Stake should be empty for this proposal
  2857. **/
  2858. StakeShouldBeEmpty: AugmentedError<ApiType>;
  2859. /**
  2860. * Title is too long
  2861. **/
  2862. TitleIsTooLong: AugmentedError<ApiType>;
  2863. };
  2864. session: {
  2865. /**
  2866. * Registered duplicate key.
  2867. **/
  2868. DuplicatedKey: AugmentedError<ApiType>;
  2869. /**
  2870. * Invalid ownership proof.
  2871. **/
  2872. InvalidProof: AugmentedError<ApiType>;
  2873. /**
  2874. * No associated validator ID for account.
  2875. **/
  2876. NoAssociatedValidatorId: AugmentedError<ApiType>;
  2877. /**
  2878. * No keys are associated with this account.
  2879. **/
  2880. NoKeys: AugmentedError<ApiType>;
  2881. };
  2882. staking: {
  2883. /**
  2884. * Stash is already bonded.
  2885. **/
  2886. AlreadyBonded: AugmentedError<ApiType>;
  2887. /**
  2888. * Rewards for this era have already been claimed for this validator.
  2889. **/
  2890. AlreadyClaimed: AugmentedError<ApiType>;
  2891. /**
  2892. * Controller is already paired.
  2893. **/
  2894. AlreadyPaired: AugmentedError<ApiType>;
  2895. /**
  2896. * The call is not allowed at the given time due to restrictions of election period.
  2897. **/
  2898. CallNotAllowed: AugmentedError<ApiType>;
  2899. /**
  2900. * Duplicate index.
  2901. **/
  2902. DuplicateIndex: AugmentedError<ApiType>;
  2903. /**
  2904. * Targets cannot be empty.
  2905. **/
  2906. EmptyTargets: AugmentedError<ApiType>;
  2907. /**
  2908. * Attempting to target a stash that still has funds.
  2909. **/
  2910. FundedTarget: AugmentedError<ApiType>;
  2911. /**
  2912. * Incorrect previous history depth input provided.
  2913. **/
  2914. IncorrectHistoryDepth: AugmentedError<ApiType>;
  2915. /**
  2916. * Incorrect number of slashing spans provided.
  2917. **/
  2918. IncorrectSlashingSpans: AugmentedError<ApiType>;
  2919. /**
  2920. * Can not bond with value less than minimum balance.
  2921. **/
  2922. InsufficientValue: AugmentedError<ApiType>;
  2923. /**
  2924. * Invalid era to reward.
  2925. **/
  2926. InvalidEraToReward: AugmentedError<ApiType>;
  2927. /**
  2928. * Invalid number of nominations.
  2929. **/
  2930. InvalidNumberOfNominations: AugmentedError<ApiType>;
  2931. /**
  2932. * Slash record index out of bounds.
  2933. **/
  2934. InvalidSlashIndex: AugmentedError<ApiType>;
  2935. /**
  2936. * Can not schedule more unlock chunks.
  2937. **/
  2938. NoMoreChunks: AugmentedError<ApiType>;
  2939. /**
  2940. * Not a controller account.
  2941. **/
  2942. NotController: AugmentedError<ApiType>;
  2943. /**
  2944. * Items are not sorted and unique.
  2945. **/
  2946. NotSortedAndUnique: AugmentedError<ApiType>;
  2947. /**
  2948. * Not a stash account.
  2949. **/
  2950. NotStash: AugmentedError<ApiType>;
  2951. /**
  2952. * Can not rebond without unlocking chunks.
  2953. **/
  2954. NoUnlockChunk: AugmentedError<ApiType>;
  2955. /**
  2956. * Error while building the assignment type from the compact. This can happen if an index
  2957. * is invalid, or if the weights _overflow_.
  2958. **/
  2959. OffchainElectionBogusCompact: AugmentedError<ApiType>;
  2960. /**
  2961. * The submitted result has unknown edges that are not among the presented winners.
  2962. **/
  2963. OffchainElectionBogusEdge: AugmentedError<ApiType>;
  2964. /**
  2965. * The election size is invalid.
  2966. **/
  2967. OffchainElectionBogusElectionSize: AugmentedError<ApiType>;
  2968. /**
  2969. * One of the submitted nominators has an edge to which they have not voted on chain.
  2970. **/
  2971. OffchainElectionBogusNomination: AugmentedError<ApiType>;
  2972. /**
  2973. * One of the submitted nominators is not an active nominator on chain.
  2974. **/
  2975. OffchainElectionBogusNominator: AugmentedError<ApiType>;
  2976. /**
  2977. * The claimed score does not match with the one computed from the data.
  2978. **/
  2979. OffchainElectionBogusScore: AugmentedError<ApiType>;
  2980. /**
  2981. * A self vote must only be originated from a validator to ONLY themselves.
  2982. **/
  2983. OffchainElectionBogusSelfVote: AugmentedError<ApiType>;
  2984. /**
  2985. * One of the submitted winners is not an active candidate on chain (index is out of range
  2986. * in snapshot).
  2987. **/
  2988. OffchainElectionBogusWinner: AugmentedError<ApiType>;
  2989. /**
  2990. * Incorrect number of winners were presented.
  2991. **/
  2992. OffchainElectionBogusWinnerCount: AugmentedError<ApiType>;
  2993. /**
  2994. * The submitted result is received out of the open window.
  2995. **/
  2996. OffchainElectionEarlySubmission: AugmentedError<ApiType>;
  2997. /**
  2998. * One of the submitted nominators has an edge which is submitted before the last non-zero
  2999. * slash of the target.
  3000. **/
  3001. OffchainElectionSlashedNomination: AugmentedError<ApiType>;
  3002. /**
  3003. * The submitted result is not as good as the one stored on chain.
  3004. **/
  3005. OffchainElectionWeakSubmission: AugmentedError<ApiType>;
  3006. /**
  3007. * The snapshot data of the current window is missing.
  3008. **/
  3009. SnapshotUnavailable: AugmentedError<ApiType>;
  3010. };
  3011. storage: {
  3012. /**
  3013. * Blacklist size limit exceeded.
  3014. **/
  3015. BlacklistSizeLimitExceeded: AugmentedError<ApiType>;
  3016. /**
  3017. * Cannot delete non empty dynamic bag.
  3018. **/
  3019. CannotDeleteNonEmptyDynamicBag: AugmentedError<ApiType>;
  3020. /**
  3021. * Cannot delete a non-empty storage bucket.
  3022. **/
  3023. CannotDeleteNonEmptyStorageBucket: AugmentedError<ApiType>;
  3024. /**
  3025. * Data object hash is part of the blacklist.
  3026. **/
  3027. DataObjectBlacklisted: AugmentedError<ApiType>;
  3028. /**
  3029. * Data object doesn't exist.
  3030. **/
  3031. DataObjectDoesntExist: AugmentedError<ApiType>;
  3032. /**
  3033. * Data object id collection is empty.
  3034. **/
  3035. DataObjectIdCollectionIsEmpty: AugmentedError<ApiType>;
  3036. /**
  3037. * The `data_object_ids` extrinsic parameter collection is empty.
  3038. **/
  3039. DataObjectIdParamsAreEmpty: AugmentedError<ApiType>;
  3040. /**
  3041. * Invalid extrinsic call: data size fee changed.
  3042. **/
  3043. DataSizeFeeChanged: AugmentedError<ApiType>;
  3044. /**
  3045. * Invalid operation with invites: another storage provider was invited.
  3046. **/
  3047. DifferentStorageProviderInvited: AugmentedError<ApiType>;
  3048. /**
  3049. * Distribution bucket doesn't accept new bags.
  3050. **/
  3051. DistributionBucketDoesntAcceptNewBags: AugmentedError<ApiType>;
  3052. /**
  3053. * Distribution bucket doesn't exist.
  3054. **/
  3055. DistributionBucketDoesntExist: AugmentedError<ApiType>;
  3056. /**
  3057. * Distribution bucket family doesn't exist.
  3058. **/
  3059. DistributionBucketFamilyDoesntExist: AugmentedError<ApiType>;
  3060. /**
  3061. * Distribution bucket id collections are empty.
  3062. **/
  3063. DistributionBucketIdCollectionsAreEmpty: AugmentedError<ApiType>;
  3064. /**
  3065. * Distribution bucket is bound to a bag.
  3066. **/
  3067. DistributionBucketIsBoundToBag: AugmentedError<ApiType>;
  3068. /**
  3069. * Distribution bucket is not bound to a bag.
  3070. **/
  3071. DistributionBucketIsNotBoundToBag: AugmentedError<ApiType>;
  3072. /**
  3073. * The new `DistributionBucketsPerBagLimit` number is too high.
  3074. **/
  3075. DistributionBucketsPerBagLimitTooHigh: AugmentedError<ApiType>;
  3076. /**
  3077. * The new `DistributionBucketsPerBagLimit` number is too low.
  3078. **/
  3079. DistributionBucketsPerBagLimitTooLow: AugmentedError<ApiType>;
  3080. /**
  3081. * Distribution family bound to a bag creation policy.
  3082. **/
  3083. DistributionFamilyBoundToBagCreationPolicy: AugmentedError<ApiType>;
  3084. /**
  3085. * Distribution provider operator already invited.
  3086. **/
  3087. DistributionProviderOperatorAlreadyInvited: AugmentedError<ApiType>;
  3088. /**
  3089. * Distribution provider operator doesn't exist.
  3090. **/
  3091. DistributionProviderOperatorDoesntExist: AugmentedError<ApiType>;
  3092. /**
  3093. * Distribution provider operator already set.
  3094. **/
  3095. DistributionProviderOperatorSet: AugmentedError<ApiType>;
  3096. /**
  3097. * Dynamic bag doesn't exist.
  3098. **/
  3099. DynamicBagDoesntExist: AugmentedError<ApiType>;
  3100. /**
  3101. * Cannot create the dynamic bag: dynamic bag exists.
  3102. **/
  3103. DynamicBagExists: AugmentedError<ApiType>;
  3104. /**
  3105. * Upload data error: empty content ID provided.
  3106. **/
  3107. EmptyContentId: AugmentedError<ApiType>;
  3108. /**
  3109. * Insufficient balance for an operation.
  3110. **/
  3111. InsufficientBalance: AugmentedError<ApiType>;
  3112. /**
  3113. * Insufficient module treasury balance for an operation.
  3114. **/
  3115. InsufficientTreasuryBalance: AugmentedError<ApiType>;
  3116. /**
  3117. * Upload data error: invalid deletion prize source account.
  3118. **/
  3119. InvalidDeletionPrizeSourceAccount: AugmentedError<ApiType>;
  3120. /**
  3121. * Invalid storage provider for bucket.
  3122. **/
  3123. InvalidStorageProvider: AugmentedError<ApiType>;
  3124. /**
  3125. * Invalid operation with invites: storage provider was already invited.
  3126. **/
  3127. InvitedStorageProvider: AugmentedError<ApiType>;
  3128. /**
  3129. * Max data object size exceeded.
  3130. **/
  3131. MaxDataObjectSizeExceeded: AugmentedError<ApiType>;
  3132. /**
  3133. * Max distribution bucket family number limit exceeded.
  3134. **/
  3135. MaxDistributionBucketFamilyNumberLimitExceeded: AugmentedError<ApiType>;
  3136. /**
  3137. * Max distribution bucket number per bag limit exceeded.
  3138. **/
  3139. MaxDistributionBucketNumberPerBagLimitExceeded: AugmentedError<ApiType>;
  3140. /**
  3141. * Max distribution bucket number per family limit exceeded.
  3142. **/
  3143. MaxDistributionBucketNumberPerFamilyLimitExceeded: AugmentedError<ApiType>;
  3144. /**
  3145. * Max number of pending invitations limit for a distribution bucket reached.
  3146. **/
  3147. MaxNumberOfPendingInvitationsLimitForDistributionBucketReached: AugmentedError<ApiType>;
  3148. /**
  3149. * Invalid operations: must be a distribution provider operator for a bucket.
  3150. **/
  3151. MustBeDistributionProviderOperatorForBucket: AugmentedError<ApiType>;
  3152. /**
  3153. * No distribution bucket invitation.
  3154. **/
  3155. NoDistributionBucketInvitation: AugmentedError<ApiType>;
  3156. /**
  3157. * Empty "data object creation" collection.
  3158. **/
  3159. NoObjectsOnUpload: AugmentedError<ApiType>;
  3160. /**
  3161. * Invalid operation with invites: there is no storage bucket invitation.
  3162. **/
  3163. NoStorageBucketInvitation: AugmentedError<ApiType>;
  3164. /**
  3165. * Cannot move objects within the same bag.
  3166. **/
  3167. SourceAndDestinationBagsAreEqual: AugmentedError<ApiType>;
  3168. /**
  3169. * The storage bucket doesn't accept new bags.
  3170. **/
  3171. StorageBucketDoesntAcceptNewBags: AugmentedError<ApiType>;
  3172. /**
  3173. * The requested storage bucket doesn't exist.
  3174. **/
  3175. StorageBucketDoesntExist: AugmentedError<ApiType>;
  3176. /**
  3177. * Storage bucket id collections are empty.
  3178. **/
  3179. StorageBucketIdCollectionsAreEmpty: AugmentedError<ApiType>;
  3180. /**
  3181. * The requested storage bucket is already bound to a bag.
  3182. **/
  3183. StorageBucketIsBoundToBag: AugmentedError<ApiType>;
  3184. /**
  3185. * The requested storage bucket is not bound to a bag.
  3186. **/
  3187. StorageBucketIsNotBoundToBag: AugmentedError<ApiType>;
  3188. /**
  3189. * Object number limit for the storage bucket reached.
  3190. **/
  3191. StorageBucketObjectNumberLimitReached: AugmentedError<ApiType>;
  3192. /**
  3193. * Objects total size limit for the storage bucket reached.
  3194. **/
  3195. StorageBucketObjectSizeLimitReached: AugmentedError<ApiType>;
  3196. /**
  3197. * `StorageBucketsPerBagLimit` was exceeded for a bag.
  3198. **/
  3199. StorageBucketPerBagLimitExceeded: AugmentedError<ApiType>;
  3200. /**
  3201. * The new `StorageBucketsPerBagLimit` number is too high.
  3202. **/
  3203. StorageBucketsPerBagLimitTooHigh: AugmentedError<ApiType>;
  3204. /**
  3205. * The new `StorageBucketsPerBagLimit` number is too low.
  3206. **/
  3207. StorageBucketsPerBagLimitTooLow: AugmentedError<ApiType>;
  3208. /**
  3209. * Invalid operation with invites: storage provider was already set.
  3210. **/
  3211. StorageProviderAlreadySet: AugmentedError<ApiType>;
  3212. /**
  3213. * Storage provider must be set.
  3214. **/
  3215. StorageProviderMustBeSet: AugmentedError<ApiType>;
  3216. /**
  3217. * Storage provider operator doesn't exist.
  3218. **/
  3219. StorageProviderOperatorDoesntExist: AugmentedError<ApiType>;
  3220. /**
  3221. * Uploading of the new object is blocked.
  3222. **/
  3223. UploadingBlocked: AugmentedError<ApiType>;
  3224. /**
  3225. * Max object number limit exceeded for voucher.
  3226. **/
  3227. VoucherMaxObjectNumberLimitExceeded: AugmentedError<ApiType>;
  3228. /**
  3229. * Max object size limit exceeded for voucher.
  3230. **/
  3231. VoucherMaxObjectSizeLimitExceeded: AugmentedError<ApiType>;
  3232. /**
  3233. * Upload data error: zero object size.
  3234. **/
  3235. ZeroObjectSize: AugmentedError<ApiType>;
  3236. };
  3237. storageWorkingGroup: {
  3238. /**
  3239. * Opening does not exist.
  3240. **/
  3241. AcceptWorkerApplicationsOpeningDoesNotExist: AugmentedError<ApiType>;
  3242. /**
  3243. * Opening Is Not in Waiting to begin.
  3244. **/
  3245. AcceptWorkerApplicationsOpeningIsNotWaitingToBegin: AugmentedError<ApiType>;
  3246. /**
  3247. * Opening does not activate in the future.
  3248. **/
  3249. AddWorkerOpeningActivatesInThePast: AugmentedError<ApiType>;
  3250. /**
  3251. * Add worker opening application stake cannot be zero.
  3252. **/
  3253. AddWorkerOpeningApplicationStakeCannotBeZero: AugmentedError<ApiType>;
  3254. /**
  3255. * Application stake amount less than minimum currency balance.
  3256. **/
  3257. AddWorkerOpeningAppliicationStakeLessThanMinimum: AugmentedError<ApiType>;
  3258. /**
  3259. * New application was crowded out.
  3260. **/
  3261. AddWorkerOpeningNewApplicationWasCrowdedOut: AugmentedError<ApiType>;
  3262. /**
  3263. * Opening does not exist.
  3264. **/
  3265. AddWorkerOpeningOpeningDoesNotExist: AugmentedError<ApiType>;
  3266. /**
  3267. * Opening is not in accepting applications stage.
  3268. **/
  3269. AddWorkerOpeningOpeningNotInAcceptingApplicationStage: AugmentedError<ApiType>;
  3270. /**
  3271. * Add worker opening role stake cannot be zero.
  3272. **/
  3273. AddWorkerOpeningRoleStakeCannotBeZero: AugmentedError<ApiType>;
  3274. /**
  3275. * Role stake amount less than minimum currency balance.
  3276. **/
  3277. AddWorkerOpeningRoleStakeLessThanMinimum: AugmentedError<ApiType>;
  3278. /**
  3279. * Stake amount too low.
  3280. **/
  3281. AddWorkerOpeningStakeAmountTooLow: AugmentedError<ApiType>;
  3282. /**
  3283. * Stake missing when required.
  3284. **/
  3285. AddWorkerOpeningStakeMissingWhenRequired: AugmentedError<ApiType>;
  3286. /**
  3287. * Stake provided when redundant.
  3288. **/
  3289. AddWorkerOpeningStakeProvidedWhenRedundant: AugmentedError<ApiType>;
  3290. /**
  3291. * Application rationing has zero max active applicants.
  3292. **/
  3293. AddWorkerOpeningZeroMaxApplicantCount: AugmentedError<ApiType>;
  3294. /**
  3295. * Invalid OpeningPolicyCommitment parameter (application_rationing_policy):
  3296. * max_active_applicants should be non-zero.
  3297. **/
  3298. ApplicationRationingPolicyMaxActiveApplicantsIsZero: AugmentedError<ApiType>;
  3299. /**
  3300. * Invalid OpeningPolicyCommitment parameter (application_staking_policy):
  3301. * crowded_out_unstaking_period_length should be non-zero.
  3302. **/
  3303. ApplicationStakingPolicyCrowdedOutUnstakingPeriodIsZero: AugmentedError<ApiType>;
  3304. /**
  3305. * Invalid OpeningPolicyCommitment parameter (application_staking_policy):
  3306. * review_period_expired_unstaking_period_length should be non-zero.
  3307. **/
  3308. ApplicationStakingPolicyReviewPeriodUnstakingPeriodIsZero: AugmentedError<ApiType>;
  3309. /**
  3310. * Signer does not match controller account.
  3311. **/
  3312. ApplyOnWorkerOpeningSignerNotControllerAccount: AugmentedError<ApiType>;
  3313. /**
  3314. * Opening does not exist.
  3315. **/
  3316. BeginWorkerApplicantReviewOpeningDoesNotExist: AugmentedError<ApiType>;
  3317. /**
  3318. * Opening Is Not in Waiting.
  3319. **/
  3320. BeginWorkerApplicantReviewOpeningOpeningIsNotWaitingToBegin: AugmentedError<ApiType>;
  3321. /**
  3322. * Cannot find mint in the minting module.
  3323. **/
  3324. CannotFindMint: AugmentedError<ApiType>;
  3325. /**
  3326. * There is leader already, cannot hire another one.
  3327. **/
  3328. CannotHireLeaderWhenLeaderExists: AugmentedError<ApiType>;
  3329. /**
  3330. * Cannot fill opening with multiple applications.
  3331. **/
  3332. CannotHireMultipleLeaders: AugmentedError<ApiType>;
  3333. /**
  3334. * Current lead is not set.
  3335. **/
  3336. CurrentLeadNotSet: AugmentedError<ApiType>;
  3337. /**
  3338. * Invalid OpeningPolicyCommitment parameter:
  3339. * exit_role_application_stake_unstaking_period should be non-zero.
  3340. **/
  3341. ExitRoleApplicationStakeUnstakingPeriodIsZero: AugmentedError<ApiType>;
  3342. /**
  3343. * Invalid OpeningPolicyCommitment parameter:
  3344. * exit_role_stake_unstaking_period should be non-zero.
  3345. **/
  3346. ExitRoleStakeUnstakingPeriodIsZero: AugmentedError<ApiType>;
  3347. /**
  3348. * Invalid OpeningPolicyCommitment parameter:
  3349. * fill_opening_failed_applicant_application_stake_unstaking_period should be non-zero.
  3350. **/
  3351. FillOpeningFailedApplicantApplicationStakeUnstakingPeriodIsZero: AugmentedError<ApiType>;
  3352. /**
  3353. * Invalid OpeningPolicyCommitment parameter:
  3354. * fill_opening_failed_applicant_role_stake_unstaking_period should be non-zero.
  3355. **/
  3356. FillOpeningFailedApplicantRoleStakeUnstakingPeriodIsZero: AugmentedError<ApiType>;
  3357. /**
  3358. * Reward policy has invalid next payment block number.
  3359. **/
  3360. FillOpeningInvalidNextPaymentBlock: AugmentedError<ApiType>;
  3361. /**
  3362. * Working group mint does not exist.
  3363. **/
  3364. FillOpeningMintDoesNotExist: AugmentedError<ApiType>;
  3365. /**
  3366. * Invalid OpeningPolicyCommitment parameter:
  3367. * fill_opening_successful_applicant_application_stake_unstaking_period should be non-zero.
  3368. **/
  3369. FillOpeningSuccessfulApplicantApplicationStakeUnstakingPeriodIsZero: AugmentedError<ApiType>;
  3370. /**
  3371. * Applications not for opening.
  3372. **/
  3373. FillWorkerOpeningApplicationForWrongOpening: AugmentedError<ApiType>;
  3374. /**
  3375. * Application does not exist.
  3376. **/
  3377. FullWorkerOpeningApplicationDoesNotExist: AugmentedError<ApiType>;
  3378. /**
  3379. * Application not in active stage.
  3380. **/
  3381. FullWorkerOpeningApplicationNotActive: AugmentedError<ApiType>;
  3382. /**
  3383. * OpeningDoesNotExist.
  3384. **/
  3385. FullWorkerOpeningOpeningDoesNotExist: AugmentedError<ApiType>;
  3386. /**
  3387. * Opening not in review period stage.
  3388. **/
  3389. FullWorkerOpeningOpeningNotInReviewPeriodStage: AugmentedError<ApiType>;
  3390. /**
  3391. * Application stake unstaking period for successful applicants redundant.
  3392. **/
  3393. FullWorkerOpeningSuccessfulApplicationStakeUnstakingPeriodRedundant: AugmentedError<ApiType>;
  3394. /**
  3395. * Application stake unstaking period for failed applicants too short.
  3396. **/
  3397. FullWorkerOpeningSuccessfulApplicationStakeUnstakingPeriodTooShort: AugmentedError<ApiType>;
  3398. /**
  3399. * Role stake unstaking period for successful applicants redundant.
  3400. **/
  3401. FullWorkerOpeningSuccessfulRoleStakeUnstakingPeriodRedundant: AugmentedError<ApiType>;
  3402. /**
  3403. * Role stake unstaking period for successful applicants too short.
  3404. **/
  3405. FullWorkerOpeningSuccessfulRoleStakeUnstakingPeriodTooShort: AugmentedError<ApiType>;
  3406. /**
  3407. * Application stake unstaking period for failed applicants redundant.
  3408. **/
  3409. FullWorkerOpeningUnsuccessfulApplicationStakeUnstakingPeriodRedundant: AugmentedError<ApiType>;
  3410. /**
  3411. * Application stake unstaking period for successful applicants too short.
  3412. **/
  3413. FullWorkerOpeningUnsuccessfulApplicationStakeUnstakingPeriodTooShort: AugmentedError<ApiType>;
  3414. /**
  3415. * Role stake unstaking period for failed applicants redundant.
  3416. **/
  3417. FullWorkerOpeningUnsuccessfulRoleStakeUnstakingPeriodRedundant: AugmentedError<ApiType>;
  3418. /**
  3419. * Role stake unstaking period for failed applicants too short.
  3420. **/
  3421. FullWorkerOpeningUnsuccessfulRoleStakeUnstakingPeriodTooShort: AugmentedError<ApiType>;
  3422. /**
  3423. * Insufficient balance to apply.
  3424. **/
  3425. InsufficientBalanceToApply: AugmentedError<ApiType>;
  3426. /**
  3427. * Insufficient balance to cover stake.
  3428. **/
  3429. InsufficientBalanceToCoverStake: AugmentedError<ApiType>;
  3430. /**
  3431. * Not a lead account.
  3432. **/
  3433. IsNotLeadAccount: AugmentedError<ApiType>;
  3434. /**
  3435. * Working group size limit exceeded.
  3436. **/
  3437. MaxActiveWorkerNumberExceeded: AugmentedError<ApiType>;
  3438. /**
  3439. * Member already has an active application on the opening.
  3440. **/
  3441. MemberHasActiveApplicationOnOpening: AugmentedError<ApiType>;
  3442. /**
  3443. * Member id is invalid.
  3444. **/
  3445. MembershipInvalidMemberId: AugmentedError<ApiType>;
  3446. /**
  3447. * Unsigned origin.
  3448. **/
  3449. MembershipUnsignedOrigin: AugmentedError<ApiType>;
  3450. /**
  3451. * Minting error: NextAdjustmentInPast
  3452. **/
  3453. MintingErrorNextAdjustmentInPast: AugmentedError<ApiType>;
  3454. /**
  3455. * Cannot get the worker stake profile.
  3456. **/
  3457. NoWorkerStakeProfile: AugmentedError<ApiType>;
  3458. /**
  3459. * Opening does not exist.
  3460. **/
  3461. OpeningDoesNotExist: AugmentedError<ApiType>;
  3462. /**
  3463. * Opening text too long.
  3464. **/
  3465. OpeningTextTooLong: AugmentedError<ApiType>;
  3466. /**
  3467. * Opening text too short.
  3468. **/
  3469. OpeningTextTooShort: AugmentedError<ApiType>;
  3470. /**
  3471. * Origin must be controller or root account of member.
  3472. **/
  3473. OriginIsNeitherMemberControllerOrRoot: AugmentedError<ApiType>;
  3474. /**
  3475. * Origin is not applicant.
  3476. **/
  3477. OriginIsNotApplicant: AugmentedError<ApiType>;
  3478. /**
  3479. * Next payment is not in the future.
  3480. **/
  3481. RecurringRewardsNextPaymentNotInFuture: AugmentedError<ApiType>;
  3482. /**
  3483. * Recipient not found.
  3484. **/
  3485. RecurringRewardsRecipientNotFound: AugmentedError<ApiType>;
  3486. /**
  3487. * Reward relationship not found.
  3488. **/
  3489. RecurringRewardsRewardRelationshipNotFound: AugmentedError<ApiType>;
  3490. /**
  3491. * Recipient reward source not found.
  3492. **/
  3493. RecurringRewardsRewardSourceNotFound: AugmentedError<ApiType>;
  3494. /**
  3495. * Relationship must exist.
  3496. **/
  3497. RelationshipMustExist: AugmentedError<ApiType>;
  3498. /**
  3499. * Require root origin in extrinsics.
  3500. **/
  3501. RequireRootOrigin: AugmentedError<ApiType>;
  3502. /**
  3503. * Require signed origin in extrinsics.
  3504. **/
  3505. RequireSignedOrigin: AugmentedError<ApiType>;
  3506. /**
  3507. * Invalid OpeningPolicyCommitment parameter (role_staking_policy):
  3508. * crowded_out_unstaking_period_length should be non-zero.
  3509. **/
  3510. RoleStakingPolicyCrowdedOutUnstakingPeriodIsZero: AugmentedError<ApiType>;
  3511. /**
  3512. * Invalid OpeningPolicyCommitment parameter (role_staking_policy):
  3513. * review_period_expired_unstaking_period_length should be non-zero.
  3514. **/
  3515. RoleStakingPolicyReviewPeriodUnstakingPeriodIsZero: AugmentedError<ApiType>;
  3516. /**
  3517. * Signer is not worker role account.
  3518. **/
  3519. SignerIsNotWorkerRoleAccount: AugmentedError<ApiType>;
  3520. /**
  3521. * Provided stake balance cannot be zero.
  3522. **/
  3523. StakeBalanceCannotBeZero: AugmentedError<ApiType>;
  3524. /**
  3525. * Already unstaking.
  3526. **/
  3527. StakingErrorAlreadyUnstaking: AugmentedError<ApiType>;
  3528. /**
  3529. * Cannot change stake by zero.
  3530. **/
  3531. StakingErrorCannotChangeStakeByZero: AugmentedError<ApiType>;
  3532. /**
  3533. * Cannot decrease stake while slashes ongoing.
  3534. **/
  3535. StakingErrorCannotDecreaseWhileSlashesOngoing: AugmentedError<ApiType>;
  3536. /**
  3537. * Cannot increase stake while unstaking.
  3538. **/
  3539. StakingErrorCannotIncreaseStakeWhileUnstaking: AugmentedError<ApiType>;
  3540. /**
  3541. * Cannot unstake while slashes ongoing.
  3542. **/
  3543. StakingErrorCannotUnstakeWhileSlashesOngoing: AugmentedError<ApiType>;
  3544. /**
  3545. * Insufficient balance in source account.
  3546. **/
  3547. StakingErrorInsufficientBalanceInSourceAccount: AugmentedError<ApiType>;
  3548. /**
  3549. * Insufficient stake to decrease.
  3550. **/
  3551. StakingErrorInsufficientStake: AugmentedError<ApiType>;
  3552. /**
  3553. * Not staked.
  3554. **/
  3555. StakingErrorNotStaked: AugmentedError<ApiType>;
  3556. /**
  3557. * Slash amount should be greater than zero.
  3558. **/
  3559. StakingErrorSlashAmountShouldBeGreaterThanZero: AugmentedError<ApiType>;
  3560. /**
  3561. * Stake not found.
  3562. **/
  3563. StakingErrorStakeNotFound: AugmentedError<ApiType>;
  3564. /**
  3565. * Unstaking period should be greater than zero.
  3566. **/
  3567. StakingErrorUnstakingPeriodShouldBeGreaterThanZero: AugmentedError<ApiType>;
  3568. /**
  3569. * Successful worker application does not exist.
  3570. **/
  3571. SuccessfulWorkerApplicationDoesNotExist: AugmentedError<ApiType>;
  3572. /**
  3573. * Invalid OpeningPolicyCommitment parameter:
  3574. * terminate_application_stake_unstaking_period should be non-zero.
  3575. **/
  3576. TerminateApplicationStakeUnstakingPeriodIsZero: AugmentedError<ApiType>;
  3577. /**
  3578. * Invalid OpeningPolicyCommitment parameter:
  3579. * terminate_role_stake_unstaking_period should be non-zero.
  3580. **/
  3581. TerminateRoleStakeUnstakingPeriodIsZero: AugmentedError<ApiType>;
  3582. /**
  3583. * Application does not exist.
  3584. **/
  3585. WithdrawWorkerApplicationApplicationDoesNotExist: AugmentedError<ApiType>;
  3586. /**
  3587. * Application is not active.
  3588. **/
  3589. WithdrawWorkerApplicationApplicationNotActive: AugmentedError<ApiType>;
  3590. /**
  3591. * Opening not accepting applications.
  3592. **/
  3593. WithdrawWorkerApplicationOpeningNotAcceptingApplications: AugmentedError<ApiType>;
  3594. /**
  3595. * Redundant unstaking period provided
  3596. **/
  3597. WithdrawWorkerApplicationRedundantUnstakingPeriod: AugmentedError<ApiType>;
  3598. /**
  3599. * UnstakingPeriodTooShort .... // <== SHOULD REALLY BE TWO SEPARATE, ONE FOR EACH STAKING PURPOSE
  3600. **/
  3601. WithdrawWorkerApplicationUnstakingPeriodTooShort: AugmentedError<ApiType>;
  3602. /**
  3603. * Worker application does not exist.
  3604. **/
  3605. WorkerApplicationDoesNotExist: AugmentedError<ApiType>;
  3606. /**
  3607. * Worker application text too long.
  3608. **/
  3609. WorkerApplicationTextTooLong: AugmentedError<ApiType>;
  3610. /**
  3611. * Worker application text too short.
  3612. **/
  3613. WorkerApplicationTextTooShort: AugmentedError<ApiType>;
  3614. /**
  3615. * Worker does not exist.
  3616. **/
  3617. WorkerDoesNotExist: AugmentedError<ApiType>;
  3618. /**
  3619. * Worker exit rationale text is too long.
  3620. **/
  3621. WorkerExitRationaleTextTooLong: AugmentedError<ApiType>;
  3622. /**
  3623. * Worker exit rationale text is too short.
  3624. **/
  3625. WorkerExitRationaleTextTooShort: AugmentedError<ApiType>;
  3626. /**
  3627. * Worker has no recurring reward.
  3628. **/
  3629. WorkerHasNoReward: AugmentedError<ApiType>;
  3630. /**
  3631. * Worker storage text is too long.
  3632. **/
  3633. WorkerStorageValueTooLong: AugmentedError<ApiType>;
  3634. };
  3635. sudo: {
  3636. /**
  3637. * Sender must be the Sudo account
  3638. **/
  3639. RequireSudo: AugmentedError<ApiType>;
  3640. };
  3641. system: {
  3642. /**
  3643. * Failed to extract the runtime version from the new runtime.
  3644. *
  3645. * Either calling `Core_version` or decoding `RuntimeVersion` failed.
  3646. **/
  3647. FailedToExtractRuntimeVersion: AugmentedError<ApiType>;
  3648. /**
  3649. * The name of specification does not match between the current runtime
  3650. * and the new runtime.
  3651. **/
  3652. InvalidSpecName: AugmentedError<ApiType>;
  3653. /**
  3654. * Suicide called when the account has non-default composite data.
  3655. **/
  3656. NonDefaultComposite: AugmentedError<ApiType>;
  3657. /**
  3658. * There is a non-zero reference count preventing the account from being purged.
  3659. **/
  3660. NonZeroRefCount: AugmentedError<ApiType>;
  3661. /**
  3662. * The specification version is not allowed to decrease between the current runtime
  3663. * and the new runtime.
  3664. **/
  3665. SpecVersionNeedsToIncrease: AugmentedError<ApiType>;
  3666. };
  3667. }
  3668. export interface DecoratedErrors<ApiType extends ApiTypes> extends AugmentedErrors<ApiType> {
  3669. }
  3670. }