Skip to content

Commit

Permalink
[Easy] Change formating of exchange rates (#455)
Browse files Browse the repository at this point in the history
Co-authored-by: Haris Angelidakis <[email protected]>
  • Loading branch information
fhenneke and harisang authored Dec 14, 2024
1 parent 22d6161 commit 49afaf0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/fetch/payouts.py
Original file line number Diff line number Diff line change
Expand Up @@ -599,8 +599,8 @@ def construct_payouts(
f"COW DAO Service Fees: {service_fee / 10 ** 18:.4f}\n\n"
f"Network Fees: {total_network_fees / 10**18:.4f}\n"
f"Slippage: {total_slippage / 10**18:.4f}\n\n"
f"Exchange rate native token to COW: {exchange_rate_native_to_cow:.4f} COW/native token\n"
f"Exchange rate native token to ETH: {exchange_rate_native_to_eth:.4f} ETH/native token\n",
f"Exchange rate native token to COW: {exchange_rate_native_to_cow:.6g} COW/native token\n"
f"Exchange rate native token to ETH: {exchange_rate_native_to_eth:.6g} ETH/native token\n",
category=Category.TOTALS,
)
payouts = prepare_transfers(
Expand Down

0 comments on commit 49afaf0

Please sign in to comment.