Struct gekko::runtime::kusama::extrinsics::staking::Validate [−][src]
Expand description
Declare the desire to validate for the origin controller.
Documentation (provided by the runtime metadata)
Declare the desire to validate for the origin controller.
Effects will be felt at the beginning of the next era.
The dispatch origin for this call must be Signed by the controller, not the stash.
And, it can be only called when EraElectionStatus
is Closed
.
- Independent of the arguments. Insignificant complexity.
- Contains a limited number of reads.
- Writes are limited to the
origin
account key.
Weight: O(1) DB Weight:
- Read: Era Election Status, Ledger
- Write: Nominators, Validators
Type Disclaimer
This library makes no assumptions about parameter types and must be specified manually as generic types. Each field contains a type description which can serve as a hint on what type is being expected, as provided by the runtime meatadata. See the common
module for common types which can be used.
Fields
prefs: A
Type description: ValidatorPrefs
Trait Implementations
Auto Trait Implementations
impl<A> RefUnwindSafe for Validate<A> where
A: RefUnwindSafe,
impl<A> UnwindSafe for Validate<A> where
A: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self
The counterpart to unchecked_from
.