You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tokens that deduct a fee when transferring would be entirely ignored by this if statement.
Ex: User A transfers 1.0000 XYZ token to user B, protocol deducts 0.0500 XYZ (as 5% transfer tax), user A deducts 1.0000 XYZ full amount (✅ not ignored), however user B only receive an increase in 0.9500 XYZ tokens (❌ this balance change would be ignored)
The "safemoon" types of tokens have a transfer fee.
Perhaps the current logic is accurate since it's tracking the "value" from the logs and not the "call" itself (which would have a different value from the diff balances vs. value amount)
Tokens that deduct a fee when transferring would be entirely ignored by this if statement.
Ex: User A transfers
1.0000 XYZ
token to user B, protocol deducts0.0500 XYZ
(as 5% transfer tax), user A deducts1.0000 XYZ
full amount (✅ not ignored), however user B only receive an increase in0.9500 XYZ
tokens (❌ this balance change would be ignored)substreams-erc20-balance-changes/src/maps.rs
Lines 177 to 180 in 99907f0
The text was updated successfully, but these errors were encountered: