Billy Rennekamp
1 min readOct 26, 2018

--

Being a pure function doesn’t reduce gas costs in any non-constant function, but I see now that the contracts have been updated since I last checked and they now use sumOfPowers which is O(1) instead of looping through each new token individually which would be at best O(N). Breaking the curves into individual components for long expressive functions is really cool : )

--

--

No responses yet