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
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
39ada60
Naive imeplementation of owenr check
Mihajlo-Pavlovic Jan 14, 2025
c73f36c
More optimal _checkKnowledgeCollectionOwner function
Mihajlo-Pavlovic Jan 14, 2025
8a7eaf3
Enable submitKnowledgeAsset
Mihajlo-Pavlovic Jan 14, 2025
1587741
Rewrite mintet and burned count getting
Mihajlo-Pavlovic Jan 14, 2025
742b51f
change text
Mihajlo-Pavlovic Jan 15, 2025
a78a28c
Fix typo
Mihajlo-Pavlovic Jan 15, 2025
958aaa2
Update ParanetknowledgeCollectionIdRegistry
Mihajlo-Pavlovic Jan 15, 2025
706d455
Rename asset to collection
Mihajlo-Pavlovic Jan 15, 2025
e261fb8
Rename fix typos
Mihajlo-Pavlovic Jan 15, 2025
53826dc
Fix renaming
Mihajlo-Pavlovic Jan 16, 2025
3e74894
fixes
Mihajlo-Pavlovic Jan 16, 2025
a214adf
Fix _updateSubmittedKnowledgeCollectionMetadata
Mihajlo-Pavlovic Jan 16, 2025
f4cb2eb
Make paranet easier to count and discover
Mihajlo-Pavlovic Jan 17, 2025
d7f28e6
Add getKnowledgeCollectionLocators batch getter
Mihajlo-Pavlovic Jan 17, 2025
faf7551
getKnowledgeCollectionLocatorsWithPagination
Mihajlo-Pavlovic Jan 17, 2025
50aa467
Update ParanetNeuroIncentivesPool & ParanetIncentivesPoolFactory
Mihajlo-Pavlovic Jan 17, 2025
c08c20c
Remove unused import from ParanetIncentivesPoolFactory
Mihajlo-Pavlovic Jan 17, 2025
c631a53
Update KnowledgeCollection with paranet features
Mihajlo-Pavlovic Jan 17, 2025
5d413c1
Implement suggested changes from review
Mihajlo-Pavlovic Jan 17, 2025
f6351fe
Renamve ParanetLib.knowledgeCollection to ParanetLib.KnowledgeCollection
Mihajlo-Pavlovic Jan 17, 2025
5022156
wip
Mihajlo-Pavlovic Jan 17, 2025
7ed374f
Add comments
Mihajlo-Pavlovic Jan 17, 2025
e896651
Update state infor in paranet on submit and update
Mihajlo-Pavlovic Jan 20, 2025
c44f28d
Change merkleRoots to memory
Mihajlo-Pavlovic Jan 20, 2025
631ac4d
Update ABI
Mihajlo-Pavlovic Jan 20, 2025
f97063a
Update deployment script & ABIs exports
Mihajlo-Pavlovic Jan 20, 2025
57e3c2b
Remove unused import
Mihajlo-Pavlovic Jan 20, 2025
3e90db0
Add debugevent
Mihajlo-Pavlovic Jan 21, 2025
a9ad1ac
Add debugevent
Mihajlo-Pavlovic Jan 21, 2025
7cf3d64
Add local logs
Mihajlo-Pavlovic Jan 21, 2025
50779d7
Remove debug code and fix how _checkKnowledgeCollectionOwner is calcu…
Mihajlo-Pavlovic Jan 21, 2025
70ea1f6
Update _checkKnowledgeCollectionOwner in ParanetIncentivesPoolFactory
Mihajlo-Pavlovic Jan 21, 2025
bdb071a
Change reverte msg
Mihajlo-Pavlovic Jan 21, 2025
e847d00
Version bump
Mihajlo-Pavlovic Jan 22, 2025
b3ce1bc
Fix isParanetOperator in ParanetNeuroIncentivesPool
Mihajlo-Pavlovic Jan 22, 2025
6fbacb2
Update deployments
Mihajlo-Pavlovic Jan 22, 2025
7ae367e
Remove update
Mihajlo-Pavlovic Jan 24, 2025
59a6281
Update ABI
Mihajlo-Pavlovic Jan 24, 2025
300217f
Base tesnted KC redeployed
Mihajlo-Pavlovic Jan 24, 2025
1cf1396
wip
Mihajlo-Pavlovic Jan 24, 2025
0dfb4b1
Update deployment files
Mihajlo-Pavlovic Jan 24, 2025
c74bddf
wip
Mihajlo-Pavlovic Jan 24, 2025
87ee0d7
Update services
Mihajlo-Pavlovic Jan 24, 2025
1715370
wip
Mihajlo-Pavlovic Jan 30, 2025
668f725
Fix paranetId calculation in incentives pool deployment
Jan 30, 2025
3f3819f
Merge pull request #337 from OriginTrail/v8/fix-incentives-pool-addre…
zsculac Jan 30, 2025
fd5ea3f
Merge remote-tracking branch 'origin/fix/remove-kc-update' into paran…
Mihajlo-Pavlovic Jan 30, 2025
01dfb90
fix removeVoters
Mihajlo-Pavlovic Jan 31, 2025
41d94aa
Fix submit
Mihajlo-Pavlovic Jan 31, 2025
4da11a2
Merge pull request #338 from OriginTrail/paranet-from-KA
Mihajlo-Pavlovic Jan 31, 2025
8dc1364
Update deployment
Mihajlo-Pavlovic Jan 31, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
128 changes: 39 additions & 89 deletions abi/KnowledgeCollection.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,6 @@
"stateMutability": "nonpayable",
"type": "constructor"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "id",
"type": "uint256"
}
],
"name": "CannotUpdateImmutableKnowledgeCollection",
"type": "error"
},
{
"inputs": [
{
Expand Down Expand Up @@ -451,6 +440,45 @@
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "paranetKnowledgeCollectionsRegistry",
"outputs": [
{
"internalType": "contract ParanetKnowledgeCollectionsRegistry",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "paranetKnowledgeMinersRegistry",
"outputs": [
{
"internalType": "contract ParanetKnowledgeMinersRegistry",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "paranetsRegistry",
"outputs": [
{
"internalType": "contract ParanetsRegistry",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "paymasterManager",
Expand Down Expand Up @@ -516,84 +544,6 @@
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "id",
"type": "uint256"
},
{
"internalType": "string",
"name": "updateOperationId",
"type": "string"
},
{
"internalType": "bytes32",
"name": "merkleRoot",
"type": "bytes32"
},
{
"internalType": "uint256",
"name": "mintKnowledgeAssetsAmount",
"type": "uint256"
},
{
"internalType": "uint256[]",
"name": "knowledgeAssetsToBurn",
"type": "uint256[]"
},
{
"internalType": "uint88",
"name": "byteSize",
"type": "uint88"
},
{
"internalType": "uint96",
"name": "tokenAmount",
"type": "uint96"
},
{
"internalType": "address",
"name": "paymaster",
"type": "address"
},
{
"internalType": "uint72",
"name": "publisherNodeIdentityId",
"type": "uint72"
},
{
"internalType": "bytes32",
"name": "publisherNodeR",
"type": "bytes32"
},
{
"internalType": "bytes32",
"name": "publisherNodeVS",
"type": "bytes32"
},
{
"internalType": "uint72[]",
"name": "identityIds",
"type": "uint72[]"
},
{
"internalType": "bytes32[]",
"name": "r",
"type": "bytes32[]"
},
{
"internalType": "bytes32[]",
"name": "vs",
"type": "bytes32[]"
}
],
"name": "updateKnowledgeCollection",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "version",
Expand Down
Loading
Loading