[dex.trades] amount_usd of Curve trades is wrong on table

It seems to use wrong decimals to calculate amount of token. In this case, we should use 1e18 rather than 1e6 (decimals of USDC.e). Query: select * from dex.trades where tx_hash = '0xc6a1e3aeb0ac646b37efb5f2941ff96ea807363f697b5e4b6dc289870872d79e' Link for using: https://snowtrace.io/tx/0xc6a1e3aeb0ac646b37efb5f2941ff96ea807363f697b5e4b6dc289870872d79e https://snowtrace.deth.net/address/0x6bf6fc7eaf84174bb7e1610efd865f0ebd2aa96d

Please authenticate to join the conversation.

Upvoters
Status

Open

Board

Bugs

Date

Over 3 years ago

Author

Thea Chen

Subscribe to post

Get notified by email when there are changes.