Skip to content

Commit

Permalink
chore: add new networks to sablier, cleanup config
Browse files Browse the repository at this point in the history
  • Loading branch information
razgraf committed Feb 7, 2024
1 parent d529830 commit 5e879c0
Showing 1 changed file with 16 additions and 34 deletions.
50 changes: 16 additions & 34 deletions src/strategies/sablier-v2/configuration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,78 +7,60 @@
const chains = {
arbitrum: '42161',
avalanche: '43114',
base: '8453',
bsc: '56',
ethereum: '1',
goerli: '5',
gnosis: '100',
optimism: '10',
polygon: '137'
polygon: '137',
scroll: '534352',
sepolia: '11155111'
};

const deployments = {
[chains.arbitrum]: {
contracts: [
'0x197d655f3be03903fd25e7828c3534504bfe525e', // SablierV2LockupLinear
'0xa9efbef1a35ff80041f567391bdc9813b2d50197' // SablierV2LockupDynamic
],
subgraph:
'https://api.thegraph.com/subgraphs/name/sablier-labs/sablier-v2-arbitrum'
},
[chains.avalanche]: {
contracts: [
'0x610346e9088afa70d6b03e96a800b3267e75ca19', // SablierV2LockupLinear
'0x665d1c8337f1035cfbe13dd94bb669110b975f5f' // SablierV2LockupDynamic
],
subgraph:
'https://api.thegraph.com/subgraphs/name/sablier-labs/sablier-v2-avalanche'
},
[chains.base]: {
subgraph:
'https://api.studio.thegraph.com/query/57079/sablier-v2-base/version/latest'
},
[chains.bsc]: {
contracts: [
'0x3fe4333f62a75c2a85c8211c6aefd1b9bfde6e51', // SablierV2LockupLinear
'0xf2f3fef2454dca59eca929d2d8cd2a8669cc6214' // SablierV2LockupDynamic
],
subgraph:
'https://api.thegraph.com/subgraphs/name/sablier-labs/sablier-v2-bsc'
},

[chains.ethereum]: {
contracts: [
'0xb10daee1fcf62243ae27776d7a92d39dc8740f95', // SablierV2LockupLinear
'0x39efdc3dbb57b2388ccc4bb40ac4cb1226bc9e44' // SablierV2LockupDynamic
],
subgraph: 'https://api.thegraph.com/subgraphs/name/sablier-labs/sablier-v2'
},
[chains.goerli]: {
contracts: [
'0x6e3678c005815ab34986d8d66a353cd3699103de', // SablierV2LockupLinear
'0x4be70ede968e9dba12db42b9869bec66bedc17d7' // SablierV2LockupDynamic
],
subgraph:
'https://api.thegraph.com/subgraphs/name/sablier-labs/sablier-v2-goerli'
},
[chains.gnosis]: {
contracts: [
'0x685e92c9ca2bb23f1b596d0a7d749c0603e88585', // SablierV2LockupLinear
'0xeb148e4ec13aaa65328c0ba089a278138e9e53f9' // SablierV2LockupDynamic
],
subgraph:
'https://api.thegraph.com/subgraphs/name/sablier-labs/sablier-v2-gnosis'
},
[chains.optimism]: {
contracts: [
'0xb923abdca17aed90eb5ec5e407bd37164f632bfd', // SablierV2LockupLinear
'0x6f68516c21e248cddfaf4898e66b2b0adee0e0d6' // SablierV2LockupDynamic
],
subgraph:
'https://api.thegraph.com/subgraphs/name/sablier-labs/sablier-v2-optimism'
},
[chains.polygon]: {
contracts: [
'0x67422c3e36a908d5c3237e9cffeb40bde7060f6e', // SablierV2LockupLinear
'0x7313addb53f96a4f710d3b91645c62b434190725' // SablierV2LockupDynamic
],
subgraph:
'https://api.thegraph.com/subgraphs/name/sablier-labs/sablier-v2-polygon'
},
[chains.scroll]: {
subgraph:
'https://api.studio.thegraph.com/query/57079/sablier-v2-scroll/version/latest'
},
[chains.sepolia]: {
subgraph:
'https://api.thegraph.com/subgraphs/name/sablier-labs/sablier-v2-sepolia'
}
};

Expand Down

0 comments on commit 5e879c0

Please sign in to comment.