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

Refactor event getting / approval getting code to be more generic #231

Open
rkalis opened this issue Aug 28, 2024 · 0 comments
Open

Refactor event getting / approval getting code to be more generic #231

rkalis opened this issue Aug 28, 2024 · 0 comments
Assignees

Comments

@rkalis
Copy link
Member

rkalis commented Aug 28, 2024

Right now, we retrieve a bunch of events with different formats, that we read from in our different approvalToAllowance functions. Ideally we'd add an intermediate data structure that normalises the underlying raw blockchain data into an abstract ApprovalEvent (or more generic TokenEvent to also include transfers). This should make it easier to ad support for other chains that work slightly different from most EVM chains (such as LUKSO or Starknet).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

2 participants