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

feat(*Gateway): support ERC721Batch, ERC1155Batch #15

Draft
wants to merge 27 commits into
base: release/v3.2.0
Choose a base branch
from

Conversation

nxqbao
Copy link
Contributor

@nxqbao nxqbao commented Mar 13, 2024

Description

Features

  • Support ERC721Batch
  • Support ERC1155Batch

Impl changes

  • Split Owner and Info into two separate libs
  • Rename the exposed methods in lib to handleAssetIn/Out
  • Add different hash for Batch request, reserve the legacy hash for Single request for backward-compatible
  • Minor refactor and code convention

TODO

  • Benchmark gas in batch request and restrict the number of ids in a request.

Checklist

  • I have clearly commented on all the main functions following the NatSpec Format
  • The box that allows repo maintainers to update this PR is checked
  • I tested locally to make sure this feature/fix works

@nxqbao
Copy link
Contributor Author

nxqbao commented Apr 8, 2024

This PR is kept for future development.

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.

2 participants