contracts icon indicating copy to clipboard operation
contracts copied to clipboard

Updateable reserveRatio for GNS

Open jona opened this issue 2 years ago • 1 comments

Summary

We currently have no way to set reserveRatio in the GNS contract through governance.

Solution

Add a setReserveRatio function that allows us to set reserverRatio

jona avatar Oct 13 '21 21:10 jona

Codecov Report

Merging #515 (f8503f0) into dev (6962037) will increase coverage by 0.04%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##              dev     #515      +/-   ##
==========================================
+ Coverage   91.91%   91.96%   +0.04%     
==========================================
  Files          33       33              
  Lines        1658     1667       +9     
  Branches      282      284       +2     
==========================================
+ Hits         1524     1533       +9     
  Misses        134      134              
Flag Coverage Δ
unittests 91.96% <100.00%> (+0.04%) :arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
contracts/discovery/GNS.sol 99.30% <100.00%> (+0.04%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 6962037...f8503f0. Read the comment docs.

codecov[bot] avatar Oct 13 '21 21:10 codecov[bot]