dkg-evm-module
Version:
Smart contracts for OriginTrail V8
1,739 lines (1,738 loc) • 35.6 kB
JSON
[
{
"inputs": [
{
"internalType": "address",
"name": "hubAddress",
"type": "address"
}
],
"stateMutability": "nonpayable",
"type": "constructor"
},
{
"inputs": [
{
"internalType": "string",
"name": "msg",
"type": "string"
}
],
"name": "UnauthorizedAccess",
"type": "error"
},
{
"inputs": [],
"name": "ZeroAddressHub",
"type": "error"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "paranetId",
"type": "bytes32"
},
{
"internalType": "uint96",
"name": "addedKnowledgeValue",
"type": "uint96"
}
],
"name": "addCumulativeKnowledgeValue",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "paranetId",
"type": "bytes32"
},
{
"internalType": "string",
"name": "incentivesPoolName",
"type": "string"
},
{
"internalType": "address",
"name": "storageAddress",
"type": "address"
},
{
"internalType": "address",
"name": "rewardTokenAddress",
"type": "address"
}
],
"name": "addIncentivesPool",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "paranetId",
"type": "bytes32"
},
{
"internalType": "bytes32",
"name": "knowledgeCollectionId",
"type": "bytes32"
}
],
"name": "addKnowledgeCollecton",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "paranetId",
"type": "bytes32"
},
{
"internalType": "address",
"name": "knowledgeMinerAddress",
"type": "address"
}
],
"name": "addKnowledgeMiner",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "paranetId",
"type": "bytes32"
},
{
"internalType": "address",
"name": "miner",
"type": "address"
},
{
"internalType": "enum ParanetLib.RequestStatus",
"name": "status",
"type": "uint8"
}
],
"name": "addKnowledgeMinerAccessRequest",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "paranetId",
"type": "bytes32"
},
{
"internalType": "uint72",
"name": "identityId",
"type": "uint72"
},
{
"internalType": "enum ParanetLib.RequestStatus",
"name": "status",
"type": "uint8"
}
],
"name": "addNodeJoinRequest",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "paranetId",
"type": "bytes32"
},
{
"internalType": "uint72",
"name": "identityId",
"type": "uint72"
},
{
"internalType": "bytes",
"name": "nodeId",
"type": "bytes"
}
],
"name": "addPermissionedNode",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "paranetId",
"type": "bytes32"
},
{
"internalType": "bytes32",
"name": "serviceId",
"type": "bytes32"
}
],
"name": "addService",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "paranetId",
"type": "bytes32"
}
],
"name": "deleteParanet",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "paranetId",
"type": "bytes32"
}
],
"name": "getAllIncentivesPools",
"outputs": [
{
"components": [
{
"internalType": "string",
"name": "name",
"type": "string"
},
{
"internalType": "address",
"name": "storageAddr",
"type": "address"
},
{
"internalType": "address",
"name": "rewardTokenAddress",
"type": "address"
}
],
"internalType": "struct ParanetLib.IncentivesPool[]",
"name": "",
"type": "tuple[]"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "getAllParanetIds",
"outputs": [
{
"internalType": "bytes32[]",
"name": "",
"type": "bytes32[]"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "paranetId",
"type": "bytes32"
}
],
"name": "getCumulativeKnowledgeValue",
"outputs": [
{
"internalType": "uint96",
"name": "",
"type": "uint96"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "paranetId",
"type": "bytes32"
}
],
"name": "getDescription",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "paranetId",
"type": "bytes32"
},
{
"internalType": "string",
"name": "poolName",
"type": "string"
}
],
"name": "getIncentivesPoolByPoolName",
"outputs": [
{
"components": [
{
"internalType": "string",
"name": "name",
"type": "string"
},
{
"internalType": "address",
"name": "storageAddr",
"type": "address"
},
{
"internalType": "address",
"name": "rewardTokenAddress",
"type": "address"
}
],
"internalType": "struct ParanetLib.IncentivesPool",
"name": "",
"type": "tuple"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "paranetId",
"type": "bytes32"
},
{
"internalType": "address",
"name": "storageAddr",
"type": "address"
}
],
"name": "getIncentivesPoolByStorageAddress",
"outputs": [
{
"components": [
{
"internalType": "string",
"name": "name",
"type": "string"
},
{
"internalType": "address",
"name": "storageAddr",
"type": "address"
},
{
"internalType": "address",
"name": "rewardTokenAddress",
"type": "address"
}
],
"internalType": "struct ParanetLib.IncentivesPool",
"name": "",
"type": "tuple"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "paranetId",
"type": "bytes32"
}
],
"name": "getKnowledgeCollections",
"outputs": [
{
"internalType": "bytes32[]",
"name": "",
"type": "bytes32[]"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "paranetId",
"type": "bytes32"
}
],
"name": "getKnowledgeCollectionsCount",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "paranetId",
"type": "bytes32"
},
{
"internalType": "bytes32",
"name": "knowledgeCollectionId",
"type": "bytes32"
},
{
"internalType": "uint256",
"name": "limit",
"type": "uint256"
}
],
"name": "getKnowledgeCollectionsStartingFromKnowlCollectionId",
"outputs": [
{
"internalType": "bytes32[]",
"name": "",
"type": "bytes32[]"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "paranetId",
"type": "bytes32"
}
],
"name": "getKnowledgeCollectionsSubmissionPolicy",
"outputs": [
{
"internalType": "uint8",
"name": "",
"type": "uint8"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "paranetId",
"type": "bytes32"
},
{
"internalType": "uint256",
"name": "offset",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "limit",
"type": "uint256"
}
],
"name": "getKnowledgeCollectionsWithPagination",
"outputs": [
{
"internalType": "bytes32[]",
"name": "",
"type": "bytes32[]"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "paranetId",
"type": "bytes32"
},
{
"internalType": "address",
"name": "miner",
"type": "address"
},
{
"internalType": "uint256",
"name": "index",
"type": "uint256"
}
],
"name": "getKnowledgeMinerAccessRequest",
"outputs": [
{
"components": [
{
"internalType": "uint256",
"name": "createdAt",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "updatedAt",
"type": "uint256"
},
{
"internalType": "address",
"name": "miner",
"type": "address"
},
{
"internalType": "enum ParanetLib.RequestStatus",
"name": "status",
"type": "uint8"
}
],
"internalType": "struct ParanetLib.ParanetKnowledgeMinerAccessRequest",
"name": "",
"type": "tuple"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "paranetId",
"type": "bytes32"
},
{
"internalType": "address",
"name": "miner",
"type": "address"
}
],
"name": "getKnowledgeMinerAccessRequests",
"outputs": [
{
"components": [
{
"internalType": "uint256",
"name": "createdAt",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "updatedAt",
"type": "uint256"
},
{
"internalType": "address",
"name": "miner",
"type": "address"
},
{
"internalType": "enum ParanetLib.RequestStatus",
"name": "status",
"type": "uint8"
}
],
"internalType": "struct ParanetLib.ParanetKnowledgeMinerAccessRequest[]",
"name": "",
"type": "tuple[]"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "paranetId",
"type": "bytes32"
},
{
"internalType": "address",
"name": "miner",
"type": "address"
}
],
"name": "getKnowledgeMinerAccessRequestsCount",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "paranetId",
"type": "bytes32"
}
],
"name": "getKnowledgeMiners",
"outputs": [
{
"internalType": "address[]",
"name": "",
"type": "address[]"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "paranetId",
"type": "bytes32"
}
],
"name": "getKnowledgeMinersCount",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "paranetId",
"type": "bytes32"
},
{
"internalType": "address",
"name": "miner",
"type": "address"
}
],
"name": "getLatestKnowledgeMinerAccessRequest",
"outputs": [
{
"components": [
{
"internalType": "uint256",
"name": "createdAt",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "updatedAt",
"type": "uint256"
},
{
"internalType": "address",
"name": "miner",
"type": "address"
},
{
"internalType": "enum ParanetLib.RequestStatus",
"name": "status",
"type": "uint8"
}
],
"internalType": "struct ParanetLib.ParanetKnowledgeMinerAccessRequest",
"name": "",
"type": "tuple"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "paranetId",
"type": "bytes32"
},
{
"internalType": "uint72",
"name": "identityId",
"type": "uint72"
}
],
"name": "getLatestNodeJoinRequest",
"outputs": [
{
"components": [
{
"internalType": "uint256",
"name": "createdAt",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "updatedAt",
"type": "uint256"
},
{
"internalType": "uint72",
"name": "identityId",
"type": "uint72"
},
{
"internalType": "enum ParanetLib.RequestStatus",
"name": "status",
"type": "uint8"
}
],
"internalType": "struct ParanetLib.ParanetNodeJoinRequest",
"name": "",
"type": "tuple"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "paranetId",
"type": "bytes32"
}
],
"name": "getMinersAccessPolicy",
"outputs": [
{
"internalType": "uint8",
"name": "",
"type": "uint8"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "paranetId",
"type": "bytes32"
}
],
"name": "getName",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "paranetId",
"type": "bytes32"
},
{
"internalType": "uint72",
"name": "identityId",
"type": "uint72"
},
{
"internalType": "uint256",
"name": "index",
"type": "uint256"
}
],
"name": "getNodeJoinRequest",
"outputs": [
{
"components": [
{
"internalType": "uint256",
"name": "createdAt",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "updatedAt",
"type": "uint256"
},
{
"internalType": "uint72",
"name": "identityId",
"type": "uint72"
},
{
"internalType": "enum ParanetLib.RequestStatus",
"name": "status",
"type": "uint8"
}
],
"internalType": "struct ParanetLib.ParanetNodeJoinRequest",
"name": "",
"type": "tuple"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "paranetId",
"type": "bytes32"
},
{
"internalType": "uint72",
"name": "identityId",
"type": "uint72"
}
],
"name": "getNodeJoinRequests",
"outputs": [
{
"components": [
{
"internalType": "uint256",
"name": "createdAt",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "updatedAt",
"type": "uint256"
},
{
"internalType": "uint72",
"name": "identityId",
"type": "uint72"
},
{
"internalType": "enum ParanetLib.RequestStatus",
"name": "status",
"type": "uint8"
}
],
"internalType": "struct ParanetLib.ParanetNodeJoinRequest[]",
"name": "",
"type": "tuple[]"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "paranetId",
"type": "bytes32"
},
{
"internalType": "uint72",
"name": "identityId",
"type": "uint72"
}
],
"name": "getNodeJoinRequestsCount",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "paranetId",
"type": "bytes32"
}
],
"name": "getNodesAccessPolicy",
"outputs": [
{
"internalType": "uint8",
"name": "",
"type": "uint8"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "index",
"type": "uint256"
}
],
"name": "getParanetIdAtIndex",
"outputs": [
{
"internalType": "bytes32",
"name": "",
"type": "bytes32"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "offset",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "limit",
"type": "uint256"
}
],
"name": "getParanetIds",
"outputs": [
{
"internalType": "bytes32[]",
"name": "",
"type": "bytes32[]"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "paranetId",
"type": "bytes32"
}
],
"name": "getParanetIdsMapping",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "paranetId",
"type": "bytes32"
}
],
"name": "getParanetKnowledgeAssetLocator",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
},
{
"internalType": "uint256",
"name": "",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "paranetId",
"type": "bytes32"
}
],
"name": "getParanetMetadata",
"outputs": [
{
"components": [
{
"internalType": "address",
"name": "paranetKCStorageContract",
"type": "address"
},
{
"internalType": "uint256",
"name": "paranetKCTokenId",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "paranetKATokenId",
"type": "uint256"
},
{
"internalType": "string",
"name": "name",
"type": "string"
},
{
"internalType": "string",
"name": "description",
"type": "string"
},
{
"internalType": "uint8",
"name": "nodesAccessPolicy",
"type": "uint8"
},
{
"internalType": "uint8",
"name": "minersAccessPolicy",
"type": "uint8"
},
{
"internalType": "uint8",
"name": "knowledgeCollectionsSubmissionPolicy",
"type": "uint8"
},
{
"internalType": "uint96",
"name": "cumulativeKnowledgeValue",
"type": "uint96"
}
],
"internalType": "struct ParanetLib.ParanetMetadata",
"name": "",
"type": "tuple"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "getParanetsCount",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "paranetId",
"type": "bytes32"
}
],
"name": "getPermissionedNodes",
"outputs": [
{
"components": [
{
"internalType": "uint72",
"name": "identityId",
"type": "uint72"
},
{
"internalType": "bytes",
"name": "nodeId",
"type": "bytes"
}
],
"internalType": "struct ParanetLib.Node[]",
"name": "",
"type": "tuple[]"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "paranetId",
"type": "bytes32"
}
],
"name": "getPermissionedNodesCount",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "paranetId",
"type": "bytes32"
}
],
"name": "getServices",
"outputs": [
{
"internalType": "bytes32[]",
"name": "",
"type": "bytes32[]"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "paranetId",
"type": "bytes32"
}
],
"name": "getServicesCount",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "paranetId",
"type": "bytes32"
},
{
"internalType": "string",
"name": "poolName",
"type": "string"
}
],
"name": "hasIncentivesPoolByName",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "paranetId",
"type": "bytes32"
},
{
"internalType": "address",
"name": "storageAddr",
"type": "address"
}
],
"name": "hasIncentivesPoolByStorageAddress",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "hub",
"outputs": [
{
"internalType": "contract Hub",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "paranetId",
"type": "bytes32"
},
{
"internalType": "bytes32",
"name": "knowledgeCollectionId",
"type": "bytes32"
}
],
"name": "isKnowledgeCollectionRegistered",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "paranetId",
"type": "bytes32"
},
{
"internalType": "address",
"name": "knowledgeMinerAddress",
"type": "address"
}
],
"name": "isKnowledgeMinerRegistered",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "paranetId",
"type": "bytes32"
},
{
"internalType": "uint72",
"name": "identityId",
"type": "uint72"
}
],
"name": "isPermissionedNode",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "paranetId",
"type": "bytes32"
},
{
"internalType": "bytes32",
"name": "serviceId",
"type": "bytes32"
}
],
"name": "isServiceImplemented",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "name",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string"
}
],
"stateMutability": "pure",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "paranetId",
"type": "bytes32"
}
],
"name": "paranetExists",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "knowledgeCollectionStorageContract",
"type": "address"
},
{
"internalType": "uint256",
"name": "knowledgeCollectionTokenId",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "knowledgeAssetTokenId",
"type": "uint256"
},
{
"internalType": "string",
"name": "paranetName",
"type": "string"
},
{
"internalType": "string",
"name": "paranetDescription",
"type": "string"
},
{
"internalType": "uint8",
"name": "nodesAccessPolicy",
"type": "uint8"
},
{
"internalType": "uint8",
"name": "minersAccessPolicy",
"type": "uint8"
},
{
"internalType": "uint8",
"name": "knowledgeCollectionsSubmissionPolicy",
"type": "uint8"
}
],
"name": "registerParanet",
"outputs": [
{
"internalType": "bytes32",
"name": "",
"type": "bytes32"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "paranetId",
"type": "bytes32"
},
{
"internalType": "bytes32",
"name": "knowledgeCollectionId",
"type": "bytes32"
}
],
"name": "removeKnowledgeCollection",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "paranetId",
"type": "bytes32"
},
{
"internalType": "address",
"name": "knowledgeMinerAddress",
"type": "address"
}
],
"name": "removeKnowledgeMiner",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "paranetId",
"type": "bytes32"
},
{
"internalType": "address",
"name": "miner",
"type": "address"
},
{
"internalType": "uint256",
"name": "index",
"type": "uint256"
}
],
"name": "removeKnowledgeMinerAccessRequest",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "paranetId",
"type": "bytes32"
},
{
"internalType": "uint72",
"name": "identityId",
"type": "uint72"
},
{
"internalType": "uint256",
"name": "index",
"type": "uint256"
}
],
"name": "removeNodeJoinRequest",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "paranetId",
"type": "bytes32"
},
{
"internalType": "uint72",
"name": "identityId",
"type": "uint72"
}
],
"name": "removePermissionedNode",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "paranetId",
"type": "bytes32"
},
{
"internalType": "bytes32",
"name": "serviceId",
"type": "bytes32"
}
],
"name": "removeService",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "paranetId",
"type": "bytes32"
},
{
"internalType": "uint96",
"name": "cumulativeKnowledgeValue",
"type": "uint96"
}
],
"name": "setCumulativeKnowledgeValue",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "paranetId",
"type": "bytes32"
},
{
"internalType": "string",
"name": "description",
"type": "string"
}
],
"name": "setDescription",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "paranetId",
"type": "bytes32"
},
{
"internalType": "uint8",
"name": "knowledgeCollectionsSubmissionPolicy",
"type": "uint8"
}
],
"name": "setKnowledgeCollectionsSubmissionPolicy",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "paranetId",
"type": "bytes32"
},
{
"internalType": "uint8",
"name": "minersAccessPolicy",
"type": "uint8"
}
],
"name": "setMinersAccessPolicy",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "paranetId",
"type": "bytes32"
},
{
"internalType": "string",
"name": "name_",
"type": "string"
}
],
"name": "setName",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "paranetId",
"type": "bytes32"
},
{
"internalType": "uint8",
"name": "nodesAccessPolicy",
"type": "uint8"
}
],
"name": "setNodesAccessPolicy",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "paranetId",
"type": "bytes32"
},
{
"internalType": "uint96",
"name": "subtractedKnowledgeValue",
"type": "uint96"
}
],
"name": "subCumulativeKnowledgeValue",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "paranetId",
"type": "bytes32"
},
{
"internalType": "address",
"name": "miner",
"type": "address"
},
{
"internalType": "uint256",
"name": "index",
"type": "uint256"
},
{
"internalType": "enum ParanetLib.RequestStatus",
"name": "status",
"type": "uint8"
}
],
"name": "updateKnowledgeMinerAccessRequestStatus",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "paranetId",
"type": "bytes32"
},
{
"internalType": "uint72",
"name": "identityId",
"type": "uint72"
},
{
"internalType": "uint256",
"name": "index",
"type": "uint256"
},
{
"internalType": "enum ParanetLib.RequestStatus",
"name": "status",
"type": "uint8"
}
],
"name": "updateNodeJoinRequestStatus",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "version",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string"
}
],
"stateMutability": "pure",
"type": "function"
}
]