tcr icon indicating copy to clipboard operation
tcr copied to clipboard

Update isWhitelisted to return false if a listing is inside its own init or finalize exit windows

Open skmgoldin opened this issue 6 years ago • 0 comments

We fire an event for initializing exits, so users can detect this state, but isWhitelisted should detect it as well and return false for listings which have initiated an exit. Otherwise people can initiate an exit, wait until their finalize window begins, then behave badly and defraud people. If you have initialized an exit and your finalize window has not expired yet, you should not be considered as listed.

skmgoldin avatar Oct 02 '18 20:10 skmgoldin