Skip to content
Lattice

TWAPOracleStorage

Git Source

ERC-7201 namespaced storage for TWAPOracle.

Note:

  • storage-location: erc7201:lattice.storage.TWAPOracle
struct TWAPOracleStorage {
    mapping(bytes32 key => address) _pairs;
    mapping(bytes32 key => ITWAPOracle.Observation[]) _observations;
}

Properties

NameTypeDescription
_pairsmapping(bytes32 key => address)
_observationsmapping(bytes32 key => ITWAPOracle.Observation[])