Skip to content

Commit

Permalink
[METADATA] added degenchain (#1927)
Browse files Browse the repository at this point in the history
* added degenchain

* bump metadata version

* removed subgraph field from metadata

* added (undocumented) cliname, added to vendor superfluid
  • Loading branch information
d10r authored Apr 19, 2024
1 parent cdaff8d commit 49b3b8a
Show file tree
Hide file tree
Showing 7 changed files with 123 additions and 2 deletions.
12 changes: 12 additions & 0 deletions packages/ethereum-contracts/truffle-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,8 @@ const ALIASES = {
"scroll-sepolia": ["scrsepolia"],
"scroll-mainnet": ["scroll"],

"degenchain": ["degen"],

// wildcard for any network
"any": ["any"],
};
Expand Down Expand Up @@ -283,6 +285,16 @@ const E = (module.exports = {
network_id: 534351,
},

//
// Degen Chain: https://www.degen.tips/
//
"degenchain": {
...createNetworkDefaultConfiguration("degenchain"),
network_id: 666666666,
maxPriorityFeePerGas: 1e6, // 0.001 gwei
maxFeePerGas: 100e9, // 100 gwei
},

//
// Wildcard
//
Expand Down
4 changes: 4 additions & 0 deletions packages/metadata/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ All notable changes to the metadata will be documented in this file.

This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [v1.1.30]
### Added
- Degen Chain deployment

## [v1.1.29]
### Fixed
- Removed subgraph hosted endpoint entry for scroll-mainnet which doesn't exist
Expand Down
35 changes: 35 additions & 0 deletions packages/metadata/main/networks/list.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -762,5 +762,40 @@ module.exports =
"name": "protocol-v1-scroll-mainnet"
},
"publicRPCs": ["https://rpc.scroll.io"]
},
{
"name": "degenchain",
"isTestnet": false,
"networkId": 666666666,
"chainId": 666666666,
"sfId": 10,
"shortName": "degen",
"uppercaseName": "DEGENCHAIN",
"humanReadableName": "Degen Chain",
"nativeTokenSymbol": "DEGEN",
"nativeTokenWrapper": "0xda58FA9bfc3D3960df33ddD8D4d762Cf8Fa6F7ad",
"contractsV1": {
"resolver": "0x649FB24ed0B983f88500F3C37682714aB96D73c2",
"host": "0xc1314EdcD7e478C831a7a24169F7dEADB2646eD2",
"governance": "0x4D420e94328bF1AEA1b525FDE9e498ADBe60f9B1",
"cfaV1": "0x82cc052d1b17aC554a22A88D5876B56c6b51e95c",
"cfaV1Forwarder": "0xcfA132E353cB4E398080B9700609bb008eceB125",
"idaV1": "0xb19CE3e7DA9FbAf9De2526BD662A82f26421A53E",
"gdaV1": "0x210a01ad187003603B2287F78579ec103Eb70D9B",
"gdaV1Forwarder": "0x6DA13Bde224A05a288748d857b9e7DDEffd1dE08",
"constantOutflowNFT": "0xFC29D2db9c952D8253d1291964100C838B236DbD",
"constantInflowNFT": "0xd97b1C090B3A3512E1776197A86fddf8a437D8D1",
"superfluidLoader": "0x5fb676d66eAb8E0c22Ae24C5c10eD7E4A6397c1C",
"toga": "0x38ed5512Ac11926bB697F4CF4eE0DD04358E2E7e",
"batchLiquidator": "0x7BCE8e8401dc98E3Da26F1D701c3C2168b8e466c",
"superTokenFactory": "0x184D999ea60e9b16fE4cCC1f756422114E9B663f"
},
"startBlockV1": 6500000,
"logsQueryRange": 50000,
"explorer": "https://explorer.degen.tips/",
"subgraphV1": {
"cliName": "degen"
},
"publicRPCs": ["https://rpc.degen.tips"]
}
]
35 changes: 35 additions & 0 deletions packages/metadata/module/networks/list.js
Original file line number Diff line number Diff line change
Expand Up @@ -762,5 +762,40 @@ export default
"name": "protocol-v1-scroll-mainnet"
},
"publicRPCs": ["https://rpc.scroll.io"]
},
{
"name": "degenchain",
"isTestnet": false,
"networkId": 666666666,
"chainId": 666666666,
"sfId": 10,
"shortName": "degen",
"uppercaseName": "DEGENCHAIN",
"humanReadableName": "Degen Chain",
"nativeTokenSymbol": "DEGEN",
"nativeTokenWrapper": "0xda58FA9bfc3D3960df33ddD8D4d762Cf8Fa6F7ad",
"contractsV1": {
"resolver": "0x649FB24ed0B983f88500F3C37682714aB96D73c2",
"host": "0xc1314EdcD7e478C831a7a24169F7dEADB2646eD2",
"governance": "0x4D420e94328bF1AEA1b525FDE9e498ADBe60f9B1",
"cfaV1": "0x82cc052d1b17aC554a22A88D5876B56c6b51e95c",
"cfaV1Forwarder": "0xcfA132E353cB4E398080B9700609bb008eceB125",
"idaV1": "0xb19CE3e7DA9FbAf9De2526BD662A82f26421A53E",
"gdaV1": "0x210a01ad187003603B2287F78579ec103Eb70D9B",
"gdaV1Forwarder": "0x6DA13Bde224A05a288748d857b9e7DDEffd1dE08",
"constantOutflowNFT": "0xFC29D2db9c952D8253d1291964100C838B236DbD",
"constantInflowNFT": "0xd97b1C090B3A3512E1776197A86fddf8a437D8D1",
"superfluidLoader": "0x5fb676d66eAb8E0c22Ae24C5c10eD7E4A6397c1C",
"toga": "0x38ed5512Ac11926bB697F4CF4eE0DD04358E2E7e",
"batchLiquidator": "0x7BCE8e8401dc98E3Da26F1D701c3C2168b8e466c",
"superTokenFactory": "0x184D999ea60e9b16fE4cCC1f756422114E9B663f"
},
"startBlockV1": 6500000,
"logsQueryRange": 50000,
"explorer": "https://explorer.degen.tips/",
"subgraphV1": {
"cliName": "degen"
},
"publicRPCs": ["https://rpc.degen.tips"]
}
]
35 changes: 35 additions & 0 deletions packages/metadata/networks.json
Original file line number Diff line number Diff line change
Expand Up @@ -760,5 +760,40 @@
"name": "protocol-v1-scroll-mainnet"
},
"publicRPCs": ["https://rpc.scroll.io"]
},
{
"name": "degenchain",
"isTestnet": false,
"networkId": 666666666,
"chainId": 666666666,
"sfId": 10,
"shortName": "degen",
"uppercaseName": "DEGENCHAIN",
"humanReadableName": "Degen Chain",
"nativeTokenSymbol": "DEGEN",
"nativeTokenWrapper": "0xda58FA9bfc3D3960df33ddD8D4d762Cf8Fa6F7ad",
"contractsV1": {
"resolver": "0x649FB24ed0B983f88500F3C37682714aB96D73c2",
"host": "0xc1314EdcD7e478C831a7a24169F7dEADB2646eD2",
"governance": "0x4D420e94328bF1AEA1b525FDE9e498ADBe60f9B1",
"cfaV1": "0x82cc052d1b17aC554a22A88D5876B56c6b51e95c",
"cfaV1Forwarder": "0xcfA132E353cB4E398080B9700609bb008eceB125",
"idaV1": "0xb19CE3e7DA9FbAf9De2526BD662A82f26421A53E",
"gdaV1": "0x210a01ad187003603B2287F78579ec103Eb70D9B",
"gdaV1Forwarder": "0x6DA13Bde224A05a288748d857b9e7DDEffd1dE08",
"constantOutflowNFT": "0xFC29D2db9c952D8253d1291964100C838B236DbD",
"constantInflowNFT": "0xd97b1C090B3A3512E1776197A86fddf8a437D8D1",
"superfluidLoader": "0x5fb676d66eAb8E0c22Ae24C5c10eD7E4A6397c1C",
"toga": "0x38ed5512Ac11926bB697F4CF4eE0DD04358E2E7e",
"batchLiquidator": "0x7BCE8e8401dc98E3Da26F1D701c3C2168b8e466c",
"superTokenFactory": "0x184D999ea60e9b16fE4cCC1f756422114E9B663f"
},
"startBlockV1": 6500000,
"logsQueryRange": 50000,
"explorer": "https://explorer.degen.tips/",
"subgraphV1": {
"cliName": "degen"
},
"publicRPCs": ["https://rpc.degen.tips"]
}
]
2 changes: 1 addition & 1 deletion packages/metadata/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@superfluid-finance/metadata",
"version": "1.1.29",
"version": "1.1.30",
"description": "Superfluid Metadata",
"main": "main/index.cjs",
"module": "module/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/subgraph/tasks/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ GRAPH_NETWORKS=( $($JQ -r .[] ./hosted-service-networks.json) ) || exit 1
# shellcheck disable=SC2034
SATSUMA_NETWORKS=( "polygon-mainnet" "xdai-mainnet" "eth-mainnet" "eth-sepolia" "optimism-mainnet" "base-mainnet")
# shellcheck disable=SC2034
SUPERFLUID_NETWORKS=( "polygon-mainnet" "xdai-mainnet" "base-mainnet" "optimism-mainnet" "arbitrum-one" "celo-mainnet" "bsc-mainnet" "avalanche-c" "optimism-sepolia" "scroll-sepolia" "scroll-mainnet")
SUPERFLUID_NETWORKS=( "polygon-mainnet" "xdai-mainnet" "base-mainnet" "optimism-mainnet" "arbitrum-one" "celo-mainnet" "bsc-mainnet" "avalanche-c" "optimism-sepolia" "scroll-sepolia" "scroll-mainnet" "degenchain")
# shellcheck disable=SC2034
GOLDSKY_NETWORKS=( "polygon-mainnet" "xdai-mainnet" "base-mainnet" "optimism-mainnet" "arbitrum-one" "celo-mainnet" "bsc-mainnet" "avalanche-c" "optimism-sepolia" "scroll-sepolia" "scroll-mainnet")

Expand Down

0 comments on commit 49b3b8a

Please sign in to comment.