|
@@ -3,7 +3,7 @@
|
|
|
|
|
|
import type { Vec, u32, u64, u8 } from '@polkadot/types';
|
|
|
import type { MaxNumber, ProposalParameters } from './all';
|
|
|
-import type { Balance, BalanceOf, BlockNumber, Moment, Perbill, RuntimeDbWeight, Weight } from '@polkadot/types/interfaces/runtime';
|
|
|
+import type { Balance, BalanceOf, BlockNumber, LockIdentifier, Moment, Perbill, RuntimeDbWeight, Weight } from '@polkadot/types/interfaces/runtime';
|
|
|
import type { SessionIndex } from '@polkadot/types/interfaces/session';
|
|
|
import type { EraIndex } from '@polkadot/types/interfaces/staking';
|
|
|
import type { WeightToFeeCoefficient } from '@polkadot/types/interfaces/support';
|
|
@@ -33,6 +33,10 @@ declare module '@polkadot/api/types/consts' {
|
|
|
existentialDeposit: Balance & AugmentedConst<ApiType>;
|
|
|
};
|
|
|
bounty: {
|
|
|
+ /**
|
|
|
+ * Exports const - bounty lock id.
|
|
|
+ **/
|
|
|
+ bountyLockId: LockIdentifier & AugmentedConst<ApiType>;
|
|
|
/**
|
|
|
* Exports const - max work entry number for a closed assurance type contract bounty.
|
|
|
**/
|
|
@@ -58,9 +62,30 @@ declare module '@polkadot/api/types/consts' {
|
|
|
};
|
|
|
contentDirectoryWorkingGroup: {
|
|
|
/**
|
|
|
- * Exports const - max simultaneous active worker number.
|
|
|
+ * Stake needed to create an opening.
|
|
|
+ **/
|
|
|
+ leaderOpeningStake: Balance & AugmentedConst<ApiType>;
|
|
|
+ /**
|
|
|
+ * Exports const
|
|
|
+ * Max simultaneous active worker number.
|
|
|
**/
|
|
|
maxWorkerNumberLimit: u32 & AugmentedConst<ApiType>;
|
|
|
+ /**
|
|
|
+ * Minimum stake required for applying into an opening.
|
|
|
+ **/
|
|
|
+ minimumApplicationStake: Balance & AugmentedConst<ApiType>;
|
|
|
+ /**
|
|
|
+ * Defines min unstaking period in the group.
|
|
|
+ **/
|
|
|
+ minUnstakingPeriodLimit: BlockNumber & AugmentedConst<ApiType>;
|
|
|
+ /**
|
|
|
+ * Defines the period every worker gets paid in blocks.
|
|
|
+ **/
|
|
|
+ rewardPeriod: u32 & AugmentedConst<ApiType>;
|
|
|
+ /**
|
|
|
+ * Staking handler lock id.
|
|
|
+ **/
|
|
|
+ stakingHandlerLockId: LockIdentifier & AugmentedConst<ApiType>;
|
|
|
};
|
|
|
council: {
|
|
|
/**
|
|
@@ -71,6 +96,14 @@ declare module '@polkadot/api/types/consts' {
|
|
|
* Interval between automatic budget refills.
|
|
|
**/
|
|
|
budgetRefillPeriod: BlockNumber & AugmentedConst<ApiType>;
|
|
|
+ /**
|
|
|
+ * Exports const - candidacy lock id.
|
|
|
+ **/
|
|
|
+ candidacyLockId: LockIdentifier & AugmentedConst<ApiType>;
|
|
|
+ /**
|
|
|
+ * Exports const - candidacy lock id.
|
|
|
+ **/
|
|
|
+ councilorLockId: LockIdentifier & AugmentedConst<ApiType>;
|
|
|
/**
|
|
|
* Council member count
|
|
|
**/
|
|
@@ -103,19 +136,76 @@ declare module '@polkadot/api/types/consts' {
|
|
|
**/
|
|
|
windowSize: BlockNumber & AugmentedConst<ApiType>;
|
|
|
};
|
|
|
+ forum: {
|
|
|
+ /**
|
|
|
+ * Exports const
|
|
|
+ * Deposit needed to create a post
|
|
|
+ **/
|
|
|
+ postDeposit: BalanceOf & AugmentedConst<ApiType>;
|
|
|
+ /**
|
|
|
+ * Deposit needed to create a thread
|
|
|
+ **/
|
|
|
+ threadDeposit: BalanceOf & AugmentedConst<ApiType>;
|
|
|
+ };
|
|
|
forumWorkingGroup: {
|
|
|
/**
|
|
|
- * Exports const - max simultaneous active worker number.
|
|
|
+ * Stake needed to create an opening.
|
|
|
+ **/
|
|
|
+ leaderOpeningStake: Balance & AugmentedConst<ApiType>;
|
|
|
+ /**
|
|
|
+ * Exports const
|
|
|
+ * Max simultaneous active worker number.
|
|
|
**/
|
|
|
maxWorkerNumberLimit: u32 & AugmentedConst<ApiType>;
|
|
|
+ /**
|
|
|
+ * Minimum stake required for applying into an opening.
|
|
|
+ **/
|
|
|
+ minimumApplicationStake: Balance & AugmentedConst<ApiType>;
|
|
|
+ /**
|
|
|
+ * Defines min unstaking period in the group.
|
|
|
+ **/
|
|
|
+ minUnstakingPeriodLimit: BlockNumber & AugmentedConst<ApiType>;
|
|
|
+ /**
|
|
|
+ * Defines the period every worker gets paid in blocks.
|
|
|
+ **/
|
|
|
+ rewardPeriod: u32 & AugmentedConst<ApiType>;
|
|
|
+ /**
|
|
|
+ * Staking handler lock id.
|
|
|
+ **/
|
|
|
+ stakingHandlerLockId: LockIdentifier & AugmentedConst<ApiType>;
|
|
|
};
|
|
|
gatewayWorkingGroup: {
|
|
|
/**
|
|
|
- * Exports const - max simultaneous active worker number.
|
|
|
+ * Stake needed to create an opening.
|
|
|
+ **/
|
|
|
+ leaderOpeningStake: Balance & AugmentedConst<ApiType>;
|
|
|
+ /**
|
|
|
+ * Exports const
|
|
|
+ * Max simultaneous active worker number.
|
|
|
**/
|
|
|
maxWorkerNumberLimit: u32 & AugmentedConst<ApiType>;
|
|
|
+ /**
|
|
|
+ * Minimum stake required for applying into an opening.
|
|
|
+ **/
|
|
|
+ minimumApplicationStake: Balance & AugmentedConst<ApiType>;
|
|
|
+ /**
|
|
|
+ * Defines min unstaking period in the group.
|
|
|
+ **/
|
|
|
+ minUnstakingPeriodLimit: BlockNumber & AugmentedConst<ApiType>;
|
|
|
+ /**
|
|
|
+ * Defines the period every worker gets paid in blocks.
|
|
|
+ **/
|
|
|
+ rewardPeriod: u32 & AugmentedConst<ApiType>;
|
|
|
+ /**
|
|
|
+ * Staking handler lock id.
|
|
|
+ **/
|
|
|
+ stakingHandlerLockId: LockIdentifier & AugmentedConst<ApiType>;
|
|
|
};
|
|
|
members: {
|
|
|
+ /**
|
|
|
+ * Exports const - Stake needed to candidate as staking account.
|
|
|
+ **/
|
|
|
+ candidateStake: BalanceOf & AugmentedConst<ApiType>;
|
|
|
/**
|
|
|
* Exports const - default balance for the invited member.
|
|
|
**/
|
|
@@ -124,22 +214,72 @@ declare module '@polkadot/api/types/consts' {
|
|
|
* Exports const - default membership fee.
|
|
|
**/
|
|
|
defaultMembershipPrice: BalanceOf & AugmentedConst<ApiType>;
|
|
|
+ /**
|
|
|
+ * Exports const - invited member lock id.
|
|
|
+ **/
|
|
|
+ invitedMemberLockId: LockIdentifier & AugmentedConst<ApiType>;
|
|
|
/**
|
|
|
* Exports const - maximum percent value of the membership fee for the referral cut.
|
|
|
**/
|
|
|
referralCutMaximumPercent: u8 & AugmentedConst<ApiType>;
|
|
|
+ /**
|
|
|
+ * Exports const - staking candidate lock id.
|
|
|
+ **/
|
|
|
+ stakingCandidateLockId: LockIdentifier & AugmentedConst<ApiType>;
|
|
|
};
|
|
|
membershipWorkingGroup: {
|
|
|
/**
|
|
|
- * Exports const - max simultaneous active worker number.
|
|
|
+ * Stake needed to create an opening.
|
|
|
+ **/
|
|
|
+ leaderOpeningStake: Balance & AugmentedConst<ApiType>;
|
|
|
+ /**
|
|
|
+ * Exports const
|
|
|
+ * Max simultaneous active worker number.
|
|
|
**/
|
|
|
maxWorkerNumberLimit: u32 & AugmentedConst<ApiType>;
|
|
|
+ /**
|
|
|
+ * Minimum stake required for applying into an opening.
|
|
|
+ **/
|
|
|
+ minimumApplicationStake: Balance & AugmentedConst<ApiType>;
|
|
|
+ /**
|
|
|
+ * Defines min unstaking period in the group.
|
|
|
+ **/
|
|
|
+ minUnstakingPeriodLimit: BlockNumber & AugmentedConst<ApiType>;
|
|
|
+ /**
|
|
|
+ * Defines the period every worker gets paid in blocks.
|
|
|
+ **/
|
|
|
+ rewardPeriod: u32 & AugmentedConst<ApiType>;
|
|
|
+ /**
|
|
|
+ * Staking handler lock id.
|
|
|
+ **/
|
|
|
+ stakingHandlerLockId: LockIdentifier & AugmentedConst<ApiType>;
|
|
|
};
|
|
|
operationsWorkingGroup: {
|
|
|
/**
|
|
|
- * Exports const - max simultaneous active worker number.
|
|
|
+ * Stake needed to create an opening.
|
|
|
+ **/
|
|
|
+ leaderOpeningStake: Balance & AugmentedConst<ApiType>;
|
|
|
+ /**
|
|
|
+ * Exports const
|
|
|
+ * Max simultaneous active worker number.
|
|
|
**/
|
|
|
maxWorkerNumberLimit: u32 & AugmentedConst<ApiType>;
|
|
|
+ /**
|
|
|
+ * Minimum stake required for applying into an opening.
|
|
|
+ **/
|
|
|
+ minimumApplicationStake: Balance & AugmentedConst<ApiType>;
|
|
|
+ /**
|
|
|
+ * Defines min unstaking period in the group.
|
|
|
+ **/
|
|
|
+ minUnstakingPeriodLimit: BlockNumber & AugmentedConst<ApiType>;
|
|
|
+ /**
|
|
|
+ * Defines the period every worker gets paid in blocks.
|
|
|
+ **/
|
|
|
+ rewardPeriod: u32 & AugmentedConst<ApiType>;
|
|
|
+ /**
|
|
|
+ * Staking handler lock id.
|
|
|
+ **/
|
|
|
+ stakingHandlerLockId: LockIdentifier & AugmentedConst<ApiType>;
|
|
|
};
|
|
|
proposalsCodex: {
|
|
|
/**
|
|
@@ -237,6 +377,10 @@ declare module '@polkadot/api/types/consts' {
|
|
|
* be slashed (burned).
|
|
|
**/
|
|
|
rejectionFee: BalanceOf & AugmentedConst<ApiType>;
|
|
|
+ /**
|
|
|
+ * Exports const - staking handler lock id.
|
|
|
+ **/
|
|
|
+ stakingHandlerLockId: LockIdentifier & AugmentedConst<ApiType>;
|
|
|
/**
|
|
|
* Exports const - max allowed proposal title length.
|
|
|
**/
|
|
@@ -256,6 +400,10 @@ declare module '@polkadot/api/types/consts' {
|
|
|
* Duration of revealing stage (number of blocks)
|
|
|
**/
|
|
|
revealStageDuration: BlockNumber & AugmentedConst<ApiType>;
|
|
|
+ /**
|
|
|
+ * Exports const - staking handler lock id.
|
|
|
+ **/
|
|
|
+ stakingHandlerLockId: LockIdentifier & AugmentedConst<ApiType>;
|
|
|
/**
|
|
|
* Duration of voting stage (number of blocks)
|
|
|
**/
|
|
@@ -308,9 +456,30 @@ declare module '@polkadot/api/types/consts' {
|
|
|
};
|
|
|
storageWorkingGroup: {
|
|
|
/**
|
|
|
- * Exports const - max simultaneous active worker number.
|
|
|
+ * Stake needed to create an opening.
|
|
|
+ **/
|
|
|
+ leaderOpeningStake: Balance & AugmentedConst<ApiType>;
|
|
|
+ /**
|
|
|
+ * Exports const
|
|
|
+ * Max simultaneous active worker number.
|
|
|
**/
|
|
|
maxWorkerNumberLimit: u32 & AugmentedConst<ApiType>;
|
|
|
+ /**
|
|
|
+ * Minimum stake required for applying into an opening.
|
|
|
+ **/
|
|
|
+ minimumApplicationStake: Balance & AugmentedConst<ApiType>;
|
|
|
+ /**
|
|
|
+ * Defines min unstaking period in the group.
|
|
|
+ **/
|
|
|
+ minUnstakingPeriodLimit: BlockNumber & AugmentedConst<ApiType>;
|
|
|
+ /**
|
|
|
+ * Defines the period every worker gets paid in blocks.
|
|
|
+ **/
|
|
|
+ rewardPeriod: u32 & AugmentedConst<ApiType>;
|
|
|
+ /**
|
|
|
+ * Staking handler lock id.
|
|
|
+ **/
|
|
|
+ stakingHandlerLockId: LockIdentifier & AugmentedConst<ApiType>;
|
|
|
};
|
|
|
system: {
|
|
|
/**
|