Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Derivatives schema changes #51

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

lylprg
Copy link
Contributor

@lylprg lylprg commented Jan 10, 2025

No description provided.

Comment on lines +121 to +130
Vault(s) in the protocol (one entry for each vault).
| Property | Description | Type |
|-------------------------|-----------------------------------------------------------|--------|
| timestamp | The timestamp of the snapshot. | number |
| block_date | The timestamp truncated (ie, YYYY-MM-DD format for daily snapshots and YYYY-MM-DD HH:00:00 for hourly snapshots). | date |
| chain_id | Standard chain id. | number |
| vault_address | The smart contract address of the vault. | string |
| token_address | The smart contract address of the token used as collateral (for each token). | string |
| token_index | The index of the token in the smart contract. | number |

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lets include token_symbol here as well

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants