Skip to content

Commit

Permalink
expose agg predval after trueval
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcos20 committed Aug 16, 2023
1 parent 04dbf29 commit 0007360
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 0007360

Please sign in to comment.