augment-api-errors.ts 98 KB

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