andytudhope / Recollections

A description of how to curate information optimally in the absence of a central authority
Mozilla Public License 2.0
20 stars 6 forks source link

Implement nth root with precision decimals in Vyper Contract #13

Open andytudhope opened 5 years ago

andytudhope commented 5 years ago

Use the amazing library here as inspiration for a more general nth root calculation: https://github.com/LimeChain/bonding_mathematics/blob/master/contracts/Math/SQRT_HFP.py

Implement a precise nth root function for all calculations of votes_minted such as this one (Also lines 69, 154, and 235).

bakasura980 commented 5 years ago

Hi @andytudhope, I am going to try implementing newton nth root on vyper. Where I can write to you personally ?

andytudhope commented 5 years ago

andy[at]status[dot]im 👍