Skip to content

Commit

Permalink
Merge pull request #335 from OriginTrail/v8-paranet-update
Browse files Browse the repository at this point in the history
[WIP] V8 paranet update
  • Loading branch information
Mihajlo-Pavlovic authored Feb 26, 2025
2 parents a31375c + c6cd370 commit 8fa2564
Show file tree
Hide file tree
Showing 57 changed files with 13,839 additions and 3,401 deletions.
198 changes: 198 additions & 0 deletions abi/IERC20Extended.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,198 @@
[
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "owner",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "spender",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "value",
"type": "uint256"
}
],
"name": "Approval",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "from",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "to",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "value",
"type": "uint256"
}
],
"name": "Transfer",
"type": "event"
},
{
"inputs": [
{
"internalType": "address",
"name": "owner",
"type": "address"
},
{
"internalType": "address",
"name": "spender",
"type": "address"
}
],
"name": "allowance",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "spender",
"type": "address"
},
{
"internalType": "uint256",
"name": "value",
"type": "uint256"
}
],
"name": "approve",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "account",
"type": "address"
}
],
"name": "balanceOf",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "decimals",
"outputs": [
{
"internalType": "uint8",
"name": "",
"type": "uint8"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "totalSupply",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "to",
"type": "address"
},
{
"internalType": "uint256",
"name": "value",
"type": "uint256"
}
],
"name": "transfer",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "from",
"type": "address"
},
{
"internalType": "address",
"name": "to",
"type": "address"
},
{
"internalType": "uint256",
"name": "value",
"type": "uint256"
}
],
"name": "transferFrom",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "nonpayable",
"type": "function"
}
]
15 changes: 15 additions & 0 deletions abi/IParanetIncentivesPool.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
[
{
"inputs": [],
"name": "getParanetIncentivesPoolStorage",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
}
]
67 changes: 39 additions & 28 deletions abi/KnowledgeCollection.json
Original file line number Diff line number Diff line change
Expand Up @@ -189,11 +189,6 @@
"name": "ZeroAddressHub",
"type": "error"
},
{
"inputs": [],
"name": "ZeroTokenAmount",
"type": "error"
},
{
"inputs": [],
"name": "askStorage",
Expand Down Expand Up @@ -371,29 +366,6 @@
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "id",
"type": "uint256"
},
{
"internalType": "uint96",
"name": "tokenAmount",
"type": "uint96"
},
{
"internalType": "address",
"name": "paymaster",
"type": "address"
}
],
"name": "increaseKnowledgeCollectionTokenAmount",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "initialize",
Expand Down Expand Up @@ -440,6 +412,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
Loading

0 comments on commit 8fa2564

Please sign in to comment.