augment-api-tx.ts 85 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455
  1. // Auto-generated via `yarn polkadot-types-from-chain`, do not edit
  2. /* eslint-disable */
  3. import { AnyNumber } from '@polkadot/types/types';
  4. import { BTreeMap, BTreeSet, Compact, Option, Vec } from '@polkadot/types/codec';
  5. import { Bytes, bool, u16, u32, u64 } from '@polkadot/types/primitive';
  6. import { ActivateOpeningAt, Actor, AddOpeningParameters, ApplicationId, ApplicationIdSet, BalanceOfMint, CategoryId, ClassId, ClassPermissions, ContentId, CuratorGroupId, CuratorId, DataObjectStorageRelationshipId, DataObjectType, DataObjectTypeId, DataObjectsMap, ElectionParameters, EntityController, EntityId, FillOpeningParameters, InputPropertyValue, InputValue, MemberId, MemoText, Nonce, OpeningId, OpeningPolicyCommitment, OpeningType, OperationType, PaidTermId, PostId, Property, PropertyId, ProposalId, RewardPolicy, SchemaId, StorageProviderId, TerminateRoleParameters, ThreadId, Url, VecMaxLength, VoteKind, WorkerId, WorkingGroup } from './all';
  7. import { Extrinsic, Signature } from '@polkadot/types/interfaces/extrinsics';
  8. import { GrandpaEquivocationProof, KeyOwnerProof } from '@polkadot/types/interfaces/grandpa';
  9. import { Heartbeat } from '@polkadot/types/interfaces/imOnline';
  10. import { AccountId, Balance, BalanceOf, BlockNumber, Call, ChangesTrieConfiguration, Hash, Header, KeyValue, LookupSource, Moment, Perbill, Percent, Weight } from '@polkadot/types/interfaces/runtime';
  11. import { Keys } from '@polkadot/types/interfaces/session';
  12. import { CompactAssignments, ElectionScore, ElectionSize, EraIndex, RewardDestination, ValidatorIndex, ValidatorPrefs } from '@polkadot/types/interfaces/staking';
  13. import { Key } from '@polkadot/types/interfaces/system';
  14. import { ApiTypes, SubmittableExtrinsic } from '@polkadot/api/types';
  15. declare module '@polkadot/api/types/submittable' {
  16. export interface AugmentedSubmittables<ApiType> {
  17. authorship: {
  18. /**
  19. * Provide a set of uncles.
  20. **/
  21. setUncles: AugmentedSubmittable<(newUncles: Vec<Header> | (Header | { parentHash?: any; number?: any; stateRoot?: any; extrinsicsRoot?: any; digest?: any } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>>;
  22. };
  23. balances: {
  24. /**
  25. * Exactly as `transfer`, except the origin must be root and the source account may be
  26. * specified.
  27. * # <weight>
  28. * - Same as transfer, but additional read and write because the source account is
  29. * not assumed to be in the overlay.
  30. * # </weight>
  31. **/
  32. forceTransfer: AugmentedSubmittable<(source: LookupSource | string | Uint8Array, dest: LookupSource | string | Uint8Array, value: Compact<Balance> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  33. /**
  34. * Set the balances of a given account.
  35. *
  36. * This will alter `FreeBalance` and `ReservedBalance` in storage. it will
  37. * also decrease the total issuance of the system (`TotalIssuance`).
  38. * If the new free or reserved balance is below the existential deposit,
  39. * it will reset the account nonce (`frame_system::AccountNonce`).
  40. *
  41. * The dispatch origin for this call is `root`.
  42. *
  43. * # <weight>
  44. * - Independent of the arguments.
  45. * - Contains a limited number of reads and writes.
  46. * ---------------------
  47. * - Base Weight:
  48. * - Creating: 27.56 µs
  49. * - Killing: 35.11 µs
  50. * - DB Weight: 1 Read, 1 Write to `who`
  51. * # </weight>
  52. **/
  53. setBalance: AugmentedSubmittable<(who: LookupSource | string | Uint8Array, newFree: Compact<Balance> | AnyNumber | Uint8Array, newReserved: Compact<Balance> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  54. /**
  55. * Transfer some liquid free balance to another account.
  56. *
  57. * `transfer` will set the `FreeBalance` of the sender and receiver.
  58. * It will decrease the total issuance of the system by the `TransferFee`.
  59. * If the sender's account is below the existential deposit as a result
  60. * of the transfer, the account will be reaped.
  61. *
  62. * The dispatch origin for this call must be `Signed` by the transactor.
  63. *
  64. * # <weight>
  65. * - Dependent on arguments but not critical, given proper implementations for
  66. * input config types. See related functions below.
  67. * - It contains a limited number of reads and writes internally and no complex computation.
  68. *
  69. * Related functions:
  70. *
  71. * - `ensure_can_withdraw` is always called internally but has a bounded complexity.
  72. * - Transferring balances to accounts that did not exist before will cause
  73. * `T::OnNewAccount::on_new_account` to be called.
  74. * - Removing enough funds from an account will trigger `T::DustRemoval::on_unbalanced`.
  75. * - `transfer_keep_alive` works the same way as `transfer`, but has an additional
  76. * check that the transfer will not kill the origin account.
  77. * ---------------------------------
  78. * - Base Weight: 73.64 µs, worst case scenario (account created, account removed)
  79. * - DB Weight: 1 Read and 1 Write to destination account
  80. * - Origin account is already in memory, so no DB operations for them.
  81. * # </weight>
  82. **/
  83. transfer: AugmentedSubmittable<(dest: LookupSource | string | Uint8Array, value: Compact<Balance> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  84. /**
  85. * Same as the [`transfer`] call, but with a check that the transfer will not kill the
  86. * origin account.
  87. *
  88. * 99% of the time you want [`transfer`] instead.
  89. *
  90. * [`transfer`]: struct.Module.html#method.transfer
  91. * # <weight>
  92. * - Cheaper than transfer because account cannot be killed.
  93. * - Base Weight: 51.4 µs
  94. * - DB Weight: 1 Read and 1 Write to dest (sender is in overlay already)
  95. * #</weight>
  96. **/
  97. transferKeepAlive: AugmentedSubmittable<(dest: LookupSource | string | Uint8Array, value: Compact<Balance> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  98. };
  99. contentDirectory: {
  100. /**
  101. * Create new class schema from existing property ids and new properties
  102. **/
  103. addClassSchema: AugmentedSubmittable<(classId: ClassId | AnyNumber | Uint8Array, existingProperties: BTreeSet<PropertyId>, newProperties: Vec<Property> | (Property | { property_type?: any; required?: any; unique?: any; name?: any; description?: any; locking_policy?: any } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>>;
  104. /**
  105. * Add new curator group to runtime storage
  106. **/
  107. addCuratorGroup: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>>;
  108. /**
  109. * Add curator to curator group under given `curator_group_id`
  110. **/
  111. addCuratorToGroup: AugmentedSubmittable<(curatorGroupId: CuratorGroupId | AnyNumber | Uint8Array, curatorId: CuratorId | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  112. /**
  113. * Add curator group under given `curator_group_id` as `Class` maintainer
  114. **/
  115. addMaintainerToClass: AugmentedSubmittable<(classId: ClassId | AnyNumber | Uint8Array, curatorGroupId: CuratorGroupId | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  116. /**
  117. * Add schema support to entity under given `schema_id` and provided `property_values`
  118. **/
  119. addSchemaSupportToEntity: AugmentedSubmittable<(actor: Actor | { Curator: any } | { Member: any } | { Lead: any } | string | Uint8Array, entityId: EntityId | AnyNumber | Uint8Array, schemaId: SchemaId | AnyNumber | Uint8Array, newPropertyValues: BTreeMap<PropertyId, InputPropertyValue>) => SubmittableExtrinsic<ApiType>>;
  120. /**
  121. * Clear `PropertyValueVec` under given `entity_id` & `in_class_schema_property_id`
  122. **/
  123. clearEntityPropertyVector: AugmentedSubmittable<(actor: Actor | { Curator: any } | { Member: any } | { Lead: any } | string | Uint8Array, entityId: EntityId | AnyNumber | Uint8Array, inClassSchemaPropertyId: PropertyId | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  124. /**
  125. * Create new `Class` with provided parameters
  126. **/
  127. createClass: AugmentedSubmittable<(name: Bytes | string | Uint8Array, description: Bytes | string | Uint8Array, classPermissions: ClassPermissions | { any_member?: any; entity_creation_blocked?: any; all_entity_property_values_locked?: any; maintainers?: any } | string | Uint8Array, maximumEntitiesCount: EntityId | AnyNumber | Uint8Array, defaultEntityCreationVoucherUpperBound: EntityId | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  128. /**
  129. * Create entity.
  130. * If someone is making an entity of this class for first time,
  131. * then a voucher is also added with the class limit as the default limit value.
  132. **/
  133. createEntity: AugmentedSubmittable<(classId: ClassId | AnyNumber | Uint8Array, actor: Actor | { Curator: any } | { Member: any } | { Lead: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  134. /**
  135. * Insert `SingleInputPropertyValue` at given `index_in_property_vector`
  136. * into `PropertyValueVec` under `in_class_schema_property_id`
  137. **/
  138. insertAtEntityPropertyVector: AugmentedSubmittable<(actor: Actor | { Curator: any } | { Member: any } | { Lead: any } | string | Uint8Array, entityId: EntityId | AnyNumber | Uint8Array, inClassSchemaPropertyId: PropertyId | AnyNumber | Uint8Array, indexInPropertyVector: VecMaxLength | AnyNumber | Uint8Array, value: InputValue | { Bool: any } | { Uint16: any } | { Uint32: any } | { Uint64: any } | { Int16: any } | { Int32: any } | { Int64: any } | { Text: any } | { TextToHash: any } | { Reference: any } | string | Uint8Array, nonce: Nonce | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  139. /**
  140. * Remove value at given `index_in_property_vector`
  141. * from `PropertyValueVec` under `in_class_schema_property_id`
  142. **/
  143. removeAtEntityPropertyVector: AugmentedSubmittable<(actor: Actor | { Curator: any } | { Member: any } | { Lead: any } | string | Uint8Array, entityId: EntityId | AnyNumber | Uint8Array, inClassSchemaPropertyId: PropertyId | AnyNumber | Uint8Array, indexInPropertyVector: VecMaxLength | AnyNumber | Uint8Array, nonce: Nonce | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  144. /**
  145. * Remove curator from a given curator group
  146. **/
  147. removeCuratorFromGroup: AugmentedSubmittable<(curatorGroupId: CuratorGroupId | AnyNumber | Uint8Array, curatorId: CuratorId | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  148. /**
  149. * Remove curator group under given `curator_group_id` from runtime storage
  150. **/
  151. removeCuratorGroup: AugmentedSubmittable<(curatorGroupId: CuratorGroupId | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  152. /**
  153. * Remove `Entity` under provided `entity_id`
  154. **/
  155. removeEntity: AugmentedSubmittable<(actor: Actor | { Curator: any } | { Member: any } | { Lead: any } | string | Uint8Array, entityId: EntityId | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  156. /**
  157. * Remove curator group under given `curator_group_id` from `Class` maintainers set
  158. **/
  159. removeMaintainerFromClass: AugmentedSubmittable<(classId: ClassId | AnyNumber | Uint8Array, curatorGroupId: CuratorGroupId | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  160. /**
  161. * Set `is_active` status for curator group under given `curator_group_id`
  162. **/
  163. setCuratorGroupStatus: AugmentedSubmittable<(curatorGroupId: CuratorGroupId | AnyNumber | Uint8Array, isActive: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  164. /**
  165. * Batch transaction
  166. **/
  167. transaction: AugmentedSubmittable<(actor: Actor | { Curator: any } | { Member: any } | { Lead: any } | string | Uint8Array, operations: Vec<OperationType> | (OperationType | { CreateEntity: any } | { UpdatePropertyValues: any } | { AddSchemaSupportToEntity: any } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>>;
  168. /**
  169. * Transfer ownership to new `EntityController` for `Entity` under given `entity_id`
  170. * `new_property_value_references_with_same_owner_flag_set` should be provided manually
  171. **/
  172. transferEntityOwnership: AugmentedSubmittable<(entityId: EntityId | AnyNumber | Uint8Array, newController: EntityController | { Maintainers: any } | { Member: any } | { Lead: any } | string | Uint8Array, newPropertyValueReferencesWithSameOwnerFlagSet: BTreeMap<PropertyId, InputPropertyValue>) => SubmittableExtrinsic<ApiType>>;
  173. /**
  174. * Update `ClassPermissions` under specific `class_id`
  175. **/
  176. updateClassPermissions: AugmentedSubmittable<(classId: ClassId | AnyNumber | Uint8Array, updatedAnyMember: Option<bool> | null | object | string | Uint8Array, updatedEntityCreationBlocked: Option<bool> | null | object | string | Uint8Array, updatedAllEntityPropertyValuesLocked: Option<bool> | null | object | string | Uint8Array, updatedMaintainers: Option<BTreeSet<CuratorGroupId>> | null | object | string | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  177. /**
  178. * Update `schema_status` under specific `schema_id` in `Class`
  179. **/
  180. updateClassSchemaStatus: AugmentedSubmittable<(classId: ClassId | AnyNumber | Uint8Array, schemaId: SchemaId | AnyNumber | Uint8Array, schemaStatus: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  181. /**
  182. * Updates or creates new `EntityCreationVoucher` for given `EntityController` with individual limit
  183. **/
  184. updateEntityCreationVoucher: AugmentedSubmittable<(classId: ClassId | AnyNumber | Uint8Array, controller: EntityController | { Maintainers: any } | { Member: any } | { Lead: any } | string | Uint8Array, maximumEntitiesCount: EntityId | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  185. /**
  186. * Update entity permissions
  187. **/
  188. updateEntityPermissions: AugmentedSubmittable<(entityId: EntityId | AnyNumber | Uint8Array, updatedFrozen: Option<bool> | null | object | string | Uint8Array, updatedReferenceable: Option<bool> | null | object | string | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  189. /**
  190. * Update `Entity` `InputPropertyValue`'s with provided ones
  191. **/
  192. updateEntityPropertyValues: AugmentedSubmittable<(actor: Actor | { Curator: any } | { Member: any } | { Lead: any } | string | Uint8Array, entityId: EntityId | AnyNumber | Uint8Array, newPropertyValues: BTreeMap<PropertyId, InputPropertyValue>) => SubmittableExtrinsic<ApiType>>;
  193. };
  194. contentDirectoryWorkingGroup: {
  195. /**
  196. * Begin accepting worker applications to an opening that is active.
  197. * Require signed leader origin or the root (to accept applications for the leader position).
  198. **/
  199. acceptApplications: AugmentedSubmittable<(openingId: OpeningId | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  200. /**
  201. * Add an opening for a worker role.
  202. * Require signed leader origin or the root (to add opening for the leader position).
  203. **/
  204. addOpening: AugmentedSubmittable<(activateAt: ActivateOpeningAt | { CurrentBlock: any } | { ExactBlock: any } | string | Uint8Array, commitment: OpeningPolicyCommitment | { application_rationing_policy?: any; max_review_period_length?: any; application_staking_policy?: any; role_staking_policy?: any; role_slashing_terms?: any; fill_opening_successful_applicant_application_stake_unstaking_period?: any; fill_opening_failed_applicant_application_stake_unstaking_period?: any; fill_opening_failed_applicant_role_stake_unstaking_period?: any; terminate_application_stake_unstaking_period?: any; terminate_role_stake_unstaking_period?: any; exit_role_application_stake_unstaking_period?: any; exit_role_stake_unstaking_period?: any } | string | Uint8Array, humanReadableText: Bytes | string | Uint8Array, openingType: OpeningType | 'Leader'|'Worker' | number | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  205. /**
  206. * Apply on a worker opening.
  207. **/
  208. applyOnOpening: AugmentedSubmittable<(memberId: MemberId | AnyNumber | Uint8Array, openingId: OpeningId | AnyNumber | Uint8Array, roleAccountId: AccountId | string | Uint8Array, optRoleStakeBalance: Option<BalanceOf> | null | object | string | Uint8Array, optApplicationStakeBalance: Option<BalanceOf> | null | object | string | Uint8Array, humanReadableText: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  209. /**
  210. * Begin reviewing, and therefore not accepting new applications.
  211. * Require signed leader origin or the root (to begin review applications for the leader position).
  212. **/
  213. beginApplicantReview: AugmentedSubmittable<(openingId: OpeningId | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  214. /**
  215. * Decreases the worker/lead stake and returns the remainder to the worker role_account_id.
  216. * Can be decreased to zero, no actions on zero stake.
  217. * Require signed leader origin or the root (to decrease the leader stake).
  218. **/
  219. decreaseStake: AugmentedSubmittable<(workerId: WorkerId | AnyNumber | Uint8Array, balance: BalanceOf | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  220. /**
  221. * Fill opening for worker/lead.
  222. * Require signed leader origin or the root (to fill opening for the leader position).
  223. **/
  224. fillOpening: AugmentedSubmittable<(openingId: OpeningId | AnyNumber | Uint8Array, successfulApplicationIds: ApplicationIdSet, rewardPolicy: Option<RewardPolicy> | null | object | string | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  225. /**
  226. * Increases the worker/lead stake, demands a worker origin. Transfers tokens from the worker
  227. * role_account_id to the stake. No limits on the stake.
  228. **/
  229. increaseStake: AugmentedSubmittable<(workerId: WorkerId | AnyNumber | Uint8Array, balance: BalanceOf | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  230. /**
  231. * Leave the role by the active worker.
  232. **/
  233. leaveRole: AugmentedSubmittable<(workerId: WorkerId | AnyNumber | Uint8Array, rationaleText: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  234. /**
  235. * Sets the capacity to enable working group budget. Requires root origin.
  236. **/
  237. setMintCapacity: AugmentedSubmittable<(newCapacity: BalanceOf | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  238. /**
  239. * Slashes the worker stake, demands a leader origin. No limits, no actions on zero stake.
  240. * If slashing balance greater than the existing stake - stake is slashed to zero.
  241. * Require signed leader origin or the root (to slash the leader stake).
  242. **/
  243. slashStake: AugmentedSubmittable<(workerId: WorkerId | AnyNumber | Uint8Array, balance: BalanceOf | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  244. /**
  245. * Terminate the worker application. Can be done by the lead only.
  246. **/
  247. terminateApplication: AugmentedSubmittable<(applicationId: ApplicationId | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  248. /**
  249. * Terminate the active worker by the lead.
  250. * Require signed leader origin or the root (to terminate the leader role).
  251. **/
  252. terminateRole: AugmentedSubmittable<(workerId: WorkerId | AnyNumber | Uint8Array, rationaleText: Bytes | string | Uint8Array, slashStake: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  253. /**
  254. * Update the reward account associated with a set reward relationship for the active worker.
  255. **/
  256. updateRewardAccount: AugmentedSubmittable<(workerId: WorkerId | AnyNumber | Uint8Array, newRewardAccountId: AccountId | string | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  257. /**
  258. * Update the reward amount associated with a set reward relationship for the active worker.
  259. * Require signed leader origin or the root (to update leader reward amount).
  260. **/
  261. updateRewardAmount: AugmentedSubmittable<(workerId: WorkerId | AnyNumber | Uint8Array, newAmount: BalanceOfMint | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  262. /**
  263. * Update the associated role account of the active worker/lead.
  264. **/
  265. updateRoleAccount: AugmentedSubmittable<(workerId: WorkerId | AnyNumber | Uint8Array, newRoleAccountId: AccountId | string | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  266. /**
  267. * Withdraw the worker application. Can be done by the worker itself only.
  268. **/
  269. withdrawApplication: AugmentedSubmittable<(applicationId: ApplicationId | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  270. };
  271. council: {
  272. /**
  273. * Adds a zero staked council member. A member added in this way does not get a recurring reward.
  274. **/
  275. addCouncilMember: AugmentedSubmittable<(account: AccountId | string | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  276. /**
  277. * Remove a single council member and their reward.
  278. **/
  279. removeCouncilMember: AugmentedSubmittable<(accountToRemove: AccountId | string | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  280. /**
  281. * Force set a zero staked council. Stakes in existing council seats are not returned.
  282. * Existing council rewards are removed and new council members do NOT get any rewards.
  283. * Avoid using this call if possible, will be deprecated. The term of the new council is
  284. * not extended.
  285. **/
  286. setCouncil: AugmentedSubmittable<(accounts: Vec<AccountId> | (AccountId | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>>;
  287. /**
  288. * Sets the capacity of the the council mint, if it doesn't exist, attempts to
  289. * create a new one.
  290. **/
  291. setCouncilMintCapacity: AugmentedSubmittable<(capacity: BalanceOf | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  292. /**
  293. * Sets the council rewards which is only applied on new council being elected.
  294. **/
  295. setCouncilRewards: AugmentedSubmittable<(amountPerPayout: BalanceOf | AnyNumber | Uint8Array, payoutInterval: Option<BlockNumber> | null | object | string | Uint8Array, firstPayoutAfterRewardCreated: BlockNumber | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  296. /**
  297. * Set blocknumber when council term will end
  298. **/
  299. setTermEndsAt: AugmentedSubmittable<(endsAt: BlockNumber | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  300. /**
  301. * Attempts to mint and transfer amount to destination account
  302. **/
  303. spendFromCouncilMint: AugmentedSubmittable<(amount: BalanceOf | AnyNumber | Uint8Array, destination: AccountId | string | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  304. };
  305. councilElection: {
  306. apply: AugmentedSubmittable<(stake: BalanceOf | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  307. forceStartElection: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>>;
  308. forceStopElection: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>>;
  309. reveal: AugmentedSubmittable<(commitment: Hash | string | Uint8Array, vote: AccountId | string | Uint8Array, salt: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  310. setAutoStart: AugmentedSubmittable<(flag: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  311. /**
  312. * Sets new election parameters. Some combination of parameters that are not desirable, so
  313. * the parameters are checked for validity.
  314. * The call will fail if an election is in progress. If a council is not being elected for some
  315. * reaon after multiple rounds, force_stop_election() can be called to stop elections and followed by
  316. * set_election_parameters().
  317. **/
  318. setElectionParameters: AugmentedSubmittable<(params: ElectionParameters | { announcing_period?: any; voting_period?: any; revealing_period?: any; council_size?: any; candidacy_limit?: any; new_term_duration?: any; min_council_stake?: any; min_voting_stake?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  319. setStageAnnouncing: AugmentedSubmittable<(endsAt: BlockNumber | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  320. setStageRevealing: AugmentedSubmittable<(endsAt: BlockNumber | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  321. setStageVoting: AugmentedSubmittable<(endsAt: BlockNumber | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  322. vote: AugmentedSubmittable<(commitment: Hash | string | Uint8Array, stake: BalanceOf | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  323. };
  324. dataDirectory: {
  325. /**
  326. * Storage provider accepts a content. Requires signed storage provider account and its id.
  327. * The LiaisonJudgement can be updated, but only by the liaison.
  328. **/
  329. acceptContent: AugmentedSubmittable<(storageProviderId: StorageProviderId | AnyNumber | Uint8Array, contentId: ContentId | string | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  330. /**
  331. * Adds the content to the system. Member id should match its origin. The created DataObject
  332. * awaits liaison to accept or reject it.
  333. **/
  334. addContent: AugmentedSubmittable<(memberId: MemberId | AnyNumber | Uint8Array, contentId: ContentId | string | Uint8Array, typeId: DataObjectTypeId | AnyNumber | Uint8Array, size: u64 | AnyNumber | Uint8Array, ipfsContentId: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  335. /**
  336. * Injects a set of data objects and their corresponding content id into the directory.
  337. * The operation is "silent" - no events will be emitted as objects are added.
  338. * The number of objects that can be added per call is limited to prevent the dispatch
  339. * from causing the block production to fail if it takes too much time to process.
  340. * Existing data objects will be overwritten.
  341. **/
  342. injectDataObjects: AugmentedSubmittable<(objects: DataObjectsMap) => SubmittableExtrinsic<ApiType>>;
  343. /**
  344. * Storage provider rejects a content. Requires signed storage provider account and its id.
  345. * The LiaisonJudgement can be updated, but only by the liaison.
  346. **/
  347. rejectContent: AugmentedSubmittable<(storageProviderId: StorageProviderId | AnyNumber | Uint8Array, contentId: ContentId | string | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  348. /**
  349. * Removes the content id from the list of known content ids. Requires root privileges.
  350. **/
  351. removeKnownContentId: AugmentedSubmittable<(contentId: ContentId | string | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  352. };
  353. dataObjectStorageRegistry: {
  354. /**
  355. * Add storage provider-to-content relationship. The storage provider should be registered
  356. * in the storage working group.
  357. **/
  358. addRelationship: AugmentedSubmittable<(storageProviderId: StorageProviderId | AnyNumber | Uint8Array, cid: ContentId | string | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  359. /**
  360. * Activates storage provider-to-content relationship. The storage provider should be registered
  361. * in the storage working group. A storage provider may flip their own ready state, but nobody else.
  362. **/
  363. setRelationshipReady: AugmentedSubmittable<(storageProviderId: StorageProviderId | AnyNumber | Uint8Array, id: DataObjectStorageRelationshipId | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  364. /**
  365. * Deactivates storage provider-to-content relationship. The storage provider should be registered
  366. * in the storage working group. A storage provider may flip their own ready state, but nobody else.
  367. **/
  368. unsetRelationshipReady: AugmentedSubmittable<(storageProviderId: StorageProviderId | AnyNumber | Uint8Array, id: DataObjectStorageRelationshipId | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  369. };
  370. dataObjectTypeRegistry: {
  371. /**
  372. * Activates existing data object type. Requires leader privileges.
  373. **/
  374. activateDataObjectType: AugmentedSubmittable<(id: DataObjectTypeId | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  375. /**
  376. * Deactivates existing data object type. Requires leader privileges.
  377. **/
  378. deactivateDataObjectType: AugmentedSubmittable<(id: DataObjectTypeId | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  379. /**
  380. * Registers the new data object type. Requires leader privileges.
  381. **/
  382. registerDataObjectType: AugmentedSubmittable<(dataObjectType: DataObjectType | { description?: any; active?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  383. /**
  384. * Updates existing data object type. Requires leader privileges.
  385. **/
  386. updateDataObjectType: AugmentedSubmittable<(id: DataObjectTypeId | AnyNumber | Uint8Array, dataObjectType: DataObjectType | { description?: any; active?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  387. };
  388. discovery: {
  389. /**
  390. * Sets bootstrap endpoints for the Colossus. Requires root privileges.
  391. **/
  392. setBootstrapEndpoints: AugmentedSubmittable<(endpoints: Vec<Url> | (Url | string)[]) => SubmittableExtrinsic<ApiType>>;
  393. /**
  394. * Sets default lifetime for storage providers accounts info. Requires root privileges.
  395. **/
  396. setDefaultLifetime: AugmentedSubmittable<(lifetime: BlockNumber | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  397. /**
  398. * Creates the ServiceProviderRecord to save an IPNS identity for the storage provider.
  399. * Requires signed storage provider credentials.
  400. **/
  401. setIpnsId: AugmentedSubmittable<(storageProviderId: StorageProviderId | AnyNumber | Uint8Array, id: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  402. /**
  403. * Deletes the ServiceProviderRecord with the IPNS identity for the storage provider.
  404. * Requires signed storage provider credentials.
  405. **/
  406. unsetIpnsId: AugmentedSubmittable<(storageProviderId: StorageProviderId | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  407. };
  408. finalityTracker: {
  409. /**
  410. * Hint that the author of this block thinks the best finalized
  411. * block is the given number.
  412. **/
  413. finalHint: AugmentedSubmittable<(hint: Compact<BlockNumber> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  414. };
  415. forum: {
  416. /**
  417. * Edit post text
  418. **/
  419. addPost: AugmentedSubmittable<(threadId: ThreadId | AnyNumber | Uint8Array, text: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  420. /**
  421. * Add a new category.
  422. **/
  423. createCategory: AugmentedSubmittable<(parent: Option<CategoryId> | null | object | string | Uint8Array, title: Bytes | string | Uint8Array, description: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  424. /**
  425. * Create new thread in category
  426. **/
  427. createThread: AugmentedSubmittable<(categoryId: CategoryId | AnyNumber | Uint8Array, title: Bytes | string | Uint8Array, text: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  428. /**
  429. * Edit post text
  430. **/
  431. editPostText: AugmentedSubmittable<(postId: PostId | AnyNumber | Uint8Array, newText: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  432. /**
  433. * Moderate post
  434. **/
  435. moderatePost: AugmentedSubmittable<(postId: PostId | AnyNumber | Uint8Array, rationale: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  436. /**
  437. * Moderate thread
  438. **/
  439. moderateThread: AugmentedSubmittable<(threadId: ThreadId | AnyNumber | Uint8Array, rationale: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  440. /**
  441. * Set forum sudo.
  442. **/
  443. setForumSudo: AugmentedSubmittable<(newForumSudo: Option<AccountId> | null | object | string | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  444. /**
  445. * Update category
  446. **/
  447. updateCategory: AugmentedSubmittable<(categoryId: CategoryId | AnyNumber | Uint8Array, newArchivalStatus: Option<bool> | null | object | string | Uint8Array, newDeletionStatus: Option<bool> | null | object | string | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  448. };
  449. grandpa: {
  450. /**
  451. * Report voter equivocation/misbehavior. This method will verify the
  452. * equivocation proof and validate the given key ownership proof
  453. * against the extracted offender. If both are valid, the offence
  454. * will be reported.
  455. *
  456. * Since the weight of the extrinsic is 0, in order to avoid DoS by
  457. * submission of invalid equivocation reports, a mandatory pre-validation of
  458. * the extrinsic is implemented in a `SignedExtension`.
  459. **/
  460. reportEquivocation: AugmentedSubmittable<(equivocationProof: GrandpaEquivocationProof | { setId?: any; equivocation?: any } | string | Uint8Array, keyOwnerProof: KeyOwnerProof | { session?: any; trieNodes?: any; validatorCount?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  461. };
  462. imOnline: {
  463. /**
  464. * # <weight>
  465. * - Complexity: `O(K + E)` where K is length of `Keys` and E is length of
  466. * `Heartbeat.network_state.external_address`
  467. *
  468. * - `O(K)`: decoding of length `K`
  469. * - `O(E)`: decoding/encoding of length `E`
  470. * - DbReads: pallet_session `Validators`, pallet_session `CurrentIndex`, `Keys`,
  471. * `ReceivedHeartbeats`
  472. * - DbWrites: `ReceivedHeartbeats`
  473. * # </weight>
  474. **/
  475. heartbeat: AugmentedSubmittable<(heartbeat: Heartbeat | { blockNumber?: any; networkState?: any; sessionIndex?: any; authorityIndex?: any; validatorsLen?: any } | string | Uint8Array, signature: Signature | string | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  476. };
  477. members: {
  478. addScreenedMember: AugmentedSubmittable<(newMemberAccount: AccountId | string | Uint8Array, handle: Option<Bytes> | null | object | string | Uint8Array, avatarUri: Option<Bytes> | null | object | string | Uint8Array, about: Option<Bytes> | null | object | string | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  479. /**
  480. * Non-members can buy membership
  481. **/
  482. buyMembership: AugmentedSubmittable<(paidTermsId: PaidTermId | AnyNumber | Uint8Array, handle: Option<Bytes> | null | object | string | Uint8Array, avatarUri: Option<Bytes> | null | object | string | Uint8Array, about: Option<Bytes> | null | object | string | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  483. /**
  484. * Change member's about text
  485. **/
  486. changeMemberAboutText: AugmentedSubmittable<(memberId: MemberId | AnyNumber | Uint8Array, text: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  487. /**
  488. * Change member's avatar
  489. **/
  490. changeMemberAvatar: AugmentedSubmittable<(memberId: MemberId | AnyNumber | Uint8Array, uri: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  491. /**
  492. * Change member's handle. Will ensure new handle is unique and old one will be available
  493. * for other members to use.
  494. **/
  495. changeMemberHandle: AugmentedSubmittable<(memberId: MemberId | AnyNumber | Uint8Array, handle: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  496. setControllerAccount: AugmentedSubmittable<(memberId: MemberId | AnyNumber | Uint8Array, newControllerAccount: AccountId | string | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  497. setRootAccount: AugmentedSubmittable<(memberId: MemberId | AnyNumber | Uint8Array, newRootAccount: AccountId | string | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  498. setScreeningAuthority: AugmentedSubmittable<(authority: AccountId | string | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  499. /**
  500. * Update member's all or some of handle, avatar and about text.
  501. **/
  502. updateMembership: AugmentedSubmittable<(memberId: MemberId | AnyNumber | Uint8Array, handle: Option<Bytes> | null | object | string | Uint8Array, avatarUri: Option<Bytes> | null | object | string | Uint8Array, about: Option<Bytes> | null | object | string | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  503. };
  504. memo: {
  505. updateMemo: AugmentedSubmittable<(memo: MemoText | string) => SubmittableExtrinsic<ApiType>>;
  506. };
  507. proposalsCodex: {
  508. /**
  509. * Create 'Add working group leader opening' proposal type.
  510. * This proposal uses `add_opening()` extrinsic from the Joystream `working group` module.
  511. **/
  512. createAddWorkingGroupLeaderOpeningProposal: AugmentedSubmittable<(memberId: MemberId | AnyNumber | Uint8Array, title: Bytes | string | Uint8Array, description: Bytes | string | Uint8Array, stakeBalance: Option<BalanceOf> | null | object | string | Uint8Array, addOpeningParameters: AddOpeningParameters | { activate_at?: any; commitment?: any; human_readable_text?: any; working_group?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  513. /**
  514. * Create 'Begin review working group leader applications' proposal type.
  515. * This proposal uses `begin_applicant_review()` extrinsic from the Joystream `working group` module.
  516. **/
  517. createBeginReviewWorkingGroupLeaderApplicationsProposal: AugmentedSubmittable<(memberId: MemberId | AnyNumber | Uint8Array, title: Bytes | string | Uint8Array, description: Bytes | string | Uint8Array, stakeBalance: Option<BalanceOf> | null | object | string | Uint8Array, openingId: OpeningId | AnyNumber | Uint8Array, workingGroup: WorkingGroup | 'Storage'|'Content' | number | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  518. /**
  519. * Create 'decrease working group leader stake' proposal type.
  520. * This proposal uses `decrease_stake()` extrinsic from the `working-group` module.
  521. **/
  522. createDecreaseWorkingGroupLeaderStakeProposal: AugmentedSubmittable<(memberId: MemberId | AnyNumber | Uint8Array, title: Bytes | string | Uint8Array, description: Bytes | string | Uint8Array, stakeBalance: Option<BalanceOf> | null | object | string | Uint8Array, workerId: WorkerId | AnyNumber | Uint8Array, decreasingStake: BalanceOf | AnyNumber | Uint8Array, workingGroup: WorkingGroup | 'Storage'|'Content' | number | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  523. /**
  524. * Create 'Fill working group leader opening' proposal type.
  525. * This proposal uses `fill_opening()` extrinsic from the Joystream `working group` module.
  526. **/
  527. createFillWorkingGroupLeaderOpeningProposal: AugmentedSubmittable<(memberId: MemberId | AnyNumber | Uint8Array, title: Bytes | string | Uint8Array, description: Bytes | string | Uint8Array, stakeBalance: Option<BalanceOf> | null | object | string | Uint8Array, fillOpeningParameters: FillOpeningParameters | { opening_id?: any; successful_application_id?: any; reward_policy?: any; working_group?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  528. /**
  529. * Create 'Runtime upgrade' proposal type. Runtime upgrade can be initiated only by
  530. * members from the hardcoded list `RuntimeUpgradeProposalAllowedProposers`
  531. **/
  532. createRuntimeUpgradeProposal: AugmentedSubmittable<(memberId: MemberId | AnyNumber | Uint8Array, title: Bytes | string | Uint8Array, description: Bytes | string | Uint8Array, stakeBalance: Option<BalanceOf> | null | object | string | Uint8Array, wasm: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  533. /**
  534. * Create 'Set election parameters' proposal type. This proposal uses `set_election_parameters()`
  535. * extrinsic from the `governance::election module`.
  536. **/
  537. createSetElectionParametersProposal: AugmentedSubmittable<(memberId: MemberId | AnyNumber | Uint8Array, title: Bytes | string | Uint8Array, description: Bytes | string | Uint8Array, stakeBalance: Option<BalanceOf> | null | object | string | Uint8Array, electionParameters: ElectionParameters | { announcing_period?: any; voting_period?: any; revealing_period?: any; council_size?: any; candidacy_limit?: any; new_term_duration?: any; min_council_stake?: any; min_voting_stake?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  538. /**
  539. * Create 'Evict storage provider' proposal type.
  540. * This proposal uses `set_validator_count()` extrinsic from the Substrate `staking` module.
  541. **/
  542. createSetValidatorCountProposal: AugmentedSubmittable<(memberId: MemberId | AnyNumber | Uint8Array, title: Bytes | string | Uint8Array, description: Bytes | string | Uint8Array, stakeBalance: Option<BalanceOf> | null | object | string | Uint8Array, newValidatorCount: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  543. /**
  544. * Create 'set working group leader reward' proposal type.
  545. * This proposal uses `update_reward_amount()` extrinsic from the `working-group` module.
  546. **/
  547. createSetWorkingGroupLeaderRewardProposal: AugmentedSubmittable<(memberId: MemberId | AnyNumber | Uint8Array, title: Bytes | string | Uint8Array, description: Bytes | string | Uint8Array, stakeBalance: Option<BalanceOf> | null | object | string | Uint8Array, workerId: WorkerId | AnyNumber | Uint8Array, rewardAmount: BalanceOfMint | AnyNumber | Uint8Array, workingGroup: WorkingGroup | 'Storage'|'Content' | number | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  548. /**
  549. * Create 'Set working group mint capacity' proposal type.
  550. * This proposal uses `set_mint_capacity()` extrinsic from the `working-group` module.
  551. **/
  552. createSetWorkingGroupMintCapacityProposal: AugmentedSubmittable<(memberId: MemberId | AnyNumber | Uint8Array, title: Bytes | string | Uint8Array, description: Bytes | string | Uint8Array, stakeBalance: Option<BalanceOf> | null | object | string | Uint8Array, mintBalance: BalanceOfMint | AnyNumber | Uint8Array, workingGroup: WorkingGroup | 'Storage'|'Content' | number | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  553. /**
  554. * Create 'slash working group leader stake' proposal type.
  555. * This proposal uses `slash_stake()` extrinsic from the `working-group` module.
  556. **/
  557. createSlashWorkingGroupLeaderStakeProposal: AugmentedSubmittable<(memberId: MemberId | AnyNumber | Uint8Array, title: Bytes | string | Uint8Array, description: Bytes | string | Uint8Array, stakeBalance: Option<BalanceOf> | null | object | string | Uint8Array, workerId: WorkerId | AnyNumber | Uint8Array, slashingStake: BalanceOf | AnyNumber | Uint8Array, workingGroup: WorkingGroup | 'Storage'|'Content' | number | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  558. /**
  559. * Create 'Spending' proposal type.
  560. * This proposal uses `spend_from_council_mint()` extrinsic from the `governance::council` module.
  561. **/
  562. createSpendingProposal: AugmentedSubmittable<(memberId: MemberId | AnyNumber | Uint8Array, title: Bytes | string | Uint8Array, description: Bytes | string | Uint8Array, stakeBalance: Option<BalanceOf> | null | object | string | Uint8Array, balance: BalanceOfMint | AnyNumber | Uint8Array, destination: AccountId | string | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  563. /**
  564. * Create 'terminate working group leader rolw' proposal type.
  565. * This proposal uses `terminate_role()` extrinsic from the `working-group` module.
  566. **/
  567. createTerminateWorkingGroupLeaderRoleProposal: AugmentedSubmittable<(memberId: MemberId | AnyNumber | Uint8Array, title: Bytes | string | Uint8Array, description: Bytes | string | Uint8Array, stakeBalance: Option<BalanceOf> | null | object | string | Uint8Array, terminateRoleParameters: TerminateRoleParameters | { worker_id?: any; rationale?: any; slash?: any; working_group?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  568. /**
  569. * Create 'Text (signal)' proposal type.
  570. **/
  571. createTextProposal: AugmentedSubmittable<(memberId: MemberId | AnyNumber | Uint8Array, title: Bytes | string | Uint8Array, description: Bytes | string | Uint8Array, stakeBalance: Option<BalanceOf> | null | object | string | Uint8Array, text: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  572. /**
  573. * Runtime upgrade proposal extrinsic.
  574. * Should be used as callable object to pass to the `engine` module.
  575. **/
  576. executeRuntimeUpgradeProposal: AugmentedSubmittable<(wasm: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  577. /**
  578. * Text proposal extrinsic. Should be used as callable object to pass to the `engine` module.
  579. **/
  580. executeTextProposal: AugmentedSubmittable<(text: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  581. };
  582. proposalsDiscussion: {
  583. /**
  584. * Adds a post with author origin check.
  585. **/
  586. addPost: AugmentedSubmittable<(postAuthorId: MemberId | AnyNumber | Uint8Array, threadId: ThreadId | AnyNumber | Uint8Array, text: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  587. /**
  588. * Updates a post with author origin check. Update attempts number is limited.
  589. **/
  590. updatePost: AugmentedSubmittable<(postAuthorId: MemberId | AnyNumber | Uint8Array, threadId: ThreadId | AnyNumber | Uint8Array, postId: PostId | AnyNumber | Uint8Array, text: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  591. };
  592. proposalsEngine: {
  593. /**
  594. * Cancel a proposal by its original proposer.
  595. **/
  596. cancelProposal: AugmentedSubmittable<(proposerId: MemberId | AnyNumber | Uint8Array, proposalId: ProposalId | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  597. /**
  598. * Veto a proposal. Must be root.
  599. **/
  600. vetoProposal: AugmentedSubmittable<(proposalId: ProposalId | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  601. /**
  602. * Vote extrinsic. Conditions: origin must allow votes.
  603. **/
  604. vote: AugmentedSubmittable<(voterId: MemberId | AnyNumber | Uint8Array, proposalId: ProposalId | AnyNumber | Uint8Array, vote: VoteKind | 'Approve'|'Reject'|'Slash'|'Abstain' | number | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  605. };
  606. session: {
  607. /**
  608. * Removes any session key(s) of the function caller.
  609. * This doesn't take effect until the next session.
  610. *
  611. * The dispatch origin of this function must be signed.
  612. *
  613. * # <weight>
  614. * - Complexity: `O(1)` in number of key types.
  615. * Actual cost depends on the number of length of `T::Keys::key_ids()` which is fixed.
  616. * - DbReads: `T::ValidatorIdOf`, `NextKeys`, `origin account`
  617. * - DbWrites: `NextKeys`, `origin account`
  618. * - DbWrites per key id: `KeyOwnder`
  619. * # </weight>
  620. **/
  621. purgeKeys: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>>;
  622. /**
  623. * Sets the session key(s) of the function caller to `keys`.
  624. * Allows an account to set its session key prior to becoming a validator.
  625. * This doesn't take effect until the next session.
  626. *
  627. * The dispatch origin of this function must be signed.
  628. *
  629. * # <weight>
  630. * - Complexity: `O(1)`
  631. * Actual cost depends on the number of length of `T::Keys::key_ids()` which is fixed.
  632. * - DbReads: `origin account`, `T::ValidatorIdOf`, `NextKeys`
  633. * - DbWrites: `origin account`, `NextKeys`
  634. * - DbReads per key id: `KeyOwner`
  635. * - DbWrites per key id: `KeyOwner`
  636. * # </weight>
  637. **/
  638. setKeys: AugmentedSubmittable<(keys: Keys, proof: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  639. };
  640. staking: {
  641. /**
  642. * Take the origin account as a stash and lock up `value` of its balance. `controller` will
  643. * be the account that controls it.
  644. *
  645. * `value` must be more than the `minimum_balance` specified by `T::Currency`.
  646. *
  647. * The dispatch origin for this call must be _Signed_ by the stash account.
  648. *
  649. * Emits `Bonded`.
  650. *
  651. * # <weight>
  652. * - Independent of the arguments. Moderate complexity.
  653. * - O(1).
  654. * - Three extra DB entries.
  655. *
  656. * NOTE: Two of the storage writes (`Self::bonded`, `Self::payee`) are _never_ cleaned
  657. * unless the `origin` falls below _existential deposit_ and gets removed as dust.
  658. * ------------------
  659. * Base Weight: 67.87 µs
  660. * DB Weight:
  661. * - Read: Bonded, Ledger, [Origin Account], Current Era, History Depth, Locks
  662. * - Write: Bonded, Payee, [Origin Account], Locks, Ledger
  663. * # </weight>
  664. **/
  665. bond: AugmentedSubmittable<(controller: LookupSource | string | Uint8Array, value: Compact<BalanceOf> | AnyNumber | Uint8Array, payee: RewardDestination | 'Staked'|'Stash'|'Controller' | number | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  666. /**
  667. * Add some extra amount that have appeared in the stash `free_balance` into the balance up
  668. * for staking.
  669. *
  670. * Use this if there are additional funds in your stash account that you wish to bond.
  671. * Unlike [`bond`] or [`unbond`] this function does not impose any limitation on the amount
  672. * that can be added.
  673. *
  674. * The dispatch origin for this call must be _Signed_ by the stash, not the controller and
  675. * it can be only called when [`EraElectionStatus`] is `Closed`.
  676. *
  677. * Emits `Bonded`.
  678. *
  679. * # <weight>
  680. * - Independent of the arguments. Insignificant complexity.
  681. * - O(1).
  682. * - One DB entry.
  683. * ------------
  684. * Base Weight: 54.88 µs
  685. * DB Weight:
  686. * - Read: Era Election Status, Bonded, Ledger, [Origin Account], Locks
  687. * - Write: [Origin Account], Locks, Ledger
  688. * # </weight>
  689. **/
  690. bondExtra: AugmentedSubmittable<(maxAdditional: Compact<BalanceOf> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  691. /**
  692. * Cancel enactment of a deferred slash.
  693. *
  694. * Can be called by the `T::SlashCancelOrigin`.
  695. *
  696. * Parameters: era and indices of the slashes for that era to kill.
  697. *
  698. * # <weight>
  699. * Complexity: O(U + S)
  700. * with U unapplied slashes weighted with U=1000
  701. * and S is the number of slash indices to be canceled.
  702. * - Base: 5870 + 34.61 * S µs
  703. * - Read: Unapplied Slashes
  704. * - Write: Unapplied Slashes
  705. * # </weight>
  706. **/
  707. cancelDeferredSlash: AugmentedSubmittable<(era: EraIndex | AnyNumber | Uint8Array, slashIndices: Vec<u32> | (u32 | AnyNumber | Uint8Array)[]) => SubmittableExtrinsic<ApiType>>;
  708. /**
  709. * Declare no desire to either validate or nominate.
  710. *
  711. * Effects will be felt at the beginning of the next era.
  712. *
  713. * The dispatch origin for this call must be _Signed_ by the controller, not the stash.
  714. * And, it can be only called when [`EraElectionStatus`] is `Closed`.
  715. *
  716. * # <weight>
  717. * - Independent of the arguments. Insignificant complexity.
  718. * - Contains one read.
  719. * - Writes are limited to the `origin` account key.
  720. * --------
  721. * Base Weight: 16.53 µs
  722. * DB Weight:
  723. * - Read: EraElectionStatus, Ledger
  724. * - Write: Validators, Nominators
  725. * # </weight>
  726. **/
  727. chill: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>>;
  728. /**
  729. * Force there to be a new era at the end of the next session. After this, it will be
  730. * reset to normal (non-forced) behaviour.
  731. *
  732. * The dispatch origin must be Root.
  733. *
  734. * # <weight>
  735. * - No arguments.
  736. * - Base Weight: 1.959 µs
  737. * - Write ForceEra
  738. * # </weight>
  739. **/
  740. forceNewEra: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>>;
  741. /**
  742. * Force there to be a new era at the end of sessions indefinitely.
  743. *
  744. * The dispatch origin must be Root.
  745. *
  746. * # <weight>
  747. * - Base Weight: 2.05 µs
  748. * - Write: ForceEra
  749. * # </weight>
  750. **/
  751. forceNewEraAlways: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>>;
  752. /**
  753. * Force there to be no new eras indefinitely.
  754. *
  755. * The dispatch origin must be Root.
  756. *
  757. * # <weight>
  758. * - No arguments.
  759. * - Base Weight: 1.857 µs
  760. * - Write: ForceEra
  761. * # </weight>
  762. **/
  763. forceNoEras: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>>;
  764. /**
  765. * Force a current staker to become completely unstaked, immediately.
  766. *
  767. * The dispatch origin must be Root.
  768. *
  769. * # <weight>
  770. * O(S) where S is the number of slashing spans to be removed
  771. * Base Weight: 53.07 + 2.365 * S µs
  772. * Reads: Bonded, Slashing Spans, Account, Locks
  773. * Writes: Bonded, Slashing Spans (if S > 0), Ledger, Payee, Validators, Nominators, Account, Locks
  774. * Writes Each: SpanSlash * S
  775. * # </weight>
  776. **/
  777. forceUnstake: AugmentedSubmittable<(stash: AccountId | string | Uint8Array, numSlashingSpans: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  778. /**
  779. * Increments the ideal number of validators.
  780. *
  781. * The dispatch origin must be Root.
  782. *
  783. * # <weight>
  784. * Base Weight: 1.717 µs
  785. * Read/Write: Validator Count
  786. * # </weight>
  787. **/
  788. increaseValidatorCount: AugmentedSubmittable<(additional: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  789. /**
  790. * Declare the desire to nominate `targets` for the origin controller.
  791. *
  792. * Effects will be felt at the beginning of the next era. This can only be called when
  793. * [`EraElectionStatus`] is `Closed`.
  794. *
  795. * The dispatch origin for this call must be _Signed_ by the controller, not the stash.
  796. * And, it can be only called when [`EraElectionStatus`] is `Closed`.
  797. *
  798. * # <weight>
  799. * - The transaction's complexity is proportional to the size of `targets` (N)
  800. * which is capped at CompactAssignments::LIMIT (MAX_NOMINATIONS).
  801. * - Both the reads and writes follow a similar pattern.
  802. * ---------
  803. * Base Weight: 22.34 + .36 * N µs
  804. * where N is the number of targets
  805. * DB Weight:
  806. * - Reads: Era Election Status, Ledger, Current Era
  807. * - Writes: Validators, Nominators
  808. * # </weight>
  809. **/
  810. nominate: AugmentedSubmittable<(targets: Vec<LookupSource> | (LookupSource | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>>;
  811. /**
  812. * Pay out all the stakers behind a single validator for a single era.
  813. *
  814. * - `validator_stash` is the stash account of the validator. Their nominators, up to
  815. * `T::MaxNominatorRewardedPerValidator`, will also receive their rewards.
  816. * - `era` may be any era between `[current_era - history_depth; current_era]`.
  817. *
  818. * The origin of this call must be _Signed_. Any account can call this function, even if
  819. * it is not one of the stakers.
  820. *
  821. * This can only be called when [`EraElectionStatus`] is `Closed`.
  822. *
  823. * # <weight>
  824. * - Time complexity: at most O(MaxNominatorRewardedPerValidator).
  825. * - Contains a limited number of reads and writes.
  826. * -----------
  827. * N is the Number of payouts for the validator (including the validator)
  828. * Base Weight:
  829. * - Reward Destination Staked: 110 + 54.2 * N µs (Median Slopes)
  830. * - Reward Destination Controller (Creating): 120 + 41.95 * N µs (Median Slopes)
  831. * DB Weight:
  832. * - Read: EraElectionStatus, CurrentEra, HistoryDepth, ErasValidatorReward,
  833. * ErasStakersClipped, ErasRewardPoints, ErasValidatorPrefs (8 items)
  834. * - Read Each: Bonded, Ledger, Payee, Locks, System Account (5 items)
  835. * - Write Each: System Account, Locks, Ledger (3 items)
  836. * # </weight>
  837. **/
  838. payoutStakers: AugmentedSubmittable<(validatorStash: AccountId | string | Uint8Array, era: EraIndex | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  839. /**
  840. * Remove all data structure concerning a staker/stash once its balance is zero.
  841. * This is essentially equivalent to `withdraw_unbonded` except it can be called by anyone
  842. * and the target `stash` must have no funds left.
  843. *
  844. * This can be called from any origin.
  845. *
  846. * - `stash`: The stash account to reap. Its balance must be zero.
  847. *
  848. * # <weight>
  849. * Complexity: O(S) where S is the number of slashing spans on the account.
  850. * Base Weight: 75.94 + 2.396 * S µs
  851. * DB Weight:
  852. * - Reads: Stash Account, Bonded, Slashing Spans, Locks
  853. * - Writes: Bonded, Slashing Spans (if S > 0), Ledger, Payee, Validators, Nominators, Stash Account, Locks
  854. * - Writes Each: SpanSlash * S
  855. * # </weight>
  856. **/
  857. reapStash: AugmentedSubmittable<(stash: AccountId | string | Uint8Array, numSlashingSpans: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  858. /**
  859. * Rebond a portion of the stash scheduled to be unlocked.
  860. *
  861. * The dispatch origin must be signed by the controller, and it can be only called when
  862. * [`EraElectionStatus`] is `Closed`.
  863. *
  864. * # <weight>
  865. * - Time complexity: O(L), where L is unlocking chunks
  866. * - Bounded by `MAX_UNLOCKING_CHUNKS`.
  867. * - Storage changes: Can't increase storage, only decrease it.
  868. * ---------------
  869. * - Base Weight: 34.51 µs * .048 L µs
  870. * - DB Weight:
  871. * - Reads: EraElectionStatus, Ledger, Locks, [Origin Account]
  872. * - Writes: [Origin Account], Locks, Ledger
  873. * # </weight>
  874. **/
  875. rebond: AugmentedSubmittable<(value: Compact<BalanceOf> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  876. /**
  877. * Scale up the ideal number of validators by a factor.
  878. *
  879. * The dispatch origin must be Root.
  880. *
  881. * # <weight>
  882. * Base Weight: 1.717 µs
  883. * Read/Write: Validator Count
  884. * # </weight>
  885. **/
  886. scaleValidatorCount: AugmentedSubmittable<(factor: Percent | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  887. /**
  888. * (Re-)set the controller of a stash.
  889. *
  890. * Effects will be felt at the beginning of the next era.
  891. *
  892. * The dispatch origin for this call must be _Signed_ by the stash, not the controller.
  893. *
  894. * # <weight>
  895. * - Independent of the arguments. Insignificant complexity.
  896. * - Contains a limited number of reads.
  897. * - Writes are limited to the `origin` account key.
  898. * ----------
  899. * Base Weight: 25.22 µs
  900. * DB Weight:
  901. * - Read: Bonded, Ledger New Controller, Ledger Old Controller
  902. * - Write: Bonded, Ledger New Controller, Ledger Old Controller
  903. * # </weight>
  904. **/
  905. setController: AugmentedSubmittable<(controller: LookupSource | string | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  906. /**
  907. * Set `HistoryDepth` value. This function will delete any history information
  908. * when `HistoryDepth` is reduced.
  909. *
  910. * Parameters:
  911. * - `new_history_depth`: The new history depth you would like to set.
  912. * - `era_items_deleted`: The number of items that will be deleted by this dispatch.
  913. * This should report all the storage items that will be deleted by clearing old
  914. * era history. Needed to report an accurate weight for the dispatch. Trusted by
  915. * `Root` to report an accurate number.
  916. *
  917. * Origin must be root.
  918. *
  919. * # <weight>
  920. * - E: Number of history depths removed, i.e. 10 -> 7 = 3
  921. * - Base Weight: 29.13 * E µs
  922. * - DB Weight:
  923. * - Reads: Current Era, History Depth
  924. * - Writes: History Depth
  925. * - Clear Prefix Each: Era Stakers, EraStakersClipped, ErasValidatorPrefs
  926. * - Writes Each: ErasValidatorReward, ErasRewardPoints, ErasTotalStake, ErasStartSessionIndex
  927. * # </weight>
  928. **/
  929. setHistoryDepth: AugmentedSubmittable<(newHistoryDepth: Compact<EraIndex> | AnyNumber | Uint8Array, eraItemsDeleted: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  930. /**
  931. * Set the validators who cannot be slashed (if any).
  932. *
  933. * The dispatch origin must be Root.
  934. *
  935. * # <weight>
  936. * - O(V)
  937. * - Base Weight: 2.208 + .006 * V µs
  938. * - Write: Invulnerables
  939. * # </weight>
  940. **/
  941. setInvulnerables: AugmentedSubmittable<(validators: Vec<AccountId> | (AccountId | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>>;
  942. /**
  943. * (Re-)set the payment target for a controller.
  944. *
  945. * Effects will be felt at the beginning of the next era.
  946. *
  947. * The dispatch origin for this call must be _Signed_ by the controller, not the stash.
  948. *
  949. * # <weight>
  950. * - Independent of the arguments. Insignificant complexity.
  951. * - Contains a limited number of reads.
  952. * - Writes are limited to the `origin` account key.
  953. * ---------
  954. * - Base Weight: 11.33 µs
  955. * - DB Weight:
  956. * - Read: Ledger
  957. * - Write: Payee
  958. * # </weight>
  959. **/
  960. setPayee: AugmentedSubmittable<(payee: RewardDestination | 'Staked'|'Stash'|'Controller' | number | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  961. /**
  962. * Sets the ideal number of validators.
  963. *
  964. * The dispatch origin must be Root.
  965. *
  966. * # <weight>
  967. * Base Weight: 1.717 µs
  968. * Write: Validator Count
  969. * # </weight>
  970. **/
  971. setValidatorCount: AugmentedSubmittable<(updated: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  972. /**
  973. * Submit an election result to the chain. If the solution:
  974. *
  975. * 1. is valid.
  976. * 2. has a better score than a potentially existing solution on chain.
  977. *
  978. * then, it will be _put_ on chain.
  979. *
  980. * A solution consists of two pieces of data:
  981. *
  982. * 1. `winners`: a flat vector of all the winners of the round.
  983. * 2. `assignments`: the compact version of an assignment vector that encodes the edge
  984. * weights.
  985. *
  986. * Both of which may be computed using _phragmen_, or any other algorithm.
  987. *
  988. * Additionally, the submitter must provide:
  989. *
  990. * - The `score` that they claim their solution has.
  991. *
  992. * Both validators and nominators will be represented by indices in the solution. The
  993. * indices should respect the corresponding types ([`ValidatorIndex`] and
  994. * [`NominatorIndex`]). Moreover, they should be valid when used to index into
  995. * [`SnapshotValidators`] and [`SnapshotNominators`]. Any invalid index will cause the
  996. * solution to be rejected. These two storage items are set during the election window and
  997. * may be used to determine the indices.
  998. *
  999. * A solution is valid if:
  1000. *
  1001. * 0. It is submitted when [`EraElectionStatus`] is `Open`.
  1002. * 1. Its claimed score is equal to the score computed on-chain.
  1003. * 2. Presents the correct number of winners.
  1004. * 3. All indexes must be value according to the snapshot vectors. All edge values must
  1005. * also be correct and should not overflow the granularity of the ratio type (i.e. 256
  1006. * or billion).
  1007. * 4. For each edge, all targets are actually nominated by the voter.
  1008. * 5. Has correct self-votes.
  1009. *
  1010. * A solutions score is consisted of 3 parameters:
  1011. *
  1012. * 1. `min { support.total }` for each support of a winner. This value should be maximized.
  1013. * 2. `sum { support.total }` for each support of a winner. This value should be minimized.
  1014. * 3. `sum { support.total^2 }` for each support of a winner. This value should be
  1015. * minimized (to ensure less variance)
  1016. *
  1017. * # <weight>
  1018. * See `crate::weight` module.
  1019. * # </weight>
  1020. **/
  1021. submitElectionSolution: AugmentedSubmittable<(winners: Vec<ValidatorIndex> | (ValidatorIndex | AnyNumber | Uint8Array)[], compact: CompactAssignments | { votes1?: any; votes2?: any; votes3?: any; votes4?: any; votes5?: any; votes6?: any; votes7?: any; votes8?: any; votes9?: any; votes10?: any; votes11?: any; votes12?: any; votes13?: any; votes14?: any; votes15?: any; votes16?: any } | string | Uint8Array, score: ElectionScore, era: EraIndex | AnyNumber | Uint8Array, size: ElectionSize | { validators?: any; nominators?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  1022. /**
  1023. * Unsigned version of `submit_election_solution`.
  1024. *
  1025. * Note that this must pass the [`ValidateUnsigned`] check which only allows transactions
  1026. * from the local node to be included. In other words, only the block author can include a
  1027. * transaction in the block.
  1028. *
  1029. * # <weight>
  1030. * See `crate::weight` module.
  1031. * # </weight>
  1032. **/
  1033. submitElectionSolutionUnsigned: AugmentedSubmittable<(winners: Vec<ValidatorIndex> | (ValidatorIndex | AnyNumber | Uint8Array)[], compact: CompactAssignments | { votes1?: any; votes2?: any; votes3?: any; votes4?: any; votes5?: any; votes6?: any; votes7?: any; votes8?: any; votes9?: any; votes10?: any; votes11?: any; votes12?: any; votes13?: any; votes14?: any; votes15?: any; votes16?: any } | string | Uint8Array, score: ElectionScore, era: EraIndex | AnyNumber | Uint8Array, size: ElectionSize | { validators?: any; nominators?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  1034. /**
  1035. * Schedule a portion of the stash to be unlocked ready for transfer out after the bond
  1036. * period ends. If this leaves an amount actively bonded less than
  1037. * T::Currency::minimum_balance(), then it is increased to the full amount.
  1038. *
  1039. * Once the unlock period is done, you can call `withdraw_unbonded` to actually move
  1040. * the funds out of management ready for transfer.
  1041. *
  1042. * No more than a limited number of unlocking chunks (see `MAX_UNLOCKING_CHUNKS`)
  1043. * can co-exists at the same time. In that case, [`Call::withdraw_unbonded`] need
  1044. * to be called first to remove some of the chunks (if possible).
  1045. *
  1046. * The dispatch origin for this call must be _Signed_ by the controller, not the stash.
  1047. * And, it can be only called when [`EraElectionStatus`] is `Closed`.
  1048. *
  1049. * Emits `Unbonded`.
  1050. *
  1051. * See also [`Call::withdraw_unbonded`].
  1052. *
  1053. * # <weight>
  1054. * - Independent of the arguments. Limited but potentially exploitable complexity.
  1055. * - Contains a limited number of reads.
  1056. * - Each call (requires the remainder of the bonded balance to be above `minimum_balance`)
  1057. * will cause a new entry to be inserted into a vector (`Ledger.unlocking`) kept in storage.
  1058. * The only way to clean the aforementioned storage item is also user-controlled via
  1059. * `withdraw_unbonded`.
  1060. * - One DB entry.
  1061. * ----------
  1062. * Base Weight: 50.34 µs
  1063. * DB Weight:
  1064. * - Read: Era Election Status, Ledger, Current Era, Locks, [Origin Account]
  1065. * - Write: [Origin Account], Locks, Ledger
  1066. * </weight>
  1067. **/
  1068. unbond: AugmentedSubmittable<(value: Compact<BalanceOf> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  1069. /**
  1070. * Declare the desire to validate for the origin controller.
  1071. *
  1072. * Effects will be felt at the beginning of the next era.
  1073. *
  1074. * The dispatch origin for this call must be _Signed_ by the controller, not the stash.
  1075. * And, it can be only called when [`EraElectionStatus`] is `Closed`.
  1076. *
  1077. * # <weight>
  1078. * - Independent of the arguments. Insignificant complexity.
  1079. * - Contains a limited number of reads.
  1080. * - Writes are limited to the `origin` account key.
  1081. * -----------
  1082. * Base Weight: 17.13 µs
  1083. * DB Weight:
  1084. * - Read: Era Election Status, Ledger
  1085. * - Write: Nominators, Validators
  1086. * # </weight>
  1087. **/
  1088. validate: AugmentedSubmittable<(prefs: ValidatorPrefs | { commission?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  1089. /**
  1090. * Remove any unlocked chunks from the `unlocking` queue from our management.
  1091. *
  1092. * This essentially frees up that balance to be used by the stash account to do
  1093. * whatever it wants.
  1094. *
  1095. * The dispatch origin for this call must be _Signed_ by the controller, not the stash.
  1096. * And, it can be only called when [`EraElectionStatus`] is `Closed`.
  1097. *
  1098. * Emits `Withdrawn`.
  1099. *
  1100. * See also [`Call::unbond`].
  1101. *
  1102. * # <weight>
  1103. * - Could be dependent on the `origin` argument and how much `unlocking` chunks exist.
  1104. * It implies `consolidate_unlocked` which loops over `Ledger.unlocking`, which is
  1105. * indirectly user-controlled. See [`unbond`] for more detail.
  1106. * - Contains a limited number of reads, yet the size of which could be large based on `ledger`.
  1107. * - Writes are limited to the `origin` account key.
  1108. * ---------------
  1109. * Complexity O(S) where S is the number of slashing spans to remove
  1110. * Base Weight:
  1111. * Update: 50.52 + .028 * S µs
  1112. * - Reads: EraElectionStatus, Ledger, Current Era, Locks, [Origin Account]
  1113. * - Writes: [Origin Account], Locks, Ledger
  1114. * Kill: 79.41 + 2.366 * S µs
  1115. * - Reads: EraElectionStatus, Ledger, Current Era, Bonded, Slashing Spans, [Origin Account], Locks
  1116. * - Writes: Bonded, Slashing Spans (if S > 0), Ledger, Payee, Validators, Nominators, [Origin Account], Locks
  1117. * - Writes Each: SpanSlash * S
  1118. * NOTE: Weight annotation is the kill scenario, we refund otherwise.
  1119. * # </weight>
  1120. **/
  1121. withdrawUnbonded: AugmentedSubmittable<(numSlashingSpans: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  1122. };
  1123. storageWorkingGroup: {
  1124. /**
  1125. * Begin accepting worker applications to an opening that is active.
  1126. * Require signed leader origin or the root (to accept applications for the leader position).
  1127. **/
  1128. acceptApplications: AugmentedSubmittable<(openingId: OpeningId | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  1129. /**
  1130. * Add an opening for a worker role.
  1131. * Require signed leader origin or the root (to add opening for the leader position).
  1132. **/
  1133. addOpening: AugmentedSubmittable<(activateAt: ActivateOpeningAt | { CurrentBlock: any } | { ExactBlock: any } | string | Uint8Array, commitment: OpeningPolicyCommitment | { application_rationing_policy?: any; max_review_period_length?: any; application_staking_policy?: any; role_staking_policy?: any; role_slashing_terms?: any; fill_opening_successful_applicant_application_stake_unstaking_period?: any; fill_opening_failed_applicant_application_stake_unstaking_period?: any; fill_opening_failed_applicant_role_stake_unstaking_period?: any; terminate_application_stake_unstaking_period?: any; terminate_role_stake_unstaking_period?: any; exit_role_application_stake_unstaking_period?: any; exit_role_stake_unstaking_period?: any } | string | Uint8Array, humanReadableText: Bytes | string | Uint8Array, openingType: OpeningType | 'Leader'|'Worker' | number | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  1134. /**
  1135. * Apply on a worker opening.
  1136. **/
  1137. applyOnOpening: AugmentedSubmittable<(memberId: MemberId | AnyNumber | Uint8Array, openingId: OpeningId | AnyNumber | Uint8Array, roleAccountId: AccountId | string | Uint8Array, optRoleStakeBalance: Option<BalanceOf> | null | object | string | Uint8Array, optApplicationStakeBalance: Option<BalanceOf> | null | object | string | Uint8Array, humanReadableText: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  1138. /**
  1139. * Begin reviewing, and therefore not accepting new applications.
  1140. * Require signed leader origin or the root (to begin review applications for the leader position).
  1141. **/
  1142. beginApplicantReview: AugmentedSubmittable<(openingId: OpeningId | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  1143. /**
  1144. * Decreases the worker/lead stake and returns the remainder to the worker role_account_id.
  1145. * Can be decreased to zero, no actions on zero stake.
  1146. * Require signed leader origin or the root (to decrease the leader stake).
  1147. **/
  1148. decreaseStake: AugmentedSubmittable<(workerId: WorkerId | AnyNumber | Uint8Array, balance: BalanceOf | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  1149. /**
  1150. * Fill opening for worker/lead.
  1151. * Require signed leader origin or the root (to fill opening for the leader position).
  1152. **/
  1153. fillOpening: AugmentedSubmittable<(openingId: OpeningId | AnyNumber | Uint8Array, successfulApplicationIds: ApplicationIdSet, rewardPolicy: Option<RewardPolicy> | null | object | string | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  1154. /**
  1155. * Increases the worker/lead stake, demands a worker origin. Transfers tokens from the worker
  1156. * role_account_id to the stake. No limits on the stake.
  1157. **/
  1158. increaseStake: AugmentedSubmittable<(workerId: WorkerId | AnyNumber | Uint8Array, balance: BalanceOf | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  1159. /**
  1160. * Leave the role by the active worker.
  1161. **/
  1162. leaveRole: AugmentedSubmittable<(workerId: WorkerId | AnyNumber | Uint8Array, rationaleText: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  1163. /**
  1164. * Sets the capacity to enable working group budget. Requires root origin.
  1165. **/
  1166. setMintCapacity: AugmentedSubmittable<(newCapacity: BalanceOf | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  1167. /**
  1168. * Slashes the worker stake, demands a leader origin. No limits, no actions on zero stake.
  1169. * If slashing balance greater than the existing stake - stake is slashed to zero.
  1170. * Require signed leader origin or the root (to slash the leader stake).
  1171. **/
  1172. slashStake: AugmentedSubmittable<(workerId: WorkerId | AnyNumber | Uint8Array, balance: BalanceOf | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  1173. /**
  1174. * Terminate the worker application. Can be done by the lead only.
  1175. **/
  1176. terminateApplication: AugmentedSubmittable<(applicationId: ApplicationId | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  1177. /**
  1178. * Terminate the active worker by the lead.
  1179. * Require signed leader origin or the root (to terminate the leader role).
  1180. **/
  1181. terminateRole: AugmentedSubmittable<(workerId: WorkerId | AnyNumber | Uint8Array, rationaleText: Bytes | string | Uint8Array, slashStake: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  1182. /**
  1183. * Update the reward account associated with a set reward relationship for the active worker.
  1184. **/
  1185. updateRewardAccount: AugmentedSubmittable<(workerId: WorkerId | AnyNumber | Uint8Array, newRewardAccountId: AccountId | string | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  1186. /**
  1187. * Update the reward amount associated with a set reward relationship for the active worker.
  1188. * Require signed leader origin or the root (to update leader reward amount).
  1189. **/
  1190. updateRewardAmount: AugmentedSubmittable<(workerId: WorkerId | AnyNumber | Uint8Array, newAmount: BalanceOfMint | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  1191. /**
  1192. * Update the associated role account of the active worker/lead.
  1193. **/
  1194. updateRoleAccount: AugmentedSubmittable<(workerId: WorkerId | AnyNumber | Uint8Array, newRoleAccountId: AccountId | string | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  1195. /**
  1196. * Withdraw the worker application. Can be done by the worker itself only.
  1197. **/
  1198. withdrawApplication: AugmentedSubmittable<(applicationId: ApplicationId | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  1199. };
  1200. sudo: {
  1201. /**
  1202. * Authenticates the current sudo key and sets the given AccountId (`new`) as the new sudo key.
  1203. *
  1204. * The dispatch origin for this call must be _Signed_.
  1205. *
  1206. * # <weight>
  1207. * - O(1).
  1208. * - Limited storage reads.
  1209. * - One DB change.
  1210. * # </weight>
  1211. **/
  1212. setKey: AugmentedSubmittable<(updated: LookupSource | string | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  1213. /**
  1214. * Authenticates the sudo key and dispatches a function call with `Root` origin.
  1215. *
  1216. * The dispatch origin for this call must be _Signed_.
  1217. *
  1218. * # <weight>
  1219. * - O(1).
  1220. * - Limited storage reads.
  1221. * - One DB write (event).
  1222. * - Weight of derivative `call` execution + 10,000.
  1223. * # </weight>
  1224. **/
  1225. sudo: AugmentedSubmittable<(call: Call | { callIndex?: any; args?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  1226. /**
  1227. * Authenticates the sudo key and dispatches a function call with `Signed` origin from
  1228. * a given account.
  1229. *
  1230. * The dispatch origin for this call must be _Signed_.
  1231. *
  1232. * # <weight>
  1233. * - O(1).
  1234. * - Limited storage reads.
  1235. * - One DB write (event).
  1236. * - Weight of derivative `call` execution + 10,000.
  1237. * # </weight>
  1238. **/
  1239. sudoAs: AugmentedSubmittable<(who: LookupSource | string | Uint8Array, call: Call | { callIndex?: any; args?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  1240. /**
  1241. * Authenticates the sudo key and dispatches a function call with `Root` origin.
  1242. * This function does not check the weight of the call, and instead allows the
  1243. * Sudo user to specify the weight of the call.
  1244. *
  1245. * The dispatch origin for this call must be _Signed_.
  1246. *
  1247. * # <weight>
  1248. * - O(1).
  1249. * - The weight of this call is defined by the caller.
  1250. * # </weight>
  1251. **/
  1252. sudoUncheckedWeight: AugmentedSubmittable<(call: Call | { callIndex?: any; args?: any } | string | Uint8Array, weight: Weight | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  1253. };
  1254. system: {
  1255. /**
  1256. * A dispatch that will fill the block weight up to the given ratio.
  1257. **/
  1258. fillBlock: AugmentedSubmittable<(ratio: Perbill | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  1259. /**
  1260. * Kill all storage items with a key that starts with the given prefix.
  1261. *
  1262. * **NOTE:** We rely on the Root origin to provide us the number of subkeys under
  1263. * the prefix we are removing to accurately calculate the weight of this function.
  1264. *
  1265. * # <weight>
  1266. * - `O(P)` where `P` amount of keys with prefix `prefix`
  1267. * - `P` storage deletions.
  1268. * - Base Weight: 0.834 * P µs
  1269. * - Writes: Number of subkeys + 1
  1270. * # </weight>
  1271. **/
  1272. killPrefix: AugmentedSubmittable<(prefix: Key | string | Uint8Array, subkeys: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  1273. /**
  1274. * Kill some items from storage.
  1275. *
  1276. * # <weight>
  1277. * - `O(IK)` where `I` length of `keys` and `K` length of one key
  1278. * - `I` storage deletions.
  1279. * - Base Weight: .378 * i µs
  1280. * - Writes: Number of items
  1281. * # </weight>
  1282. **/
  1283. killStorage: AugmentedSubmittable<(keys: Vec<Key> | (Key | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>>;
  1284. /**
  1285. * Make some on-chain remark.
  1286. *
  1287. * # <weight>
  1288. * - `O(1)`
  1289. * - Base Weight: 0.665 µs, independent of remark length.
  1290. * - No DB operations.
  1291. * # </weight>
  1292. **/
  1293. remark: AugmentedSubmittable<(remark: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  1294. /**
  1295. * Set the new changes trie configuration.
  1296. *
  1297. * # <weight>
  1298. * - `O(1)`
  1299. * - 1 storage write or delete (codec `O(1)`).
  1300. * - 1 call to `deposit_log`: Uses `append` API, so O(1)
  1301. * - Base Weight: 7.218 µs
  1302. * - DB Weight:
  1303. * - Writes: Changes Trie, System Digest
  1304. * # </weight>
  1305. **/
  1306. setChangesTrieConfig: AugmentedSubmittable<(changesTrieConfig: Option<ChangesTrieConfiguration> | null | object | string | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  1307. /**
  1308. * Set the new runtime code.
  1309. *
  1310. * # <weight>
  1311. * - `O(C + S)` where `C` length of `code` and `S` complexity of `can_set_code`
  1312. * - 1 storage write (codec `O(C)`).
  1313. * - 1 call to `can_set_code`: `O(S)` (calls `sp_io::misc::runtime_version` which is expensive).
  1314. * - 1 event.
  1315. * The weight of this function is dependent on the runtime, but generally this is very expensive.
  1316. * We will treat this as a full block.
  1317. * # </weight>
  1318. **/
  1319. setCode: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  1320. /**
  1321. * Set the new runtime code without doing any checks of the given `code`.
  1322. *
  1323. * # <weight>
  1324. * - `O(C)` where `C` length of `code`
  1325. * - 1 storage write (codec `O(C)`).
  1326. * - 1 event.
  1327. * The weight of this function is dependent on the runtime. We will treat this as a full block.
  1328. * # </weight>
  1329. **/
  1330. setCodeWithoutChecks: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  1331. /**
  1332. * Set the number of pages in the WebAssembly environment's heap.
  1333. *
  1334. * # <weight>
  1335. * - `O(1)`
  1336. * - 1 storage write.
  1337. * - Base Weight: 1.405 µs
  1338. * - 1 write to HEAP_PAGES
  1339. * # </weight>
  1340. **/
  1341. setHeapPages: AugmentedSubmittable<(pages: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  1342. /**
  1343. * Set some items of storage.
  1344. *
  1345. * # <weight>
  1346. * - `O(I)` where `I` length of `items`
  1347. * - `I` storage writes (`O(1)`).
  1348. * - Base Weight: 0.568 * i µs
  1349. * - Writes: Number of items
  1350. * # </weight>
  1351. **/
  1352. setStorage: AugmentedSubmittable<(items: Vec<KeyValue> | (KeyValue)[]) => SubmittableExtrinsic<ApiType>>;
  1353. /**
  1354. * Kill the sending account, assuming there are no references outstanding and the composite
  1355. * data is equal to its default value.
  1356. *
  1357. * # <weight>
  1358. * - `O(1)`
  1359. * - 1 storage read and deletion.
  1360. * --------------------
  1361. * Base Weight: 8.626 µs
  1362. * No DB Read or Write operations because caller is already in overlay
  1363. * # </weight>
  1364. **/
  1365. suicide: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>>;
  1366. };
  1367. timestamp: {
  1368. /**
  1369. * Set the current time.
  1370. *
  1371. * This call should be invoked exactly once per block. It will panic at the finalization
  1372. * phase, if this call hasn't been invoked by that time.
  1373. *
  1374. * The timestamp should be greater than the previous one by the amount specified by
  1375. * `MinimumPeriod`.
  1376. *
  1377. * The dispatch origin for this call must be `Inherent`.
  1378. *
  1379. * # <weight>
  1380. * - `O(T)` where `T` complexity of `on_timestamp_set`
  1381. * - 1 storage read and 1 storage mutation (codec `O(1)`). (because of `DidUpdate::take` in `on_finalize`)
  1382. * - 1 event handler `on_timestamp_set` `O(T)`.
  1383. * - Benchmark: 7.678 (min squares analysis)
  1384. * - NOTE: This benchmark was done for a runtime with insignificant `on_timestamp_set` handlers.
  1385. * New benchmarking is needed when adding new handlers.
  1386. * # </weight>
  1387. **/
  1388. set: AugmentedSubmittable<(now: Compact<Moment> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  1389. };
  1390. utility: {
  1391. /**
  1392. * Send a call through an indexed pseudonym of the sender.
  1393. *
  1394. * Filter from origin are passed along. The call will be dispatched with an origin which
  1395. * use the same filter as the origin of this call.
  1396. *
  1397. * NOTE: If you need to ensure that any account-based filtering is not honored (i.e.
  1398. * because you expect `proxy` to have been used prior in the call stack and you do not want
  1399. * the call restrictions to apply to any sub-accounts), then use `as_sub` instead.
  1400. *
  1401. * The dispatch origin for this call must be _Signed_.
  1402. *
  1403. * # <weight>
  1404. * - Base weight: 2.861 µs
  1405. * - Plus the weight of the `call`
  1406. * # </weight>
  1407. **/
  1408. asLimitedSub: AugmentedSubmittable<(index: u16 | AnyNumber | Uint8Array, call: Call | { callIndex?: any; args?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  1409. /**
  1410. * Send a call through an indexed pseudonym of the sender.
  1411. *
  1412. * NOTE: If you need to ensure that any account-based filtering is honored (i.e. because
  1413. * you expect `proxy` to have been used prior in the call stack and you want it to apply to
  1414. * any sub-accounts), then use `as_limited_sub` instead.
  1415. *
  1416. * The dispatch origin for this call must be _Signed_.
  1417. *
  1418. * # <weight>
  1419. * - Base weight: 2.861 µs
  1420. * - Plus the weight of the `call`
  1421. * # </weight>
  1422. **/
  1423. asSub: AugmentedSubmittable<(index: u16 | AnyNumber | Uint8Array, call: Call | { callIndex?: any; args?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>>;
  1424. /**
  1425. * Send a batch of dispatch calls.
  1426. *
  1427. * May be called from any origin.
  1428. *
  1429. * - `calls`: The calls to be dispatched from the same origin.
  1430. *
  1431. * If origin is root then call are dispatch without checking origin filter. (This includes
  1432. * bypassing `frame_system::Trait::BaseCallFilter`).
  1433. *
  1434. * # <weight>
  1435. * - Base weight: 14.39 + .987 * c µs
  1436. * - Plus the sum of the weights of the `calls`.
  1437. * - Plus one additional event. (repeat read/write)
  1438. * # </weight>
  1439. *
  1440. * This will return `Ok` in all circumstances. To determine the success of the batch, an
  1441. * event is deposited. If a call failed and the batch was interrupted, then the
  1442. * `BatchInterrupted` event is deposited, along with the number of successful calls made
  1443. * and the error of the failed call. If all were successful, then the `BatchCompleted`
  1444. * event is deposited.
  1445. **/
  1446. batch: AugmentedSubmittable<(calls: Vec<Call> | (Call | { callIndex?: any; args?: any } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>>;
  1447. };
  1448. }
  1449. export interface SubmittableExtrinsics<ApiType extends ApiTypes> extends AugmentedSubmittables<ApiType> {
  1450. (extrinsic: Call | Extrinsic | Uint8Array | string): SubmittableExtrinsic<ApiType>;
  1451. }
  1452. }