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

[dex] add pair_name in dex pool schema #44

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions schemas/dex/SCHEMA.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ List of LP pools in this protocol (one entry per token in a pool).
| creation_block_number | The block this pool was created in. | number |
| timestamp | The timestamp of the block that this pool was created in. | number |
| pool_address | The contract address of the LP pool. | string |
| pair_name | The name of the token pair (eg. WETH-USDC) | string |
| lp_token_address | The token address of the LP token for this pool. | string |
| lp_token_symbol | The symbol of the LP token. | string |
| token_address | The token address of the pool token at token_index. | string |
Expand Down
4 changes: 4 additions & 0 deletions schemas/dex/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@
"description": "The contract address of the LP pool.",
"type": "string"
},
"pair_name": {
"description": "The name of the token pair (eg. WETH-USDC)",
"type":"string"
},
"lp_token_address": {
"description": "The token address of the LP token for this pool.",
"type": "string"
Expand Down