Skip to content

Commit

Permalink
Merge pull request #94 from Synthetixio/add-statausdc
Browse files Browse the repository at this point in the history
Add stataUSDC
  • Loading branch information
Tburm authored Aug 8, 2024
2 parents 3b37679 + 7b2a550 commit 87fef05
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
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

0 comments on commit 87fef05

Please sign in to comment.