VaultSnapshot

Documentation for eth_defi.grvt.vault_scanner.VaultSnapshot Python class.

class VaultSnapshot

Bases: object

A point-in-time snapshot of a GRVT vault’s state.

Contains the key metrics we want to track over time for each vault.

Attributes summary

snapshot_timestamp

When this snapshot was taken

vault_id

Vault string ID on the GRVT platform (e.g.

chain_vault_id

Numeric on-chain vault ID

name

Vault display name

tvl

Total Value Locked in USDT

share_price

Current share price

apr

Annualised percentage return

investor_count

Number of investors in the vault

Methods summary

__init__(snapshot_timestamp, vault_id, ...)

snapshot_timestamp: datetime.datetime

When this snapshot was taken

vault_id: str

Vault string ID on the GRVT platform (e.g. VLT:xxx)

chain_vault_id: int

Numeric on-chain vault ID

name: str

Vault display name

tvl: float | None

Total Value Locked in USDT

share_price: float | None

Current share price

apr: float | None

Annualised percentage return

investor_count: int | None

Number of investors in the vault

__init__(snapshot_timestamp, vault_id, chain_vault_id, name, tvl, share_price, apr=None, investor_count=None)
Parameters
Return type

None