This PR allows staking reward payouts in different currencies
It adds the RewardCurrency type to staking Trait to allow reward payment in potentially different currency.
Currency is a term used in the staking module but can be thought of as simply a different asset or token type.
It re-implements the previous changes with the addition of fixing the TODO.
This means the reward currency can still be the staked currency and the rewarded amount will be re-staked if that is the stakers preferred payment account.
This PR allows staking reward payouts in different currencies
It adds the
RewardCurrency
type to staking Trait to allow reward payment in potentially different currency.Currency is a term used in the staking module but can be thought of as simply a different asset or token type.
It re-implements the previous changes with the addition of fixing the
TODO
. This means the reward currency can still be the staked currency and the rewarded amount will be re-staked if that is the stakers preferred payment account.Closes #41 and #58