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

Add stataUSDC #94

Merged
merged 2 commits into from
Aug 8, 2024
Merged
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
3 changes: 2 additions & 1 deletion dashboard/modules/base_mainnet/core_stats.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,9 +147,10 @@ def make_charts(data, filters):
"apr": chart_lines(
data["apr"],
"ts",
["apr", "apr_pnl", "apr_rewards"],
"apr",
f"APR - {resolution} average",
y_format="%",
color="collateral_type",
),
"apr_token": chart_lines(
data["apr_token"],
Expand Down
2 changes: 2 additions & 0 deletions extractors/configs/base_mainnet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ eth_calls:
function_name: "getVaultCollateral"
inputs:
- [1, "0xC74eA762cF06c9151cE074E6a569a5945b6302E7"]
- [1, "0x729Ef31D86d31440ecBF49f27F7cD7c16c6616d2"]
min_block: "7.5M"
requests_per_second: 25

Expand All @@ -18,5 +19,6 @@ eth_calls:
function_name: "getVaultDebt"
inputs:
- [1, "0xC74eA762cF06c9151cE074E6a569a5945b6302E7"]
- [1, "0x729Ef31D86d31440ecBF49f27F7cD7c16c6616d2"]
min_block: "7.5M"
requests_per_second: 25
3 changes: 2 additions & 1 deletion transformers/synthetix/seeds/tokens/base_mainnet_tokens.csv
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
token_address,token_symbol
0xc74ea762cf06c9151ce074e6a569a5945b6302e7,USDC
0xc74ea762cf06c9151ce074e6a569a5945b6302e7,USDC
0x729ef31d86d31440ecbf49f27f7cd7c16c6616d2,stataUSDC
Loading