Skip to content

money-god/geb-rrfm-calculators

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GEB Redemption Rate Feedback Mechanism Calculators

This repository hosts calculators that can compute redemption rates for a GEB deployment.

The repository hosts the following core calculator implementations:

  • PIRawPerSecondCalculator: proportional integral calculator using the raw abs(mark - index) deviation to compute a rate
  • BasicPIRawPerSecondCalculator: a simpler version of PIRawPerSecondCalculator with less restrictions on how the redemption rate is calculated
  • DirectRateCalculator: this calculator emulates SAI's Vox by adding or subtracting a fixed amount from the current rate
  • PIScaledPerSecondCalculator: proportional integral calculator using the formula: abs(mark - index) * 10^27 / index in order to compute a rate
  • PRawPerSecondCalculator: proportional calculator using the raw abs(mark - index) deviation to compute a rate

About

RRFM calculator smart contracts

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Solidity 100.0%