For the complete documentation index, see llms.txt. This page is also available as Markdown.

IOracle

Overview

License: GPL-2.0-or-later

interface IOracle

Structs info

ObservationState

struct ObservationState {
	uint16 index;
	uint16 cardinality;
	uint16 cardinalityNext;
}

index: The index of the last written observation for the pool

cardinality: The cardinality of the observations array for the pool @custom:cardinalityNext The cardinality target of the observations array for the pool, which will replace cardinality when enough observations are written

Functions info

increaseCardinalityNext (0x8f1c9217)

getObservation (0xefb40e57)

getState (0xe3b077a1)

observe (0xf96f97f2)

Last updated