fix: format currency amounts as strings in logging (#6966)
* fix: format currency amounts as strings in logging * fix: toExact
This commit is contained in:
parent
55bf30c0e0
commit
01e87657c6
@ -93,7 +93,7 @@ export const formatSwapQuoteReceivedEventProperties = (
|
||||
swap_quote_block_number: isClassicTrade(trade) ? trade.blockNumber : undefined,
|
||||
swap_quote_received_timestamp: swapQuoteReceivedDate.getTime(),
|
||||
allowed_slippage_basis_points: formatPercentInBasisPointsNumber(allowedSlippage),
|
||||
token_in_amount_max: trade.maximumAmountIn(allowedSlippage),
|
||||
token_out_amount_min: trade.minimumAmountOut(allowedSlippage),
|
||||
token_in_amount_max: trade.maximumAmountIn(allowedSlippage).toExact(),
|
||||
token_out_amount_min: trade.minimumAmountOut(allowedSlippage).toExact(),
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user