chronicleprotocol / scribe

Extremely performant EVM oracle utilizing aggregated Schnorr signatures
Other
44 stars 5 forks source link

scribe: Adds maker compatibility function peep() #12

Closed pmerkleplant closed 10 months ago

pmerkleplant commented 10 months ago

Adds the peep()(uint,bool) function to increase MakerDAO compatibility. The peep() function is known from the OSM. However, note that the function in the OSM returns the future value while in this implementation it returns the current value (Scribe has no concept of future values).

Therefore, the peep()(uint,bool) and peek()(uint,bool) functions are equivalent. Note further that both functions are marked as deprecated and are only supported for existing non-upgradeable consumers of Maker oracles.