Skip to content

Commit

Permalink
Merge pull request #796 from oceanprotocol/feature/expose_agg_preds_a…
Browse files Browse the repository at this point in the history
…fter_trueval

expose agg predval after trueval
  • Loading branch information
alexcos20 authored Aug 16, 2023
2 parents 04dbf29 + 0007360 commit eeff4f6
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions contracts/templates/ERC20Template3.sol
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,9 @@ contract ERC20Template3 is
uint256 indexed slot,
bool trueValue,
uint256 floatValue,
Status status
Status status,
uint256 roundSumStakesUp,
uint256 roundSumStakes
);
struct Prediction {
bool predictedValue;
Expand Down Expand Up @@ -1160,7 +1162,8 @@ contract ERC20Template3 is
);
}
}
emit TruevalSubmitted(epoch_start, trueValue,floatValue,epochStatus[epoch_start]);
emit TruevalSubmitted(epoch_start, trueValue,floatValue,epochStatus[epoch_start],
roundSumStakesUp[epoch_start],roundSumStakes[epoch_start]);
}

function updateSeconds(
Expand Down

0 comments on commit eeff4f6

Please sign in to comment.