pub fn nominate<T: Config>(pool_id: PoolId, validators: Vec<T::AccountId>)
Expand description
Nominate on behalf of the pool.
The dispatch origin of this call must be signed by the pool nominator or the pool root role.
This directly forwards the call to an implementation of StakingInterface
(e.g.,
pallet-staking
) through Config::StakeAdapter
, on behalf of the bonded pool.
§Note
In addition to a root
or nominator
role of origin
, the pool’s depositor needs to
have at least depositor_min_bond
in the pool to start nominating.
§Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::nominate
.