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 types and allowance types #244

Merged
merged 6 commits into from
Nov 28, 2024
Merged

Refactor event types and allowance types #244

merged 6 commits into from
Nov 28, 2024

Conversation

rkalis
Copy link
Member

@rkalis rkalis commented Nov 28, 2024

  • Refactor event log types
  • Refactor allowance types
  • Fix a bug with xdc addresses
  • Fewer RPC calls for limited ERC721 approvals
  • Add regression tests
  • Set tsconfig to "strict" and make required changes
  • Remove donate button in 'transaction submitted' toast
  • Small fixes and updates

- useEvents now parses raw logs into TokenEvent objects
- Further allowance parsing now works on TokenEvent instead of raw logs
- Fix bug with xdc addresses
- Retrieve token data and allowance data in parallel
- Calculate 'limited' NFT allowances from event data
- Update the AllowanceData and related types to match the refactored
  event types
- Set tsconfig "strict" to true + make required changes
- Change some null/undefined return / param types
- Remove donate button in 'transaction submitted' toast
- Expand regression tests
- Move some interfaces to more appropriate places

Note: this ended up being a way too large commit, note to self to try to
not let that happen again 😅
Copy link

vercel bot commented Nov 28, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
revoke-cash 🛑 Canceled (Inspect) Nov 28, 2024 2:42pm

@rkalis rkalis merged commit ff69443 into master Nov 28, 2024
5 of 6 checks passed
@rkalis rkalis deleted the refactor-events branch November 28, 2024 14:16
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

Successfully merging this pull request may close these issues.

1 participant