ensdomains / ethregistrar

BSD 2-Clause "Simplified" License
92 stars 55 forks source link

Is it possible to find out registration date from registrar? #14

Open makoto opened 5 years ago

makoto commented 5 years ago

As far as I understand the code correctly, the registrar has available and nameExpires but there is no registration date. The closest is commitments[commitment] on controller but that requires name and salt. Can we store registration date as well, or do we always need to derive from events?

screenshot 2019-02-26 at 12 47 54
Arachnid commented 5 years ago

We don't presently store registration date. It's not required for operation of the contract, so I'd rather not add it just for reporting. We can fetch this from the event that was logged when the name was registered, and when our The Graph integration is ready, index it there.