gnosis / pm-contracts

Collection of smart contracts for the Gnosis prediction market platform.
https://www.gnosis.pm
GNU Lesser General Public License v3.0
177 stars 56 forks source link

price logging before market closure #55

Closed josojo closed 7 years ago

josojo commented 7 years ago

https://github.com/gnosis/gnosis-contracts/blob/9285b3e12708b921eecba827161b9295894b406f/contracts/Markets/StandardMarketWithPriceLogger.sol#L54

Hey, I am currently testing these smartcontracts, and it would be great if we could call the function LogPriceBefore(); in L54, in order to finish the integral calculation just before the market closure. Currently, the integral calculation is to my knowledge not guaranteed to be complete.

josojo commented 7 years ago

the current implementation is fine. I was just confused :)