Closed Arachnid closed 4 years ago
@makoto PTAL
@makoto @decanus PTAL
@makoto @decanus PTAL. I've fixed the timeUntilPremium
function to work on wei as you'd expect it to instead of on attoUSD.
timeUntilPremium
I've fixed the
timeUntilPremium
function to work on wei as you'd expect it to instead of on attoUSD.
Actually, should people ask extimated time in wei when ETH is volatile (or should I show in USD in UI and convert to ETH when lookup the function)?
Actually, should people ask extimated time in wei when ETH is volatile (or should I show in USD in UI and convert to ETH when lookup the function)?
API-wise, we charge in wei and all other pricing functions return prices in wei, so I thought it made the most sense for this function's argument to also be in wei. Display-wise, we should definitely continue to show USD equivalents in the UI.
Will the premium paid end up going to the ENS team? Or will a portion/all of it be given to the previous owner?
I'm sure the answer is somewhere in the code but I'm a GitHub/coding noob, sorry.
This new oracle type applies a premium to reregistration of recently expired domains that starts high and diminishes over time.