From 00073607dc816eb5fb3e1d7002d9c499fe6e1bf5 Mon Sep 17 00:00:00 2001 From: alexcos20 Date: Tue, 15 Aug 2023 22:36:06 -0700 Subject: [PATCH] expose agg predval after trueval --- contracts/templates/ERC20Template3.sol | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/contracts/templates/ERC20Template3.sol b/contracts/templates/ERC20Template3.sol index 9c2f413d..884d8892 100644 --- a/contracts/templates/ERC20Template3.sol +++ b/contracts/templates/ERC20Template3.sol @@ -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; @@ -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(