|
@@ -4,7 +4,7 @@
|
|
|
import { AnyNumber } from '@polkadot/types/types';
|
|
|
import { BTreeMap, BTreeSet, Compact, Option, Vec } from '@polkadot/types/codec';
|
|
|
import { Bytes, bool, u16, u32, u64 } from '@polkadot/types/primitive';
|
|
|
-import { Actor, ActorId, ApplicationId, ApplyOnOpeningParameters, BuyMembershipParameters, CategoryId, ClassId, ClassPermissions, ContentId, CuratorGroupId, CuratorId, DataObjectStorageRelationshipId, DataObjectType, DataObjectTypeId, DataObjectsMap, EntityController, EntityId, ForumUserId, GeneralProposalParameters, InputPropertyValue, InputValue, InviteMembershipParameters, MemberId, MemoText, ModeratorId, Nonce, OpeningId, OpeningType, OperationType, Penalty, Poll, PostId, PostReactionId, PrivilegedActor, Property, PropertyId, ProposalDetailsOf, ProposalId, SchemaId, StakePolicy, StorageProviderId, ThreadId, ThreadMode, Url, VecMaxLength, VoteKind, WorkerId } from './all';
|
|
|
+import { Actor, ActorId, ApplicationId, ApplyOnOpeningParameters, BuyMembershipParameters, CategoryId, ClassId, ClassPermissions, ContentId, CuratorGroupId, CuratorId, DataObjectStorageRelationshipId, DataObjectType, DataObjectTypeId, DataObjectsMap, EntityController, EntityId, ForumUserId, GeneralProposalParameters, InputPropertyValue, InputValue, InviteMembershipParameters, MemberId, MemoText, ModeratorId, Nonce, OpeningId, OpeningType, OperationType, Poll, PostId, PostReactionId, PrivilegedActor, Property, PropertyId, ProposalDetailsOf, ProposalId, SchemaId, StakePolicy, StorageProviderId, ThreadId, ThreadMode, Url, VecMaxLength, VoteKind, WorkerId, WorkingGroup } from './all';
|
|
|
import { BabeEquivocationProof } from '@polkadot/types/interfaces/babe';
|
|
|
import { Extrinsic, Signature } from '@polkadot/types/interfaces/extrinsics';
|
|
|
import { GrandpaEquivocationProof, KeyOwnerProof } from '@polkadot/types/interfaces/grandpa';
|
|
@@ -119,6 +119,89 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
**/
|
|
|
transferKeepAlive: AugmentedSubmittable<(dest: LookupSource | string | Uint8Array, value: Compact<Balance> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>>;
|
|
|
};
|
|
|
+ blog: {
|
|
|
+ /**
|
|
|
+ * Blog owner can create posts, related to a given blog, if related blog is unlocked
|
|
|
+ *
|
|
|
+ * <weight>
|
|
|
+ *
|
|
|
+ * ## Weight
|
|
|
+ * `O (T + B)` where:
|
|
|
+ * - `T` is the length of the title
|
|
|
+ * - `B` is the length of the body
|
|
|
+ * - DB:
|
|
|
+ * - O(1) doesn't depend on the state or parameters
|
|
|
+ * # </weight>
|
|
|
+ **/
|
|
|
+ createPost: AugmentedSubmittable<(title: Bytes | string | Uint8Array, body: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>>;
|
|
|
+ /**
|
|
|
+ * Create either root post reply or direct reply to reply
|
|
|
+ * (Only accessible, if related blog and post are unlocked)
|
|
|
+ * <weight>
|
|
|
+ *
|
|
|
+ * ## Weight
|
|
|
+ * `O (T)` where:
|
|
|
+ * - `T` is the length of the `text`
|
|
|
+ * - DB:
|
|
|
+ * - O(1) doesn't depend on the state or parameters
|
|
|
+ * # </weight>
|
|
|
+ **/
|
|
|
+ createReply: AugmentedSubmittable<(participantId: ParticipantId | null, postId: PostId | AnyNumber | Uint8Array, replyId: Option<ReplyId> | null | object | string | Uint8Array, text: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>>;
|
|
|
+ /**
|
|
|
+ * Blog owner can edit post, related to a given blog (if unlocked)
|
|
|
+ * with a new title and/or body
|
|
|
+ * <weight>
|
|
|
+ *
|
|
|
+ * ## Weight
|
|
|
+ * `O (T + B)` where:
|
|
|
+ * - `T` is the length of the `new_title`
|
|
|
+ * - `B` is the length of the `new_body`
|
|
|
+ * - DB:
|
|
|
+ * - O(1) doesn't depend on the state or parameters
|
|
|
+ * # </weight>
|
|
|
+ **/
|
|
|
+ editPost: AugmentedSubmittable<(postId: PostId | AnyNumber | Uint8Array, newTitle: Option<Bytes> | null | object | string | Uint8Array, newBody: Option<Bytes> | null | object | string | Uint8Array) => SubmittableExtrinsic<ApiType>>;
|
|
|
+ /**
|
|
|
+ * Reply owner can edit reply with a new text
|
|
|
+ * (Only accessible, if related blog and post are unlocked)
|
|
|
+ *
|
|
|
+ * <weight>
|
|
|
+ *
|
|
|
+ * ## Weight
|
|
|
+ * `O (T)` where:
|
|
|
+ * - `T` is the length of the `new_text`
|
|
|
+ * - DB:
|
|
|
+ * - O(1) doesn't depend on the state or parameters
|
|
|
+ * # </weight>
|
|
|
+ **/
|
|
|
+ editReply: AugmentedSubmittable<(participantId: ParticipantId | null, postId: PostId | AnyNumber | Uint8Array, replyId: ReplyId | null, newText: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>>;
|
|
|
+ /**
|
|
|
+ * Blog owner can lock posts, related to a given blog,
|
|
|
+ * making post immutable to any actions (replies creation, post editing, etc.)
|
|
|
+ *
|
|
|
+ * <weight>
|
|
|
+ *
|
|
|
+ * ## Weight
|
|
|
+ * `O (1)` doesn't depends on the state or parameters
|
|
|
+ * - DB:
|
|
|
+ * - O(1) doesn't depend on the state or parameters
|
|
|
+ * # </weight>
|
|
|
+ **/
|
|
|
+ lockPost: AugmentedSubmittable<(postId: PostId | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>>;
|
|
|
+ /**
|
|
|
+ * Blog owner can unlock posts, related to a given blog,
|
|
|
+ * making post accesible to previously forbidden actions
|
|
|
+ *
|
|
|
+ * <weight>
|
|
|
+ *
|
|
|
+ * ## Weight
|
|
|
+ * `O (1)` doesn't depends on the state or parameters
|
|
|
+ * - DB:
|
|
|
+ * - O(1) doesn't depend on the state or parameters
|
|
|
+ * # </weight>
|
|
|
+ **/
|
|
|
+ unlockPost: AugmentedSubmittable<(postId: PostId | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>>;
|
|
|
+ };
|
|
|
constitution: {
|
|
|
/**
|
|
|
* Sets the current constitution hash. Requires root origin.
|
|
@@ -317,7 +400,7 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
* - O(1) doesn't depend on the state or parameters
|
|
|
* # </weight>
|
|
|
**/
|
|
|
- leaveRole: AugmentedSubmittable<(workerId: WorkerId | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>>;
|
|
|
+ leaveRole: AugmentedSubmittable<(workerId: WorkerId | AnyNumber | Uint8Array, rationale: Option<Bytes> | null | object | string | Uint8Array) => SubmittableExtrinsic<ApiType>>;
|
|
|
/**
|
|
|
* Sets a new budget for the working group.
|
|
|
* Requires root origin.
|
|
@@ -359,7 +442,7 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
* - O(1) doesn't depend on the state or parameters
|
|
|
* # </weight>
|
|
|
**/
|
|
|
- slashStake: AugmentedSubmittable<(workerId: WorkerId | AnyNumber | Uint8Array, penalty: Penalty | { slashing_text?: any; slashing_amount?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>>;
|
|
|
+ slashStake: AugmentedSubmittable<(workerId: WorkerId | AnyNumber | Uint8Array, penalty: BalanceOf | AnyNumber | Uint8Array, rationale: Option<Bytes> | null | object | string | Uint8Array) => SubmittableExtrinsic<ApiType>>;
|
|
|
/**
|
|
|
* Transfers specified amount to any account.
|
|
|
* Requires leader origin.
|
|
@@ -385,7 +468,7 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
* - O(1) doesn't depend on the state or parameters
|
|
|
* # </weight>
|
|
|
**/
|
|
|
- terminateRole: AugmentedSubmittable<(workerId: WorkerId | AnyNumber | Uint8Array, penalty: Option<Penalty> | null | object | string | Uint8Array) => SubmittableExtrinsic<ApiType>>;
|
|
|
+ terminateRole: AugmentedSubmittable<(workerId: WorkerId | AnyNumber | Uint8Array, penalty: Option<BalanceOf> | null | object | string | Uint8Array, rationale: Option<Bytes> | null | object | string | Uint8Array) => SubmittableExtrinsic<ApiType>>;
|
|
|
/**
|
|
|
* Update the reward account associated with a set reward relationship for the active worker.
|
|
|
*
|
|
@@ -449,6 +532,19 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
* # </weight>
|
|
|
**/
|
|
|
announceCandidacy: AugmentedSubmittable<(membershipId: MemberId | AnyNumber | Uint8Array, stakingAccountId: AccountId | string | Uint8Array, rewardAccountId: AccountId | string | Uint8Array, stake: Balance | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>>;
|
|
|
+ /**
|
|
|
+ * Transfers funds from council budget to account
|
|
|
+ *
|
|
|
+ * # <weight>
|
|
|
+ *
|
|
|
+ * ## weight
|
|
|
+ * `O (F)` where:
|
|
|
+ * `F` is the length of `funding_requests`
|
|
|
+ * - db:
|
|
|
+ * - `O(1)` doesn't depend on the state or parameters
|
|
|
+ * # </weight>
|
|
|
+ **/
|
|
|
+ fundingRequest: AugmentedSubmittable<(fundingRequests: Vec<FundingRequestParameters> | (FundingRequestParameters | null)[]) => SubmittableExtrinsic<ApiType>>;
|
|
|
/**
|
|
|
* Plan the next budget refill.
|
|
|
*
|
|
@@ -485,6 +581,18 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
* # </weight>
|
|
|
**/
|
|
|
setBudget: AugmentedSubmittable<(balance: Balance | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>>;
|
|
|
+ /**
|
|
|
+ * Sets the budget refill amount
|
|
|
+ *
|
|
|
+ * # <weight>
|
|
|
+ *
|
|
|
+ * ## weight
|
|
|
+ * `O (1)`
|
|
|
+ * - db:
|
|
|
+ * - `O(1)` doesn't depend on the state or parameters
|
|
|
+ * # </weight>
|
|
|
+ **/
|
|
|
+ setBudgetIncrement: AugmentedSubmittable<(budgetIncrement: Balance | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>>;
|
|
|
/**
|
|
|
* Set short description for the user's candidacy. Can be called anytime during user's candidacy.
|
|
|
*
|
|
@@ -498,6 +606,18 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
* # </weight>
|
|
|
**/
|
|
|
setCandidacyNote: AugmentedSubmittable<(membershipId: MemberId | AnyNumber | Uint8Array, note: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>>;
|
|
|
+ /**
|
|
|
+ * Sets the councilor reward per block
|
|
|
+ *
|
|
|
+ * # <weight>
|
|
|
+ *
|
|
|
+ * ## weight
|
|
|
+ * `O (1)`
|
|
|
+ * - db:
|
|
|
+ * - `O(1)` doesn't depend on the state or parameters
|
|
|
+ * # </weight>
|
|
|
+ **/
|
|
|
+ setCouncilorReward: AugmentedSubmittable<(councilorReward: Balance | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>>;
|
|
|
/**
|
|
|
* Withdraw candidacy and release candidacy stake.
|
|
|
*
|
|
@@ -607,51 +727,222 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
forum: {
|
|
|
/**
|
|
|
* Add post
|
|
|
+ *
|
|
|
+ * <weight>
|
|
|
+ *
|
|
|
+ * ## Weight
|
|
|
+ * `O (W + V)` where:
|
|
|
+ * - `W` is the category depth,
|
|
|
+ * - `V` is the length of the text
|
|
|
+ * - DB:
|
|
|
+ * - O(W)
|
|
|
+ * # </weight>
|
|
|
**/
|
|
|
addPost: AugmentedSubmittable<(forumUserId: ForumUserId | AnyNumber | Uint8Array, categoryId: CategoryId | AnyNumber | Uint8Array, threadId: ThreadId | AnyNumber | Uint8Array, text: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>>;
|
|
|
/**
|
|
|
* Add a new category.
|
|
|
+ *
|
|
|
+ * <weight>
|
|
|
+ *
|
|
|
+ * ## Weight
|
|
|
+ * `O (W + V + X)` where:
|
|
|
+ * - `W` is the category depth
|
|
|
+ * - `V` is the length of the category title.
|
|
|
+ * - `X` is the length of the category description.
|
|
|
+ * - DB:
|
|
|
+ * - O(W)
|
|
|
+ * # </weight>
|
|
|
**/
|
|
|
createCategory: AugmentedSubmittable<(parentCategoryId: Option<CategoryId> | null | object | string | Uint8Array, title: Bytes | string | Uint8Array, description: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>>;
|
|
|
/**
|
|
|
* Create new thread in category with poll
|
|
|
+ *
|
|
|
+ * <weight>
|
|
|
+ *
|
|
|
+ * ## Weight
|
|
|
+ * `O (W + V + X + Y)` where:
|
|
|
+ * - `W` is the category depth
|
|
|
+ * - `V` is the length of the thread title.
|
|
|
+ * - `X` is the length of the thread text.
|
|
|
+ * - `Y` is the number of poll alternatives.
|
|
|
+ * - DB:
|
|
|
+ * - O(W)
|
|
|
+ * # </weight>
|
|
|
**/
|
|
|
createThread: AugmentedSubmittable<(forumUserId: ForumUserId | AnyNumber | Uint8Array, categoryId: CategoryId | AnyNumber | Uint8Array, title: Bytes | string | Uint8Array, text: Bytes | string | Uint8Array, poll: Option<Poll> | null | object | string | Uint8Array) => SubmittableExtrinsic<ApiType>>;
|
|
|
+ /**
|
|
|
+ * Delete category
|
|
|
+ *
|
|
|
+ * <weight>
|
|
|
+ *
|
|
|
+ * ## Weight
|
|
|
+ * `O (W)` where:
|
|
|
+ * - `W` is the category depth
|
|
|
+ * - DB:
|
|
|
+ * - O(W)
|
|
|
+ * # </weight>
|
|
|
+ **/
|
|
|
deleteCategory: AugmentedSubmittable<(actor: PrivilegedActor | { Lead: any } | { Moderator: any } | string | Uint8Array, categoryId: CategoryId | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>>;
|
|
|
+ /**
|
|
|
+ * Delete thread
|
|
|
+ *
|
|
|
+ * <weight>
|
|
|
+ *
|
|
|
+ * ## Weight
|
|
|
+ * `O (W)` where:
|
|
|
+ * - `W` is the category depth
|
|
|
+ * - DB:
|
|
|
+ * - O(W)
|
|
|
+ * # </weight>
|
|
|
+ **/
|
|
|
deleteThread: AugmentedSubmittable<(actor: PrivilegedActor | { Lead: any } | { Moderator: any } | string | Uint8Array, categoryId: CategoryId | AnyNumber | Uint8Array, threadId: ThreadId | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>>;
|
|
|
/**
|
|
|
* Edit post text
|
|
|
+ *
|
|
|
+ * <weight>
|
|
|
+ *
|
|
|
+ * ## Weight
|
|
|
+ * `O (W + V)` where:
|
|
|
+ * - `W` is the category depth,
|
|
|
+ * - `V` is the length of the new text
|
|
|
+ * - DB:
|
|
|
+ * - O(W)
|
|
|
+ * # </weight>
|
|
|
**/
|
|
|
editPostText: AugmentedSubmittable<(forumUserId: ForumUserId | AnyNumber | Uint8Array, categoryId: CategoryId | AnyNumber | Uint8Array, threadId: ThreadId | AnyNumber | Uint8Array, postId: PostId | AnyNumber | Uint8Array, newText: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>>;
|
|
|
+ /**
|
|
|
+ * Edit thread title
|
|
|
+ *
|
|
|
+ * <weight>
|
|
|
+ *
|
|
|
+ * ## Weight
|
|
|
+ * `O (W + V)` where:
|
|
|
+ * - `W` is the category depth
|
|
|
+ * - `V` is the length of the thread title.
|
|
|
+ * - DB:
|
|
|
+ * - O(W)
|
|
|
+ * # </weight>
|
|
|
+ **/
|
|
|
editThreadTitle: AugmentedSubmittable<(forumUserId: ForumUserId | AnyNumber | Uint8Array, categoryId: CategoryId | AnyNumber | Uint8Array, threadId: ThreadId | AnyNumber | Uint8Array, newTitle: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>>;
|
|
|
/**
|
|
|
* Moderate post
|
|
|
+ *
|
|
|
+ * <weight>
|
|
|
+ *
|
|
|
+ * ## Weight
|
|
|
+ * `O (W + V)` where:
|
|
|
+ * - `W` is the category depth,
|
|
|
+ * - `V` is the length of the rationale
|
|
|
+ * - DB:
|
|
|
+ * - O(W)
|
|
|
+ * # </weight>
|
|
|
**/
|
|
|
moderatePost: AugmentedSubmittable<(actor: PrivilegedActor | { Lead: any } | { Moderator: any } | string | Uint8Array, categoryId: CategoryId | AnyNumber | Uint8Array, threadId: ThreadId | AnyNumber | Uint8Array, postId: PostId | AnyNumber | Uint8Array, rationale: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>>;
|
|
|
+ /**
|
|
|
+ * Moderate thread
|
|
|
+ *
|
|
|
+ * <weight>
|
|
|
+ *
|
|
|
+ * ## Weight
|
|
|
+ * `O (W + V + X)` where:
|
|
|
+ * - `W` is the category depth,
|
|
|
+ * - `V` is the number of thread posts,
|
|
|
+ * - `X` is the length of the rationale
|
|
|
+ * - DB:
|
|
|
+ * - O(W + V)
|
|
|
+ * # </weight>
|
|
|
+ **/
|
|
|
moderateThread: AugmentedSubmittable<(actor: PrivilegedActor | { Lead: any } | { Moderator: any } | string | Uint8Array, categoryId: CategoryId | AnyNumber | Uint8Array, threadId: ThreadId | AnyNumber | Uint8Array, rationale: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>>;
|
|
|
+ /**
|
|
|
+ * Move thread to another category
|
|
|
+ *
|
|
|
+ * <weight>
|
|
|
+ *
|
|
|
+ * ## Weight
|
|
|
+ * `O (W)` where:
|
|
|
+ * - `W` is the category depth
|
|
|
+ * - DB:
|
|
|
+ * - O(W)
|
|
|
+ * # </weight>
|
|
|
+ **/
|
|
|
moveThreadToCategory: AugmentedSubmittable<(actor: PrivilegedActor | { Lead: any } | { Moderator: any } | string | Uint8Array, categoryId: CategoryId | AnyNumber | Uint8Array, threadId: ThreadId | AnyNumber | Uint8Array, newCategoryId: CategoryId | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>>;
|
|
|
/**
|
|
|
- * like or unlike a post.
|
|
|
+ * Like or unlike a post.
|
|
|
+ *
|
|
|
+ * <weight>
|
|
|
+ *
|
|
|
+ * ## Weight
|
|
|
+ * `O (W)` where:
|
|
|
+ * - `W` is the category depth,
|
|
|
+ * - DB:
|
|
|
+ * - O(W)
|
|
|
+ * # </weight>
|
|
|
**/
|
|
|
reactPost: AugmentedSubmittable<(forumUserId: ForumUserId | AnyNumber | Uint8Array, categoryId: CategoryId | AnyNumber | Uint8Array, threadId: ThreadId | AnyNumber | Uint8Array, postId: PostId | AnyNumber | Uint8Array, react: PostReactionId | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>>;
|
|
|
/**
|
|
|
* Set stickied threads for category
|
|
|
+ *
|
|
|
+ * <weight>
|
|
|
+ *
|
|
|
+ * ## Weight
|
|
|
+ * `O (W + V)` where:
|
|
|
+ * - `W` is the category depth,
|
|
|
+ * - `V` is the length of the stickied_ids
|
|
|
+ * - DB:
|
|
|
+ * - O(W + V)
|
|
|
+ * # </weight>
|
|
|
**/
|
|
|
setStickiedThreads: AugmentedSubmittable<(actor: PrivilegedActor | { Lead: any } | { Moderator: any } | string | Uint8Array, categoryId: CategoryId | AnyNumber | Uint8Array, stickiedIds: Vec<ThreadId> | (ThreadId | AnyNumber | Uint8Array)[]) => SubmittableExtrinsic<ApiType>>;
|
|
|
/**
|
|
|
- * Update category
|
|
|
+ * Update archival status
|
|
|
+ *
|
|
|
+ * <weight>
|
|
|
+ *
|
|
|
+ * ## Weight
|
|
|
+ * `O (W)` where:
|
|
|
+ * - `W` is the category depth
|
|
|
+ * - DB:
|
|
|
+ * - O(W)
|
|
|
+ * # </weight>
|
|
|
**/
|
|
|
updateCategoryArchivalStatus: AugmentedSubmittable<(actor: PrivilegedActor | { Lead: any } | { Moderator: any } | string | Uint8Array, categoryId: CategoryId | AnyNumber | Uint8Array, newArchivalStatus: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>>;
|
|
|
/**
|
|
|
* Enable a moderator can moderate a category and its sub categories.
|
|
|
+ *
|
|
|
+ * <weight>
|
|
|
+ *
|
|
|
+ * ## Weight
|
|
|
+ * `O (1)`
|
|
|
+ * - DB:
|
|
|
+ * - O(1) doesn't depend on the state or parameters
|
|
|
+ * # </weight>
|
|
|
**/
|
|
|
updateCategoryMembershipOfModerator: AugmentedSubmittable<(moderatorId: ModeratorId | AnyNumber | Uint8Array, categoryId: CategoryId | AnyNumber | Uint8Array, newValue: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>>;
|
|
|
/**
|
|
|
- * Update category
|
|
|
+ * Update thread archival status
|
|
|
+ *
|
|
|
+ * <weight>
|
|
|
+ *
|
|
|
+ * ## Weight
|
|
|
+ * `O (W)` where:
|
|
|
+ * - `W` is the category depth
|
|
|
+ * - DB:
|
|
|
+ * - O(W)
|
|
|
+ * # </weight>
|
|
|
**/
|
|
|
updateThreadArchivalStatus: AugmentedSubmittable<(actor: PrivilegedActor | { Lead: any } | { Moderator: any } | string | Uint8Array, categoryId: CategoryId | AnyNumber | Uint8Array, threadId: ThreadId | AnyNumber | Uint8Array, newArchivalStatus: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>>;
|
|
|
/**
|
|
|
- * submit a poll
|
|
|
+ * Submit a poll
|
|
|
+ *
|
|
|
+ * <weight>
|
|
|
+ *
|
|
|
+ * ## Weight
|
|
|
+ * `O (W + V)` where:
|
|
|
+ * - `W` is the category depth,
|
|
|
+ * - `V` is the number of poll alternatives.
|
|
|
+ * - DB:
|
|
|
+ * - O(W)
|
|
|
+ * # </weight>
|
|
|
**/
|
|
|
voteOnPoll: AugmentedSubmittable<(forumUserId: ForumUserId | AnyNumber | Uint8Array, categoryId: CategoryId | AnyNumber | Uint8Array, threadId: ThreadId | AnyNumber | Uint8Array, index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>>;
|
|
|
};
|
|
@@ -747,7 +1038,7 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
* - O(1) doesn't depend on the state or parameters
|
|
|
* # </weight>
|
|
|
**/
|
|
|
- leaveRole: AugmentedSubmittable<(workerId: WorkerId | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>>;
|
|
|
+ leaveRole: AugmentedSubmittable<(workerId: WorkerId | AnyNumber | Uint8Array, rationale: Option<Bytes> | null | object | string | Uint8Array) => SubmittableExtrinsic<ApiType>>;
|
|
|
/**
|
|
|
* Sets a new budget for the working group.
|
|
|
* Requires root origin.
|
|
@@ -789,7 +1080,7 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
* - O(1) doesn't depend on the state or parameters
|
|
|
* # </weight>
|
|
|
**/
|
|
|
- slashStake: AugmentedSubmittable<(workerId: WorkerId | AnyNumber | Uint8Array, penalty: Penalty | { slashing_text?: any; slashing_amount?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>>;
|
|
|
+ slashStake: AugmentedSubmittable<(workerId: WorkerId | AnyNumber | Uint8Array, penalty: BalanceOf | AnyNumber | Uint8Array, rationale: Option<Bytes> | null | object | string | Uint8Array) => SubmittableExtrinsic<ApiType>>;
|
|
|
/**
|
|
|
* Transfers specified amount to any account.
|
|
|
* Requires leader origin.
|
|
@@ -815,7 +1106,7 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
* - O(1) doesn't depend on the state or parameters
|
|
|
* # </weight>
|
|
|
**/
|
|
|
- terminateRole: AugmentedSubmittable<(workerId: WorkerId | AnyNumber | Uint8Array, penalty: Option<Penalty> | null | object | string | Uint8Array) => SubmittableExtrinsic<ApiType>>;
|
|
|
+ terminateRole: AugmentedSubmittable<(workerId: WorkerId | AnyNumber | Uint8Array, penalty: Option<BalanceOf> | null | object | string | Uint8Array, rationale: Option<Bytes> | null | object | string | Uint8Array) => SubmittableExtrinsic<ApiType>>;
|
|
|
/**
|
|
|
* Update the reward account associated with a set reward relationship for the active worker.
|
|
|
*
|
|
@@ -911,63 +1202,235 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
**/
|
|
|
heartbeat: AugmentedSubmittable<(heartbeat: Heartbeat | { blockNumber?: any; networkState?: any; sessionIndex?: any; authorityIndex?: any; validatorsLen?: any } | string | Uint8Array, signature: Signature | string | Uint8Array) => SubmittableExtrinsic<ApiType>>;
|
|
|
};
|
|
|
+ joystreamUtility: {
|
|
|
+ /**
|
|
|
+ * Burns token for caller account
|
|
|
+ * <weight>
|
|
|
+ *
|
|
|
+ * ## Weight
|
|
|
+ * `O (1)` Doesn't depend on the state or parameters
|
|
|
+ * - DB:
|
|
|
+ * - O(1) doesn't depend on the state or parameters
|
|
|
+ * # </weight>
|
|
|
+ **/
|
|
|
+ burnAccountTokens: AugmentedSubmittable<(amount: BalanceOf | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>>;
|
|
|
+ /**
|
|
|
+ * Runtime upgrade proposal extrinsic.
|
|
|
+ * Should be used as callable object to pass to the `engine` module.
|
|
|
+ * <weight>
|
|
|
+ *
|
|
|
+ * ## Weight
|
|
|
+ * `O (C)` where:
|
|
|
+ * - `C` is the length of `wasm`
|
|
|
+ * However, we treat this as a full block as `frame_system::Module::set_code` does
|
|
|
+ * # </weight>
|
|
|
+ **/
|
|
|
+ executeRuntimeUpgradeProposal: AugmentedSubmittable<(wasm: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>>;
|
|
|
+ /**
|
|
|
+ * Signal proposal extrinsic. Should be used as callable object to pass to the `engine` module.
|
|
|
+ *
|
|
|
+ * <weight>
|
|
|
+ *
|
|
|
+ * ## Weight
|
|
|
+ * `O (S)` where:
|
|
|
+ * - `S` is the length of the signal
|
|
|
+ * - DB:
|
|
|
+ * - O(1) doesn't depend on the state or parameters
|
|
|
+ * # </weight>
|
|
|
+ **/
|
|
|
+ executeSignalProposal: AugmentedSubmittable<(signal: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>>;
|
|
|
+ /**
|
|
|
+ * Update working group budget
|
|
|
+ * <weight>
|
|
|
+ *
|
|
|
+ * ## Weight
|
|
|
+ * `O (1)` Doesn't depend on the state or parameters
|
|
|
+ * - DB:
|
|
|
+ * - O(1) doesn't depend on the state or parameters
|
|
|
+ * # </weight>
|
|
|
+ **/
|
|
|
+ updateWorkingGroupBudget: AugmentedSubmittable<(workingGroup: WorkingGroup | 'Forum'|'Storage'|'Content'|'Membership' | number | Uint8Array, amount: BalanceOf | AnyNumber | Uint8Array, balanceKind: BalanceKind | null) => SubmittableExtrinsic<ApiType>>;
|
|
|
+ };
|
|
|
members: {
|
|
|
/**
|
|
|
* Add staking account candidate for a member.
|
|
|
* The membership must be confirmed before usage.
|
|
|
+ *
|
|
|
+ * <weight>
|
|
|
+ *
|
|
|
+ * ## Weight
|
|
|
+ * `O (1)`
|
|
|
+ * - DB:
|
|
|
+ * - O(1) doesn't depend on the state or parameters
|
|
|
+ * # </weight>
|
|
|
**/
|
|
|
addStakingAccountCandidate: AugmentedSubmittable<(memberId: MemberId | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>>;
|
|
|
/**
|
|
|
* Non-members can buy membership.
|
|
|
+ *
|
|
|
+ * <weight>
|
|
|
+ *
|
|
|
+ * ## Weight
|
|
|
+ * `O (W + V + X + Y)` where:
|
|
|
+ * - `W` is the member name
|
|
|
+ * - `V` is the member handle
|
|
|
+ * - `X` is the member avatar uri
|
|
|
+ * - `Y` is the member about
|
|
|
+ * - DB:
|
|
|
+ * - O(V)
|
|
|
+ * # </weight>
|
|
|
**/
|
|
|
buyMembership: AugmentedSubmittable<(params: BuyMembershipParameters | { root_account?: any; controller_account?: any; name?: any; handle?: any; avatar_uri?: any; about?: any; referrer_id?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>>;
|
|
|
/**
|
|
|
* Confirm staking account candidate for a member.
|
|
|
+ *
|
|
|
+ * <weight>
|
|
|
+ *
|
|
|
+ * ## Weight
|
|
|
+ * `O (1)`
|
|
|
+ * - DB:
|
|
|
+ * - O(1) doesn't depend on the state or parameters
|
|
|
+ * # </weight>
|
|
|
**/
|
|
|
confirmStakingAccount: AugmentedSubmittable<(memberId: MemberId | AnyNumber | Uint8Array, stakingAccountId: AccountId | string | Uint8Array) => SubmittableExtrinsic<ApiType>>;
|
|
|
/**
|
|
|
* Invite a new member.
|
|
|
+ *
|
|
|
+ * <weight>
|
|
|
+ *
|
|
|
+ * ## Weight
|
|
|
+ * `O (W + V + X + Y)` where:
|
|
|
+ * - `W` is the member name
|
|
|
+ * - `V` is the member handle
|
|
|
+ * - `X` is the member avatar uri
|
|
|
+ * - `Y` is the member about
|
|
|
+ * - DB:
|
|
|
+ * - O(V)
|
|
|
+ * # </weight>
|
|
|
**/
|
|
|
inviteMember: AugmentedSubmittable<(params: InviteMembershipParameters | { inviting_member_id?: any; root_account?: any; controller_account?: any; name?: any; handle?: any; avatar_uri?: any; about?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>>;
|
|
|
/**
|
|
|
* Remove staking account for a member.
|
|
|
+ *
|
|
|
+ * <weight>
|
|
|
+ *
|
|
|
+ * ## Weight
|
|
|
+ * `O (1)`
|
|
|
+ * - DB:
|
|
|
+ * - O(1) doesn't depend on the state or parameters
|
|
|
+ * # </weight>
|
|
|
**/
|
|
|
removeStakingAccount: AugmentedSubmittable<(memberId: MemberId | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>>;
|
|
|
/**
|
|
|
* Updates initial invitation balance for a invited member. Requires root origin.
|
|
|
+ *
|
|
|
+ * <weight>
|
|
|
+ *
|
|
|
+ * ## Weight
|
|
|
+ * `O (1)`
|
|
|
+ * - DB:
|
|
|
+ * - O(1) doesn't depend on the state or parameters
|
|
|
+ * # </weight>
|
|
|
**/
|
|
|
setInitialInvitationBalance: AugmentedSubmittable<(newInitialBalance: BalanceOf | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>>;
|
|
|
/**
|
|
|
* Updates initial invitation count for a member. Requires root origin.
|
|
|
+ *
|
|
|
+ * <weight>
|
|
|
+ *
|
|
|
+ * ## Weight
|
|
|
+ * `O (1)`
|
|
|
+ * - DB:
|
|
|
+ * - O(1) doesn't depend on the state or parameters
|
|
|
+ * # </weight>
|
|
|
**/
|
|
|
setInitialInvitationCount: AugmentedSubmittable<(newInvitationCount: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>>;
|
|
|
/**
|
|
|
* Updates leader invitation quota. Requires root origin.
|
|
|
+ *
|
|
|
+ * <weight>
|
|
|
+ *
|
|
|
+ * ## Weight
|
|
|
+ * `O (1)`
|
|
|
+ * - DB:
|
|
|
+ * - O(1) doesn't depend on the state or parameters
|
|
|
+ * # </weight>
|
|
|
**/
|
|
|
setLeaderInvitationQuota: AugmentedSubmittable<(invitationQuota: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>>;
|
|
|
/**
|
|
|
* Updates membership price. Requires root origin.
|
|
|
+ *
|
|
|
+ * <weight>
|
|
|
+ *
|
|
|
+ * ## Weight
|
|
|
+ * `O (1)`
|
|
|
+ * - DB:
|
|
|
+ * - O(1) doesn't depend on the state or parameters
|
|
|
+ * # </weight>
|
|
|
**/
|
|
|
setMembershipPrice: AugmentedSubmittable<(newPrice: BalanceOf | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>>;
|
|
|
/**
|
|
|
* Updates membership referral cut. Requires root origin.
|
|
|
+ *
|
|
|
+ * <weight>
|
|
|
+ *
|
|
|
+ * ## Weight
|
|
|
+ * `O (1)`
|
|
|
+ * - DB:
|
|
|
+ * - O(1) doesn't depend on the state or parameters
|
|
|
+ * # </weight>
|
|
|
**/
|
|
|
setReferralCut: AugmentedSubmittable<(value: BalanceOf | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>>;
|
|
|
/**
|
|
|
* Transfers invites from one member to another.
|
|
|
+ *
|
|
|
+ * <weight>
|
|
|
+ *
|
|
|
+ * ## Weight
|
|
|
+ * `O (1)`
|
|
|
+ * - DB:
|
|
|
+ * - O(1) doesn't depend on the state or parameters
|
|
|
+ * # </weight>
|
|
|
**/
|
|
|
transferInvites: AugmentedSubmittable<(sourceMemberId: MemberId | AnyNumber | Uint8Array, targetMemberId: MemberId | AnyNumber | Uint8Array, numberOfInvites: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>>;
|
|
|
/**
|
|
|
* Updates member root or controller accounts. No effect if both new accounts are empty.
|
|
|
+ *
|
|
|
+ * <weight>
|
|
|
+ *
|
|
|
+ * <weight>
|
|
|
+ *
|
|
|
+ * ## Weight
|
|
|
+ * `O (1)`
|
|
|
+ * - DB:
|
|
|
+ * - O(1) doesn't depend on the state or parameters
|
|
|
+ * # </weight>
|
|
|
**/
|
|
|
updateAccounts: AugmentedSubmittable<(memberId: MemberId | AnyNumber | Uint8Array, newRootAccount: Option<AccountId> | null | object | string | Uint8Array, newControllerAccount: Option<AccountId> | null | object | string | Uint8Array) => SubmittableExtrinsic<ApiType>>;
|
|
|
/**
|
|
|
* Update member's all or some of name, handle, avatar and about text.
|
|
|
* No effect if no changed fields.
|
|
|
+ *
|
|
|
+ * <weight>
|
|
|
+ *
|
|
|
+ * ## Weight
|
|
|
+ * `O (W)` where:
|
|
|
+ * - `W` is the handle length
|
|
|
+ * - DB:
|
|
|
+ * - O(W)
|
|
|
+ * # </weight>
|
|
|
**/
|
|
|
updateProfile: AugmentedSubmittable<(memberId: MemberId | AnyNumber | Uint8Array, name: Option<Bytes> | null | object | 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>>;
|
|
|
/**
|
|
|
* Updates member profile verification status. Requires working group member origin.
|
|
|
+ *
|
|
|
+ * <weight>
|
|
|
+ *
|
|
|
+ * ## Weight
|
|
|
+ * `O (1)`
|
|
|
+ * - DB:
|
|
|
+ * - O(1) doesn't depend on the state or parameters
|
|
|
+ * # </weight>
|
|
|
**/
|
|
|
updateProfileVerification: AugmentedSubmittable<(workerId: ActorId | AnyNumber | Uint8Array, targetMemberId: MemberId | AnyNumber | Uint8Array, isVerified: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>>;
|
|
|
};
|
|
@@ -1063,7 +1526,7 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
* - O(1) doesn't depend on the state or parameters
|
|
|
* # </weight>
|
|
|
**/
|
|
|
- leaveRole: AugmentedSubmittable<(workerId: WorkerId | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>>;
|
|
|
+ leaveRole: AugmentedSubmittable<(workerId: WorkerId | AnyNumber | Uint8Array, rationale: Option<Bytes> | null | object | string | Uint8Array) => SubmittableExtrinsic<ApiType>>;
|
|
|
/**
|
|
|
* Sets a new budget for the working group.
|
|
|
* Requires root origin.
|
|
@@ -1105,7 +1568,7 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
* - O(1) doesn't depend on the state or parameters
|
|
|
* # </weight>
|
|
|
**/
|
|
|
- slashStake: AugmentedSubmittable<(workerId: WorkerId | AnyNumber | Uint8Array, penalty: Penalty | { slashing_text?: any; slashing_amount?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>>;
|
|
|
+ slashStake: AugmentedSubmittable<(workerId: WorkerId | AnyNumber | Uint8Array, penalty: BalanceOf | AnyNumber | Uint8Array, rationale: Option<Bytes> | null | object | string | Uint8Array) => SubmittableExtrinsic<ApiType>>;
|
|
|
/**
|
|
|
* Transfers specified amount to any account.
|
|
|
* Requires leader origin.
|
|
@@ -1131,7 +1594,7 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
* - O(1) doesn't depend on the state or parameters
|
|
|
* # </weight>
|
|
|
**/
|
|
|
- terminateRole: AugmentedSubmittable<(workerId: WorkerId | AnyNumber | Uint8Array, penalty: Option<Penalty> | null | object | string | Uint8Array) => SubmittableExtrinsic<ApiType>>;
|
|
|
+ terminateRole: AugmentedSubmittable<(workerId: WorkerId | AnyNumber | Uint8Array, penalty: Option<BalanceOf> | null | object | string | Uint8Array, rationale: Option<Bytes> | null | object | string | Uint8Array) => SubmittableExtrinsic<ApiType>>;
|
|
|
/**
|
|
|
* Update the reward account associated with a set reward relationship for the active worker.
|
|
|
*
|
|
@@ -1188,17 +1651,19 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
proposalsCodex: {
|
|
|
/**
|
|
|
* Create a proposal, the type of proposal depends on the `proposal_details` variant
|
|
|
+ *
|
|
|
+ * <weight>
|
|
|
+ *
|
|
|
+ * ## Weight
|
|
|
+ * `O (T + D + I)` where:
|
|
|
+ * - `T` is the length of the title
|
|
|
+ * - `D` is the length of the description
|
|
|
+ * - `I` is the length of any parameter in `proposal_details`
|
|
|
+ * - DB:
|
|
|
+ * - O(1) doesn't depend on the state or parameters
|
|
|
+ * # </weight>
|
|
|
**/
|
|
|
createProposal: AugmentedSubmittable<(generalProposalParameters: GeneralProposalParameters | { member_id?: any; title?: any; description?: any; staking_account_id?: any; exact_execution_block?: any } | string | Uint8Array, proposalDetails: ProposalDetailsOf | { Text: any } | { RuntimeUpgrade: any } | { Spending: any } | { SetValidatorCount: any } | { AddWorkingGroupLeaderOpening: any } | { FillWorkingGroupLeaderOpening: any } | { SetWorkingGroupBudgetCapacity: any } | { DecreaseWorkingGroupLeaderStake: any } | { SlashWorkingGroupLeaderStake: any } | { SetWorkingGroupLeaderReward: any } | { TerminateWorkingGroupLeaderRole: any } | { AmendConstitution: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>>;
|
|
|
- /**
|
|
|
- * Runtime upgrade proposal extrinsic.
|
|
|
- * Should be used as callable object to pass to the `engine` module.
|
|
|
- **/
|
|
|
- executeRuntimeUpgradeProposal: AugmentedSubmittable<(wasm: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>>;
|
|
|
- /**
|
|
|
- * Text proposal extrinsic. Should be used as callable object to pass to the `engine` module.
|
|
|
- **/
|
|
|
- executeTextProposal: AugmentedSubmittable<(text: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>>;
|
|
|
};
|
|
|
proposalsDiscussion: {
|
|
|
/**
|
|
@@ -1299,7 +1764,8 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
*
|
|
|
* ## Weight
|
|
|
* `O (W)` where:
|
|
|
- * - `W` is the number of `intermediate_winners` stored in the current `Stage::<T, I>::get()`
|
|
|
+ * - `W` is the number of `intermediate_winners` stored in the current
|
|
|
+ * `Stage::<T, I>::get()`
|
|
|
* - DB:
|
|
|
* - `O(1)` doesn't depend on the state or parameters
|
|
|
* # </weight>
|
|
@@ -1316,7 +1782,7 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
* - `O(1)` doesn't depend on the state or parameters
|
|
|
* # </weight>
|
|
|
**/
|
|
|
- vote: AugmentedSubmittable<(commitment: Hash | string | Uint8Array, stake: Balance | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>>;
|
|
|
+ vote: AugmentedSubmittable<(commitment: Hash | string | Uint8Array, stake: BalanceOf | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>>;
|
|
|
};
|
|
|
session: {
|
|
|
/**
|
|
@@ -1925,7 +2391,7 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
* - O(1) doesn't depend on the state or parameters
|
|
|
* # </weight>
|
|
|
**/
|
|
|
- leaveRole: AugmentedSubmittable<(workerId: WorkerId | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>>;
|
|
|
+ leaveRole: AugmentedSubmittable<(workerId: WorkerId | AnyNumber | Uint8Array, rationale: Option<Bytes> | null | object | string | Uint8Array) => SubmittableExtrinsic<ApiType>>;
|
|
|
/**
|
|
|
* Sets a new budget for the working group.
|
|
|
* Requires root origin.
|
|
@@ -1967,7 +2433,7 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
* - O(1) doesn't depend on the state or parameters
|
|
|
* # </weight>
|
|
|
**/
|
|
|
- slashStake: AugmentedSubmittable<(workerId: WorkerId | AnyNumber | Uint8Array, penalty: Penalty | { slashing_text?: any; slashing_amount?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>>;
|
|
|
+ slashStake: AugmentedSubmittable<(workerId: WorkerId | AnyNumber | Uint8Array, penalty: BalanceOf | AnyNumber | Uint8Array, rationale: Option<Bytes> | null | object | string | Uint8Array) => SubmittableExtrinsic<ApiType>>;
|
|
|
/**
|
|
|
* Transfers specified amount to any account.
|
|
|
* Requires leader origin.
|
|
@@ -1993,7 +2459,7 @@ declare module '@polkadot/api/types/submittable' {
|
|
|
* - O(1) doesn't depend on the state or parameters
|
|
|
* # </weight>
|
|
|
**/
|
|
|
- terminateRole: AugmentedSubmittable<(workerId: WorkerId | AnyNumber | Uint8Array, penalty: Option<Penalty> | null | object | string | Uint8Array) => SubmittableExtrinsic<ApiType>>;
|
|
|
+ terminateRole: AugmentedSubmittable<(workerId: WorkerId | AnyNumber | Uint8Array, penalty: Option<BalanceOf> | null | object | string | Uint8Array, rationale: Option<Bytes> | null | object | string | Uint8Array) => SubmittableExtrinsic<ApiType>>;
|
|
|
/**
|
|
|
* Update the reward account associated with a set reward relationship for the active worker.
|
|
|
*
|