Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: update rewards payout formula #887

Closed
wants to merge 29 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions pallets/multi-asset-delegation/src/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,9 @@ use tangle_primitives::types::RoundIndex;

pub mod delegator;
pub mod operator;
pub mod rewards;

pub use delegator::*;
pub use operator::*;
pub use rewards::*;

pub type BalanceOf<T> =
<<T as Config>::Currency as Currency<<T as frame_system::Config>::AccountId>>::Balance;
Expand Down
43 changes: 0 additions & 43 deletions pallets/multi-asset-delegation/src/types/rewards.rs

This file was deleted.

275 changes: 0 additions & 275 deletions pallets/rewards/src/functions.rs

This file was deleted.

Loading
Loading