I have a value
for a each day(timestamp). I want to calculate average between two timestamps(from
and to
). Is it possible to calculate without using for
, while
or any kind of loops?
-
I would take a look at Uniswap Oracles implementation: docs.uniswap.org/protocol/V2/concepts/core-concepts/oracles– ikijongAug 4 at 14:49