Databases

On the Lido protocol, we have the following databases to store various types of data:

DatabasesDescription

LidoSubmission

Records user deposits into the Lido protocol, including sender, amount, shares minted, and pool totals.

LidoTransfer

Tracks transfers of Lido shares between addresses, including balances before and after.

SharesBurn

Stores data related to burning of Lido shares during rebase events.

LidoApproval

Captures approval events where an account grants permission to another address to spend tokens.

CurrentFee

Stores the current fee configuration for the Lido protocol, including fee breakdown.

LidoConfig

Contains general configuration settings for the Lido protocol, such as addresses, limits, and flags.

LidoTotals

Stores the total amount of Ether pooled and total Lido shares in circulation.

LidoStats

Provides statistics about Lido, including unique holders and the last completed oracle report ID.

LidoHolder

Lists addresses that hold Lido shares and their current balance status.

LidoShares

Stores the number of Lido shares held by each address.

LidoOracleConfig

Contains configuration settings for the Lido oracle, such as quorum size and epoch details.

LidoOracleReport

Stores data about oracle reports, including total rewards, hash, and items processed.

LidoOracleComplete

Records completed oracle reports, including epoch ID, beacon balance, and transaction details.

LidoTotalReward

Stores information about total rewards earned, fees, APR, and share allocations.

LidoOracleMember

Lists members of the Lido oracle and their removal status.

LidoNodeOperatorFees

Records fees allocated to each node operator based on total rewards.

LidoNodeOperatorShares

Stores the number of Lido shares allocated to each node operator.

LidoBeaconReport

Contains beacon reports submitted by callers, including epoch ID, balance, and validators.

LidoOracleExpectedEpoch

Lists the expected epoch IDs for which oracle reports should be generated.