@@ -2570,11 +2570,6 @@ declare module '@polkadot/api-base/types/submittable' {
25702570 * Parameters:
25712571 * - `account`: The recovered account you want to make a call on-behalf-of.
25722572 * - `call`: The call you want to make with the recovered account.
2573- *
2574- * # <weight>
2575- * - The weight of the `call` + 10,000.
2576- * - One storage lookup to check account is recovered by `who`. O(1)
2577- * # </weight>
25782573 **/
25792574 asRecovered : AugmentedSubmittable < ( account : AccountId32 | string | Uint8Array , call : Call | { callIndex ?: any ; args ?: any } | string | Uint8Array ) => SubmittableExtrinsic < ApiType > , [ AccountId32 , Call ] > ;
25802575 /**
@@ -2585,10 +2580,6 @@ declare module '@polkadot/api-base/types/submittable' {
25852580 *
25862581 * Parameters:
25872582 * - `account`: The recovered account you are able to call on-behalf-of.
2588- *
2589- * # <weight>
2590- * - One storage mutation to check account is recovered by `who`. O(1)
2591- * # </weight>
25922583 **/
25932584 cancelRecovered : AugmentedSubmittable < ( account : AccountId32 | string | Uint8Array ) => SubmittableExtrinsic < ApiType > , [ AccountId32 ] > ;
25942585 /**
@@ -2601,17 +2592,6 @@ declare module '@polkadot/api-base/types/submittable' {
26012592 * Parameters:
26022593 * - `account`: The lost account that you want to claim has been successfully recovered by
26032594 * you.
2604- *
2605- * # <weight>
2606- * Key: F (len of friends in config), V (len of vouching friends)
2607- * - One storage read to get the recovery configuration. O(1), Codec O(F)
2608- * - One storage read to get the active recovery process. O(1), Codec O(V)
2609- * - One storage read to get the current block number. O(1)
2610- * - One storage write. O(1), Codec O(V).
2611- * - One event.
2612- *
2613- * Total Complexity: O(F + V)
2614- * # </weight>
26152595 **/
26162596 claimRecovery : AugmentedSubmittable < ( account : AccountId32 | string | Uint8Array ) => SubmittableExtrinsic < ApiType > , [ AccountId32 ] > ;
26172597 /**
@@ -2626,15 +2606,6 @@ declare module '@polkadot/api-base/types/submittable' {
26262606 *
26272607 * Parameters:
26282608 * - `rescuer`: The account trying to rescue this recoverable account.
2629- *
2630- * # <weight>
2631- * Key: V (len of vouching friends)
2632- * - One storage read/remove to get the active recovery process. O(1), Codec O(V)
2633- * - One balance call to repatriate reserved. O(X)
2634- * - One event.
2635- *
2636- * Total Complexity: O(V + X)
2637- * # </weight>
26382609 **/
26392610 closeRecovery : AugmentedSubmittable < ( rescuer : AccountId32 | string | Uint8Array ) => SubmittableExtrinsic < ApiType > , [ AccountId32 ] > ;
26402611 /**
@@ -2654,17 +2625,6 @@ declare module '@polkadot/api-base/types/submittable' {
26542625 * friends.
26552626 * - `delay_period`: The number of blocks after a recovery attempt is initialized that
26562627 * needs to pass before the account can be recovered.
2657- *
2658- * # <weight>
2659- * - Key: F (len of friends)
2660- * - One storage read to check that account is not already recoverable. O(1).
2661- * - A check that the friends list is sorted and unique. O(F)
2662- * - One currency reserve operation. O(X)
2663- * - One storage write. O(1). Codec O(F).
2664- * - One event.
2665- *
2666- * Total Complexity: O(F + X)
2667- * # </weight>
26682628 **/
26692629 createRecovery : AugmentedSubmittable < ( friends : Vec < AccountId32 > | ( AccountId32 | string | Uint8Array ) [ ] , threshold : u16 | AnyNumber | Uint8Array , delayPeriod : u32 | AnyNumber | Uint8Array ) => SubmittableExtrinsic < ApiType > , [ Vec < AccountId32 > , u16 , u32 ] > ;
26702630 /**
@@ -2679,17 +2639,6 @@ declare module '@polkadot/api-base/types/submittable' {
26792639 * Parameters:
26802640 * - `account`: The lost account that you want to recover. This account needs to be
26812641 * recoverable (i.e. have a recovery configuration).
2682- *
2683- * # <weight>
2684- * - One storage read to check that account is recoverable. O(F)
2685- * - One storage read to check that this recovery process hasn't already started. O(1)
2686- * - One currency reserve operation. O(X)
2687- * - One storage read to get the current block number. O(1)
2688- * - One storage write. O(1).
2689- * - One event.
2690- *
2691- * Total Complexity: O(F + X)
2692- * # </weight>
26932642 **/
26942643 initiateRecovery : AugmentedSubmittable < ( account : AccountId32 | string | Uint8Array ) => SubmittableExtrinsic < ApiType > , [ AccountId32 ] > ;
26952644 /**
@@ -2704,16 +2653,6 @@ declare module '@polkadot/api-base/types/submittable' {
27042653 *
27052654 * The dispatch origin for this call must be _Signed_ and must be a
27062655 * recoverable account (i.e. has a recovery configuration).
2707- *
2708- * # <weight>
2709- * Key: F (len of friends)
2710- * - One storage read to get the prefix iterator for active recoveries. O(1)
2711- * - One storage read/remove to get the recovery configuration. O(1), Codec O(F)
2712- * - One balance call to unreserved. O(X)
2713- * - One event.
2714- *
2715- * Total Complexity: O(F + X)
2716- * # </weight>
27172656 **/
27182657 removeRecovery : AugmentedSubmittable < ( ) => SubmittableExtrinsic < ApiType > , [ ] > ;
27192658 /**
@@ -2725,11 +2664,6 @@ declare module '@polkadot/api-base/types/submittable' {
27252664 * Parameters:
27262665 * - `lost`: The "lost account" to be recovered.
27272666 * - `rescuer`: The "rescuer account" which can call as the lost account.
2728- *
2729- * # <weight>
2730- * - One storage write O(1)
2731- * - One event
2732- * # </weight>
27332667 **/
27342668 setRecovered : AugmentedSubmittable < ( lost : AccountId32 | string | Uint8Array , rescuer : AccountId32 | string | Uint8Array ) => SubmittableExtrinsic < ApiType > , [ AccountId32 , AccountId32 ] > ;
27352669 /**
@@ -2745,18 +2679,6 @@ declare module '@polkadot/api-base/types/submittable' {
27452679 *
27462680 * The combination of these two parameters must point to an active recovery
27472681 * process.
2748- *
2749- * # <weight>
2750- * Key: F (len of friends in config), V (len of vouching friends)
2751- * - One storage read to get the recovery configuration. O(1), Codec O(F)
2752- * - One storage read to get the active recovery process. O(1), Codec O(V)
2753- * - One binary search to confirm caller is a friend. O(logF)
2754- * - One binary search to confirm caller has not already vouched. O(logV)
2755- * - One storage write. O(1), Codec O(V).
2756- * - One event.
2757- *
2758- * Total Complexity: O(F + logF + V + logV)
2759- * # </weight>
27602682 **/
27612683 vouchRecovery : AugmentedSubmittable < ( lost : AccountId32 | string | Uint8Array , rescuer : AccountId32 | string | Uint8Array ) => SubmittableExtrinsic < ApiType > , [ AccountId32 , AccountId32 ] > ;
27622684 /**
@@ -4154,6 +4076,24 @@ declare module '@polkadot/api-base/types/submittable' {
41544076 * # </weight>
41554077 **/
41564078 rejectProposal : AugmentedSubmittable < ( proposalId : Compact < u32 > | AnyNumber | Uint8Array ) => SubmittableExtrinsic < ApiType > , [ Compact < u32 > ] > ;
4079+ /**
4080+ * Force a previously approved proposal to be removed from the approval queue.
4081+ * The original deposit will no longer be returned.
4082+ *
4083+ * May only be called from `T::RejectOrigin`.
4084+ * - `proposal_id`: The index of a proposal
4085+ *
4086+ * # <weight>
4087+ * - Complexity: O(A) where `A` is the number of approvals
4088+ * - Db reads and writes: `Approvals`
4089+ * # </weight>
4090+ *
4091+ * Errors:
4092+ * - `ProposalNotApproved`: The `proposal_id` supplied was not found in the approval queue,
4093+ * i.e., the proposal has not been approved. This could also mean the proposal does not
4094+ * exist altogether, thus there is no way it would have been approved in the first place.
4095+ **/
4096+ removeApproval : AugmentedSubmittable < ( proposalId : Compact < u32 > | AnyNumber | Uint8Array ) => SubmittableExtrinsic < ApiType > , [ Compact < u32 > ] > ;
41574097 /**
41584098 * Generic tx
41594099 **/
0 commit comments