forked from aragon/court-subgraph
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
1,776 additions
and
1,902 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,327 +1 @@ | ||
[ | ||
{ | ||
"constant": true, | ||
"inputs": [], | ||
"name": "periodPercentageYield", | ||
"outputs": [ | ||
{ | ||
"name": "", | ||
"type": "uint256" | ||
} | ||
], | ||
"payable": false, | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"constant": true, | ||
"inputs": [], | ||
"name": "getCurrentPeriod", | ||
"outputs": [ | ||
{ | ||
"name": "periodBalanceCheckpoint", | ||
"type": "uint64" | ||
}, | ||
{ | ||
"name": "feeToken", | ||
"type": "address" | ||
}, | ||
{ | ||
"name": "totalActiveBalance", | ||
"type": "uint256" | ||
}, | ||
{ | ||
"name": "donatedFees", | ||
"type": "uint256" | ||
} | ||
], | ||
"payable": false, | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"constant": false, | ||
"inputs": [ | ||
{ | ||
"name": "_feeToken", | ||
"type": "address" | ||
} | ||
], | ||
"name": "setFeeToken", | ||
"outputs": [], | ||
"payable": false, | ||
"stateMutability": "nonpayable", | ||
"type": "function" | ||
}, | ||
{ | ||
"constant": true, | ||
"inputs": [ | ||
{ | ||
"name": "_juror", | ||
"type": "address" | ||
} | ||
], | ||
"name": "getJurorShare", | ||
"outputs": [ | ||
{ | ||
"name": "feeToken", | ||
"type": "address" | ||
}, | ||
{ | ||
"name": "jurorShare", | ||
"type": "uint256" | ||
} | ||
], | ||
"payable": false, | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"constant": false, | ||
"inputs": [ | ||
{ | ||
"name": "_token", | ||
"type": "address" | ||
}, | ||
{ | ||
"name": "_to", | ||
"type": "address" | ||
} | ||
], | ||
"name": "recoverFunds", | ||
"outputs": [], | ||
"payable": false, | ||
"stateMutability": "nonpayable", | ||
"type": "function" | ||
}, | ||
{ | ||
"constant": true, | ||
"inputs": [], | ||
"name": "getController", | ||
"outputs": [ | ||
{ | ||
"name": "", | ||
"type": "address" | ||
} | ||
], | ||
"payable": false, | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"constant": false, | ||
"inputs": [ | ||
{ | ||
"name": "_periodPercentageYield", | ||
"type": "uint256" | ||
} | ||
], | ||
"name": "setPeriodPercentageYield", | ||
"outputs": [], | ||
"payable": false, | ||
"stateMutability": "nonpayable", | ||
"type": "function" | ||
}, | ||
{ | ||
"constant": true, | ||
"inputs": [], | ||
"name": "getCurrentPeriodId", | ||
"outputs": [ | ||
{ | ||
"name": "", | ||
"type": "uint256" | ||
} | ||
], | ||
"payable": false, | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"constant": true, | ||
"inputs": [ | ||
{ | ||
"name": "_periodId", | ||
"type": "uint256" | ||
} | ||
], | ||
"name": "getPeriod", | ||
"outputs": [ | ||
{ | ||
"name": "periodBalanceCheckpoint", | ||
"type": "uint64" | ||
}, | ||
{ | ||
"name": "feeToken", | ||
"type": "address" | ||
}, | ||
{ | ||
"name": "totalActiveBalance", | ||
"type": "uint256" | ||
}, | ||
{ | ||
"name": "donatedFees", | ||
"type": "uint256" | ||
} | ||
], | ||
"payable": false, | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"constant": true, | ||
"inputs": [], | ||
"name": "currentFeeToken", | ||
"outputs": [ | ||
{ | ||
"name": "", | ||
"type": "address" | ||
} | ||
], | ||
"payable": false, | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"constant": true, | ||
"inputs": [], | ||
"name": "periodDuration", | ||
"outputs": [ | ||
{ | ||
"name": "", | ||
"type": "uint64" | ||
} | ||
], | ||
"payable": false, | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"constant": true, | ||
"inputs": [ | ||
{ | ||
"name": "_juror", | ||
"type": "address" | ||
} | ||
], | ||
"name": "hasJurorClaimed", | ||
"outputs": [ | ||
{ | ||
"name": "", | ||
"type": "bool" | ||
} | ||
], | ||
"payable": false, | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"constant": false, | ||
"inputs": [], | ||
"name": "claimFees", | ||
"outputs": [], | ||
"payable": false, | ||
"stateMutability": "nonpayable", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [ | ||
{ | ||
"name": "_controller", | ||
"type": "address" | ||
}, | ||
{ | ||
"name": "_periodDuration", | ||
"type": "uint64" | ||
}, | ||
{ | ||
"name": "_feeToken", | ||
"type": "address" | ||
}, | ||
{ | ||
"name": "_periodPercentageYield", | ||
"type": "uint256" | ||
} | ||
], | ||
"payable": false, | ||
"stateMutability": "nonpayable", | ||
"type": "constructor" | ||
}, | ||
{ | ||
"anonymous": false, | ||
"inputs": [ | ||
{ | ||
"indexed": true, | ||
"name": "juror", | ||
"type": "address" | ||
}, | ||
{ | ||
"indexed": true, | ||
"name": "periodId", | ||
"type": "uint256" | ||
}, | ||
{ | ||
"indexed": false, | ||
"name": "jurorShare", | ||
"type": "uint256" | ||
} | ||
], | ||
"name": "FeesClaimed", | ||
"type": "event" | ||
}, | ||
{ | ||
"anonymous": false, | ||
"inputs": [ | ||
{ | ||
"indexed": false, | ||
"name": "previousFeeToken", | ||
"type": "address" | ||
}, | ||
{ | ||
"indexed": false, | ||
"name": "currentFeeToken", | ||
"type": "address" | ||
} | ||
], | ||
"name": "FeeTokenChanged", | ||
"type": "event" | ||
}, | ||
{ | ||
"anonymous": false, | ||
"inputs": [ | ||
{ | ||
"indexed": false, | ||
"name": "previousYield", | ||
"type": "uint256" | ||
}, | ||
{ | ||
"indexed": false, | ||
"name": "currenetYield", | ||
"type": "uint256" | ||
} | ||
], | ||
"name": "PeriodPercentageYieldChanged", | ||
"type": "event" | ||
}, | ||
{ | ||
"anonymous": false, | ||
"inputs": [ | ||
{ | ||
"indexed": false, | ||
"name": "token", | ||
"type": "address" | ||
}, | ||
{ | ||
"indexed": false, | ||
"name": "recipient", | ||
"type": "address" | ||
}, | ||
{ | ||
"indexed": false, | ||
"name": "balance", | ||
"type": "uint256" | ||
} | ||
], | ||
"name": "RecoverFunds", | ||
"type": "event" | ||
} | ||
] | ||
[{"type":"function","stateMutability":"view","payable":false,"outputs":[{"type":"uint256","name":""}],"name":"periodPercentageYield","inputs":[],"constant":true},{"type":"function","stateMutability":"view","payable":false,"outputs":[{"type":"uint64","name":"periodBalanceCheckpoint"},{"type":"address","name":"feeToken"},{"type":"uint256","name":"totalActiveBalance"},{"type":"uint256","name":"donatedFees"}],"name":"getCurrentPeriod","inputs":[],"constant":true},{"type":"function","stateMutability":"nonpayable","payable":false,"outputs":[],"name":"setFeeToken","inputs":[{"type":"address","name":"_feeToken"}],"constant":false},{"type":"function","stateMutability":"view","payable":false,"outputs":[{"type":"address","name":"feeToken"},{"type":"uint256","name":"jurorShare"}],"name":"getJurorShare","inputs":[{"type":"address","name":"_juror"}],"constant":true},{"type":"function","stateMutability":"nonpayable","payable":false,"outputs":[],"name":"recoverFunds","inputs":[{"type":"address","name":"_token"},{"type":"address","name":"_to"}],"constant":false},{"type":"function","stateMutability":"view","payable":false,"outputs":[{"type":"address","name":""}],"name":"getController","inputs":[],"constant":true},{"type":"function","stateMutability":"nonpayable","payable":false,"outputs":[],"name":"setPeriodPercentageYield","inputs":[{"type":"uint256","name":"_periodPercentageYield"}],"constant":false},{"type":"function","stateMutability":"view","payable":false,"outputs":[{"type":"uint256","name":""}],"name":"getCurrentPeriodId","inputs":[],"constant":true},{"type":"function","stateMutability":"view","payable":false,"outputs":[{"type":"uint64","name":"periodBalanceCheckpoint"},{"type":"address","name":"feeToken"},{"type":"uint256","name":"totalActiveBalance"},{"type":"uint256","name":"donatedFees"}],"name":"getPeriod","inputs":[{"type":"uint256","name":"_periodId"}],"constant":true},{"type":"function","stateMutability":"view","payable":false,"outputs":[{"type":"address","name":""}],"name":"currentFeeToken","inputs":[],"constant":true},{"type":"function","stateMutability":"view","payable":false,"outputs":[{"type":"uint64","name":""}],"name":"periodDuration","inputs":[],"constant":true},{"type":"function","stateMutability":"view","payable":false,"outputs":[{"type":"bool","name":""}],"name":"hasJurorClaimed","inputs":[{"type":"address","name":"_juror"}],"constant":true},{"type":"function","stateMutability":"nonpayable","payable":false,"outputs":[],"name":"claimFees","inputs":[],"constant":false},{"type":"constructor","stateMutability":"nonpayable","payable":false,"inputs":[{"type":"address","name":"_controller"},{"type":"uint64","name":"_periodDuration"},{"type":"address","name":"_feeToken"},{"type":"uint256","name":"_periodPercentageYield"}]},{"type":"event","name":"FeesClaimed","inputs":[{"type":"address","name":"juror","indexed":true},{"type":"uint256","name":"periodId","indexed":true},{"type":"uint256","name":"jurorShare","indexed":false}],"anonymous":false},{"type":"event","name":"FeeTokenChanged","inputs":[{"type":"address","name":"previousFeeToken","indexed":false},{"type":"address","name":"currentFeeToken","indexed":false}],"anonymous":false},{"type":"event","name":"PeriodPercentageYieldChanged","inputs":[{"type":"uint256","name":"previousYield","indexed":false},{"type":"uint256","name":"currenetYield","indexed":false}],"anonymous":false},{"type":"event","name":"RecoverFunds","inputs":[{"type":"address","name":"token","indexed":false},{"type":"address","name":"recipient","indexed":false},{"type":"uint256","name":"balance","indexed":false}],"anonymous":false}] |
Oops, something went wrong.