receivePrice
(string * (timestamp * nat)) -> op(YToken.priceCallback(price))
Last updated
(string * (timestamp * nat)) -> op(YToken.priceCallback(price))
Last updated
This entrypoint is a part of the call.
Receives data (string * (timestamp * nat))
from oracle as (pairName, timestamp, oraclePrice)
parses from oraclePrice
normalized price
and send it as a callback to entrypoint.
This entrypoint is configured to process calls only from oracle
contract address from its storage, so no one else could call this method.