Skip to content

Commit

Permalink
Merge pull request #19 from superfluid-finance/add-vesting-scheduler-…
Browse files Browse the repository at this point in the history
…v2-to-base

add vesting scheduler v2 to base
  • Loading branch information
kasparkallas authored Oct 8, 2024
2 parents d3c55f2 + e8c96bd commit 3f91c63
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 14 deletions.
30 changes: 18 additions & 12 deletions .github/workflows/vs-subgraph-ci-goldsky.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,23 @@ name: Deploy VestingScheduler Subgraphs (Goldsky)

on:
workflow_dispatch:
inputs:
network:
description: 'Network to deploy (select "all" for all networks)'
required: true
type: choice
options:
- all
- avalanche-c
- arbitrum-one
- bsc-mainnet
- eth-mainnet
- xdai-mainnet
- optimism-mainnet
- polygon-mainnet
- optimism-sepolia
- base-mainnet
default: 'all'
push:
branches:
- "release-v1/*"
Expand All @@ -17,18 +34,7 @@ jobs:
strategy:
fail-fast: false
matrix:
networks:
[
"avalanche-c",
"arbitrum-one",
"bsc-mainnet",
"eth-mainnet",
"xdai-mainnet",
"optimism-mainnet",
"polygon-mainnet",
"optimism-sepolia",
"base-mainnet"
]
networks: ${{ github.event.inputs.network == 'all' && fromJson('["avalanche-c", "arbitrum-one", "bsc-mainnet", "eth-mainnet", "xdai-mainnet", "optimism-mainnet", "polygon-mainnet", "optimism-sepolia", "base-mainnet"]') || fromJson(format('["{0}"]', github.event.inputs.network)) }}
steps:
- uses: actions/checkout@v4
- name: Install node
Expand Down
4 changes: 3 additions & 1 deletion subgraphs/vesting-scheduler/config/base-mainnet.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
{
"network": "base",
"vestingSchedulerAddress": "0xDF92D0E6Bcb9385FDe99aD21Ff5e47Fb47E3c6b2",
"vestingSchedulerStartBlock": 13848269
"vestingSchedulerStartBlock": 13848269,
"vestingSchedulerAddress_v2": "0x7b77A34b8B76B66E97a5Ae01aD052205d5cbe257",
"vestingSchedulerStartBlock_v2": 20799363
}
2 changes: 1 addition & 1 deletion subgraphs/vesting-scheduler/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vesting-scheduler-subgraph",
"version": "1.0.3",
"version": "1.0.4",
"description": "A subgraph for the vesting scheduler contracts",
"keywords": [
"subgraph"
Expand Down

0 comments on commit 3f91c63

Please sign in to comment.