Skip to content

Commit

Permalink
fix names
Browse files Browse the repository at this point in the history
  • Loading branch information
0xroll committed Sep 30, 2024
1 parent 436f8a0 commit 2251a0f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions schemas/automated-liquidity-management/SCHEMA.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ List of pools in the protocol.
| timestamp | The timestamp this pool was created. | number |
| creation_block_number | The block number that this pool was created. | number |
| strategy_vault_contract_address | The contract address of the strategy vault which manages the liquidity pool positions. | string |
| underlying_liquidity_pool_address | The contract address of the underlying liquidity pool where liquidity are deposited into | string |
| liquidity_pool_address | The contract address of the underlying liquidity pool where liquidity are deposited into | string |
| strategy_vault_receipt_token_address | The contract address of ERC20 token which represents the share of liquidity provided. | string |
| strategy_vault_receipt_token_decimals | The decimal amount of the ERC20 receipt token. | number |
| strategy_vault_receipt_token_symbol | The symbol of the receipt token. | string |
Expand All @@ -30,7 +30,7 @@ Snapshot of the pool users.
| chain_id | The standard chain id. | number |
| strategy_vault_contract_address | The address of the strategy vault this user has a position in. | string |
| user_address | The address of the user who has a position in the strategy vault. | string |
| underlying_liquidity_pool_address | The address of the underlying liquidity pool where liquidity are deposited into | string |
| liquidity_pool_address | The address of the underlying liquidity pool where liquidity are deposited into | string |
| underlying_token_address | The address of the supplied underlying token. | string |
| underlying_token_index | The index of the underlying token in the smart contract, default 0. | number |
| underlying_token_amount | The amount based on the user's share of the total underlying token, decimal normalized. | number |
Expand All @@ -47,7 +47,7 @@ TVL, fees, and incentives data at the pool level.
| 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 | The standard chain id. | number |
| strategy_vault_contract_address | The address of the strategy vault this user has a position in. | string |
| underlying_liquidity_pool_address | The address of the underlying liquidity pool where liquidity are deposited into | string |
| liquidity_pool_address | The address of the underlying liquidity pool where liquidity are deposited into | string |
| underlying_token_address | The address of the supplied underlying token. | string |
| underlying_token_index | The index of the underlying token in the smart contract, default 0. | number |
| underlying_token_amount | The amount of underlying token supplied in this pool, decimal normalized. | number |
Expand Down
12 changes: 6 additions & 6 deletions schemas/automated-liquidity-management/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"description": "The contract address of the strategy vault which manages the liquidity pool positions.",
"type": "string"
},
"underlying_liquidity_pool_address": {
"liquidity_pool_address": {
"description": "The contract address of the underlying liquidity pool where liquidity are deposited into",
"type": "string"
},
Expand All @@ -49,7 +49,7 @@
"label": "Position Snapshot",
"tableName": "automated_liquidity_depositors",
"aggregation": "daily",
"uniqueKey": ["user_address", "pool_address", "block_date"],
"uniqueKey": ["user_address", "liquidity_pool_address", "block_date", "token_index"],
"description": "Snapshot of the pool users.",
"properties": {
"timestamp": {
Expand All @@ -72,7 +72,7 @@
"description": "The address of the user who has a position in the strategy vault.",
"type": "string"
},
"underlying_liquidity_pool_address": {
"liquidity_pool_address": {
"description": "The address of the underlying liquidity pool where liquidity are deposited into",
"type": "string"
},
Expand Down Expand Up @@ -121,7 +121,7 @@
"description": "The address of the strategy vault this user has a position in.",
"type": "string"
},
"underlying_liquidity_pool_address": {
"liquidity_pool_address": {
"description": "The address of the underlying liquidity pool where liquidity are deposited into",
"type": "string"
},
Expand Down Expand Up @@ -149,7 +149,7 @@
},
{
"label": "Events",
"tableName": "liquidity_yield_events",
"tableName": "automated_liquidity_events",
"aggregation": "transaction",
"uniqueKey": ["transaction_hash", "log_index"],
"description": "All user events (ie, Deposit, Withdrawal)",
Expand Down Expand Up @@ -202,7 +202,7 @@
},
{
"label": "Incentive Claim Data",
"tableName": "misc_incentive_claim",
"tableName": "automated_liquidity_incentive_claim",
"aggregation": "transaction",
"uniqueKey": ["transaction_hash", "log_index"],
"description": "Transactional data on user level incentives claimed data.",
Expand Down

0 comments on commit 2251a0f

Please sign in to comment.