-
Notifications
You must be signed in to change notification settings - Fork 25
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
Conversation
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.
Smallish change requested. Then I'll be ready to approve:)
pdr_backend/models/erc721.py
Outdated
@@ -0,0 +1,25 @@ | |||
from typing import Union |
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.
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)
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.
I realized there's already a DataNft class and a data_nft.py file and moved the new function there :D thanks!
Fixes #105
Changes proposed in this PR: