Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get exit information helper #285

Open
nicholasmueller opened this issue Apr 29, 2020 · 1 comment
Open

Get exit information helper #285

nicholasmueller opened this issue Apr 29, 2020 · 1 comment
Labels
blocked Blocked on a dependency enhancement New feature or request

Comments

@nicholasmueller
Copy link
Contributor

nicholasmueller commented Apr 29, 2020

new feature request to get exits and its information by wallet address

something like:
rootChain.getExits(address: string): IExit[]

IExit = {
  status: ‘Pending’ | ‘Exited’
  token: string
  exitId: string
  exitableAt: string
  priority: string
}
@nicholasmueller nicholasmueller self-assigned this Apr 29, 2020
@nicholasmueller nicholasmueller added enhancement New feature or request blocked Blocked on a dependency labels Apr 29, 2020
@nicholasmueller
Copy link
Contributor Author

nicholasmueller commented May 5, 2020

blocked on this issue:
omgnetwork/plasma-contracts#573

main issue being it is currently impossible to associate an exit id with the token associated with that exit. without additional information from the exit event, or a helper api, you would have to get information from all contract events and run filtering on the client, which can overflow memory if there are a lot of large transaction data, which is highly likely.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked Blocked on a dependency enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant