Skip to content

Commit

Permalink
add optimism
Browse files Browse the repository at this point in the history
  • Loading branch information
hammeiam committed Nov 30, 2022
1 parent fd76924 commit ed130b0
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion calc_apy_and_volume.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,14 @@ def identity(x):
"subgraph": "saddle-arbitrum",
"rpc_url": f"https://arb-mainnet.g.alchemy.com/v2/{ALCHEMY_API_KEY}"
}
SUPPORTED_NETWORKS = [MAINNET, ARBITRUM]
OPTIMISM = {
"name": "optimism",
"chain_id": 10,
"subgraph": "optimism",
"rpc_url": f"https://opt-mainnet.g.alchemy.com/v2/{ALCHEMY_API_KEY}"
}

SUPPORTED_NETWORKS = [MAINNET, ARBITRUM, OPTIMISM]

EMPTY_PAYLOAD_ITEM = {
"oneDayVolume": 0,
Expand Down

0 comments on commit ed130b0

Please sign in to comment.