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
hi! thanks for raising this issue. I have just checked the Rust implementation and it shows that we only need to shift right by 64 bits (ONE_Q64) after the multiplication, not by 64period. This is because the pow function is already handling the scaling internally to maintain the Q64.64 format throughout the calculation.
I think here
ts-sdk/packages/dynamic-bonding-curve/src/math/feeMath.ts
Line 58 in aafeca8
should
The text was updated successfully, but these errors were encountered: