@@ -273,6 +273,19 @@ declare module 'https://deno.land/x/polkadot/api-base/types/submittable.ts' {
273273 * Weight: `O(1)`
274274 **/
275275 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 > ] > ;
276+ /**
277+ * Disallow further unprivileged transfers of an asset `id` to and from an account `who`.
278+ *
279+ * Origin must be Signed and the sender should be the Freezer of the asset `id`.
280+ *
281+ * - `id`: The identifier of the account's asset.
282+ * - `who`: The account to be unblocked.
283+ *
284+ * Emits `Blocked`.
285+ *
286+ * Weight: `O(1)`
287+ **/
288+ 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 ] > ;
276289 /**
277290 * Reduce the balance of `who` by as much as possible up to `amount` assets of `id`.
278291 *
@@ -503,7 +516,9 @@ declare module 'https://deno.land/x/polkadot/api-base/types/submittable.ts' {
503516 **/
504517 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 > ] > ;
505518 /**
506- * Disallow further unprivileged transfers from an account.
519+ * Disallow further unprivileged transfers of an asset `id` from an account `who`. `who`
520+ * must already exist as an entry in `Account`s of the asset. If you want to freeze an
521+ * account that does not have an entry, use `touch_other` first.
507522 *
508523 * Origin must be Signed and the sender should be the Freezer of the asset `id`.
509524 *
@@ -543,16 +558,31 @@ declare module 'https://deno.land/x/polkadot/api-base/types/submittable.ts' {
543558 **/
544559 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 > ] > ;
545560 /**
546- * Return the deposit (if any) of an asset account.
561+ * Return the deposit (if any) of an asset account or a consumer reference (if any) of an
562+ * account.
547563 *
548564 * The origin must be Signed.
549565 *
550- * - `id`: The identifier of the asset for the account to be created.
566+ * - `id`: The identifier of the asset for which the caller would like the deposit
567+ * refunded.
551568 * - `allow_burn`: If `true` then assets may be destroyed in order to complete the refund.
552569 *
553570 * Emits `Refunded` event when successful.
554571 **/
555572 refund : AugmentedSubmittable < ( id : Compact < u32 > | AnyNumber | Uint8Array , allowBurn : bool | boolean | Uint8Array ) => SubmittableExtrinsic < ApiType > , [ Compact < u32 > , bool ] > ;
573+ /**
574+ * Return the deposit (if any) of a target asset account. Useful if you are the depositor.
575+ *
576+ * The origin must be Signed and either the account owner, depositor, or asset `Admin`. In
577+ * order to burn a non-zero balance of the asset, the caller must be the account and should
578+ * use `refund`.
579+ *
580+ * - `id`: The identifier of the asset for the account holding a deposit.
581+ * - `who`: The account to refund.
582+ *
583+ * Emits `Refunded` event when successful.
584+ **/
585+ 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 ] > ;
556586 /**
557587 * Set the metadata for an asset.
558588 *
@@ -617,7 +647,7 @@ declare module 'https://deno.land/x/polkadot/api-base/types/submittable.ts' {
617647 **/
618648 startDestroy : AugmentedSubmittable < ( id : Compact < u32 > | AnyNumber | Uint8Array ) => SubmittableExtrinsic < ApiType > , [ Compact < u32 > ] > ;
619649 /**
620- * Allow unprivileged transfers from an account again.
650+ * Allow unprivileged transfers to and from an account again.
621651 *
622652 * Origin must be Signed and the sender should be the Admin of the asset `id`.
623653 *
@@ -653,6 +683,19 @@ declare module 'https://deno.land/x/polkadot/api-base/types/submittable.ts' {
653683 * Emits `Touched` event when successful.
654684 **/
655685 touch : AugmentedSubmittable < ( id : Compact < u32 > | AnyNumber | Uint8Array ) => SubmittableExtrinsic < ApiType > , [ Compact < u32 > ] > ;
686+ /**
687+ * Create an asset account for `who`.
688+ *
689+ * A deposit will be taken from the signer account.
690+ *
691+ * - `origin`: Must be Signed by `Freezer` or `Admin` of the asset `id`; the signer account
692+ * must have sufficient funds for a deposit to be taken.
693+ * - `id`: The identifier of the asset for the account to be created.
694+ * - `who`: The account to be created.
695+ *
696+ * Emits `Touched` event when successful.
697+ **/
698+ 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 ] > ;
656699 /**
657700 * Move some assets from the sender account to another.
658701 *
@@ -4577,7 +4620,7 @@ declare module 'https://deno.land/x/polkadot/api-base/types/submittable.ts' {
45774620 * NOTE: Two of the storage writes (`Self::bonded`, `Self::payee`) are _never_ cleaned
45784621 * unless the `origin` falls below _existential deposit_ and gets removed as dust.
45794622 **/
4580- 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 ] > ;
4623+ 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 ] > ;
45814624 /**
45824625 * Add some extra amount that have appeared in the stash `free_balance` into the balance up
45834626 * for staking.
@@ -4789,7 +4832,10 @@ declare module 'https://deno.land/x/polkadot/api-base/types/submittable.ts' {
47894832 **/
47904833 scaleValidatorCount : AugmentedSubmittable < ( factor : Percent | AnyNumber | Uint8Array ) => SubmittableExtrinsic < ApiType > , [ Percent ] > ;
47914834 /**
4792- * (Re-)set the controller of a stash.
4835+ * (Re-)sets the controller of a stash to the stash itself. This function previously
4836+ * accepted a `controller` argument to set the controller to an account other than the
4837+ * stash itself. This functionality has now been removed, now only setting the controller
4838+ * to the stash, if it is not already.
47934839 *
47944840 * Effects will be felt instantly (as soon as this function is completed successfully).
47954841 *
@@ -4801,7 +4847,7 @@ declare module 'https://deno.land/x/polkadot/api-base/types/submittable.ts' {
48014847 * - Contains a limited number of reads.
48024848 * - Writes are limited to the `origin` account key.
48034849 **/
4804- setController : AugmentedSubmittable < ( controller : MultiAddress | { Id : any } | { Index : any } | { Raw : any } | { Address32 : any } | { Address20 : any } | string | Uint8Array ) => SubmittableExtrinsic < ApiType > , [ MultiAddress ] > ;
4850+ setController : AugmentedSubmittable < ( ) => SubmittableExtrinsic < ApiType > , [ ] > ;
48054851 /**
48064852 * Set the validators who cannot be slashed (if any).
48074853 *
@@ -5040,7 +5086,6 @@ declare module 'https://deno.land/x/polkadot/api-base/types/submittable.ts' {
50405086 /**
50415087 * Make some on-chain remark.
50425088 *
5043- * ## Complexity
50445089 * - `O(1)`
50455090 **/
50465091 remark : AugmentedSubmittable < ( remark : Bytes | string | Uint8Array ) => SubmittableExtrinsic < ApiType > , [ Bytes ] > ;
@@ -5050,16 +5095,10 @@ declare module 'https://deno.land/x/polkadot/api-base/types/submittable.ts' {
50505095 remarkWithEvent : AugmentedSubmittable < ( remark : Bytes | string | Uint8Array ) => SubmittableExtrinsic < ApiType > , [ Bytes ] > ;
50515096 /**
50525097 * Set the new runtime code.
5053- *
5054- * ## Complexity
5055- * - `O(C + S)` where `C` length of `code` and `S` complexity of `can_set_code`
50565098 **/
50575099 setCode : AugmentedSubmittable < ( code : Bytes | string | Uint8Array ) => SubmittableExtrinsic < ApiType > , [ Bytes ] > ;
50585100 /**
50595101 * Set the new runtime code without doing any checks of the given `code`.
5060- *
5061- * ## Complexity
5062- * - `O(C)` where `C` length of `code`
50635102 **/
50645103 setCodeWithoutChecks : AugmentedSubmittable < ( code : Bytes | string | Uint8Array ) => SubmittableExtrinsic < ApiType > , [ Bytes ] > ;
50655104 /**
0 commit comments