diff --git a/packages/api/src/augment/tx.ts b/packages/api/src/augment/tx.ts index b4873afc97..445e4adb61 100644 --- a/packages/api/src/augment/tx.ts +++ b/packages/api/src/augment/tx.ts @@ -2836,7 +2836,7 @@ declare module '@polkadot/api/types/submittable' { * - Write: Bonded, Payee, [Origin Account], Locks, Ledger * # **/ - bond: AugmentedSubmittable<(controller: LookupSource | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, value: Compact | AnyNumber | Uint8Array, payee: RewardDestination | { Staked: any } | { Stash: any } | { Controller: any } | { Account: any } | string | Uint8Array) => SubmittableExtrinsic, [LookupSource, Compact, RewardDestination]>; + bond: AugmentedSubmittable<(controller: LookupSource | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, value: Compact | AnyNumber | Uint8Array, payee: RewardDestination | { Staked: any } | { Stash: any } | { Controller: any } | { Account: any } | { None: any } | string | Uint8Array) => SubmittableExtrinsic, [LookupSource, Compact, RewardDestination]>; /** * Add some extra amount that have appeared in the stash `free_balance` into the balance up * for staking. @@ -3142,7 +3142,7 @@ declare module '@polkadot/api/types/submittable' { * - Write: Payee * # **/ - setPayee: AugmentedSubmittable<(payee: RewardDestination | { Staked: any } | { Stash: any } | { Controller: any } | { Account: any } | string | Uint8Array) => SubmittableExtrinsic, [RewardDestination]>; + setPayee: AugmentedSubmittable<(payee: RewardDestination | { Staked: any } | { Stash: any } | { Controller: any } | { Account: any } | { None: any } | string | Uint8Array) => SubmittableExtrinsic, [RewardDestination]>; /** * Sets the ideal number of validators. * diff --git a/packages/types/src/interfaces/staking/definitions.ts b/packages/types/src/interfaces/staking/definitions.ts index 6435a77389..07cbc3cba6 100644 --- a/packages/types/src/interfaces/staking/definitions.ts +++ b/packages/types/src/interfaces/staking/definitions.ts @@ -172,7 +172,8 @@ export default { Staked: 'Null', Stash: 'Null', Controller: 'Null', - Account: 'AccountId' + Account: 'AccountId', + None: 'Null' } }, RewardPoint: 'u32', diff --git a/packages/types/src/interfaces/staking/types.ts b/packages/types/src/interfaces/staking/types.ts index 4485d6fee4..91894849f6 100644 --- a/packages/types/src/interfaces/staking/types.ts +++ b/packages/types/src/interfaces/staking/types.ts @@ -193,6 +193,7 @@ export interface RewardDestination extends Enum { readonly isController: boolean; readonly isAccount: boolean; readonly asAccount: AccountId; + readonly isNone: boolean; } /** @name RewardPoint */