Skip to content

Commit

Permalink
Merge pull request #245 from OriginTrail/feature/paranets
Browse files Browse the repository at this point in the history
[FEATURE] Paranets
  • Loading branch information
br41nl3t authored Jun 13, 2024
2 parents eff947e + 5b72863 commit 7bd7fcb
Show file tree
Hide file tree
Showing 108 changed files with 12,451 additions and 2,437 deletions.
2 changes: 1 addition & 1 deletion abi/CommitManagerV2.json
Original file line number Diff line number Diff line change
Expand Up @@ -518,7 +518,7 @@
"name": "hub",
"outputs": [
{
"internalType": "contract Hub",
"internalType": "contract HubV2",
"name": "",
"type": "address"
}
Expand Down
2 changes: 1 addition & 1 deletion abi/CommitManagerV2U1.json
Original file line number Diff line number Diff line change
Expand Up @@ -622,7 +622,7 @@
"name": "hub",
"outputs": [
{
"internalType": "contract Hub",
"internalType": "contract HubV2",
"name": "",
"type": "address"
}
Expand Down
134 changes: 119 additions & 15 deletions abi/ContentAssetV2.json
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@
"type": "uint256"
}
],
"name": "clearOldCommitsMetadata",
"name": "cancelAssetStateUpdateFromContract",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
Expand Down Expand Up @@ -421,7 +421,79 @@
}
],
"name": "createAsset",
"outputs": [],
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "originalSender",
"type": "address"
},
{
"components": [
{
"internalType": "bytes32",
"name": "assertionId",
"type": "bytes32"
},
{
"internalType": "uint128",
"name": "size",
"type": "uint128"
},
{
"internalType": "uint32",
"name": "triplesNumber",
"type": "uint32"
},
{
"internalType": "uint96",
"name": "chunksNumber",
"type": "uint96"
},
{
"internalType": "uint16",
"name": "epochsNumber",
"type": "uint16"
},
{
"internalType": "uint96",
"name": "tokenAmount",
"type": "uint96"
},
{
"internalType": "uint8",
"name": "scoreFunctionId",
"type": "uint8"
},
{
"internalType": "bool",
"name": "immutable_",
"type": "bool"
}
],
"internalType": "struct ContentAssetStructs.AssetInputArgs",
"name": "args",
"type": "tuple"
}
],
"name": "createAssetFromContract",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
Expand Down Expand Up @@ -469,7 +541,13 @@
}
],
"name": "createAssetWithVariables",
"outputs": [],
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
Expand Down Expand Up @@ -514,7 +592,7 @@
"name": "hub",
"outputs": [
{
"internalType": "contract Hub",
"internalType": "contract HubV2",
"name": "",
"type": "address"
}
Expand Down Expand Up @@ -593,10 +671,10 @@
},
{
"inputs": [],
"name": "serviceAgreementStorageProxy",
"name": "paranetKnowledgeAssetsRegistry",
"outputs": [
{
"internalType": "contract ServiceAgreementStorageProxy",
"internalType": "contract ParanetKnowledgeAssetsRegistry",
"name": "",
"type": "address"
}
Expand All @@ -606,10 +684,10 @@
},
{
"inputs": [],
"name": "serviceAgreementV1",
"name": "paranetKnowledgeMinersRegistry",
"outputs": [
{
"internalType": "contract ServiceAgreementV1",
"internalType": "contract ParanetKnowledgeMinersRegistry",
"name": "",
"type": "address"
}
Expand All @@ -618,16 +696,42 @@
"type": "function"
},
{
"inputs": [
"inputs": [],
"name": "paranetsRegistry",
"outputs": [
{
"internalType": "bool",
"name": "_flag",
"type": "bool"
"internalType": "contract ParanetsRegistry",
"name": "",
"type": "address"
}
],
"name": "setOldMetadataClearingFlag",
"outputs": [],
"stateMutability": "nonpayable",
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "serviceAgreementStorageProxy",
"outputs": [
{
"internalType": "contract ServiceAgreementStorageProxy",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "serviceAgreementV1",
"outputs": [
{
"internalType": "contract ServiceAgreementV1",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
Expand Down
41 changes: 41 additions & 0 deletions abi/ContractStatusV2.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
[
{
"inputs": [],
"name": "hub",
"outputs": [
{
"internalType": "contract HubV2",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "bool",
"name": "_status",
"type": "bool"
}
],
"name": "setStatus",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "status",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
}
]
15 changes: 15 additions & 0 deletions abi/HubDependentV2.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
[
{
"inputs": [],
"name": "hub",
"outputs": [
{
"internalType": "contract HubV2",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
}
]
2 changes: 1 addition & 1 deletion abi/NodeOperatorFeesStorage.json
Original file line number Diff line number Diff line change
Expand Up @@ -514,7 +514,7 @@
"name": "hub",
"outputs": [
{
"internalType": "contract Hub",
"internalType": "contract HubV2",
"name": "",
"type": "address"
}
Expand Down
Loading

0 comments on commit 7bd7fcb

Please sign in to comment.