Skip to content
Lattice

PythAdapterStorage

Git Source

ERC-7201 namespaced storage for PythAdapter.

APPEND-ONLY: new fields may only be added at the end.

Note:

  • storage-location: erc7201:lattice.storage.PythAdapter
struct PythAdapterStorage {
    /// @dev feed key => feed config.
    mapping(bytes32 key => PythFeed) _feeds;
    /// @dev the Pyth contract.
    address _pyth;
}

Properties

NameTypeDescription
_feedsmapping(bytes32 key => PythFeed)
_pythaddress