DefaultReserveAuctionStrategy
Implements the calculation of the current dutch auction price
_maxPriceMultiplier
Expressed in PRBMath.SCALE
_minExpPriceMultiplier
Expressed in PRBMath.SCALE
_minPriceMultiplier
Expressed in PRBMath.SCALE
_stepLinear
Expressed in PRBMath.SCALE
_stepExp
Expressed in PRBMath.SCALE
_tickLength
constructor
getMaxPriceMultiplier
getMinExpPriceMultiplier
getMinPriceMultiplier
getStepLinear
getStepExp
getTickLength
calculateAuctionPriceMultiplier
Calculates the interest rates depending on the reserve's state and configurations
Parameters
Name | Type | Description |
---|---|---|
auctionStartTimestamp | uint256 | The auction start block timestamp |
currentTimestamp | uint256 | The current block timestamp |
Return Values
Name | Type | Description |
---|---|---|
[0] | uint256 | auctionPrice The current auction price |