Skip to content

Commit

Permalink
Add "duneName" field to network.json (#1829) (#1831)
Browse files Browse the repository at this point in the history
* Add "duneName" field to network.json (#1829)

* Update networks.json to include dune network name

* remove "dunename" for unavailable networks

* Bump version of package.json

* [metadata] build

---------

Co-authored-by: leopk-code <[email protected]>
  • Loading branch information
hellwolf and leopk-code authored Feb 19, 2024
1 parent 9fdff7b commit ef71ac4
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 1 deletion.
11 changes: 11 additions & 0 deletions packages/metadata/main/networks/list.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ module.exports =
"humanReadableName": "Goerli",
"nativeTokenSymbol": "ETH",
"nativeTokenWrapper": "0x5943f705abb6834cad767e6e4bb258bc48d9c947",
"duneName": "goerli",
"contractsV1": {
"resolver": "0x071077b24943D4DC09a6A57B8aFfE2BdE9bD4B89",
"host": "0x22ff293e14F1EC3A09B137e9e06084AFd63adDF9",
Expand Down Expand Up @@ -460,6 +461,7 @@ module.exports =
"humanReadableName": "Gnosis Chain",
"nativeTokenSymbol": "xDAI",
"nativeTokenWrapper": "0x59988e47A3503AaFaA0368b9deF095c818Fdca01",
"duneName": "gnosis",
"contractsV1": {
"resolver": "0x9634Fa35188C59DD3B0ADa0Dd9adD7e4ECefc0a9",
"host": "0x2dFe937cD98Ab92e59cF3139138f18c823a4efE7",
Expand Down Expand Up @@ -523,6 +525,7 @@ module.exports =
"humanReadableName": "Polygon",
"nativeTokenSymbol": "MATIC",
"nativeTokenWrapper": "0x3aD736904E9e65189c3000c7DD2c8AC8bB7cD4e3",
"duneName": "polygon",
"contractsV1": {
"resolver": "0x8bDCb5613153f41B2856F71Bd7A7e0432F6dbe58",
"host": "0x3E14dC1b13c488a8d5D310918780c983bD5982E7",
Expand Down Expand Up @@ -584,6 +587,7 @@ module.exports =
"humanReadableName": "Optimism",
"nativeTokenSymbol": "ETH",
"nativeTokenWrapper": "0x4ac8bD1bDaE47beeF2D1c6Aa62229509b962Aa0d",
"duneName": "optimism",
"contractsV1": {
"resolver": "0x743B5f46BC86caF41bE4956d9275721E0531B186",
"host": "0x567c4B141ED61923967cA25Ef4906C8781069a10",
Expand Down Expand Up @@ -644,6 +648,7 @@ module.exports =
"humanReadableName": "Arbitrum One",
"nativeTokenSymbol": "ETH",
"nativeTokenWrapper": "0xe6C8d111337D0052b9D88BF5d7D55B7f8385ACd3",
"duneName": "arbitrum",
"contractsV1": {
"resolver": "0x609b9d9d6Ee9C3200745A79B9d3398DBd63d509F",
"host": "0xCf8Acb4eF033efF16E8080aed4c7D5B9285D2192",
Expand Down Expand Up @@ -704,6 +709,7 @@ module.exports =
"humanReadableName": "Avalanche C",
"nativeTokenSymbol": "AVAX",
"nativeTokenWrapper": "0xBE916845D8678b5d2F7aD79525A62D7c08ABba7e",
"duneName": "avalanche_c",
"contractsV1": {
"resolver": "0x24a3F04F70B7f07B9673EadD3e146391BcfEa5c1",
"host": "0x60377C7016E4cdB03C87EF474896C11cB560752C",
Expand Down Expand Up @@ -764,6 +770,7 @@ module.exports =
"humanReadableName": "BNB Smart Chain",
"nativeTokenSymbol": "BNB",
"nativeTokenWrapper": "0x529A4116F160c833c61311569D6B33dFF41fD657",
"duneName": "bnb",
"contractsV1": {
"resolver": "0x69604aA4e9e8BF44A73C680997205Edb03A92E41",
"host": "0xd1e2cFb6441680002Eb7A44223160aB9B67d7E6E",
Expand Down Expand Up @@ -824,6 +831,7 @@ module.exports =
"humanReadableName": "Ethereum",
"nativeTokenSymbol": "ETH",
"nativeTokenWrapper": "0xC22BeA0Be9872d8B7B3933CEc70Ece4D53A900da",
"duneName": "ethereum",
"contractsV1": {
"resolver": "0xeE4cD028f5fdaAdeA99f8fc38e8bA8A57c90Be53",
"host": "0x4E583d9390082B65Bef884b629DFA426114CED6d",
Expand Down Expand Up @@ -880,6 +888,7 @@ module.exports =
"humanReadableName": "Celo",
"nativeTokenSymbol": "CELO",
"nativeTokenWrapper": "0x671425Ae1f272Bc6F79beC3ed5C4b00e9c628240",
"duneName": "celo",
"contractsV1": {
"resolver": "0x05eE721BD4D803d6d477Aa7607395452B65373FF",
"host": "0xA4Ff07cF81C02CFD356184879D953970cA957585",
Expand Down Expand Up @@ -919,6 +928,7 @@ module.exports =
"humanReadableName": "Base",
"nativeTokenSymbol": "ETH",
"nativeTokenWrapper": "0x46fd5cfB4c12D87acD3a13e92BAa53240C661D93",
"duneName": "base",
"contractsV1": {
"resolver": "0x6a214c324553F96F04eFBDd66908685525Da0E0d",
"host": "0x4C073B3baB6d8826b8C5b229f3cfdC1eC6E47E74",
Expand Down Expand Up @@ -957,6 +967,7 @@ module.exports =
"humanReadableName": "Scroll",
"nativeTokenSymbol": "ETH",
"nativeTokenWrapper": "0x483C1716b6133cdA01237ebBF19c5a92898204B7",
"duneName": "scroll",
"contractsV1": {
"resolver": "0xb25a19c0e7d10c8D37E5b63Ed3213b67f7ebfF80",
"host": "0x0F86a21F6216c061B222c224e315d9FC34520bb7",
Expand Down
11 changes: 11 additions & 0 deletions packages/metadata/module/networks/list.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ export default
"humanReadableName": "Goerli",
"nativeTokenSymbol": "ETH",
"nativeTokenWrapper": "0x5943f705abb6834cad767e6e4bb258bc48d9c947",
"duneName": "goerli",
"contractsV1": {
"resolver": "0x071077b24943D4DC09a6A57B8aFfE2BdE9bD4B89",
"host": "0x22ff293e14F1EC3A09B137e9e06084AFd63adDF9",
Expand Down Expand Up @@ -460,6 +461,7 @@ export default
"humanReadableName": "Gnosis Chain",
"nativeTokenSymbol": "xDAI",
"nativeTokenWrapper": "0x59988e47A3503AaFaA0368b9deF095c818Fdca01",
"duneName": "gnosis",
"contractsV1": {
"resolver": "0x9634Fa35188C59DD3B0ADa0Dd9adD7e4ECefc0a9",
"host": "0x2dFe937cD98Ab92e59cF3139138f18c823a4efE7",
Expand Down Expand Up @@ -523,6 +525,7 @@ export default
"humanReadableName": "Polygon",
"nativeTokenSymbol": "MATIC",
"nativeTokenWrapper": "0x3aD736904E9e65189c3000c7DD2c8AC8bB7cD4e3",
"duneName": "polygon",
"contractsV1": {
"resolver": "0x8bDCb5613153f41B2856F71Bd7A7e0432F6dbe58",
"host": "0x3E14dC1b13c488a8d5D310918780c983bD5982E7",
Expand Down Expand Up @@ -584,6 +587,7 @@ export default
"humanReadableName": "Optimism",
"nativeTokenSymbol": "ETH",
"nativeTokenWrapper": "0x4ac8bD1bDaE47beeF2D1c6Aa62229509b962Aa0d",
"duneName": "optimism",
"contractsV1": {
"resolver": "0x743B5f46BC86caF41bE4956d9275721E0531B186",
"host": "0x567c4B141ED61923967cA25Ef4906C8781069a10",
Expand Down Expand Up @@ -644,6 +648,7 @@ export default
"humanReadableName": "Arbitrum One",
"nativeTokenSymbol": "ETH",
"nativeTokenWrapper": "0xe6C8d111337D0052b9D88BF5d7D55B7f8385ACd3",
"duneName": "arbitrum",
"contractsV1": {
"resolver": "0x609b9d9d6Ee9C3200745A79B9d3398DBd63d509F",
"host": "0xCf8Acb4eF033efF16E8080aed4c7D5B9285D2192",
Expand Down Expand Up @@ -704,6 +709,7 @@ export default
"humanReadableName": "Avalanche C",
"nativeTokenSymbol": "AVAX",
"nativeTokenWrapper": "0xBE916845D8678b5d2F7aD79525A62D7c08ABba7e",
"duneName": "avalanche_c",
"contractsV1": {
"resolver": "0x24a3F04F70B7f07B9673EadD3e146391BcfEa5c1",
"host": "0x60377C7016E4cdB03C87EF474896C11cB560752C",
Expand Down Expand Up @@ -764,6 +770,7 @@ export default
"humanReadableName": "BNB Smart Chain",
"nativeTokenSymbol": "BNB",
"nativeTokenWrapper": "0x529A4116F160c833c61311569D6B33dFF41fD657",
"duneName": "bnb",
"contractsV1": {
"resolver": "0x69604aA4e9e8BF44A73C680997205Edb03A92E41",
"host": "0xd1e2cFb6441680002Eb7A44223160aB9B67d7E6E",
Expand Down Expand Up @@ -824,6 +831,7 @@ export default
"humanReadableName": "Ethereum",
"nativeTokenSymbol": "ETH",
"nativeTokenWrapper": "0xC22BeA0Be9872d8B7B3933CEc70Ece4D53A900da",
"duneName": "ethereum",
"contractsV1": {
"resolver": "0xeE4cD028f5fdaAdeA99f8fc38e8bA8A57c90Be53",
"host": "0x4E583d9390082B65Bef884b629DFA426114CED6d",
Expand Down Expand Up @@ -880,6 +888,7 @@ export default
"humanReadableName": "Celo",
"nativeTokenSymbol": "CELO",
"nativeTokenWrapper": "0x671425Ae1f272Bc6F79beC3ed5C4b00e9c628240",
"duneName": "celo",
"contractsV1": {
"resolver": "0x05eE721BD4D803d6d477Aa7607395452B65373FF",
"host": "0xA4Ff07cF81C02CFD356184879D953970cA957585",
Expand Down Expand Up @@ -919,6 +928,7 @@ export default
"humanReadableName": "Base",
"nativeTokenSymbol": "ETH",
"nativeTokenWrapper": "0x46fd5cfB4c12D87acD3a13e92BAa53240C661D93",
"duneName": "base",
"contractsV1": {
"resolver": "0x6a214c324553F96F04eFBDd66908685525Da0E0d",
"host": "0x4C073B3baB6d8826b8C5b229f3cfdC1eC6E47E74",
Expand Down Expand Up @@ -957,6 +967,7 @@ export default
"humanReadableName": "Scroll",
"nativeTokenSymbol": "ETH",
"nativeTokenWrapper": "0x483C1716b6133cdA01237ebBF19c5a92898204B7",
"duneName": "scroll",
"contractsV1": {
"resolver": "0xb25a19c0e7d10c8D37E5b63Ed3213b67f7ebfF80",
"host": "0x0F86a21F6216c061B222c224e315d9FC34520bb7",
Expand Down
11 changes: 11 additions & 0 deletions packages/metadata/networks.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"humanReadableName": "Goerli",
"nativeTokenSymbol": "ETH",
"nativeTokenWrapper": "0x5943f705abb6834cad767e6e4bb258bc48d9c947",
"duneName": "goerli",
"contractsV1": {
"resolver": "0x071077b24943D4DC09a6A57B8aFfE2BdE9bD4B89",
"host": "0x22ff293e14F1EC3A09B137e9e06084AFd63adDF9",
Expand Down Expand Up @@ -458,6 +459,7 @@
"humanReadableName": "Gnosis Chain",
"nativeTokenSymbol": "xDAI",
"nativeTokenWrapper": "0x59988e47A3503AaFaA0368b9deF095c818Fdca01",
"duneName": "gnosis",
"contractsV1": {
"resolver": "0x9634Fa35188C59DD3B0ADa0Dd9adD7e4ECefc0a9",
"host": "0x2dFe937cD98Ab92e59cF3139138f18c823a4efE7",
Expand Down Expand Up @@ -521,6 +523,7 @@
"humanReadableName": "Polygon",
"nativeTokenSymbol": "MATIC",
"nativeTokenWrapper": "0x3aD736904E9e65189c3000c7DD2c8AC8bB7cD4e3",
"duneName": "polygon",
"contractsV1": {
"resolver": "0x8bDCb5613153f41B2856F71Bd7A7e0432F6dbe58",
"host": "0x3E14dC1b13c488a8d5D310918780c983bD5982E7",
Expand Down Expand Up @@ -582,6 +585,7 @@
"humanReadableName": "Optimism",
"nativeTokenSymbol": "ETH",
"nativeTokenWrapper": "0x4ac8bD1bDaE47beeF2D1c6Aa62229509b962Aa0d",
"duneName": "optimism",
"contractsV1": {
"resolver": "0x743B5f46BC86caF41bE4956d9275721E0531B186",
"host": "0x567c4B141ED61923967cA25Ef4906C8781069a10",
Expand Down Expand Up @@ -642,6 +646,7 @@
"humanReadableName": "Arbitrum One",
"nativeTokenSymbol": "ETH",
"nativeTokenWrapper": "0xe6C8d111337D0052b9D88BF5d7D55B7f8385ACd3",
"duneName": "arbitrum",
"contractsV1": {
"resolver": "0x609b9d9d6Ee9C3200745A79B9d3398DBd63d509F",
"host": "0xCf8Acb4eF033efF16E8080aed4c7D5B9285D2192",
Expand Down Expand Up @@ -702,6 +707,7 @@
"humanReadableName": "Avalanche C",
"nativeTokenSymbol": "AVAX",
"nativeTokenWrapper": "0xBE916845D8678b5d2F7aD79525A62D7c08ABba7e",
"duneName": "avalanche_c",
"contractsV1": {
"resolver": "0x24a3F04F70B7f07B9673EadD3e146391BcfEa5c1",
"host": "0x60377C7016E4cdB03C87EF474896C11cB560752C",
Expand Down Expand Up @@ -762,6 +768,7 @@
"humanReadableName": "BNB Smart Chain",
"nativeTokenSymbol": "BNB",
"nativeTokenWrapper": "0x529A4116F160c833c61311569D6B33dFF41fD657",
"duneName": "bnb",
"contractsV1": {
"resolver": "0x69604aA4e9e8BF44A73C680997205Edb03A92E41",
"host": "0xd1e2cFb6441680002Eb7A44223160aB9B67d7E6E",
Expand Down Expand Up @@ -822,6 +829,7 @@
"humanReadableName": "Ethereum",
"nativeTokenSymbol": "ETH",
"nativeTokenWrapper": "0xC22BeA0Be9872d8B7B3933CEc70Ece4D53A900da",
"duneName": "ethereum",
"contractsV1": {
"resolver": "0xeE4cD028f5fdaAdeA99f8fc38e8bA8A57c90Be53",
"host": "0x4E583d9390082B65Bef884b629DFA426114CED6d",
Expand Down Expand Up @@ -878,6 +886,7 @@
"humanReadableName": "Celo",
"nativeTokenSymbol": "CELO",
"nativeTokenWrapper": "0x671425Ae1f272Bc6F79beC3ed5C4b00e9c628240",
"duneName": "celo",
"contractsV1": {
"resolver": "0x05eE721BD4D803d6d477Aa7607395452B65373FF",
"host": "0xA4Ff07cF81C02CFD356184879D953970cA957585",
Expand Down Expand Up @@ -917,6 +926,7 @@
"humanReadableName": "Base",
"nativeTokenSymbol": "ETH",
"nativeTokenWrapper": "0x46fd5cfB4c12D87acD3a13e92BAa53240C661D93",
"duneName": "base",
"contractsV1": {
"resolver": "0x6a214c324553F96F04eFBDd66908685525Da0E0d",
"host": "0x4C073B3baB6d8826b8C5b229f3cfdC1eC6E47E74",
Expand Down Expand Up @@ -955,6 +965,7 @@
"humanReadableName": "Scroll",
"nativeTokenSymbol": "ETH",
"nativeTokenWrapper": "0x483C1716b6133cdA01237ebBF19c5a92898204B7",
"duneName": "scroll",
"contractsV1": {
"resolver": "0xb25a19c0e7d10c8D37E5b63Ed3213b67f7ebfF80",
"host": "0x0F86a21F6216c061B222c224e315d9FC34520bb7",
Expand Down
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.27",
"version": "1.1.28",
"description": "Superfluid Metadata",
"main": "main/index.cjs",
"module": "module/index.js",
Expand Down

0 comments on commit ef71ac4

Please sign in to comment.