Skip to content

Commit

Permalink
migrate flow events
Browse files Browse the repository at this point in the history
  • Loading branch information
mihaieremia committed Nov 9, 2024
1 parent 10fc28c commit 56adc3b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions liquid-staking/src/migrate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@ pub trait MigrateModule:
let amount = self.call_value().egld_value();

storage_cache.pending_egld += amount.clone_value();

self.emit_general_liquidity_event(&storage_cache);
}

#[payable("EGLD")]
Expand All @@ -75,6 +77,8 @@ pub trait MigrateModule:
let amount = self.call_value().egld_value();

storage_cache.rewards_reserve += amount.clone_value();

self.emit_general_liquidity_event(&storage_cache);
}

#[only_owner]
Expand Down

0 comments on commit 56adc3b

Please sign in to comment.