Last update: September 30, 2021
RebaseLibrary
A rebasing library
Functions
toBase
function toBase(
) internal returns (uint256 base)
Calculates the base value in relationship to elastic
and total
.
toElastic
function toElastic(
) internal returns (uint256 elastic)
Calculates the elastic value in relationship to base
and total
.