diff --git a/.github/workflows/aw-subgraph-ci-goldsky.yml b/.github/workflows/aw-subgraph-ci-goldsky.yml index 993b396..050016a 100644 --- a/.github/workflows/aw-subgraph-ci-goldsky.yml +++ b/.github/workflows/aw-subgraph-ci-goldsky.yml @@ -25,6 +25,7 @@ jobs: "xdai-mainnet", "optimism-mainnet", "polygon-mainnet", + "optimism-sepolia", ] steps: - uses: actions/checkout@v2 diff --git a/.github/workflows/aw-subgraph-ci.yml b/.github/workflows/aw-subgraph-ci.yml index 3ffe9f8..316c710 100644 --- a/.github/workflows/aw-subgraph-ci.yml +++ b/.github/workflows/aw-subgraph-ci.yml @@ -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 diff --git a/.github/workflows/fs-subgraph-ci-goldsky.yml b/.github/workflows/fs-subgraph-ci-goldsky.yml index c2db5eb..5e60c7c 100644 --- a/.github/workflows/fs-subgraph-ci-goldsky.yml +++ b/.github/workflows/fs-subgraph-ci-goldsky.yml @@ -25,6 +25,7 @@ jobs: "xdai-mainnet", "optimism-mainnet", "polygon-mainnet", + "optimism-sepolia", ] steps: - uses: actions/checkout@v2 diff --git a/.github/workflows/fs-subgraph-ci.yml b/.github/workflows/fs-subgraph-ci.yml index 0a9c9b5..3fe1c71 100644 --- a/.github/workflows/fs-subgraph-ci.yml +++ b/.github/workflows/fs-subgraph-ci.yml @@ -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 diff --git a/.github/workflows/vs-subgraph-ci-goldsky.yml b/.github/workflows/vs-subgraph-ci-goldsky.yml index 68ce3cf..21d1bb8 100644 --- a/.github/workflows/vs-subgraph-ci-goldsky.yml +++ b/.github/workflows/vs-subgraph-ci-goldsky.yml @@ -25,6 +25,7 @@ jobs: "xdai-mainnet", "optimism-mainnet", "polygon-mainnet", + "optimism-sepolia", ] steps: - uses: actions/checkout@v2 diff --git a/.github/workflows/vs-subgraph-ci.yml b/.github/workflows/vs-subgraph-ci.yml index edf8487..4572df6 100644 --- a/.github/workflows/vs-subgraph-ci.yml +++ b/.github/workflows/vs-subgraph-ci.yml @@ -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 diff --git a/subgraphs/flow-scheduler/config/eth-goerli.json b/subgraphs/flow-scheduler/config/eth-goerli.json deleted file mode 100644 index f229f93..0000000 --- a/subgraphs/flow-scheduler/config/eth-goerli.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "network": "goerli", - "flowSchedulerAddress": "0xf428308b426D7cD7Ad8eBE549d750f31C8E060Ca", - "flowSchedulerStartBlock": 8087375 -} diff --git a/subgraphs/flow-scheduler/config/optimism-sepolia.json b/subgraphs/flow-scheduler/config/optimism-sepolia.json new file mode 100644 index 0000000..19af94f --- /dev/null +++ b/subgraphs/flow-scheduler/config/optimism-sepolia.json @@ -0,0 +1,5 @@ +{ + "network": "opsepolia", + "flowSchedulerAddress": "0x73B1Ce21d03ad389C2A291B1d1dc4DAFE7B5Dc68", + "flowSchedulerStartBlock": 11122218 +} diff --git a/subgraphs/flow-scheduler/config/polygon-mumbai.json b/subgraphs/flow-scheduler/config/polygon-mumbai.json deleted file mode 100644 index 26a4a56..0000000 --- a/subgraphs/flow-scheduler/config/polygon-mumbai.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "network": "mumbai", - "flowSchedulerAddress": "0x59A3Ba9d34c387FB70b4f4e4Fbc9eD7519194139", - "flowSchedulerStartBlock": 32581945 -} - \ No newline at end of file diff --git a/subgraphs/flow-scheduler/package.json b/subgraphs/flow-scheduler/package.json index b6ba954..3168805 100644 --- a/subgraphs/flow-scheduler/package.json +++ b/subgraphs/flow-scheduler/package.json @@ -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/", diff --git a/subgraphs/vesting-scheduler/config/eth-goerli.json b/subgraphs/vesting-scheduler/config/eth-goerli.json deleted file mode 100644 index f11811c..0000000 --- a/subgraphs/vesting-scheduler/config/eth-goerli.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "network": "goerli", - "vestingSchedulerAddress": "0xf9240f930d847f70ad900abee8949f25649bf24a", - "vestingSchedulerStartBlock": 8507393 -} diff --git a/subgraphs/vesting-scheduler/config/optimism-sepolia.json b/subgraphs/vesting-scheduler/config/optimism-sepolia.json new file mode 100644 index 0000000..d2e5cfb --- /dev/null +++ b/subgraphs/vesting-scheduler/config/optimism-sepolia.json @@ -0,0 +1,5 @@ +{ + "network": "opsepolia", + "vestingSchedulerAddress": "0x27444c0235a4D921F3106475faeba0B5e7ABDD7a", + "vestingSchedulerStartBlock": 11122232 +} diff --git a/subgraphs/vesting-scheduler/config/polygon-mumbai.json b/subgraphs/vesting-scheduler/config/polygon-mumbai.json deleted file mode 100644 index c75d8a2..0000000 --- a/subgraphs/vesting-scheduler/config/polygon-mumbai.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "network": "mumbai", - "vestingSchedulerAddress": "0x3962EE56c9f7176215D149938BA685F91aBB633B", - "vestingSchedulerStartBlock": 33383487 -} diff --git a/subgraphs/wrap-scheduler/config/arbitrum-one.json b/subgraphs/wrap-scheduler/config/arbitrum-one.json index 8f14883..d255bd1 100644 --- a/subgraphs/wrap-scheduler/config/arbitrum-one.json +++ b/subgraphs/wrap-scheduler/config/arbitrum-one.json @@ -1,6 +1,6 @@ { "network": "arbitrum-one", - "wrapSchedulerAddress": "0xf01825eAFAe5CD1Dab5593EFAF218efC8968D272", - "wrapSchedulerStartBlock": 81435582 + "wrapManagerAddress": "0xf01825eAFAe5CD1Dab5593EFAF218efC8968D272", + "wrapManagerStartBlock": 81435582 } diff --git a/subgraphs/wrap-scheduler/config/avalanche-c.json b/subgraphs/wrap-scheduler/config/avalanche-c.json index 9d72a71..2d05625 100644 --- a/subgraphs/wrap-scheduler/config/avalanche-c.json +++ b/subgraphs/wrap-scheduler/config/avalanche-c.json @@ -1,5 +1,5 @@ { "network": "avalanche", - "wrapSchedulerAddress": "0x8082e58681350876aFe8f52d3Bf8672034A03Db0", - "wrapSchedulerStartBlock": 28868150 + "wrapManagerAddress": "0x8082e58681350876aFe8f52d3Bf8672034A03Db0", + "wrapManagerStartBlock": 28868150 } diff --git a/subgraphs/wrap-scheduler/config/bsc-mainnet.json b/subgraphs/wrap-scheduler/config/bsc-mainnet.json index 97a8db0..09562a9 100644 --- a/subgraphs/wrap-scheduler/config/bsc-mainnet.json +++ b/subgraphs/wrap-scheduler/config/bsc-mainnet.json @@ -1,5 +1,5 @@ { "network": "bsc", - "wrapSchedulerAddress": "0x2AcdD61ac1EFFe1535109449c31889bdE8d7f325", - "wrapSchedulerStartBlock": 23843552 + "wrapManagerAddress": "0x2AcdD61ac1EFFe1535109449c31889bdE8d7f325", + "wrapManagerStartBlock": 23843552 } diff --git a/subgraphs/wrap-scheduler/config/eth-goerli.json b/subgraphs/wrap-scheduler/config/eth-goerli.json deleted file mode 100644 index b9fc258..0000000 --- a/subgraphs/wrap-scheduler/config/eth-goerli.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "network": "goerli", - "wrapSchedulerAddress": "0x0B82D14E9616ca4d260E77454834AdCf5887595F", - "wrapSchedulerStartBlock": 8122175 -} diff --git a/subgraphs/wrap-scheduler/config/eth-mainnet.json b/subgraphs/wrap-scheduler/config/eth-mainnet.json index bededbe..2bcf83c 100644 --- a/subgraphs/wrap-scheduler/config/eth-mainnet.json +++ b/subgraphs/wrap-scheduler/config/eth-mainnet.json @@ -1,5 +1,5 @@ { "network": "mainnet", - "wrapSchedulerAddress": "0x30aE282CF477E2eF28B14d0125aCEAd57Fe1d7a1", - "wrapSchedulerStartBlock": 17067322 + "wrapManagerAddress": "0x30aE282CF477E2eF28B14d0125aCEAd57Fe1d7a1", + "wrapManagerStartBlock": 17067322 } diff --git a/subgraphs/wrap-scheduler/config/optimism-mainnet.json b/subgraphs/wrap-scheduler/config/optimism-mainnet.json index cafebae..618b593 100644 --- a/subgraphs/wrap-scheduler/config/optimism-mainnet.json +++ b/subgraphs/wrap-scheduler/config/optimism-mainnet.json @@ -1,5 +1,5 @@ { "network": "optimism", - "wrapSchedulerAddress": "0x1fA76f2Cd0C3fe6c399A80111408d9C42C0CAC23", - "wrapSchedulerStartBlock": 91580804 + "wrapManagerAddress": "0xe567b32C10B0dB72d9490eB1B9A409C5ADed192C", + "wrapManagerStartBlock": 11311085 } diff --git a/subgraphs/wrap-scheduler/config/optimism-sepolia.json b/subgraphs/wrap-scheduler/config/optimism-sepolia.json new file mode 100644 index 0000000..7c673bb --- /dev/null +++ b/subgraphs/wrap-scheduler/config/optimism-sepolia.json @@ -0,0 +1,5 @@ +{ + "network": "opsepolia", + "wrapManagerAddress": "0x1fA76f2Cd0C3fe6c399A80111408d9C42C0CAC23", + "wrapManagerStartBlock": 91580804 +} diff --git a/subgraphs/wrap-scheduler/config/polygon-mainnet.json b/subgraphs/wrap-scheduler/config/polygon-mainnet.json index e3b918f..223fa2f 100644 --- a/subgraphs/wrap-scheduler/config/polygon-mainnet.json +++ b/subgraphs/wrap-scheduler/config/polygon-mainnet.json @@ -1,5 +1,5 @@ { "network": "matic", - "wrapSchedulerAddress": "0x2581c27E7f6D6AF452E63fCe884EDE3EDd716b32", - "wrapSchedulerStartBlock": 36743912 + "wrapManagerAddress": "0x2581c27E7f6D6AF452E63fCe884EDE3EDd716b32", + "wrapManagerStartBlock": 36743912 } diff --git a/subgraphs/wrap-scheduler/config/polygon-mumbai.json b/subgraphs/wrap-scheduler/config/polygon-mumbai.json index 08d1fff..6bd8938 100644 --- a/subgraphs/wrap-scheduler/config/polygon-mumbai.json +++ b/subgraphs/wrap-scheduler/config/polygon-mumbai.json @@ -1,5 +1,5 @@ { "network": "mumbai", - "wrapSchedulerAddress": "0x3eAB3c6207F488E475b7955B631B564F0E6317B9", - "wrapSchedulerStartBlock": 29624102 + "wrapManagerAddress": "0x3eAB3c6207F488E475b7955B631B564F0E6317B9", + "wrapManagerStartBlock": 29624102 } diff --git a/subgraphs/wrap-scheduler/config/xdai-mainnet.json b/subgraphs/wrap-scheduler/config/xdai-mainnet.json index 941548b..f50cd91 100644 --- a/subgraphs/wrap-scheduler/config/xdai-mainnet.json +++ b/subgraphs/wrap-scheduler/config/xdai-mainnet.json @@ -1,5 +1,5 @@ { "network": "gnosis", - "wrapSchedulerAddress": "0x8082e58681350876aFe8f52d3Bf8672034A03Db0", - "wrapSchedulerStartBlock": 27495360 + "wrapManagerAddress": "0x8082e58681350876aFe8f52d3Bf8672034A03Db0", + "wrapManagerStartBlock": 27495360 } diff --git a/subgraphs/wrap-scheduler/package.json b/subgraphs/wrap-scheduler/package.json index cb3faf4..4737696 100644 --- a/subgraphs/wrap-scheduler/package.json +++ b/subgraphs/wrap-scheduler/package.json @@ -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/", diff --git a/subgraphs/wrap-scheduler/subgraph.yaml b/subgraphs/wrap-scheduler/subgraph.yaml index 44ec2ec..5eb4ec4 100644 --- a/subgraphs/wrap-scheduler/subgraph.yaml +++ b/subgraphs/wrap-scheduler/subgraph.yaml @@ -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