Skip to content

Commit

Permalink
Remove unused func
Browse files Browse the repository at this point in the history
  • Loading branch information
alnoki committed Jan 3, 2025
1 parent 3490a75 commit 0f76169
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/move/emojicoin_arena/sources/emojicoin_arena.move
Original file line number Diff line number Diff line change
Expand Up @@ -510,14 +510,6 @@ module arena::emojicoin_arena {
(cranked, registry_ref_mut, time, n_melees_before_cranking)
}

/// Octa-denominated value of emojicoins at given exchange rate.
inline fun effective_value(
emojicoin_holdings: u64, exchange_rate: ExchangeRate
): u128 {
(emojicoin_holdings as u128) * (exchange_rate.quote as u128)
/ (exchange_rate.base as u128)
}

inline fun emit_vault_balance_update_with_singer_capability_ref(
signer_capability_ref: &SignerCapability
) {
Expand Down

0 comments on commit 0f76169

Please sign in to comment.