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 production subgraph and fix dependencies #282

Open
wants to merge 10 commits into
base: main
Choose a base branch
from
1 change: 1 addition & 0 deletions .github/workflows/deploy-subgraph-to-mainnet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: Deploy Subgraph to Mainnet
on:
push:
branches:
- main
- staging
- development
paths:
Expand Down
33 changes: 29 additions & 4 deletions packages/subgraph/deploy/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ files:
- output: eonian-sepolia-testnet.yaml
data:
network: sepolia
description: The subgraph of Eonian yield aggregator protocol for Sepolia testnet
description: The subgraph of Eonian savings account protocol for Sepolia testnet
schema: ../../schema.graphql
vaults:
- name: "USDT Vault"
Expand All @@ -27,7 +27,7 @@ files:
- output: eonian-bsc-development.yaml
data:
network: bsc
description: The subgraph of Eonian yield aggregator protocol for Binance Smart Chain development environment
description: The subgraph of Eonian savings account protocol for Binance Smart Chain development environment
schema: ../../schema.graphql
vaults:
- name: "USDT Vault"
Expand All @@ -52,7 +52,7 @@ files:
- output: eonian-bsc-staging.yaml
data:
network: bsc
description: The subgraph of Eonian yield aggregator protocol for Binance Smart Chain staging environment
description: The subgraph of Eonian savings account protocol for Binance Smart Chain staging environment
schema: ../../schema.graphql
vaults:
- name: "USDT Vault"
Expand All @@ -74,12 +74,37 @@ files:
eventHandlers:
file: ../../src/event-handlers.ts

- output: eonian-bsc-production.yaml
data:
network: bsc
description: The production subgraph of Eonian savings account protocol for Binance Smart Chain
schema: ../../schema.graphql
vaults:
- name: "USDT Vault"
address: "0xaBfCaA1c65d78C2f1D51fd796290029f976192B3"
startBlock: 40594939
- name: "USDC Vault"
address: "0x5340f5a1B7b847Ae71865D2D7B200dc8a06a9ffC"
startBlock: 40594891
- name: "WETH Vault"
address: "0x03A49bc893bBBEec9181b02C2D6abD6eb8e10311"
startBlock: 40595023
- name: "BTCB Vault"
address: "0x33C29951844aAa19524F51177cF725D6A0D720d4"
startBlock: 40594975
abis:
Vault: ../../abis/VaultImplementation.json
ERC20: ../../abis/ERC20.json
ChainLinkPriceFeed: ../../abis/ChainLinkPriceFeed.json
eventHandlers:
file: ../../src/event-handlers.ts

# used primarly for testing
# matchstick framework doesn't allow to pass the path to the schema
- output: local.yaml
data:
network: sepolia
description: The subgraph of Eonian yield aggregator protocol for Sepolia testnet
description: The subgraph of Eonian savings account protocol for Sepolia testnet
schema: ./schema.graphql
vaults:
- name: "USDT Vault"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
specVersion: 0.0.5
description: The subgraph of Eonian yield aggregator protocol for Binance Smart
specVersion: 1.0.0
description: The subgraph of Eonian savings account protocol for Binance Smart
Chain development environment
repository: https://github.com/eonian-core/farm
indexerHints:
prune: auto
schema:
file: ../../schema.graphql
dataSources:
Expand Down
Loading
Loading