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: skeleton for x/datapool and proto files #283

Merged
merged 14 commits into from
Mar 22, 2022

Conversation

0xHansLee
Copy link
Contributor

  • Skeleton codes for x/datapool have been made via starport.
  • proto files and generated pb.go files for Txs
    • RegisterDataValidator
    • CreatePool
    • SellData
    • BuyDataAccessNFT
    • RedeemDataAccessNFT
  • For query, a simple query for getting pool was added.
    • GetPool

@0xHansLee 0xHansLee added the Market Data Marketplace for Web3.0 label Mar 21, 2022
@0xHansLee 0xHansLee added this to the Data Pool Model milestone Mar 21, 2022
@0xHansLee 0xHansLee requested a review from inchori March 21, 2022 09:43
@0xHansLee 0xHansLee self-assigned this Mar 21, 2022
@0xHansLee 0xHansLee linked an issue Mar 21, 2022 that may be closed by this pull request
Copy link

@inchori inchori left a comment

Choose a reason for hiding this comment

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

LGTM 👍

uint64 target_num_data = 4; // target number of data
uint64 cur_num_data = 5; // current number of data
uint64 max_nft_supply = 6; // max supply of data access NFT of the pool
uint64 issued_nft = 7; // current issued NFT
Copy link
Contributor

@youngjoon-lee youngjoon-lee Mar 22, 2022

Choose a reason for hiding this comment

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

Does this issued_nft means the curation NFT ID? or the number of NFTs issued?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The latter. It would be better to use num_issued_nft to make clearer. Thanks.

Copy link
Contributor

@youngjoon-lee youngjoon-lee left a comment

Choose a reason for hiding this comment

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

thank you

Copy link
Contributor

@gyuguen gyuguen left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@0xHansLee 0xHansLee merged commit 265fff5 into ft/273/rename-module Mar 22, 2022
@0xHansLee 0xHansLee deleted the ft/273/skeleton branch March 22, 2022 08:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Market Data Marketplace for Web3.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Define the x/datapool skeleton + proto files
4 participants