KyberNetwork / smart-contracts

Main smart contracts for Kyber Network, including the main platform contract, reserve contracts etc.
https://kyber.network
MIT License
378 stars 340 forks source link

Remove caching winning option data and bit trick for formula params #755

Closed manhlx3006 closed 4 years ago

manhlx3006 commented 4 years ago

The gas cost reduces around 3k-5k for the first trade of each epoch after removing the caching