@polkadot/api-augment 9.11.2 → 9.12.1

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/substrate/tx.d.ts CHANGED
@@ -3,7 +3,7 @@ import type { ApiTypes, AugmentedSubmittable, SubmittableExtrinsic, SubmittableE
3
3
  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
- import type { AccountId32, Call, H256, MultiAddress, Perbill, Percent } from '@polkadot/types/interfaces/runtime';
6
+ import type { AccountId32, Call, H256, MultiAddress, Perbill, Percent, Perquintill } from '@polkadot/types/interfaces/runtime';
7
7
  import type { FrameSupportPreimagesBounded, FrameSupportScheduleDispatchTime, FrameSupportTokensMiscAttributeNamespace, KitchensinkRuntimeOriginCaller, KitchensinkRuntimeProxyType, KitchensinkRuntimeSessionKeys, PalletAllianceCid, PalletAllianceDisbandWitness, PalletAllianceUnscrupulousItem, PalletContractsWasmDeterminism, PalletConvictionVotingConviction, PalletConvictionVotingVoteAccountVote, PalletDemocracyConviction, PalletDemocracyVoteAccountVote, PalletElectionProviderMultiPhaseRawSolution, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletElectionsPhragmenRenouncing, PalletIdentityBitFlags, PalletIdentityIdentityInfo, PalletIdentityJudgement, PalletImOnlineHeartbeat, PalletImOnlineSr25519AppSr25519Signature, PalletMessageQueueMockHelpersMessageOrigin, PalletMultisigTimepoint, PalletNftsCancelAttributesApprovalWitness, PalletNftsCollectionConfig, PalletNftsDestroyWitness, PalletNftsItemConfig, PalletNftsItemTip, PalletNftsMintSettings, PalletNftsMintWitness, PalletNftsPriceWithDirection, PalletNominationPoolsBondExtra, PalletNominationPoolsConfigOpAccountId32, PalletNominationPoolsConfigOpU128, PalletNominationPoolsConfigOpU32, PalletNominationPoolsPoolState, PalletSocietyJudgement, PalletStakingPalletConfigOpPerbill, PalletStakingPalletConfigOpPercent, PalletStakingPalletConfigOpU128, PalletStakingPalletConfigOpU32, PalletStakingRewardDestination, PalletStakingValidatorPrefs, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletStateTrieMigrationProgress, PalletUniquesDestroyWitness, PalletVestingVestingInfo, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusSlotsEquivocationProof, SpFinalityGrandpaEquivocationProof, SpNposElectionsElectionScore, SpNposElectionsSupport, SpRuntimeHeader, SpSessionMembershipProof, SpTransactionStorageProofTransactionStorageProof, SpWeightsWeightV2Weight } from '@polkadot/types/lookup';
8
8
  export type __AugmentedSubmittable = AugmentedSubmittable<() => unknown>;
9
9
  export type __SubmittableExtrinsic<ApiType extends ApiTypes> = SubmittableExtrinsic<ApiType>;
@@ -3753,7 +3753,7 @@ declare module '@polkadot/api-base/types/submittable' {
3753
3753
  * Clear an attribute for a collection or item.
3754
3754
  *
3755
3755
  * Origin must be either `ForceOrigin` or Signed and the sender should be the Owner of the
3756
- * `collection`.
3756
+ * attribute.
3757
3757
  *
3758
3758
  * Any deposit is freed for the collection's owner.
3759
3759
  *
@@ -4376,6 +4376,10 @@ declare module '@polkadot/api-base/types/submittable' {
4376
4376
  [key: string]: SubmittableExtrinsicFunction<ApiType>;
4377
4377
  };
4378
4378
  nis: {
4379
+ /**
4380
+ * Make a private receipt communal and create fungible counterparts for its owner.
4381
+ **/
4382
+ communify: AugmentedSubmittable<(index: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;
4379
4383
  /**
4380
4384
  * Ensure we have sufficient funding for all potential payouts.
4381
4385
  *
@@ -4396,6 +4400,10 @@ declare module '@polkadot/api-base/types/submittable' {
4396
4400
  * - `Queues[duration].len()` (just take max).
4397
4401
  **/
4398
4402
  placeBid: AugmentedSubmittable<(amount: Compact<u128> | AnyNumber | Uint8Array, duration: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>, u32]>;
4403
+ /**
4404
+ * Make a communal receipt private and burn fungible counterparts from its owner.
4405
+ **/
4406
+ privatize: AugmentedSubmittable<(index: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;
4399
4407
  /**
4400
4408
  * Retract a previously placed bid.
4401
4409
  *
@@ -4406,6 +4414,15 @@ declare module '@polkadot/api-base/types/submittable' {
4406
4414
  * - `duration`: The duration of the previous bid.
4407
4415
  **/
4408
4416
  retractBid: AugmentedSubmittable<(amount: Compact<u128> | AnyNumber | Uint8Array, duration: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>, u32]>;
4417
+ /**
4418
+ * Reduce or remove an outstanding receipt, placing the according proportion of funds into
4419
+ * the account of the owner.
4420
+ *
4421
+ * - `origin`: Must be Signed and the account must be the owner of the fungible counterpart
4422
+ * for receipt `index`.
4423
+ * - `index`: The index of the receipt.
4424
+ **/
4425
+ thawCommunal: AugmentedSubmittable<(index: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;
4409
4426
  /**
4410
4427
  * Reduce or remove an outstanding receipt, placing the according proportion of funds into
4411
4428
  * the account of the owner.
@@ -4416,7 +4433,7 @@ declare module '@polkadot/api-base/types/submittable' {
4416
4433
  * - `portion`: If `Some`, then only the given portion of the receipt should be thawed. If
4417
4434
  * `None`, then all of it should be.
4418
4435
  **/
4419
- thaw: AugmentedSubmittable<(index: Compact<u32> | AnyNumber | Uint8Array, portion: Option<u128> | null | Uint8Array | u128 | AnyNumber) => SubmittableExtrinsic<ApiType>, [Compact<u32>, Option<u128>]>;
4436
+ thawPrivate: AugmentedSubmittable<(index: Compact<u32> | AnyNumber | Uint8Array, maybeProportion: Option<Perquintill> | null | Uint8Array | Perquintill | AnyNumber) => SubmittableExtrinsic<ApiType>, [Compact<u32>, Option<Perquintill>]>;
4420
4437
  /**
4421
4438
  * Generic tx
4422
4439
  **/