diff --git a/packages/ethereum-contracts/truffle-config.js b/packages/ethereum-contracts/truffle-config.js index d11c8ef7ba..01cef495ce 100644 --- a/packages/ethereum-contracts/truffle-config.js +++ b/packages/ethereum-contracts/truffle-config.js @@ -79,6 +79,8 @@ const ALIASES = { "scroll-sepolia": ["scrsepolia"], "scroll-mainnet": ["scroll"], + "degenchain": ["degen"], + // wildcard for any network "any": ["any"], }; @@ -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 // diff --git a/packages/metadata/CHANGELOG.md b/packages/metadata/CHANGELOG.md index e1df9ce533..7a1e451e4f 100644 --- a/packages/metadata/CHANGELOG.md +++ b/packages/metadata/CHANGELOG.md @@ -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 diff --git a/packages/metadata/main/networks/list.cjs b/packages/metadata/main/networks/list.cjs index ed3d6eb715..055a6a2520 100644 --- a/packages/metadata/main/networks/list.cjs +++ b/packages/metadata/main/networks/list.cjs @@ -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"] } ] diff --git a/packages/metadata/module/networks/list.js b/packages/metadata/module/networks/list.js index 82becf0785..195b5bc731 100644 --- a/packages/metadata/module/networks/list.js +++ b/packages/metadata/module/networks/list.js @@ -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"] } ] diff --git a/packages/metadata/networks.json b/packages/metadata/networks.json index 3a2cd29443..ad7e18e2e6 100644 --- a/packages/metadata/networks.json +++ b/packages/metadata/networks.json @@ -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"] } ] diff --git a/packages/metadata/package.json b/packages/metadata/package.json index cd08381a23..7591b5e8b7 100644 --- a/packages/metadata/package.json +++ b/packages/metadata/package.json @@ -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", diff --git a/packages/subgraph/tasks/deploy.sh b/packages/subgraph/tasks/deploy.sh index b267098a9a..5384380441 100755 --- a/packages/subgraph/tasks/deploy.sh +++ b/packages/subgraph/tasks/deploy.sh @@ -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")