Struct gekko::runtime::polkadot::extrinsics::staking::Nominate [−][src]
Expand description
Declare the desire to nominate targets
for the origin controller.
Documentation (provided by the runtime metadata)
Declare the desire to nominate targets
for the origin controller.
Effects will be felt at the beginning of the next era. This can only be called when
EraElectionStatus
is Closed
.
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
.
- The transaction’s complexity is proportional to the size of
targets
(N) which is capped at CompactAssignments::LIMIT (MAX_NOMINATIONS). - Both the reads and writes follow a similar pattern.
Weight: O(N) where N is the number of targets DB Weight:
- Reads: Era Election Status, Ledger, Current Era
- Writes: Validators, Nominators
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
targets: A
Type description: Vec<<T::Lookup as StaticLookup>::Source>
Trait Implementations
Auto Trait Implementations
impl<A> RefUnwindSafe for Nominate<A> where
A: RefUnwindSafe,
impl<A> UnwindSafe for Nominate<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
.