barakman
barakman
In case this is still relevant, I posted such utility a few months ago: - https://github.com/barakman/solidity-big-number - https://www.npmjs.com/package/solidity-big-number
@chrisveness: Thank you for reaching out. I am not importing this module directly in `package.json`, so it probably comes along with one of the other modules required in that file:...
@chrisveness: OK, so I should probably report this in each one of the repositories above. Is there an official substitute for scrypt.js, which can be used instead (something with an...
Another point to improve in this method - this time an actual performance improvement (and not just coding or documentation) - is that following this: ``` assembly { prod1 :=...
> If twos is zero Well, first off, I don't see how `div(0, 0)` would not revert on division by 0, although perhaps assembly `div` works differently than how I'd...
> > Finally, a minor coding error is that the function is declared as returns (uint256 result), and then ends with return result. > > Matter of style; I strongly...
P.S.: This function is useful to an unimaginable extent, as it allows for a significant increase in the supported input range for a vast number of applications. The alternative long-division...
> > I would go further and use a new variable for this - something like twosInv, because there doesn't seem to be any good reason to "reuse" it (which...
Supplemental - parameter names in an ABI are generally optional: Function parameter names have no impact whatsoever, so they are only "nice to have". Event parameter names impact how the...
Why are there rows with no fee in them? Why is this issue relevant only for univ2 exchanges? There are other exchanges in this file with no fee defined for...