I have a question on searching the contract local states by time.
For example, I am constructing a smart contract at 3 pm today. Before 4 pm, there are 20 users opting-into the application.
At 5 pm, the admin would like to search all local states of the users opted-into the contract before 4 pm. However, there are another 30 users opting-into the app between 4-5 pm. The admin would like to distinguish the first 20 users from the last 30 users.
So, is there any function in smart contract that meet this requirement without assigning time stamp to opted-in users?
