@polkadot/api-augment 10.1.4 → 10.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cjs/packageInfo.js +1 -1
- package/kusama/consts.d.ts +40 -167
- package/kusama/errors.d.ts +75 -318
- package/kusama/events.d.ts +154 -379
- package/kusama/query.d.ts +47 -215
- package/kusama/runtime.d.ts +27 -31
- package/kusama/tx.d.ts +210 -1122
- package/package.json +7 -7
- package/packageInfo.js +1 -1
- package/polkadot/consts.d.ts +68 -3
- package/polkadot/errors.d.ts +180 -9
- package/polkadot/events.d.ts +238 -11
- package/polkadot/query.d.ts +88 -16
- package/polkadot/runtime.d.ts +27 -31
- package/polkadot/tx.d.ts +420 -59
- package/substrate/consts.d.ts +32 -33
- package/substrate/errors.d.ts +103 -24
- package/substrate/events.d.ts +172 -7
- package/substrate/query.d.ts +48 -8
- package/substrate/runtime.d.ts +18 -30
- package/substrate/tx.d.ts +241 -93
package/substrate/tx.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import type { Data } from '@polkadot/types';
|
|
|
4
4
|
import type { Bytes, Compact, Option, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
|
|
5
5
|
import type { AnyNumber, IMethod, ITuple } from '@polkadot/types-codec/types';
|
|
6
6
|
import type { AccountId32, Call, H256, MultiAddress, Perbill, Percent, Perquintill } from '@polkadot/types/interfaces/runtime';
|
|
7
|
-
import type { FrameSupportPreimagesBounded, FrameSupportScheduleDispatchTime, KitchensinkRuntimeOriginCaller, KitchensinkRuntimeProxyType, KitchensinkRuntimeSessionKeys, PalletAllianceCid, PalletAllianceDisbandWitness, PalletAllianceUnscrupulousItem, PalletContractsWasmDeterminism, PalletConvictionVotingConviction, PalletConvictionVotingVoteAccountVote, PalletDemocracyConviction, PalletDemocracyMetadataOwner, PalletDemocracyVoteAccountVote, PalletElectionProviderMultiPhaseRawSolution, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenRenouncing, PalletIdentityBitFlags, PalletIdentityIdentityInfo, PalletIdentityJudgement, PalletImOnlineHeartbeat, PalletImOnlineSr25519AppSr25519Signature, PalletMultisigTimepoint, PalletNftsAttributeNamespace, PalletNftsCancelAttributesApprovalWitness, PalletNftsCollectionConfig, PalletNftsDestroyWitness, PalletNftsItemConfig, PalletNftsItemTip, PalletNftsMintSettings, PalletNftsMintWitness, PalletNftsPreSignedAttributes, PalletNftsPreSignedMint, PalletNftsPriceWithDirection, PalletNominationPoolsBondExtra, PalletNominationPoolsClaimPermission, PalletNominationPoolsConfigOpAccountId32, PalletNominationPoolsConfigOpU128, PalletNominationPoolsConfigOpU32, PalletNominationPoolsPoolState, PalletSocietyJudgement, PalletStakingPalletConfigOpPerbill, PalletStakingPalletConfigOpPercent, PalletStakingPalletConfigOpU128, PalletStakingPalletConfigOpU32, PalletStakingRewardDestination, PalletStakingValidatorPrefs, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletStateTrieMigrationProgress, PalletUniquesDestroyWitness, PalletVestingVestingInfo, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusGrandpaEquivocationProof, SpConsensusSlotsEquivocationProof, SpNposElectionsElectionScore, SpNposElectionsSupport, SpRuntimeMultiSignature, SpSessionMembershipProof, SpTransactionStorageProofTransactionStorageProof, SpWeightsWeightV2Weight } from '@polkadot/types/lookup';
|
|
7
|
+
import type { FrameSupportPreimagesBounded, FrameSupportScheduleDispatchTime, KitchensinkRuntimeOriginCaller, KitchensinkRuntimeProxyType, KitchensinkRuntimeSessionKeys, PalletAllianceCid, PalletAllianceDisbandWitness, PalletAllianceUnscrupulousItem, PalletContractsWasmDeterminism, PalletConvictionVotingConviction, PalletConvictionVotingVoteAccountVote, PalletCoreFellowshipParamsType, PalletCoreFellowshipWish, PalletDemocracyConviction, PalletDemocracyMetadataOwner, PalletDemocracyVoteAccountVote, PalletElectionProviderMultiPhaseRawSolution, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenRenouncing, PalletIdentityBitFlags, PalletIdentityIdentityInfo, PalletIdentityJudgement, PalletImOnlineHeartbeat, PalletImOnlineSr25519AppSr25519Signature, PalletMultisigTimepoint, PalletNftsAttributeNamespace, PalletNftsCancelAttributesApprovalWitness, PalletNftsCollectionConfig, PalletNftsDestroyWitness, PalletNftsItemConfig, PalletNftsItemTip, PalletNftsMintSettings, PalletNftsMintWitness, PalletNftsPreSignedAttributes, PalletNftsPreSignedMint, PalletNftsPriceWithDirection, PalletNominationPoolsBondExtra, PalletNominationPoolsClaimPermission, PalletNominationPoolsCommissionChangeRate, PalletNominationPoolsConfigOpAccountId32, PalletNominationPoolsConfigOpPerbill, PalletNominationPoolsConfigOpU128, PalletNominationPoolsConfigOpU32, PalletNominationPoolsPoolState, PalletSocietyJudgement, PalletStakingPalletConfigOpPerbill, PalletStakingPalletConfigOpPercent, PalletStakingPalletConfigOpU128, PalletStakingPalletConfigOpU32, PalletStakingRewardDestination, PalletStakingValidatorPrefs, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletStateTrieMigrationProgress, PalletUniquesDestroyWitness, PalletVestingVestingInfo, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusGrandpaEquivocationProof, SpConsensusSlotsEquivocationProof, SpNposElectionsElectionScore, SpNposElectionsSupport, SpRuntimeMultiSignature, SpSessionMembershipProof, SpTransactionStorageProofTransactionStorageProof, SpWeightsWeightV2Weight } from '@polkadot/types/lookup';
|
|
8
8
|
export type __AugmentedSubmittable = AugmentedSubmittable<() => unknown>;
|
|
9
9
|
export type __SubmittableExtrinsic<ApiType extends ApiTypes> = SubmittableExtrinsic<ApiType>;
|
|
10
10
|
export type __SubmittableExtrinsicFunction<ApiType extends ApiTypes> = SubmittableExtrinsicFunction<ApiType>;
|
|
@@ -1087,11 +1087,24 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1087
1087
|
};
|
|
1088
1088
|
balances: {
|
|
1089
1089
|
/**
|
|
1090
|
-
*
|
|
1091
|
-
*
|
|
1092
|
-
*
|
|
1093
|
-
|
|
1094
|
-
|
|
1090
|
+
* Set the regular balance of a given account.
|
|
1091
|
+
*
|
|
1092
|
+
* The dispatch origin for this call is `root`.
|
|
1093
|
+
**/
|
|
1094
|
+
forceSetBalance: AugmentedSubmittable<(who: MultiAddress | {
|
|
1095
|
+
Id: any;
|
|
1096
|
+
} | {
|
|
1097
|
+
Index: any;
|
|
1098
|
+
} | {
|
|
1099
|
+
Raw: any;
|
|
1100
|
+
} | {
|
|
1101
|
+
Address32: any;
|
|
1102
|
+
} | {
|
|
1103
|
+
Address20: any;
|
|
1104
|
+
} | string | Uint8Array, newFree: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Compact<u128>]>;
|
|
1105
|
+
/**
|
|
1106
|
+
* Exactly as `transfer_allow_death`, except the origin must be root and the source account
|
|
1107
|
+
* may be specified.
|
|
1095
1108
|
**/
|
|
1096
1109
|
forceTransfer: AugmentedSubmittable<(source: MultiAddress | {
|
|
1097
1110
|
Id: any;
|
|
@@ -1131,16 +1144,14 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1131
1144
|
Address20: any;
|
|
1132
1145
|
} | string | Uint8Array, amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, u128]>;
|
|
1133
1146
|
/**
|
|
1134
|
-
* Set the
|
|
1135
|
-
*
|
|
1136
|
-
* This will alter `FreeBalance` and `ReservedBalance` in storage. it will
|
|
1137
|
-
* also alter the total issuance of the system (`TotalIssuance`) appropriately.
|
|
1138
|
-
* If the new free or reserved balance is below the existential deposit,
|
|
1139
|
-
* it will reset the account nonce (`frame_system::AccountNonce`).
|
|
1147
|
+
* Set the regular balance of a given account; it also takes a reserved balance but this
|
|
1148
|
+
* must be the same as the account's current reserved balance.
|
|
1140
1149
|
*
|
|
1141
1150
|
* The dispatch origin for this call is `root`.
|
|
1151
|
+
*
|
|
1152
|
+
* WARNING: This call is DEPRECATED! Use `force_set_balance` instead.
|
|
1142
1153
|
**/
|
|
1143
|
-
|
|
1154
|
+
setBalanceDeprecated: AugmentedSubmittable<(who: MultiAddress | {
|
|
1144
1155
|
Id: any;
|
|
1145
1156
|
} | {
|
|
1146
1157
|
Index: any;
|
|
@@ -1150,30 +1161,11 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1150
1161
|
Address32: any;
|
|
1151
1162
|
} | {
|
|
1152
1163
|
Address20: any;
|
|
1153
|
-
} | string | Uint8Array, newFree: Compact<u128> | AnyNumber | Uint8Array,
|
|
1164
|
+
} | string | Uint8Array, newFree: Compact<u128> | AnyNumber | Uint8Array, oldReserved: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Compact<u128>, Compact<u128>]>;
|
|
1154
1165
|
/**
|
|
1155
|
-
*
|
|
1166
|
+
* Alias for `transfer_allow_death`, provided only for name-wise compatibility.
|
|
1156
1167
|
*
|
|
1157
|
-
*
|
|
1158
|
-
* If the sender's account is below the existential deposit as a result
|
|
1159
|
-
* of the transfer, the account will be reaped.
|
|
1160
|
-
*
|
|
1161
|
-
* The dispatch origin for this call must be `Signed` by the transactor.
|
|
1162
|
-
*
|
|
1163
|
-
* ## Complexity
|
|
1164
|
-
* - Dependent on arguments but not critical, given proper implementations for input config
|
|
1165
|
-
* types. See related functions below.
|
|
1166
|
-
* - It contains a limited number of reads and writes internally and no complex
|
|
1167
|
-
* computation.
|
|
1168
|
-
*
|
|
1169
|
-
* Related functions:
|
|
1170
|
-
*
|
|
1171
|
-
* - `ensure_can_withdraw` is always called internally but has a bounded complexity.
|
|
1172
|
-
* - Transferring balances to accounts that did not exist before will cause
|
|
1173
|
-
* `T::OnNewAccount::on_new_account` to be called.
|
|
1174
|
-
* - Removing enough funds from an account will trigger `T::DustRemoval::on_unbalanced`.
|
|
1175
|
-
* - `transfer_keep_alive` works the same way as `transfer`, but has an additional check
|
|
1176
|
-
* that the transfer will not kill the origin account.
|
|
1168
|
+
* WARNING: DEPRECATED! Will be released in approximately 3 months.
|
|
1177
1169
|
**/
|
|
1178
1170
|
transfer: AugmentedSubmittable<(dest: MultiAddress | {
|
|
1179
1171
|
Id: any;
|
|
@@ -1201,8 +1193,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1201
1193
|
* - `keep_alive`: A boolean to determine if the `transfer_all` operation should send all
|
|
1202
1194
|
* of the funds the account has, causing the sender account to be killed (false), or
|
|
1203
1195
|
* transfer everything except at least the existential deposit, which will guarantee to
|
|
1204
|
-
* keep the sender account alive (true).
|
|
1205
|
-
* - O(1). Just like transfer, but reading the user's transferable balance first.
|
|
1196
|
+
* keep the sender account alive (true).
|
|
1206
1197
|
**/
|
|
1207
1198
|
transferAll: AugmentedSubmittable<(dest: MultiAddress | {
|
|
1208
1199
|
Id: any;
|
|
@@ -1216,12 +1207,32 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1216
1207
|
Address20: any;
|
|
1217
1208
|
} | string | Uint8Array, keepAlive: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, bool]>;
|
|
1218
1209
|
/**
|
|
1219
|
-
*
|
|
1220
|
-
*
|
|
1210
|
+
* Transfer some liquid free balance to another account.
|
|
1211
|
+
*
|
|
1212
|
+
* `transfer_allow_death` will set the `FreeBalance` of the sender and receiver.
|
|
1213
|
+
* If the sender's account is below the existential deposit as a result
|
|
1214
|
+
* of the transfer, the account will be reaped.
|
|
1215
|
+
*
|
|
1216
|
+
* The dispatch origin for this call must be `Signed` by the transactor.
|
|
1217
|
+
**/
|
|
1218
|
+
transferAllowDeath: AugmentedSubmittable<(dest: MultiAddress | {
|
|
1219
|
+
Id: any;
|
|
1220
|
+
} | {
|
|
1221
|
+
Index: any;
|
|
1222
|
+
} | {
|
|
1223
|
+
Raw: any;
|
|
1224
|
+
} | {
|
|
1225
|
+
Address32: any;
|
|
1226
|
+
} | {
|
|
1227
|
+
Address20: any;
|
|
1228
|
+
} | string | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Compact<u128>]>;
|
|
1229
|
+
/**
|
|
1230
|
+
* Same as the [`transfer_allow_death`] call, but with a check that the transfer will not
|
|
1231
|
+
* kill the origin account.
|
|
1221
1232
|
*
|
|
1222
|
-
* 99% of the time you want [`
|
|
1233
|
+
* 99% of the time you want [`transfer_allow_death`] instead.
|
|
1223
1234
|
*
|
|
1224
|
-
* [`
|
|
1235
|
+
* [`transfer_allow_death`]: struct.Pallet.html#method.transfer
|
|
1225
1236
|
**/
|
|
1226
1237
|
transferKeepAlive: AugmentedSubmittable<(dest: MultiAddress | {
|
|
1227
1238
|
Id: any;
|
|
@@ -1234,6 +1245,17 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1234
1245
|
} | {
|
|
1235
1246
|
Address20: any;
|
|
1236
1247
|
} | string | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Compact<u128>]>;
|
|
1248
|
+
/**
|
|
1249
|
+
* Upgrade a specified account.
|
|
1250
|
+
*
|
|
1251
|
+
* - `origin`: Must be `Signed`.
|
|
1252
|
+
* - `who`: The account to be upgraded.
|
|
1253
|
+
*
|
|
1254
|
+
* This will waive the transaction fee if at least all but 10% of the accounts needed to
|
|
1255
|
+
* be upgraded. (We let some not have to be upgraded just in order to allow for the
|
|
1256
|
+
* possibililty of churn).
|
|
1257
|
+
**/
|
|
1258
|
+
upgradeAccounts: AugmentedSubmittable<(who: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<AccountId32>]>;
|
|
1237
1259
|
/**
|
|
1238
1260
|
* Generic tx
|
|
1239
1261
|
**/
|
|
@@ -1705,9 +1727,9 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1705
1727
|
* the in storage version to the current
|
|
1706
1728
|
* [`InstructionWeights::version`](InstructionWeights).
|
|
1707
1729
|
*
|
|
1708
|
-
* - `determinism`: If this is set to any other value but [`Determinism::
|
|
1709
|
-
*
|
|
1710
|
-
*
|
|
1730
|
+
* - `determinism`: If this is set to any other value but [`Determinism::Enforced`] then
|
|
1731
|
+
* the only way to use this code is to delegate call into it from an offchain execution.
|
|
1732
|
+
* Set to [`Determinism::Enforced`] if in doubt.
|
|
1711
1733
|
*
|
|
1712
1734
|
* # Note
|
|
1713
1735
|
*
|
|
@@ -1716,7 +1738,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1716
1738
|
* only be instantiated by permissioned entities. The same is true when uploading
|
|
1717
1739
|
* through [`Self::instantiate_with_code`].
|
|
1718
1740
|
**/
|
|
1719
|
-
uploadCode: AugmentedSubmittable<(code: Bytes | string | Uint8Array, storageDepositLimit: Option<Compact<u128>> | null | Uint8Array | Compact<u128> | AnyNumber, determinism: PalletContractsWasmDeterminism | '
|
|
1741
|
+
uploadCode: AugmentedSubmittable<(code: Bytes | string | Uint8Array, storageDepositLimit: Option<Compact<u128>> | null | Uint8Array | Compact<u128> | AnyNumber, determinism: PalletContractsWasmDeterminism | 'Enforced' | 'Relaxed' | number | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes, Option<Compact<u128>>, PalletContractsWasmDeterminism]>;
|
|
1720
1742
|
/**
|
|
1721
1743
|
* Generic tx
|
|
1722
1744
|
**/
|
|
@@ -1882,6 +1904,102 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1882
1904
|
**/
|
|
1883
1905
|
[key: string]: SubmittableExtrinsicFunction<ApiType>;
|
|
1884
1906
|
};
|
|
1907
|
+
coreFellowship: {
|
|
1908
|
+
/**
|
|
1909
|
+
* Approve a member to continue at their rank.
|
|
1910
|
+
*
|
|
1911
|
+
* This resets `last_proof` to the current block, thereby delaying any automatic demotion.
|
|
1912
|
+
*
|
|
1913
|
+
* If `who` is not already tracked by this pallet, then it will become tracked.
|
|
1914
|
+
* `last_promotion` will be set to zero.
|
|
1915
|
+
*
|
|
1916
|
+
* - `origin`: An origin which satisfies `ApproveOrigin` or root.
|
|
1917
|
+
* - `who`: A member (i.e. of non-zero rank).
|
|
1918
|
+
* - `at_rank`: The rank of member.
|
|
1919
|
+
**/
|
|
1920
|
+
approve: AugmentedSubmittable<(who: AccountId32 | string | Uint8Array, atRank: u16 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, u16]>;
|
|
1921
|
+
/**
|
|
1922
|
+
* Bump the state of a member.
|
|
1923
|
+
*
|
|
1924
|
+
* This will demote a member whose `last_proof` is now beyond their rank's
|
|
1925
|
+
* `demotion_period`.
|
|
1926
|
+
*
|
|
1927
|
+
* - `origin`: A `Signed` origin of an account.
|
|
1928
|
+
* - `who`: A member account whose state is to be updated.
|
|
1929
|
+
**/
|
|
1930
|
+
bump: AugmentedSubmittable<(who: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;
|
|
1931
|
+
/**
|
|
1932
|
+
* Introduce an already-ranked individual of the collective into this pallet. The rank may
|
|
1933
|
+
* still be zero.
|
|
1934
|
+
*
|
|
1935
|
+
* This resets `last_proof` to the current block and `last_promotion` will be set to zero,
|
|
1936
|
+
* thereby delaying any automatic demotion but allowing immediate promotion.
|
|
1937
|
+
*
|
|
1938
|
+
* - `origin`: A signed origin of a ranked, but not tracked, account.
|
|
1939
|
+
**/
|
|
1940
|
+
import: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
|
|
1941
|
+
/**
|
|
1942
|
+
* Introduce a new and unranked candidate (rank zero).
|
|
1943
|
+
*
|
|
1944
|
+
* - `origin`: An origin which satisfies `InductOrigin` or root.
|
|
1945
|
+
* - `who`: The account ID of the candidate to be inducted and become a member.
|
|
1946
|
+
**/
|
|
1947
|
+
induct: AugmentedSubmittable<(who: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;
|
|
1948
|
+
/**
|
|
1949
|
+
* Stop tracking a prior member who is now not a ranked member of the collective.
|
|
1950
|
+
*
|
|
1951
|
+
* - `origin`: A `Signed` origin of an account.
|
|
1952
|
+
* - `who`: The ID of an account which was tracked in this pallet but which is now not a
|
|
1953
|
+
* ranked member of the collective.
|
|
1954
|
+
**/
|
|
1955
|
+
offboard: AugmentedSubmittable<(who: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;
|
|
1956
|
+
/**
|
|
1957
|
+
* Increment the rank of a ranked and tracked account.
|
|
1958
|
+
*
|
|
1959
|
+
* - `origin`: An origin which satisfies `PromoteOrigin` with a `Success` result of
|
|
1960
|
+
* `to_rank` or more or root.
|
|
1961
|
+
* - `who`: The account ID of the member to be promoted to `to_rank`.
|
|
1962
|
+
* - `to_rank`: One more than the current rank of `who`.
|
|
1963
|
+
**/
|
|
1964
|
+
promote: AugmentedSubmittable<(who: AccountId32 | string | Uint8Array, toRank: u16 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, u16]>;
|
|
1965
|
+
/**
|
|
1966
|
+
* Set whether a member is active or not.
|
|
1967
|
+
*
|
|
1968
|
+
* - `origin`: A `Signed` origin of a member's account.
|
|
1969
|
+
* - `is_active`: `true` iff the member is active.
|
|
1970
|
+
**/
|
|
1971
|
+
setActive: AugmentedSubmittable<(isActive: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [bool]>;
|
|
1972
|
+
/**
|
|
1973
|
+
* Set the parameters.
|
|
1974
|
+
*
|
|
1975
|
+
* - `origin`: A origin complying with `ParamsOrigin` or root.
|
|
1976
|
+
* - `params`: The new parameters for the pallet.
|
|
1977
|
+
**/
|
|
1978
|
+
setParams: AugmentedSubmittable<(params: PalletCoreFellowshipParamsType | {
|
|
1979
|
+
activeSalary?: any;
|
|
1980
|
+
passiveSalary?: any;
|
|
1981
|
+
demotionPeriod?: any;
|
|
1982
|
+
minPromotionPeriod?: any;
|
|
1983
|
+
offboardTimeout?: any;
|
|
1984
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletCoreFellowshipParamsType]>;
|
|
1985
|
+
/**
|
|
1986
|
+
* Provide evidence that a rank is deserved.
|
|
1987
|
+
*
|
|
1988
|
+
* This is free as long as no evidence for the forthcoming judgement is already submitted.
|
|
1989
|
+
* Evidence is cleared after an outcome (either demotion, promotion of approval).
|
|
1990
|
+
*
|
|
1991
|
+
* - `origin`: A `Signed` origin of an inducted and ranked account.
|
|
1992
|
+
* - `wish`: The stated desire of the member.
|
|
1993
|
+
* - `evidence`: A dump of evidence to be considered. This should generally be either a
|
|
1994
|
+
* Markdown-encoded document or a series of 32-byte hashes which can be found on a
|
|
1995
|
+
* decentralised content-based-indexing system such as IPFS.
|
|
1996
|
+
**/
|
|
1997
|
+
submitEvidence: AugmentedSubmittable<(wish: PalletCoreFellowshipWish | 'Retention' | 'Promotion' | number | Uint8Array, evidence: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletCoreFellowshipWish, Bytes]>;
|
|
1998
|
+
/**
|
|
1999
|
+
* Generic tx
|
|
2000
|
+
**/
|
|
2001
|
+
[key: string]: SubmittableExtrinsicFunction<ApiType>;
|
|
2002
|
+
};
|
|
1885
2003
|
council: {
|
|
1886
2004
|
/**
|
|
1887
2005
|
* Close a vote that is either approved, disapproved or whose voting period has ended.
|
|
@@ -3446,31 +3564,17 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3446
3564
|
/**
|
|
3447
3565
|
* Destroy a single item.
|
|
3448
3566
|
*
|
|
3449
|
-
*
|
|
3450
|
-
*
|
|
3451
|
-
* - the Owner of the `item`;
|
|
3567
|
+
* The origin must conform to `ForceOrigin` or must be Signed and the signing account must
|
|
3568
|
+
* be the owner of the `item`.
|
|
3452
3569
|
*
|
|
3453
3570
|
* - `collection`: The collection of the item to be burned.
|
|
3454
3571
|
* - `item`: The item to be burned.
|
|
3455
|
-
* - `check_owner`: If `Some` then the operation will fail with `WrongOwner` unless the
|
|
3456
|
-
* item is owned by this value.
|
|
3457
3572
|
*
|
|
3458
|
-
* Emits `Burned
|
|
3573
|
+
* Emits `Burned`.
|
|
3459
3574
|
*
|
|
3460
3575
|
* Weight: `O(1)`
|
|
3461
|
-
* Modes: `check_owner.is_some()`.
|
|
3462
3576
|
**/
|
|
3463
|
-
burn: AugmentedSubmittable<(collection: u32 | AnyNumber | Uint8Array, item: u32 | AnyNumber | Uint8Array
|
|
3464
|
-
Id: any;
|
|
3465
|
-
} | {
|
|
3466
|
-
Index: any;
|
|
3467
|
-
} | {
|
|
3468
|
-
Raw: any;
|
|
3469
|
-
} | {
|
|
3470
|
-
Address32: any;
|
|
3471
|
-
} | {
|
|
3472
|
-
Address20: any;
|
|
3473
|
-
} | string) => SubmittableExtrinsic<ApiType>, [u32, u32, Option<MultiAddress>]>;
|
|
3577
|
+
burn: AugmentedSubmittable<(collection: u32 | AnyNumber | Uint8Array, item: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32]>;
|
|
3474
3578
|
/**
|
|
3475
3579
|
* Allows to buy an item if it's up for sale.
|
|
3476
3580
|
*
|
|
@@ -3488,7 +3592,6 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3488
3592
|
*
|
|
3489
3593
|
* Origin must be either:
|
|
3490
3594
|
* - the `Force` origin;
|
|
3491
|
-
* - `Signed` with the signer being the Admin of the `collection`;
|
|
3492
3595
|
* - `Signed` with the signer being the Owner of the `item`;
|
|
3493
3596
|
*
|
|
3494
3597
|
* Arguments:
|
|
@@ -3571,7 +3674,6 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3571
3674
|
*
|
|
3572
3675
|
* Origin must be either:
|
|
3573
3676
|
* - the `Force` origin;
|
|
3574
|
-
* - `Signed` with the signer being the Admin of the `collection`;
|
|
3575
3677
|
* - `Signed` with the signer being the Owner of the `item`;
|
|
3576
3678
|
*
|
|
3577
3679
|
* Arguments:
|
|
@@ -3612,7 +3714,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3612
3714
|
/**
|
|
3613
3715
|
* Clear the metadata for a collection.
|
|
3614
3716
|
*
|
|
3615
|
-
* Origin must be either `ForceOrigin` or `Signed` and the sender should be the
|
|
3717
|
+
* Origin must be either `ForceOrigin` or `Signed` and the sender should be the Admin of
|
|
3616
3718
|
* the `collection`.
|
|
3617
3719
|
*
|
|
3618
3720
|
* Any deposit is freed for the collection's owner.
|
|
@@ -3627,7 +3729,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3627
3729
|
/**
|
|
3628
3730
|
* Clear the metadata for an item.
|
|
3629
3731
|
*
|
|
3630
|
-
* Origin must be either `ForceOrigin` or Signed and the sender should be the
|
|
3732
|
+
* Origin must be either `ForceOrigin` or Signed and the sender should be the Admin of the
|
|
3631
3733
|
* `collection`.
|
|
3632
3734
|
*
|
|
3633
3735
|
* Any deposit is freed for the collection's owner.
|
|
@@ -3700,20 +3802,22 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3700
3802
|
* The origin must conform to `ForceOrigin` or must be `Signed` and the sender must be the
|
|
3701
3803
|
* owner of the `collection`.
|
|
3702
3804
|
*
|
|
3805
|
+
* NOTE: The collection must have 0 items to be destroyed.
|
|
3806
|
+
*
|
|
3703
3807
|
* - `collection`: The identifier of the collection to be destroyed.
|
|
3704
3808
|
* - `witness`: Information on the items minted in the collection. This must be
|
|
3705
3809
|
* correct.
|
|
3706
3810
|
*
|
|
3707
3811
|
* Emits `Destroyed` event when successful.
|
|
3708
3812
|
*
|
|
3709
|
-
* Weight: `O(
|
|
3710
|
-
* - `n = witness.items`
|
|
3813
|
+
* Weight: `O(m + c + a)` where:
|
|
3711
3814
|
* - `m = witness.item_metadatas`
|
|
3815
|
+
* - `c = witness.item_configs`
|
|
3712
3816
|
* - `a = witness.attributes`
|
|
3713
3817
|
**/
|
|
3714
3818
|
destroy: AugmentedSubmittable<(collection: u32 | AnyNumber | Uint8Array, witness: PalletNftsDestroyWitness | {
|
|
3715
|
-
items?: any;
|
|
3716
3819
|
itemMetadatas?: any;
|
|
3820
|
+
itemConfigs?: any;
|
|
3717
3821
|
attributes?: any;
|
|
3718
3822
|
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletNftsDestroyWitness]>;
|
|
3719
3823
|
/**
|
|
@@ -3847,12 +3951,13 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3847
3951
|
/**
|
|
3848
3952
|
* Disallows specified settings for the whole collection.
|
|
3849
3953
|
*
|
|
3850
|
-
* Origin must be Signed and the sender should be the
|
|
3954
|
+
* Origin must be Signed and the sender should be the Owner of the `collection`.
|
|
3851
3955
|
*
|
|
3852
3956
|
* - `collection`: The collection to be locked.
|
|
3853
3957
|
* - `lock_settings`: The settings to be locked.
|
|
3854
3958
|
*
|
|
3855
3959
|
* Note: it's possible to only lock(set) the setting, but not to unset it.
|
|
3960
|
+
*
|
|
3856
3961
|
* Emits `CollectionLocked`.
|
|
3857
3962
|
*
|
|
3858
3963
|
* Weight: `O(1)`
|
|
@@ -3861,8 +3966,8 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3861
3966
|
/**
|
|
3862
3967
|
* Disallows changing the metadata or attributes of the item.
|
|
3863
3968
|
*
|
|
3864
|
-
* Origin must be either `ForceOrigin` or Signed and the sender should be the
|
|
3865
|
-
* `collection`.
|
|
3969
|
+
* Origin must be either `ForceOrigin` or Signed and the sender should be the Admin
|
|
3970
|
+
* of the `collection`.
|
|
3866
3971
|
*
|
|
3867
3972
|
* - `collection`: The collection if the `item`.
|
|
3868
3973
|
* - `item`: An item to be locked.
|
|
@@ -3870,8 +3975,8 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3870
3975
|
* - `lock_attributes`: Specifies whether the attributes in the `CollectionOwner` namespace
|
|
3871
3976
|
* should be locked.
|
|
3872
3977
|
*
|
|
3873
|
-
* Note: `lock_attributes` affects the attributes in the `CollectionOwner` namespace
|
|
3874
|
-
*
|
|
3978
|
+
* Note: `lock_attributes` affects the attributes in the `CollectionOwner` namespace only.
|
|
3979
|
+
* When the metadata or attributes are locked, it won't be possible the unlock them.
|
|
3875
3980
|
*
|
|
3876
3981
|
* Emits `ItemPropertiesLocked`.
|
|
3877
3982
|
*
|
|
@@ -3894,7 +3999,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3894
3999
|
/**
|
|
3895
4000
|
* Mint an item of a particular collection.
|
|
3896
4001
|
*
|
|
3897
|
-
* The origin must be Signed and the sender must
|
|
4002
|
+
* The origin must be Signed and the sender must comply with the `mint_settings` rules.
|
|
3898
4003
|
*
|
|
3899
4004
|
* - `collection`: The collection of the item to be minted.
|
|
3900
4005
|
* - `item`: An identifier of the new item.
|
|
@@ -3930,7 +4035,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
3930
4035
|
* its metadata, attributes, who can mint it (`None` for anyone) and until what block
|
|
3931
4036
|
* number.
|
|
3932
4037
|
* - `signature`: The signature of the `data` object.
|
|
3933
|
-
* - `signer`: The `data` object's signer. Should be an
|
|
4038
|
+
* - `signer`: The `data` object's signer. Should be an Issuer of the collection.
|
|
3934
4039
|
*
|
|
3935
4040
|
* Emits `Issued` on success.
|
|
3936
4041
|
* Emits `AttributeSet` if the attributes were provided.
|
|
@@ -4002,7 +4107,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4002
4107
|
* Set an attribute for a collection or item.
|
|
4003
4108
|
*
|
|
4004
4109
|
* Origin must be Signed and must conform to the namespace ruleset:
|
|
4005
|
-
* - `CollectionOwner` namespace could be modified by the `collection`
|
|
4110
|
+
* - `CollectionOwner` namespace could be modified by the `collection` Admin only;
|
|
4006
4111
|
* - `ItemOwner` namespace could be modified by the `maybe_item` owner only. `maybe_item`
|
|
4007
4112
|
* should be set in that case;
|
|
4008
4113
|
* - `Account(AccountId)` namespace could be modified only when the `origin` was given a
|
|
@@ -4039,7 +4144,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4039
4144
|
* - `data`: The pre-signed approval that consists of the information about the item,
|
|
4040
4145
|
* attributes to update and until what block number.
|
|
4041
4146
|
* - `signature`: The signature of the `data` object.
|
|
4042
|
-
* - `signer`: The `data` object's signer. Should be an
|
|
4147
|
+
* - `signer`: The `data` object's signer. Should be an Admin of the collection for the
|
|
4043
4148
|
* `CollectionOwner` namespace.
|
|
4044
4149
|
*
|
|
4045
4150
|
* Emits `AttributeSet` for each provided attribute.
|
|
@@ -4074,7 +4179,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4074
4179
|
/**
|
|
4075
4180
|
* Set the metadata for a collection.
|
|
4076
4181
|
*
|
|
4077
|
-
* Origin must be either `ForceOrigin` or `Signed` and the sender should be the
|
|
4182
|
+
* Origin must be either `ForceOrigin` or `Signed` and the sender should be the Admin of
|
|
4078
4183
|
* the `collection`.
|
|
4079
4184
|
*
|
|
4080
4185
|
* If the origin is `Signed`, then funds of signer are reserved according to the formula:
|
|
@@ -4092,7 +4197,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4092
4197
|
/**
|
|
4093
4198
|
* Set the metadata for an item.
|
|
4094
4199
|
*
|
|
4095
|
-
* Origin must be either `ForceOrigin` or Signed and the sender should be the
|
|
4200
|
+
* Origin must be either `ForceOrigin` or Signed and the sender should be the Admin of the
|
|
4096
4201
|
* `collection`.
|
|
4097
4202
|
*
|
|
4098
4203
|
* If the origin is Signed, then funds of signer are reserved according to the formula:
|
|
@@ -4111,7 +4216,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4111
4216
|
/**
|
|
4112
4217
|
* Set (or reset) the price for an item.
|
|
4113
4218
|
*
|
|
4114
|
-
* Origin must be Signed and must be the owner of the
|
|
4219
|
+
* Origin must be Signed and must be the owner of the `item`.
|
|
4115
4220
|
*
|
|
4116
4221
|
* - `collection`: The collection of the item.
|
|
4117
4222
|
* - `item`: The item to set the price for.
|
|
@@ -4138,6 +4243,9 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4138
4243
|
* Origin must be either `ForceOrigin` or Signed and the sender should be the Owner of the
|
|
4139
4244
|
* `collection`.
|
|
4140
4245
|
*
|
|
4246
|
+
* Note: by setting the role to `None` only the `ForceOrigin` will be able to change it
|
|
4247
|
+
* after to `Some(account)`.
|
|
4248
|
+
*
|
|
4141
4249
|
* - `collection`: The collection whose team should be changed.
|
|
4142
4250
|
* - `issuer`: The new Issuer of this collection.
|
|
4143
4251
|
* - `admin`: The new Admin of this collection.
|
|
@@ -4147,7 +4255,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4147
4255
|
*
|
|
4148
4256
|
* Weight: `O(1)`
|
|
4149
4257
|
**/
|
|
4150
|
-
setTeam: AugmentedSubmittable<(collection: u32 | AnyNumber | Uint8Array, issuer: MultiAddress | {
|
|
4258
|
+
setTeam: AugmentedSubmittable<(collection: u32 | AnyNumber | Uint8Array, issuer: Option<MultiAddress> | null | Uint8Array | MultiAddress | {
|
|
4151
4259
|
Id: any;
|
|
4152
4260
|
} | {
|
|
4153
4261
|
Index: any;
|
|
@@ -4157,7 +4265,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4157
4265
|
Address32: any;
|
|
4158
4266
|
} | {
|
|
4159
4267
|
Address20: any;
|
|
4160
|
-
} | string | Uint8Array
|
|
4268
|
+
} | string, admin: Option<MultiAddress> | null | Uint8Array | MultiAddress | {
|
|
4161
4269
|
Id: any;
|
|
4162
4270
|
} | {
|
|
4163
4271
|
Index: any;
|
|
@@ -4167,7 +4275,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4167
4275
|
Address32: any;
|
|
4168
4276
|
} | {
|
|
4169
4277
|
Address20: any;
|
|
4170
|
-
} | string | Uint8Array
|
|
4278
|
+
} | string, freezer: Option<MultiAddress> | null | Uint8Array | MultiAddress | {
|
|
4171
4279
|
Id: any;
|
|
4172
4280
|
} | {
|
|
4173
4281
|
Index: any;
|
|
@@ -4177,12 +4285,11 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4177
4285
|
Address32: any;
|
|
4178
4286
|
} | {
|
|
4179
4287
|
Address20: any;
|
|
4180
|
-
} | string
|
|
4288
|
+
} | string) => SubmittableExtrinsic<ApiType>, [u32, Option<MultiAddress>, Option<MultiAddress>, Option<MultiAddress>]>;
|
|
4181
4289
|
/**
|
|
4182
4290
|
* Move an item from the sender account to another.
|
|
4183
4291
|
*
|
|
4184
4292
|
* Origin must be Signed and the signing account must be either:
|
|
4185
|
-
* - the Admin of the `collection`;
|
|
4186
4293
|
* - the Owner of the `item`;
|
|
4187
4294
|
* - the approved delegate for the `item` (in this case, the approval is reset).
|
|
4188
4295
|
*
|
|
@@ -4246,8 +4353,8 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4246
4353
|
/**
|
|
4247
4354
|
* Update mint settings.
|
|
4248
4355
|
*
|
|
4249
|
-
* Origin must be either `ForceOrigin` or `Signed` and the sender should be the
|
|
4250
|
-
* the `collection`.
|
|
4356
|
+
* Origin must be either `ForceOrigin` or `Signed` and the sender should be the Issuer
|
|
4357
|
+
* of the `collection`.
|
|
4251
4358
|
*
|
|
4252
4359
|
* - `collection`: The identifier of the collection to change.
|
|
4253
4360
|
* - `mint_settings`: The new mint settings.
|
|
@@ -4381,9 +4488,17 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4381
4488
|
* account.
|
|
4382
4489
|
**/
|
|
4383
4490
|
chill: AugmentedSubmittable<(poolId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
|
4491
|
+
/**
|
|
4492
|
+
* Claim pending commission.
|
|
4493
|
+
*
|
|
4494
|
+
* The dispatch origin of this call must be signed by the `root` role of the pool. Pending
|
|
4495
|
+
* commission is paid out and added to total claimed commission`. Total pending commission
|
|
4496
|
+
* is reset to zero. the current.
|
|
4497
|
+
**/
|
|
4498
|
+
claimCommission: AugmentedSubmittable<(poolId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
|
4384
4499
|
/**
|
|
4385
4500
|
* A bonded member can use this to claim their payout based on the rewards that the pool
|
|
4386
|
-
* has accumulated since their last claimed payout (OR since joining if this is
|
|
4501
|
+
* has accumulated since their last claimed payout (OR since joining if this is their first
|
|
4387
4502
|
* time claiming rewards). The payout will be transferred to the member's account.
|
|
4388
4503
|
*
|
|
4389
4504
|
* The member will earn rewards pro rata based on the members stake vs the sum of the
|
|
@@ -4535,6 +4650,32 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4535
4650
|
* * `actor` - Account to claim reward. // improve this
|
|
4536
4651
|
**/
|
|
4537
4652
|
setClaimPermission: AugmentedSubmittable<(permission: PalletNominationPoolsClaimPermission | 'Permissioned' | 'PermissionlessCompound' | 'PermissionlessWithdraw' | 'PermissionlessAll' | number | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletNominationPoolsClaimPermission]>;
|
|
4653
|
+
/**
|
|
4654
|
+
* Set the commission of a pool.
|
|
4655
|
+
* Both a commission percentage and a commission payee must be provided in the `current`
|
|
4656
|
+
* tuple. Where a `current` of `None` is provided, any current commission will be removed.
|
|
4657
|
+
*
|
|
4658
|
+
* - If a `None` is supplied to `new_commission`, existing commission will be removed.
|
|
4659
|
+
**/
|
|
4660
|
+
setCommission: AugmentedSubmittable<(poolId: u32 | AnyNumber | Uint8Array, newCommission: Option<ITuple<[Perbill, AccountId32]>> | null | Uint8Array | ITuple<[Perbill, AccountId32]> | [Perbill | AnyNumber | Uint8Array, AccountId32 | string | Uint8Array]) => SubmittableExtrinsic<ApiType>, [u32, Option<ITuple<[Perbill, AccountId32]>>]>;
|
|
4661
|
+
/**
|
|
4662
|
+
* Set the commission change rate for a pool.
|
|
4663
|
+
*
|
|
4664
|
+
* Initial change rate is not bounded, whereas subsequent updates can only be more
|
|
4665
|
+
* restrictive than the current.
|
|
4666
|
+
**/
|
|
4667
|
+
setCommissionChangeRate: AugmentedSubmittable<(poolId: u32 | AnyNumber | Uint8Array, changeRate: PalletNominationPoolsCommissionChangeRate | {
|
|
4668
|
+
maxIncrease?: any;
|
|
4669
|
+
minDelay?: any;
|
|
4670
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PalletNominationPoolsCommissionChangeRate]>;
|
|
4671
|
+
/**
|
|
4672
|
+
* Set the maximum commission of a pool.
|
|
4673
|
+
*
|
|
4674
|
+
* - Initial max can be set to any `Perbill`, and only smaller values thereafter.
|
|
4675
|
+
* - Current commission will be lowered in the event it is higher than a new max
|
|
4676
|
+
* commission.
|
|
4677
|
+
**/
|
|
4678
|
+
setCommissionMax: AugmentedSubmittable<(poolId: u32 | AnyNumber | Uint8Array, maxCommission: Perbill | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, Perbill]>;
|
|
4538
4679
|
/**
|
|
4539
4680
|
* Update configurations for the nomination pools. The origin for this call must be
|
|
4540
4681
|
* Root.
|
|
@@ -4546,6 +4687,7 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4546
4687
|
* * `max_pools` - Set [`MaxPools`].
|
|
4547
4688
|
* * `max_members` - Set [`MaxPoolMembers`].
|
|
4548
4689
|
* * `max_members_per_pool` - Set [`MaxPoolMembersPerPool`].
|
|
4690
|
+
* * `global_max_commission` - Set [`GlobalMaxCommission`].
|
|
4549
4691
|
**/
|
|
4550
4692
|
setConfigs: AugmentedSubmittable<(minJoinBond: PalletNominationPoolsConfigOpU128 | {
|
|
4551
4693
|
Noop: any;
|
|
@@ -4577,12 +4719,18 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
4577
4719
|
Set: any;
|
|
4578
4720
|
} | {
|
|
4579
4721
|
Remove: any;
|
|
4580
|
-
} | string | Uint8Array
|
|
4722
|
+
} | string | Uint8Array, globalMaxCommission: PalletNominationPoolsConfigOpPerbill | {
|
|
4723
|
+
Noop: any;
|
|
4724
|
+
} | {
|
|
4725
|
+
Set: any;
|
|
4726
|
+
} | {
|
|
4727
|
+
Remove: any;
|
|
4728
|
+
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletNominationPoolsConfigOpU128, PalletNominationPoolsConfigOpU128, PalletNominationPoolsConfigOpU32, PalletNominationPoolsConfigOpU32, PalletNominationPoolsConfigOpU32, PalletNominationPoolsConfigOpPerbill]>;
|
|
4581
4729
|
/**
|
|
4582
4730
|
* Set a new metadata for the pool.
|
|
4583
4731
|
*
|
|
4584
|
-
* The dispatch origin of this call must be signed by the bouncer, or the root role
|
|
4585
|
-
*
|
|
4732
|
+
* The dispatch origin of this call must be signed by the bouncer, or the root role of the
|
|
4733
|
+
* pool.
|
|
4586
4734
|
**/
|
|
4587
4735
|
setMetadata: AugmentedSubmittable<(poolId: u32 | AnyNumber | Uint8Array, metadata: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, Bytes]>;
|
|
4588
4736
|
/**
|