Function pallet_staking::dispatchables::nominate
source · pub fn nominate<T: Config>(
targets: Vec<<<T as Config>::Lookup as StaticLookup>::Source>,
)
Expand description
Declare the desire to nominate targets
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.
§Complexity
- The transaction’s complexity is proportional to the size of
targets
(N) which is capped at CompactAssignments::LIMIT (T::MaxNominations). - Both the reads and writes follow a similar pattern.
§Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::nominate
.