Skip to content

Commit

Permalink
Update cashdrop_pool_reward
Browse files Browse the repository at this point in the history
  • Loading branch information
balqaasem committed Dec 11, 2021
1 parent 7bf6427 commit 80b2e9b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib-serml/serp-treasury/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -677,7 +677,7 @@ impl<T: Config> SerpTreasury<T::AccountId> for Pallet<T> {
);

let balance_cashdrop_amount = transfer_amount / 25; // 4% cashdrop
let cashdrop_pool_reward = transfer_amount / 50; // 2% cashdrop_pool_reward
let cashdrop_pool_reward = transfer_amount / 100; // 1% cashdrop_pool_reward
let cashdrop_pool_balance = Self::cashdrop_pool(currency_id);
ensure!(
balance_cashdrop_amount <= cashdrop_pool_balance,
Expand All @@ -701,7 +701,7 @@ impl<T: Config> SerpTreasury<T::AccountId> for Pallet<T> {
);

let balance_cashdrop_amount = transfer_amount / 50; // 2% cashdrop
let cashdrop_pool_reward = transfer_amount / 100; // 1% cashdrop_pool_reward
let cashdrop_pool_reward = transfer_amount / 200; // 0.5% cashdrop_pool_reward
let cashdrop_pool_balance = Self::cashdrop_pool(currency_id);
ensure!(
balance_cashdrop_amount <= cashdrop_pool_balance,
Expand Down

0 comments on commit 80b2e9b

Please sign in to comment.