-
Notifications
You must be signed in to change notification settings - Fork 522
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
add queryable extension to ERC721Base #560
add queryable extension to ERC721Base #560
Conversation
* @title ERC721A Queryable | ||
* @dev ERC721A subclass with convenience query functions. | ||
*/ | ||
abstract contract ERC721AQueryable is ERC721A, IERC721AQueryable { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
don't we already have this file somewhere?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
don't we already have this file somewhere?
There isn't a non-upgradable version currently.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Gotcha
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How's the contract sizes? Bases should have a bit of wiggle room to add custom fns
ERC721Base has 13kb in left over space. The queryable adds ~1kb. |
Should be plenty. Ship it |
Signed-off-by: WhiteOakKong <92236155+WhiteOakKong@users.noreply.github.com>
@nkrishang @kumaryash90 can you review? |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #560 +/- ##
==========================================
- Coverage 62.34% 57.43% -4.91%
==========================================
Files 216 215 -1
Lines 6647 6614 -33
==========================================
- Hits 4144 3799 -345
- Misses 2503 2815 +312 ☔ View full report in Codecov by Sentry. |
No description provided.