augment-api-errors.ts 99 KB

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