augment-api-errors.ts 79 KB

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