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