Skip to Content
Explore on GitHub

UpgradeableProxyADFS

Overview

  1. Author

    Aneta Tsvetkova

  2. Notice

    Implements an upgradeable proxy for the Blocksense

    Aggregated Data Feed Store (ADFS) contract.

  3. Developer notes

    Non-management calls are delegated to the contract address stored in

    IMPLEMENTATION_SLOT, which is upgradeable by the admin stored in the

    ADMIN_SLOT.

    Storage layout:

    * Management space: [0 to 2**128-2**116)

    0x0000 - latest blocknumber (used by the implementation)

    0x0001 - implementation slot (used by this contract)

    0x0002 - admin slot (used by this contract)

    ... - additional management space reserved for ADFS

    * ADFS data space: [2**128-2**116 to 2**160)

    This contract intentionally deviates from the EIP-1967 slot scheme.

    It was co-designed with ADFS to accomodate its custom low-level

    storage management requirements.

    Note that this deviation has implications on storage isolation and

    upgrade safety.

Constants

Errors

Events

Functions

Last updated on