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

Add an interface class for PredictoorHelper contract and tests #106

Merged
merged 26 commits into from
Aug 31, 2023

Conversation

trizin
Copy link
Contributor

@trizin trizin commented Aug 30, 2023

Fixes #105

Changes proposed in this PR:

  • Add PredictoorBatcher class and tests
  • Add ERC721 model

@trizin trizin linked an issue Aug 30, 2023 that may be closed by this pull request
@trizin trizin changed the title Add PredictoorHelper class and tests Add an interface class for PredictoorHelper contract and tests Aug 30, 2023
@trizin trizin marked this pull request as ready for review August 31, 2023 09:51
@trizin trizin requested a review from trentmc August 31, 2023 09:51
Copy link
Member

@trentmc trentmc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Smallish change requested. Then I'll be ready to approve:)

@@ -0,0 +1,25 @@
from typing import Union
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Q: should this be called erc721.py (class ERC721) or data_nft.py (class DataNft)?

Investigate: well what does it do here?

Result: it's calling addToCreateERC20List. DataNft has this functionality, but canonical ERC721 does not.

Answer to Q: call it data_nft.py (class DataNft)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I realized there's already a DataNft class and a data_nft.py file and moved the new function there :D thanks!

@trizin trizin requested a review from trentmc August 31, 2023 11:11
@trizin trizin merged commit b8d69ac into main Aug 31, 2023
5 checks passed
@trizin trizin deleted the issue105-add-predictoorhelper-class-and-tests branch August 31, 2023 11: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.

Add an interface class for PredictoorHelper contract and tests
2 participants