Skip to content

Commit

Permalink
Merge pull request #7 from superfluid-finance/optimism-sepolia
Browse files Browse the repository at this point in the history
Add Optimism sepolia
  • Loading branch information
kasparkallas authored Apr 30, 2024
2 parents aba9484 + f8cc085 commit 7be256b
Show file tree
Hide file tree
Showing 25 changed files with 42 additions and 50 deletions.
1 change: 1 addition & 0 deletions .github/workflows/aw-subgraph-ci-goldsky.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ jobs:
"xdai-mainnet",
"optimism-mainnet",
"polygon-mainnet",
"optimism-sepolia",
]
steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/aw-subgraph-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
working-directory: subgraphs/wrap-scheduler
strategy:
matrix:
networks: ["avalanche-c", "arbitrum-one", "bsc-mainnet", "eth-mainnet", "eth-goerli", "xdai-mainnet", "optimism-mainnet", "polygon-mainnet", "polygon-mumbai"]
networks: ["avalanche-c", "arbitrum-one", "bsc-mainnet", "eth-mainnet", "xdai-mainnet", "optimism-mainnet", "polygon-mainnet"]
steps:
- uses: actions/checkout@v2
- name: Install node
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/fs-subgraph-ci-goldsky.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ jobs:
"xdai-mainnet",
"optimism-mainnet",
"polygon-mainnet",
"optimism-sepolia",
]
steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/fs-subgraph-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
working-directory: subgraphs/flow-scheduler
strategy:
matrix:
networks: ["avalanche-c", "arbitrum-one", "bsc-mainnet", "eth-mainnet", "eth-goerli", "xdai-mainnet", "optimism-mainnet", "polygon-mainnet", "polygon-mumbai"]
networks: ["avalanche-c", "arbitrum-one", "bsc-mainnet", "eth-mainnet", "xdai-mainnet", "optimism-mainnet", "polygon-mainnet"]
steps:
- uses: actions/checkout@v2
- name: Install node
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/vs-subgraph-ci-goldsky.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ jobs:
"xdai-mainnet",
"optimism-mainnet",
"polygon-mainnet",
"optimism-sepolia",
]
steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/vs-subgraph-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
working-directory: subgraphs/vesting-scheduler
strategy:
matrix:
networks: ["avalanche-c", "arbitrum-one", "bsc-mainnet", "eth-mainnet", "eth-goerli", "xdai-mainnet", "optimism-mainnet", "polygon-mainnet", "polygon-mumbai"]
networks: ["avalanche-c", "arbitrum-one", "bsc-mainnet", "eth-mainnet", "xdai-mainnet", "optimism-mainnet", "polygon-mainnet"]
steps:
- uses: actions/checkout@v2
- name: Install node
Expand Down
5 changes: 0 additions & 5 deletions subgraphs/flow-scheduler/config/eth-goerli.json

This file was deleted.

5 changes: 5 additions & 0 deletions subgraphs/flow-scheduler/config/optimism-sepolia.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"network": "opsepolia",
"flowSchedulerAddress": "0x73B1Ce21d03ad389C2A291B1d1dc4DAFE7B5Dc68",
"flowSchedulerStartBlock": 11122218
}
6 changes: 0 additions & 6 deletions subgraphs/flow-scheduler/config/polygon-mumbai.json

This file was deleted.

4 changes: 2 additions & 2 deletions subgraphs/flow-scheduler/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
"license": "MIT",
"author": "Superfluid",
"scripts": {
"build": "graph build ./polygon-mumbai.subgraph.yaml",
"deploy:test": "goldsky subgraph deploy scheduling-v1-mumbai-test/1.1.0 --path ./build",
"build": "graph build ./optimism-sepolia.subgraph.yaml",
"deploy:test": "goldsky subgraph deploy scheduling-v1-opsepolia-test/1.1.0 --path ./build",
"dev": "nodemon -e ts -x yarn test",
"gen": "npm-run-all -s gen:yaml gen:types",
"gen:types": "graph codegen ./eth-mainnet.subgraph.yaml --output-dir src/types/",
Expand Down
5 changes: 0 additions & 5 deletions subgraphs/vesting-scheduler/config/eth-goerli.json

This file was deleted.

5 changes: 5 additions & 0 deletions subgraphs/vesting-scheduler/config/optimism-sepolia.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"network": "opsepolia",
"vestingSchedulerAddress": "0x27444c0235a4D921F3106475faeba0B5e7ABDD7a",
"vestingSchedulerStartBlock": 11122232
}
5 changes: 0 additions & 5 deletions subgraphs/vesting-scheduler/config/polygon-mumbai.json

This file was deleted.

4 changes: 2 additions & 2 deletions subgraphs/wrap-scheduler/config/arbitrum-one.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"network": "arbitrum-one",
"wrapSchedulerAddress": "0xf01825eAFAe5CD1Dab5593EFAF218efC8968D272",
"wrapSchedulerStartBlock": 81435582
"wrapManagerAddress": "0xf01825eAFAe5CD1Dab5593EFAF218efC8968D272",
"wrapManagerStartBlock": 81435582
}

