Skip to content

Commit

Permalink
Added additional getters to NeuroIncentivesPool, added ParanetIncenti…
Browse files Browse the repository at this point in the history
…vesPoolFactory with separated deploy function
  • Loading branch information
u-hubar committed Jun 14, 2024
1 parent 2d53ad3 commit 36088fb
Show file tree
Hide file tree
Showing 8 changed files with 877 additions and 299 deletions.
200 changes: 200 additions & 0 deletions abi/ParanetIncentivesPoolFactory.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,200 @@
[
{
"inputs": [
{
"internalType": "address",
"name": "hubAddress",
"type": "address"
}
],
"stateMutability": "nonpayable",
"type": "constructor"
},
{
"inputs": [
{
"internalType": "address",
"name": "knowledgeAssetStorageAddress",
"type": "address"
},
{
"internalType": "uint256",
"name": "tokenId",
"type": "uint256"
},
{
"internalType": "string",
"name": "poolType",
"type": "string"
},
{
"internalType": "address",
"name": "poolAddress",
"type": "address"
}
],
"name": "ParanetIncentivesPoolAlreadyExists",
"type": "error"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "paranetKAStorageContract",
"type": "address"
},
{
"indexed": true,
"internalType": "uint256",
"name": "paranetKATokenId",
"type": "uint256"
},
{
"components": [
{
"internalType": "string",
"name": "poolType",
"type": "string"
},
{
"internalType": "address",
"name": "addr",
"type": "address"
}
],
"indexed": false,
"internalType": "struct ParanetStructs.IncentivesPool",
"name": "incentivesPool",
"type": "tuple"
}
],
"name": "ParanetIncetivesPoolDeployed",
"type": "event"
},
{
"inputs": [
{
"internalType": "address",
"name": "paranetKAStorageContract",
"type": "address"
},
{
"internalType": "uint256",
"name": "paranetKATokenId",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "tracToNeuroEmissionMultiplier",
"type": "uint256"
},
{
"internalType": "uint16",
"name": "paranetOperatorRewardPercentage",
"type": "uint16"
},
{
"internalType": "uint16",
"name": "paranetIncentivizationProposalVotersRewardPercentage",
"type": "uint16"
}
],
"name": "deployNeuroIncentivesPool",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "hub",
"outputs": [
{
"internalType": "contract HubV2",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "initialize",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "name",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string"
}
],
"stateMutability": "pure",
"type": "function"
},
{
"inputs": [],
"name": "paranetsRegistry",
"outputs": [
{
"internalType": "contract ParanetsRegistry",
"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"
},
{
"inputs": [],
"name": "version",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string"
}
],
"stateMutability": "pure",
"type": "function"
}
]
Loading

0 comments on commit 36088fb

Please sign in to comment.