mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-15 04:31:08 +00:00
Implement set_payee call
This commit is contained in:
@@ -85,10 +85,13 @@ pub enum RewardDestination {
|
|||||||
Controller,
|
Controller,
|
||||||
}
|
}
|
||||||
|
|
||||||
impl Default for RewardDestination {
|
/// Preference of what happens regarding validation.
|
||||||
fn default() -> Self {
|
#[derive(PartialEq, Eq, Clone, Encode, Decode, Debug, Call)]
|
||||||
RewardDestination::Staked
|
pub struct SetPayeeCall<T: Staking> {
|
||||||
}
|
/// The payee
|
||||||
|
pub payee: Perbill,
|
||||||
|
/// Marker for the runtime
|
||||||
|
pub _runtime: PhantomData<T>,
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Preference of what happens regarding validation.
|
/// Preference of what happens regarding validation.
|
||||||
|
|||||||
Reference in New Issue
Block a user