@@ -276,6 +276,19 @@ declare module '@polkadot/api-base/types/submittable' {
276276 * Weight: `O(1)`
277277 **/
278278 approveTransfer : AugmentedSubmittable < ( id : Compact < u32 > | AnyNumber | Uint8Array , delegate : MultiAddress | { Id : any } | { Index : any } | { Raw : any } | { Address32 : any } | { Address20 : any } | string | Uint8Array , amount : Compact < u128 > | AnyNumber | Uint8Array ) => SubmittableExtrinsic < ApiType > , [ Compact < u32 > , MultiAddress , Compact < u128 > ] > ;
279+ /**
280+ * Disallow further unprivileged transfers of an asset `id` to and from an account `who`.
281+ *
282+ * Origin must be Signed and the sender should be the Freezer of the asset `id`.
283+ *
284+ * - `id`: The identifier of the account's asset.
285+ * - `who`: The account to be unblocked.
286+ *
287+ * Emits `Blocked`.
288+ *
289+ * Weight: `O(1)`
290+ **/
291+ block : AugmentedSubmittable < ( id : Compact < u32 > | AnyNumber | Uint8Array , who : MultiAddress | { Id : any } | { Index : any } | { Raw : any } | { Address32 : any } | { Address20 : any } | string | Uint8Array ) => SubmittableExtrinsic < ApiType > , [ Compact < u32 > , MultiAddress ] > ;
279292 /**
280293 * Reduce the balance of `who` by as much as possible up to `amount` assets of `id`.
281294 *
@@ -506,7 +519,9 @@ declare module '@polkadot/api-base/types/submittable' {
506519 **/
507520 forceTransfer : AugmentedSubmittable < ( id : Compact < u32 > | AnyNumber | Uint8Array , source : MultiAddress | { Id : any } | { Index : any } | { Raw : any } | { Address32 : any } | { Address20 : any } | string | Uint8Array , dest : MultiAddress | { Id : any } | { Index : any } | { Raw : any } | { Address32 : any } | { Address20 : any } | string | Uint8Array , amount : Compact < u128 > | AnyNumber | Uint8Array ) => SubmittableExtrinsic < ApiType > , [ Compact < u32 > , MultiAddress , MultiAddress , Compact < u128 > ] > ;
508521 /**
509- * Disallow further unprivileged transfers from an account.
522+ * Disallow further unprivileged transfers of an asset `id` from an account `who`. `who`
523+ * must already exist as an entry in `Account`s of the asset. If you want to freeze an
524+ * account that does not have an entry, use `touch_other` first.
510525 *
511526 * Origin must be Signed and the sender should be the Freezer of the asset `id`.
512527 *
@@ -546,16 +561,31 @@ declare module '@polkadot/api-base/types/submittable' {
546561 **/
547562 mint : AugmentedSubmittable < ( id : Compact < u32 > | AnyNumber | Uint8Array , beneficiary : MultiAddress | { Id : any } | { Index : any } | { Raw : any } | { Address32 : any } | { Address20 : any } | string | Uint8Array , amount : Compact < u128 > | AnyNumber | Uint8Array ) => SubmittableExtrinsic < ApiType > , [ Compact < u32 > , MultiAddress , Compact < u128 > ] > ;
548563 /**
549- * Return the deposit (if any) of an asset account.
564+ * Return the deposit (if any) of an asset account or a consumer reference (if any) of an
565+ * account.
550566 *
551567 * The origin must be Signed.
552568 *
553- * - `id`: The identifier of the asset for the account to be created.
569+ * - `id`: The identifier of the asset for which the caller would like the deposit
570+ * refunded.
554571 * - `allow_burn`: If `true` then assets may be destroyed in order to complete the refund.
555572 *
556573 * Emits `Refunded` event when successful.
557574 **/
558575 refund : AugmentedSubmittable < ( id : Compact < u32 > | AnyNumber | Uint8Array , allowBurn : bool | boolean | Uint8Array ) => SubmittableExtrinsic < ApiType > , [ Compact < u32 > , bool ] > ;
576+ /**
577+ * Return the deposit (if any) of a target asset account. Useful if you are the depositor.
578+ *
579+ * The origin must be Signed and either the account owner, depositor, or asset `Admin`. In
580+ * order to burn a non-zero balance of the asset, the caller must be the account and should
581+ * use `refund`.
582+ *
583+ * - `id`: The identifier of the asset for the account holding a deposit.
584+ * - `who`: The account to refund.
585+ *
586+ * Emits `Refunded` event when successful.
587+ **/
588+ refundOther : AugmentedSubmittable < ( id : Compact < u32 > | AnyNumber | Uint8Array , who : MultiAddress | { Id : any } | { Index : any } | { Raw : any } | { Address32 : any } | { Address20 : any } | string | Uint8Array ) => SubmittableExtrinsic < ApiType > , [ Compact < u32 > , MultiAddress ] > ;
559589 /**
560590 * Set the metadata for an asset.
561591 *
@@ -620,7 +650,7 @@ declare module '@polkadot/api-base/types/submittable' {
620650 **/
621651 startDestroy : AugmentedSubmittable < ( id : Compact < u32 > | AnyNumber | Uint8Array ) => SubmittableExtrinsic < ApiType > , [ Compact < u32 > ] > ;
622652 /**
623- * Allow unprivileged transfers from an account again.
653+ * Allow unprivileged transfers to and from an account again.
624654 *
625655 * Origin must be Signed and the sender should be the Admin of the asset `id`.
626656 *
@@ -656,6 +686,19 @@ declare module '@polkadot/api-base/types/submittable' {
656686 * Emits `Touched` event when successful.
657687 **/
658688 touch : AugmentedSubmittable < ( id : Compact < u32 > | AnyNumber | Uint8Array ) => SubmittableExtrinsic < ApiType > , [ Compact < u32 > ] > ;
689+ /**
690+ * Create an asset account for `who`.
691+ *
692+ * A deposit will be taken from the signer account.
693+ *
694+ * - `origin`: Must be Signed by `Freezer` or `Admin` of the asset `id`; the signer account
695+ * must have sufficient funds for a deposit to be taken.
696+ * - `id`: The identifier of the asset for the account to be created.
697+ * - `who`: The account to be created.
698+ *
699+ * Emits `Touched` event when successful.
700+ **/
701+ touchOther : AugmentedSubmittable < ( id : Compact < u32 > | AnyNumber | Uint8Array , who : MultiAddress | { Id : any } | { Index : any } | { Raw : any } | { Address32 : any } | { Address20 : any } | string | Uint8Array ) => SubmittableExtrinsic < ApiType > , [ Compact < u32 > , MultiAddress ] > ;
659702 /**
660703 * Move some assets from the sender account to another.
661704 *
@@ -4580,7 +4623,7 @@ declare module '@polkadot/api-base/types/submittable' {
45804623 * NOTE: Two of the storage writes (`Self::bonded`, `Self::payee`) are _never_ cleaned
45814624 * unless the `origin` falls below _existential deposit_ and gets removed as dust.
45824625 **/
4583- bond : AugmentedSubmittable < ( controller : MultiAddress | { Id : any } | { Index : any } | { Raw : any } | { Address32 : any } | { Address20 : any } | string | Uint8Array , value : Compact < u128 > | AnyNumber | Uint8Array , payee : PalletStakingRewardDestination | { Staked : any } | { Stash : any } | { Controller : any } | { Account : any } | { None : any } | string | Uint8Array ) => SubmittableExtrinsic < ApiType > , [ MultiAddress , Compact < u128 > , PalletStakingRewardDestination ] > ;
4626+ bond : AugmentedSubmittable < ( value : Compact < u128 > | AnyNumber | Uint8Array , payee : PalletStakingRewardDestination | { Staked : any } | { Stash : any } | { Controller : any } | { Account : any } | { None : any } | string | Uint8Array ) => SubmittableExtrinsic < ApiType > , [ Compact < u128 > , PalletStakingRewardDestination ] > ;
45844627 /**
45854628 * Add some extra amount that have appeared in the stash `free_balance` into the balance up
45864629 * for staking.
@@ -4792,7 +4835,10 @@ declare module '@polkadot/api-base/types/submittable' {
47924835 **/
47934836 scaleValidatorCount : AugmentedSubmittable < ( factor : Percent | AnyNumber | Uint8Array ) => SubmittableExtrinsic < ApiType > , [ Percent ] > ;
47944837 /**
4795- * (Re-)set the controller of a stash.
4838+ * (Re-)sets the controller of a stash to the stash itself. This function previously
4839+ * accepted a `controller` argument to set the controller to an account other than the
4840+ * stash itself. This functionality has now been removed, now only setting the controller
4841+ * to the stash, if it is not already.
47964842 *
47974843 * Effects will be felt instantly (as soon as this function is completed successfully).
47984844 *
@@ -4804,7 +4850,7 @@ declare module '@polkadot/api-base/types/submittable' {
48044850 * - Contains a limited number of reads.
48054851 * - Writes are limited to the `origin` account key.
48064852 **/
4807- setController : AugmentedSubmittable < ( controller : MultiAddress | { Id : any } | { Index : any } | { Raw : any } | { Address32 : any } | { Address20 : any } | string | Uint8Array ) => SubmittableExtrinsic < ApiType > , [ MultiAddress ] > ;
4853+ setController : AugmentedSubmittable < ( ) => SubmittableExtrinsic < ApiType > , [ ] > ;
48084854 /**
48094855 * Set the validators who cannot be slashed (if any).
48104856 *
@@ -5043,7 +5089,6 @@ declare module '@polkadot/api-base/types/submittable' {
50435089 /**
50445090 * Make some on-chain remark.
50455091 *
5046- * ## Complexity
50475092 * - `O(1)`
50485093 **/
50495094 remark : AugmentedSubmittable < ( remark : Bytes | string | Uint8Array ) => SubmittableExtrinsic < ApiType > , [ Bytes ] > ;
@@ -5053,16 +5098,10 @@ declare module '@polkadot/api-base/types/submittable' {
50535098 remarkWithEvent : AugmentedSubmittable < ( remark : Bytes | string | Uint8Array ) => SubmittableExtrinsic < ApiType > , [ Bytes ] > ;
50545099 /**
50555100 * Set the new runtime code.
5056- *
5057- * ## Complexity
5058- * - `O(C + S)` where `C` length of `code` and `S` complexity of `can_set_code`
50595101 **/
50605102 setCode : AugmentedSubmittable < ( code : Bytes | string | Uint8Array ) => SubmittableExtrinsic < ApiType > , [ Bytes ] > ;
50615103 /**
50625104 * Set the new runtime code without doing any checks of the given `code`.
5063- *
5064- * ## Complexity
5065- * - `O(C)` where `C` length of `code`
50665105 **/
50675106 setCodeWithoutChecks : AugmentedSubmittable < ( code : Bytes | string | Uint8Array ) => SubmittableExtrinsic < ApiType > , [ Bytes ] > ;
50685107 /**
0 commit comments