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

[WIP] V8 paranet update #335

Open
wants to merge 51 commits into
base: main
Choose a base branch
from
Open

[WIP] V8 paranet update #335

wants to merge 51 commits into from

Conversation

Mihajlo-Pavlovic
Copy link
Collaborator

@Mihajlo-Pavlovic Mihajlo-Pavlovic commented Jan 17, 2025

This PR contains updates to contracts related to paranets:

  • Rename KA references to KC
  • Update logic for checking owner
  • Add structures for better tracking of paranets to ParanetRegistry
  • Add getKnowledgeCollectionLocatorsWithPagination to Paranet for getting locator of paranet KCs with pagination
  • Enable submitKnowledgeAsset function
  • Update ParanetNeuroIncentivesPool & ParanetIncentivesPoolFactory
  • Add logic for updating Paranet KC metadata in KnowledgeCollection
  • Optimize contracts by removing some double calculations
  • Add logic for updating Paranet KC states on the update

@Mihajlo-Pavlovic Mihajlo-Pavlovic self-assigned this Jan 17, 2025
@Mihajlo-Pavlovic Mihajlo-Pavlovic changed the title V8 paranet update [WIP] V8 paranet update Jan 17, 2025
Copy link

@aleksaelezovic aleksaelezovic left a comment

Choose a reason for hiding this comment

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

I checked what I could for syntax etc. for inner logic @u-hubar's review should be more valuable

contracts/KnowledgeCollection.sol Outdated Show resolved Hide resolved
contracts/KnowledgeCollection.sol Outdated Show resolved Hide resolved
contracts/KnowledgeCollection.sol Outdated Show resolved Hide resolved
contracts/KnowledgeCollection.sol Outdated Show resolved Hide resolved
contracts/paranets/ParanetIncentivesPoolFactory.sol Outdated Show resolved Hide resolved
contracts/storage/paranets/ParanetServicesRegistry.sol Outdated Show resolved Hide resolved
contracts/storage/paranets/ParanetsRegistry.sol Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature v8
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants