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

Style underbar like other internal variables #84

Merged
merged 1 commit into from
Feb 9, 2022

Conversation

fulldecent
Copy link
Contributor

No description provided.

@cygaar cygaar merged commit 41d7c71 into chiru-labs:main Feb 9, 2022
@syffs
Copy link

syffs commented Feb 9, 2022

@fulldecent @cygaar just noticed rebasing my pr: why _currentindex and not _currentIndex ?

Vectorized added a commit to Vectorized/ERC721A that referenced this pull request Feb 9, 2022
@fulldecent
Copy link
Contributor Author

@syffs Thank you, corrected at #88

cygaar pushed a commit that referenced this pull request Feb 12, 2022
* Added burn functionality.

* Changed _initOneIndexed

* Moved burn function into ERC721ABurnable

* Moved burn function into ERC721ABurnable

* Remove redundant burn check in ownershipOf

* Optimized ownershipOf

* Removed aux from AddressData for future PR

* Packed currentIndex and totalBurned for gas savings

* Added gas optimizations

* Added gas optimizations

* Added requested changes

* Edited comments.

* Renamed totalBurned to burnedCounter

* Renamed to burnCounter

* Updated comments.

* Mark transferFrom/safeTransferFrom virtual

* Mark transferFrom/safeTransferFrom virtual

* Updated comments.

* Tidy up tests

* Inlined _exists for _burn and _transfer.

* Merged custom errors

* Merged custom errors

* Fixed missing change from #59

* Gas optimization

* update specs for _beforeTokenTransfers and _afterTokenTransfers hooks

* Added #84

* Added #87

* Added #85

* Added #89

* Added comments on packing _currentIndex and _burnCounter

* Removed overflow check for updatedIndex

* Added requested test changes

* Removed unused variable in burn test

* Removed unused variable in burn test

Co-authored-by: Amirhossein Banavi <ahbanavi@gmail.com>
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.

3 participants