File tree Expand file tree Collapse file tree 3 files changed +5
-4
lines changed
contracts/src/arbitration Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 11## 0.1.0 (2021-11-23)
22
3+ - fix(IArbitrator): replaced appealCost with fundingStatus ([ f189dd9] ( https://github.com/kleros/kleros-v2/commit/f189dd9 ) )
34- feat: modern toolchain setup and simple RNG smart contracts ([ 17f6a76] ( https://github.com/kleros/kleros-v2/commit/17f6a76 ) )
45- feat(Arbitration): standard update ([ ed930de] ( https://github.com/kleros/kleros-v2/commit/ed930de ) )
56- chore: added GitHub code scanning ([ 4a70475] ( https://github.com/kleros/kleros-v2/commit/4a70475 ) )
Original file line number Diff line number Diff line change @@ -317,7 +317,7 @@ contract CentralizedArbitrator is IArbitrator {
317317 * @return fee The required amount.
318318 */
319319 function arbitrationCost (
320- bytes memory /*_extraData*/
320+ bytes calldata /*_extraData*/
321321 ) public view override returns (uint256 fee ) {
322322 return arbitrationFee;
323323 }
@@ -328,7 +328,7 @@ contract CentralizedArbitrator is IArbitrator {
328328 * @return funded The amount funded so far for this subset in wei.
329329 * @return goal The amount to fully fund this subset in wei.
330330 */
331- function fundingStatus (uint256 _disputeID , uint256 [] memory _choices )
331+ function fundingStatus (uint256 _disputeID , uint256 [] calldata _choices )
332332 external
333333 view
334334 override
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ interface IArbitrator {
5656 * @param _extraData Can be used to give additional info on the dispute to be created.
5757 * @return cost Required cost of arbitration.
5858 */
59- function arbitrationCost (bytes memory _extraData ) external view returns (uint256 cost );
59+ function arbitrationCost (bytes calldata _extraData ) external view returns (uint256 cost );
6060
6161 /**
6262 * @dev Return the funded amount and funding goal for one (or the subset) of choices.
@@ -66,7 +66,7 @@ interface IArbitrator {
6666 * @return funded The amount funded so far for this subset in wei.
6767 * @return goal The amount to fully fund this subset in wei.
6868 */
69- function fundingStatus (uint256 _disputeID , uint256 [] memory _choices )
69+ function fundingStatus (uint256 _disputeID , uint256 [] calldata _choices )
7070 external
7171 view
7272 returns (uint256 funded , uint256 goal );
You can’t perform that action at this time.
0 commit comments