4 changes: 2 additions & 2 deletions subgraphs/wrap-scheduler/config/avalanche-c.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"network": "avalanche",
"wrapSchedulerAddress": "0x8082e58681350876aFe8f52d3Bf8672034A03Db0",
"wrapSchedulerStartBlock": 28868150
"wrapManagerAddress": "0x8082e58681350876aFe8f52d3Bf8672034A03Db0",
"wrapManagerStartBlock": 28868150
}
4 changes: 2 additions & 2 deletions subgraphs/wrap-scheduler/config/bsc-mainnet.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"network": "bsc",
"wrapSchedulerAddress": "0x2AcdD61ac1EFFe1535109449c31889bdE8d7f325",
"wrapSchedulerStartBlock": 23843552
"wrapManagerAddress": "0x2AcdD61ac1EFFe1535109449c31889bdE8d7f325",
"wrapManagerStartBlock": 23843552
}
5 changes: 0 additions & 5 deletions subgraphs/wrap-scheduler/config/eth-goerli.json

This file was deleted.

4 changes: 2 additions & 2 deletions subgraphs/wrap-scheduler/config/eth-mainnet.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"network": "mainnet",
"wrapSchedulerAddress": "0x30aE282CF477E2eF28B14d0125aCEAd57Fe1d7a1",
"wrapSchedulerStartBlock": 17067322
"wrapManagerAddress": "0x30aE282CF477E2eF28B14d0125aCEAd57Fe1d7a1",
"wrapManagerStartBlock": 17067322
}
4 changes: 2 additions & 2 deletions subgraphs/wrap-scheduler/config/optimism-mainnet.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"network": "optimism",
"wrapSchedulerAddress": "0x1fA76f2Cd0C3fe6c399A80111408d9C42C0CAC23",
"wrapSchedulerStartBlock": 91580804
"wrapManagerAddress": "0xe567b32C10B0dB72d9490eB1B9A409C5ADed192C",
"wrapManagerStartBlock": 11311085
}
5 changes: 5 additions & 0 deletions subgraphs/wrap-scheduler/config/optimism-sepolia.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"network": "opsepolia",
"wrapManagerAddress": "0x1fA76f2Cd0C3fe6c399A80111408d9C42C0CAC23",
"wrapManagerStartBlock": 91580804
}
4 changes: 2 additions & 2 deletions subgraphs/wrap-scheduler/config/polygon-mainnet.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"network": "matic",
"wrapSchedulerAddress": "0x2581c27E7f6D6AF452E63fCe884EDE3EDd716b32",
"wrapSchedulerStartBlock": 36743912
"wrapManagerAddress": "0x2581c27E7f6D6AF452E63fCe884EDE3EDd716b32",
"wrapManagerStartBlock": 36743912
}
4 changes: 2 additions & 2 deletions subgraphs/wrap-scheduler/config/polygon-mumbai.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"network": "mumbai",
"wrapSchedulerAddress": "0x3eAB3c6207F488E475b7955B631B564F0E6317B9",
"wrapSchedulerStartBlock": 29624102
"wrapManagerAddress": "0x3eAB3c6207F488E475b7955B631B564F0E6317B9",
"wrapManagerStartBlock": 29624102
}
4 changes: 2 additions & 2 deletions subgraphs/wrap-scheduler/config/xdai-mainnet.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"network": "gnosis",
"wrapSchedulerAddress": "0x8082e58681350876aFe8f52d3Bf8672034A03Db0",
"wrapSchedulerStartBlock": 27495360
"wrapManagerAddress": "0x8082e58681350876aFe8f52d3Bf8672034A03Db0",
"wrapManagerStartBlock": 27495360
}
2 changes: 1 addition & 1 deletion subgraphs/wrap-scheduler/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"author": "Superfluid",
"scripts": {
"build": "graph build ./eth-mainnet.subgraph.yaml",
"deploy:test": "graph deploy --product hosted-service msoni89/auto-wrap-v1-mumbai-test polygon-mumbai.subgraph.yaml",
"deploy:test": "graph deploy --product hosted-service msoni89/auto-wrap-v1-opsepolia-test optimism-sepolia.subgraph.yaml",
"dev": "nodemon -e ts -x yarn test",
"gen": "npm-run-all -s gen:yaml gen:types",
"gen:types": "graph codegen ./eth-mainnet.subgraph.yaml --output-dir src/types/",
Expand Down
4 changes: 2 additions & 2 deletions subgraphs/wrap-scheduler/subgraph.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ dataSources:
network: {{ network }}
source:
abi: WrapManager
address: "{{wrapSchedulerAddress}}"
startBlock: {{wrapSchedulerStartBlock}}
address: "{{wrapManagerAddress}}"
startBlock: {{wrapManagerStartBlock}}
mapping:
kind: ethereum/events
apiVersion: 0.0.7
Expand Down

0 comments on commit 7be256b

Please sign in to comment.