issues
search
mercurial-finance
/
mercurial-dynamic-amm-sdk
An SDK for building applications on top of Mercurial Dynamic AMM
22
stars
15
forks
source link
refactor price impact calc to save computation
#29
Closed
codewithgun
closed
1 year ago
codewithgun
commented
1 year ago
Save computation by avoid repeated calculation for
D
,
outAmount
and
upscaleToken
when calculate price impact
D
,outAmount
andupscaleToken
when calculate price impact