Skip to content

Commit

Permalink
fix lending schema
Browse files Browse the repository at this point in the history
  • Loading branch information
melotik authored and Carl committed Jul 3, 2024
1 parent 7336e8a commit 0c1cfd0
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Create your block file (`adapters/{protocol-name}/hourly_blocks.csv`) using **co
Example:

```csv
number,block_timestamp
number,timestamp
6916213,1719322991
```

Expand Down Expand Up @@ -70,8 +70,8 @@ Please note the following:
| timestamp | Block timestamp |
| user_address | The address of the user who's data is being recorded |
| market | The smart contract address of the market |
| token_address (optional) | The smart contract address of the underlying token for this position |
| token_symbol (optional) | Symbol of the underlying token |
| token_address | The smart contract address of the underlying token for this position |
| token_symbol | Symbol of the underlying token |
| supply_token | Balance of the supplied amount in this market from `user_address` |
| borrow_token | balance of the borrowed amount in this market from `user_address` |
| etl_timestamp | Run timestamp of this row |
Expand Down Expand Up @@ -137,8 +137,8 @@ type OutputDataSchemaRow = {
// User / Market data
user_address: string;
market: string;
token_address: string | null;
token_symbol: string | null;
token_address: string;
token_symbol: string;

// Financial data
supply_token: bigint;
Expand Down

0 comments on commit 0c1cfd0

Please sign in to comment.