From 34962902664787208fb3007d4c245026610f8e89 Mon Sep 17 00:00:00 2001 From: Julia Ortiz Date: Thu, 4 Jan 2024 17:05:56 -0300 Subject: [PATCH] ensure token ibc.source matches chain identifiers --- tokens/ATOM.json | 2 +- tokens/AXL.json | 4 ++-- tokens/CMDX.json | 4 ++-- tokens/CMST.json | 4 ++-- tokens/EEUR.json | 4 ++-- tokens/EVMOS.json | 4 ++-- tokens/GRAV.json | 4 ++-- tokens/INJ.json | 2 +- tokens/JUNO.json | 4 ++-- tokens/KAVA.json | 4 ++-- tokens/NEOK.json | 4 ++-- tokens/OSMO.json | 4 ++-- tokens/QCK.json | 4 ++-- tokens/REGEN.json | 4 ++-- tokens/STARS.json | 4 ++-- tokens/STRD.json | 4 ++-- tokens/TASHI.json | 4 ++-- tokens/TORI.json | 4 ++-- tokens/USDC.json | 2 +- tokens/axlDAI.json | 4 ++-- tokens/axlPEPE.json | 4 ++-- tokens/axlRETH.json | 4 ++-- tokens/axlUSDC.json | 4 ++-- tokens/axlUSDT.json | 4 ++-- tokens/axlWBTC.json | 4 ++-- tokens/axlWETH.json | 4 ++-- tokens/axlWSTETH.json | 2 +- tokens/gDAI.json | 4 ++-- tokens/gUSDC.json | 4 ++-- tokens/gUSDT.json | 4 ++-- tokens/gWBTC.json | 4 ++-- tokens/gWETH.json | 4 ++-- tokens/kavaUSDT.json | 4 ++-- tokens/qATOM.json | 4 ++-- tokens/qOSMO.json | 4 ++-- tokens/stATOM.json | 4 ++-- tokens/stEVMOS.json | 4 ++-- tokens/stINJ.json | 4 ++-- tokens/stJUNO.json | 4 ++-- tokens/stOSMO.json | 4 ++-- tokens/stSTARS.json | 4 ++-- tokens/wormBTC.json | 4 ++-- tokens/wormETH.json | 4 ++-- tokens/wormSOL.json | 4 ++-- tokens/wormUSDC.json | 4 ++-- tokens/wormUSDT.json | 4 ++-- validate-tokens.sh | 21 ++++++++++++++++++++- 47 files changed, 108 insertions(+), 89 deletions(-) diff --git a/tokens/ATOM.json b/tokens/ATOM.json index 55aa9ba..ca7f37b 100644 --- a/tokens/ATOM.json +++ b/tokens/ATOM.json @@ -23,4 +23,4 @@ "png": "https://raw.githubusercontent.com/evmos/chain-token-registry/main/assets/tokens/ATOM.png", "svg": "https://raw.githubusercontent.com/evmos/chain-token-registry/main/assets/tokens/ATOM.svg" } -} +} \ No newline at end of file diff --git a/tokens/AXL.json b/tokens/AXL.json index 3169197..0b54d66 100644 --- a/tokens/AXL.json +++ b/tokens/AXL.json @@ -13,7 +13,7 @@ "erc20Address": "0x94c23eE865E3c963A56263d0ce2CBF5C6cE7ce2d", "ibc": { "sourceDenom": "uaxl", - "source": "Axelar" + "source": "axelar" }, "hideFromTestnet": false, "coingeckoId": "axelar", @@ -23,4 +23,4 @@ "png": "https://raw.githubusercontent.com/evmos/chain-token-registry/main/assets/tokens/AXL.png", "svg": "https://raw.githubusercontent.com/evmos/chain-token-registry/main/assets/tokens/AXL.svg" } -} +} \ No newline at end of file diff --git a/tokens/CMDX.json b/tokens/CMDX.json index 5322b62..79211f2 100644 --- a/tokens/CMDX.json +++ b/tokens/CMDX.json @@ -13,7 +13,7 @@ "erc20Address": "0xF0965c8f0755CF080a61C91EDd6707F0532c8fE7", "ibc": { "sourceDenom": "ucmdx", - "source": "Comdex" + "source": "comdex" }, "hideFromTestnet": false, "coingeckoId": "comdex", @@ -23,4 +23,4 @@ "png": "https://raw.githubusercontent.com/evmos/chain-token-registry/main/assets/tokens/CMDX.png", "svg": "https://raw.githubusercontent.com/evmos/chain-token-registry/main/assets/tokens/CMDX.svg" } -} +} \ No newline at end of file diff --git a/tokens/CMST.json b/tokens/CMST.json index bc9c0f7..8fb39b1 100644 --- a/tokens/CMST.json +++ b/tokens/CMST.json @@ -13,7 +13,7 @@ "erc20Address": "0x9d6F2a9fDB32708e1AC07788cc29D6125ac73027", "ibc": { "sourceDenom": "ucmst", - "source": "Comdex" + "source": "comdex" }, "hideFromTestnet": false, "coingeckoId": "composite", @@ -23,4 +23,4 @@ "png": "https://raw.githubusercontent.com/evmos/chain-token-registry/main/assets/tokens/CMST.png", "svg": "https://raw.githubusercontent.com/evmos/chain-token-registry/main/assets/tokens/CMST.svg" } -} +} \ No newline at end of file diff --git a/tokens/EEUR.json b/tokens/EEUR.json index 11aa322..095c9fb 100644 --- a/tokens/EEUR.json +++ b/tokens/EEUR.json @@ -13,7 +13,7 @@ "erc20Address": "0x5db67696C3c088DfBf588d3dd849f44266ff0ffa", "ibc": { "sourceDenom": "eeur", - "source": "Emoney" + "source": "emoney" }, "hideFromTestnet": false, "coingeckoId": "e-money-eur", @@ -23,4 +23,4 @@ "png": "https://raw.githubusercontent.com/evmos/chain-token-registry/main/assets/tokens/EEUR.png", "svg": "https://raw.githubusercontent.com/evmos/chain-token-registry/main/assets/tokens/EEUR.svg" } -} +} \ No newline at end of file diff --git a/tokens/EVMOS.json b/tokens/EVMOS.json index 922cbe3..a04cd32 100644 --- a/tokens/EVMOS.json +++ b/tokens/EVMOS.json @@ -13,7 +13,7 @@ "erc20Address": "0xD4949664cD82660AaE99bEdc034a0deA8A0bd517", "ibc": { "sourceDenom": "aevmos", - "source": "Evmos" + "source": "evmos" }, "hideFromTestnet": false, "coingeckoId": "evmos", @@ -23,4 +23,4 @@ "png": "https://raw.githubusercontent.com/evmos/chain-token-registry/main/assets/tokens/EVMOS.png", "svg": "https://raw.githubusercontent.com/evmos/chain-token-registry/main/assets/tokens/EVMOS.svg" } -} +} \ No newline at end of file diff --git a/tokens/GRAV.json b/tokens/GRAV.json index f6b1504..763eba4 100644 --- a/tokens/GRAV.json +++ b/tokens/GRAV.json @@ -13,7 +13,7 @@ "erc20Address": "0x80b5a32E4F032B2a058b4F29EC95EEfEEB87aDcd", "ibc": { "sourceDenom": "ugraviton", - "source": "Gravity" + "source": "gravitybridge" }, "hideFromTestnet": true, "coingeckoId": "graviton", @@ -23,4 +23,4 @@ "png": "https://raw.githubusercontent.com/evmos/chain-token-registry/main/assets/tokens/GRAV.png", "svg": "https://raw.githubusercontent.com/evmos/chain-token-registry/main/assets/tokens/GRAV.svg" } -} +} \ No newline at end of file diff --git a/tokens/INJ.json b/tokens/INJ.json index b81f4fb..27330bc 100644 --- a/tokens/INJ.json +++ b/tokens/INJ.json @@ -22,4 +22,4 @@ "img": { "png": "https://raw.githubusercontent.com/evmos/chain-token-registry/main/assets/tokens/INJ.png" } -} +} \ No newline at end of file diff --git a/tokens/JUNO.json b/tokens/JUNO.json index 09b37c8..ff7a4d6 100644 --- a/tokens/JUNO.json +++ b/tokens/JUNO.json @@ -13,7 +13,7 @@ "erc20Address": "0x3452e23F9c4cC62c70B7ADAd699B264AF3549C19", "ibc": { "sourceDenom": "ujuno", - "source": "Juno" + "source": "juno" }, "hideFromTestnet": false, "coingeckoId": "juno-network", @@ -23,4 +23,4 @@ "png": "https://raw.githubusercontent.com/evmos/chain-token-registry/main/assets/tokens/JUNO.png", "svg": "https://raw.githubusercontent.com/evmos/chain-token-registry/main/assets/tokens/JUNO.svg" } -} +} \ No newline at end of file diff --git a/tokens/KAVA.json b/tokens/KAVA.json index 664245c..ac6208a 100644 --- a/tokens/KAVA.json +++ b/tokens/KAVA.json @@ -13,7 +13,7 @@ "erc20Address": "0x6196AEe47D983E9b20610A3e816935bFfA8d17D1", "ibc": { "sourceDenom": "ukava", - "source": "Kava" + "source": "kava" }, "hideFromTestnet": false, "coingeckoId": "kava", @@ -23,4 +23,4 @@ "png": "https://raw.githubusercontent.com/evmos/chain-token-registry/main/assets/tokens/KAVA.png", "svg": "https://raw.githubusercontent.com/evmos/chain-token-registry/main/assets/tokens/KAVA.svg" } -} +} \ No newline at end of file diff --git a/tokens/NEOK.json b/tokens/NEOK.json index b06dd32..fea52e5 100644 --- a/tokens/NEOK.json +++ b/tokens/NEOK.json @@ -13,7 +13,7 @@ "erc20Address": "0x655ecB57432CC1370f65e5dc2309588b71b473A9", "ibc": { "sourceDenom": "neok", - "source": "Evmos" + "source": "evmos" }, "hideFromTestnet": false, "coingeckoId": "", @@ -22,4 +22,4 @@ "img": { "png": "https://raw.githubusercontent.com/evmos/chain-token-registry/main/assets/tokens/NEOK.png" } -} +} \ No newline at end of file diff --git a/tokens/OSMO.json b/tokens/OSMO.json index 06ff3b6..ddc926c 100644 --- a/tokens/OSMO.json +++ b/tokens/OSMO.json @@ -13,7 +13,7 @@ "erc20Address": "0xFA3C22C069B9556A4B2f7EcE1Ee3B467909f4864", "ibc": { "sourceDenom": "uosmo", - "source": "Osmosis" + "source": "osmosis" }, "hideFromTestnet": false, "coingeckoId": "osmosis", @@ -23,4 +23,4 @@ "png": "https://raw.githubusercontent.com/evmos/chain-token-registry/main/assets/tokens/OSMO.png", "svg": "https://raw.githubusercontent.com/evmos/chain-token-registry/main/assets/tokens/OSMO.svg" } -} +} \ No newline at end of file diff --git a/tokens/QCK.json b/tokens/QCK.json index e7625f7..0c03e63 100644 --- a/tokens/QCK.json +++ b/tokens/QCK.json @@ -13,7 +13,7 @@ "erc20Address": "0xf55454383cEEFB1B5e889E59542352B1b928707d", "ibc": { "sourceDenom": "uqck", - "source": "Quicksilver" + "source": "quicksilver" }, "hideFromTestnet": false, "coingeckoId": "quicksilver", @@ -23,4 +23,4 @@ "png": "https://raw.githubusercontent.com/evmos/chain-token-registry/main/assets/tokens/QCK.png", "svg": "https://raw.githubusercontent.com/evmos/chain-token-registry/main/assets/tokens/QCK.svg" } -} +} \ No newline at end of file diff --git a/tokens/REGEN.json b/tokens/REGEN.json index 069be12..2cc6610 100644 --- a/tokens/REGEN.json +++ b/tokens/REGEN.json @@ -13,7 +13,7 @@ "erc20Address": "0x0CE35b0D42608Ca54Eb7bcc8044f7087C18E7717", "ibc": { "sourceDenom": "uregen", - "source": "Regen" + "source": "regen" }, "hideFromTestnet": false, "coingeckoId": "stargaze", @@ -22,4 +22,4 @@ "img": { "png": "https://raw.githubusercontent.com/evmos/chain-token-registry/main/assets/tokens/REGEN.png" } -} +} \ No newline at end of file diff --git a/tokens/STARS.json b/tokens/STARS.json index 58ef9c0..c74f2b5 100644 --- a/tokens/STARS.json +++ b/tokens/STARS.json @@ -13,7 +13,7 @@ "erc20Address": "0x5aD523d94Efb56C400941eb6F34393b84c75ba39", "ibc": { "sourceDenom": "ustars", - "source": "Stargaze" + "source": "stargaze" }, "hideFromTestnet": false, "coingeckoId": "stargaze", @@ -22,4 +22,4 @@ "img": { "png": "https://raw.githubusercontent.com/evmos/chain-token-registry/main/assets/tokens/STARS.png" } -} +} \ No newline at end of file diff --git a/tokens/STRD.json b/tokens/STRD.json index cb8b33c..030c379 100644 --- a/tokens/STRD.json +++ b/tokens/STRD.json @@ -13,7 +13,7 @@ "erc20Address": "0x8FA78CEB7F04118Ec6d06AaC37Ca854691d8e963", "ibc": { "sourceDenom": "ustrd", - "source": "Stride" + "source": "stride" }, "hideFromTestnet": false, "coingeckoId": "stride", @@ -23,4 +23,4 @@ "png": "https://raw.githubusercontent.com/evmos/chain-token-registry/main/assets/tokens/STRD.png", "svg": "https://raw.githubusercontent.com/evmos/chain-token-registry/main/assets/tokens/STRD.svg" } -} +} \ No newline at end of file diff --git a/tokens/TASHI.json b/tokens/TASHI.json index 40868f2..6ae614b 100644 --- a/tokens/TASHI.json +++ b/tokens/TASHI.json @@ -13,7 +13,7 @@ "erc20Address": "0x98fAFD9F714CE0B4bB2870527076F2F314aAed82", "ibc": { "sourceDenom": "tashi", - "source": "Evmos" + "source": "evmos" }, "hideFromTestnet": false, "coingeckoId": "", @@ -23,4 +23,4 @@ "png": "https://raw.githubusercontent.com/evmos/chain-token-registry/main/assets/tokens/TASHI.png", "svg": "https://raw.githubusercontent.com/evmos/chain-token-registry/main/assets/tokens/TASHI.svg" } -} +} \ No newline at end of file diff --git a/tokens/TORI.json b/tokens/TORI.json index 1487b92..fd72de5 100644 --- a/tokens/TORI.json +++ b/tokens/TORI.json @@ -13,7 +13,7 @@ "erc20Address": "0x205CF44075E77A3543abC690437F3b2819bc450a", "ibc": { "sourceDenom": "utori", - "source": "Teritori" + "source": "teritori" }, "hideFromTestnet": true, "coingeckoId": "teritori", @@ -22,4 +22,4 @@ "img": { "png": "https://raw.githubusercontent.com/evmos/chain-token-registry/main/assets/tokens/TORI.png" } -} +} \ No newline at end of file diff --git a/tokens/USDC.json b/tokens/USDC.json index 2883f11..0d7e707 100644 --- a/tokens/USDC.json +++ b/tokens/USDC.json @@ -23,4 +23,4 @@ "png": "https://raw.githubusercontent.com/evmos/chain-token-registry/main/assets/tokens/USDC.png", "svg": "https://raw.githubusercontent.com/evmos/chain-token-registry/main/assets/tokens/USDC.svg" } -} +} \ No newline at end of file diff --git a/tokens/axlDAI.json b/tokens/axlDAI.json index 7b803ee..0ac908a 100644 --- a/tokens/axlDAI.json +++ b/tokens/axlDAI.json @@ -13,7 +13,7 @@ "erc20Address": "0x4A2a90D444DbB7163B5861b772f882BbA394Ca67", "ibc": { "sourceDenom": "axldai", - "source": "Axelar" + "source": "axelar" }, "hideFromTestnet": true, "handledByExternalUI": [ @@ -29,4 +29,4 @@ "png": "https://raw.githubusercontent.com/evmos/chain-token-registry/main/assets/tokens/axlDAI.png", "svg": "https://raw.githubusercontent.com/evmos/chain-token-registry/main/assets/tokens/axlDAI.svg" } -} +} \ No newline at end of file diff --git a/tokens/axlPEPE.json b/tokens/axlPEPE.json index 418671f..0c33fa5 100644 --- a/tokens/axlPEPE.json +++ b/tokens/axlPEPE.json @@ -13,7 +13,7 @@ "erc20Address": "0xc76A204AEA61a68a3B1f97B8E70286CD42B020D2", "ibc": { "sourceDenom": "axlpepe", - "source": "Axelar" + "source": "axelar" }, "hideFromTestnet": true, "handledByExternalUI": [ @@ -29,4 +29,4 @@ "png": "https://raw.githubusercontent.com/evmos/chain-token-registry/main/assets/tokens/axlPEPE.png", "svg": "https://raw.githubusercontent.com/evmos/chain-token-registry/main/assets/tokens/axlPEPE.svg" } -} +} \ No newline at end of file diff --git a/tokens/axlRETH.json b/tokens/axlRETH.json index 499c944..e2bfc43 100644 --- a/tokens/axlRETH.json +++ b/tokens/axlRETH.json @@ -13,7 +13,7 @@ "erc20Address": "0xE60CE2dfa6D4Ad37Ade1dcB7aC4D6C3A093b3A7E", "ibc": { "sourceDenom": "axlreth", - "source": "Axelar" + "source": "axelar" }, "hideFromTestnet": true, "handledByExternalUI": [ @@ -28,4 +28,4 @@ "img": { "png": "https://raw.githubusercontent.com/evmos/chain-token-registry/main/assets/tokens/axlRETH.png" } -} +} \ No newline at end of file diff --git a/tokens/axlUSDC.json b/tokens/axlUSDC.json index 449c7bf..682a824 100644 --- a/tokens/axlUSDC.json +++ b/tokens/axlUSDC.json @@ -13,7 +13,7 @@ "erc20Address": "0x15C3Eb3B621d1Bff62CbA1c9536B7c1AE9149b57", "ibc": { "sourceDenom": "uusdc", - "source": "Axelar" + "source": "axelar" }, "hideFromTestnet": false, "handledByExternalUI": [ @@ -29,4 +29,4 @@ "png": "https://raw.githubusercontent.com/evmos/chain-token-registry/main/assets/tokens/axlUSDC.png", "svg": "https://raw.githubusercontent.com/evmos/chain-token-registry/main/assets/tokens/axlUSDC.svg" } -} +} \ No newline at end of file diff --git a/tokens/axlUSDT.json b/tokens/axlUSDT.json index 7bf1761..dcd3f94 100644 --- a/tokens/axlUSDT.json +++ b/tokens/axlUSDT.json @@ -13,7 +13,7 @@ "erc20Address": "0xe01C6D4987Fc8dCE22988DADa92d56dA701d0Fe0", "ibc": { "sourceDenom": "uusdt", - "source": "Axelar" + "source": "axelar" }, "hideFromTestnet": true, "handledByExternalUI": [ @@ -29,4 +29,4 @@ "png": "https://raw.githubusercontent.com/evmos/chain-token-registry/main/assets/tokens/axlUSDT.png", "svg": "https://raw.githubusercontent.com/evmos/chain-token-registry/main/assets/tokens/axlUSDT.svg" } -} +} \ No newline at end of file diff --git a/tokens/axlWBTC.json b/tokens/axlWBTC.json index 3a73ef5..54306f3 100644 --- a/tokens/axlWBTC.json +++ b/tokens/axlWBTC.json @@ -13,7 +13,7 @@ "erc20Address": "0xF5b24c0093b65408ACE53df7ce86a02448d53b25", "ibc": { "sourceDenom": "wbtc-satoshi", - "source": "Axelar" + "source": "axelar" }, "hideFromTestnet": false, "handledByExternalUI": [ @@ -28,4 +28,4 @@ "img": { "png": "https://raw.githubusercontent.com/evmos/chain-token-registry/main/assets/tokens/axlWBTC.png" } -} +} \ No newline at end of file diff --git a/tokens/axlWETH.json b/tokens/axlWETH.json index 127dfc8..6fc62a0 100644 --- a/tokens/axlWETH.json +++ b/tokens/axlWETH.json @@ -13,7 +13,7 @@ "erc20Address": "0x50dE24B3f0B3136C50FA8A3B8ebc8BD80a269ce5", "ibc": { "sourceDenom": "weth-wei", - "source": "Axelar" + "source": "axelar" }, "hideFromTestnet": false, "handledByExternalUI": [ @@ -28,4 +28,4 @@ "img": { "png": "https://raw.githubusercontent.com/evmos/chain-token-registry/main/assets/tokens/axlWETH.png" } -} +} \ No newline at end of file diff --git a/tokens/axlWSTETH.json b/tokens/axlWSTETH.json index 9451a55..4bbf3d7 100644 --- a/tokens/axlWSTETH.json +++ b/tokens/axlWSTETH.json @@ -13,7 +13,7 @@ "erc20Address": "0xA2A4B12EF81E7A26C5a1E0be9340b1972F85E44A", "ibc": { "sourceDenom": "axlwsteth", - "source": "Axelar" + "source": "axelar" }, "hideFromTestnet": true, "handledByExternalUI": [ diff --git a/tokens/gDAI.json b/tokens/gDAI.json index 0f407e2..eb53213 100644 --- a/tokens/gDAI.json +++ b/tokens/gDAI.json @@ -13,7 +13,7 @@ "erc20Address": "0xd567B3d7B8FE3C79a1AD8dA978812cfC4Fa05e75", "ibc": { "sourceDenom": "gravity0x6B175474E89094C44Da98b954EedeAC495271d0F", - "source": "Gravity" + "source": "gravitybridge" }, "hideFromTestnet": true, "coingeckoId": "dai", @@ -22,4 +22,4 @@ "img": { "png": "https://raw.githubusercontent.com/evmos/chain-token-registry/main/assets/tokens/gDAI.png" } -} +} \ No newline at end of file diff --git a/tokens/gUSDC.json b/tokens/gUSDC.json index fb1d1a0..4caf562 100644 --- a/tokens/gUSDC.json +++ b/tokens/gUSDC.json @@ -13,7 +13,7 @@ "erc20Address": "0x5FD55A1B9FC24967C4dB09C513C3BA0DFa7FF687", "ibc": { "sourceDenom": "gravity0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48", - "source": "Gravity" + "source": "gravitybridge" }, "hideFromTestnet": true, "coingeckoId": "usd-coin", @@ -22,4 +22,4 @@ "img": { "png": "https://raw.githubusercontent.com/evmos/chain-token-registry/main/assets/tokens/gUSDC.png" } -} +} \ No newline at end of file diff --git a/tokens/gUSDT.json b/tokens/gUSDT.json index ba05e0c..1339cbe 100644 --- a/tokens/gUSDT.json +++ b/tokens/gUSDT.json @@ -13,7 +13,7 @@ "erc20Address": "0xecEEEfCEE421D8062EF8d6b4D814efe4dc898265", "ibc": { "sourceDenom": "gravity0xdAC17F958D2ee523a2206206994597C13D831ec7", - "source": "Gravity" + "source": "gravitybridge" }, "hideFromTestnet": true, "coingeckoId": "tether", @@ -22,4 +22,4 @@ "img": { "png": "https://raw.githubusercontent.com/evmos/chain-token-registry/main/assets/tokens/gUSDT.png" } -} +} \ No newline at end of file diff --git a/tokens/gWBTC.json b/tokens/gWBTC.json index cf645db..4bed44f 100644 --- a/tokens/gWBTC.json +++ b/tokens/gWBTC.json @@ -13,7 +13,7 @@ "erc20Address": "0x1D54EcB8583Ca25895c512A8308389fFD581F9c9", "ibc": { "sourceDenom": "gravity0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599", - "source": "Gravity" + "source": "gravitybridge" }, "hideFromTestnet": true, "coingeckoId": "wrapped-bitcoin", @@ -22,4 +22,4 @@ "img": { "png": "https://raw.githubusercontent.com/evmos/chain-token-registry/main/assets/tokens/gWBTC.png" } -} +} \ No newline at end of file diff --git a/tokens/gWETH.json b/tokens/gWETH.json index 0102e4e..ba30341 100644 --- a/tokens/gWETH.json +++ b/tokens/gWETH.json @@ -13,7 +13,7 @@ "erc20Address": "0xc03345448969Dd8C00e9E4A85d2d9722d093aF8E", "ibc": { "sourceDenom": "gravity0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2", - "source": "Gravity" + "source": "gravitybridge" }, "hideFromTestnet": true, "coingeckoId": "weth", @@ -22,4 +22,4 @@ "img": { "png": "https://raw.githubusercontent.com/evmos/chain-token-registry/main/assets/tokens/gWETH.png" } -} +} \ No newline at end of file diff --git a/tokens/kavaUSDT.json b/tokens/kavaUSDT.json index 72cc023..4bfebc0 100644 --- a/tokens/kavaUSDT.json +++ b/tokens/kavaUSDT.json @@ -13,7 +13,7 @@ "erc20Address": "0xB8f812B5943ab3BF941D5D4F1de90A4b326c5d8f", "ibc": { "sourceDenom": "erc20/tether/usdt", - "source": "Kava" + "source": "kava" }, "hideFromTestnet": false, "coingeckoId": "tether", @@ -22,4 +22,4 @@ "img": { "png": "https://raw.githubusercontent.com/evmos/chain-token-registry/main/assets/tokens/kavaUSDT.png" } -} +} \ No newline at end of file diff --git a/tokens/qATOM.json b/tokens/qATOM.json index f094a74..176f98e 100644 --- a/tokens/qATOM.json +++ b/tokens/qATOM.json @@ -13,7 +13,7 @@ "erc20Address": "0x4ad26064831ECE180B179a4C02Dc97940AA77B17", "ibc": { "sourceDenom": "uqatom", - "source": "Quicksilver" + "source": "quicksilver" }, "hideFromTestnet": false, "coingeckoId": "", @@ -23,4 +23,4 @@ "png": "https://raw.githubusercontent.com/evmos/chain-token-registry/main/assets/tokens/qATOM.png", "svg": "https://raw.githubusercontent.com/evmos/chain-token-registry/main/assets/tokens/qATOM.svg" } -} +} \ No newline at end of file diff --git a/tokens/qOSMO.json b/tokens/qOSMO.json index c1e0deb..876688f 100644 --- a/tokens/qOSMO.json +++ b/tokens/qOSMO.json @@ -13,7 +13,7 @@ "erc20Address": "0x616E00909730f7dE9Afd97Dc71981f6d28e2B0ca", "ibc": { "sourceDenom": "uqosmo", - "source": "Quicksilver" + "source": "quicksilver" }, "hideFromTestnet": false, "coingeckoId": "", @@ -23,4 +23,4 @@ "png": "https://raw.githubusercontent.com/evmos/chain-token-registry/main/assets/tokens/qOSMO.png", "svg": "https://raw.githubusercontent.com/evmos/chain-token-registry/main/assets/tokens/qOSMO.svg" } -} +} \ No newline at end of file diff --git a/tokens/stATOM.json b/tokens/stATOM.json index 92e8e33..abe7d3b 100644 --- a/tokens/stATOM.json +++ b/tokens/stATOM.json @@ -13,7 +13,7 @@ "erc20Address": "0xB5124FA2b2cF92B2D469b249433BA1c96BDF536D", "ibc": { "sourceDenom": "stuatom", - "source": "Stride" + "source": "stride" }, "hideFromTestnet": false, "coingeckoId": "stride-staked-atom", @@ -23,4 +23,4 @@ "png": "https://raw.githubusercontent.com/evmos/chain-token-registry/main/assets/tokens/stATOM.png", "svg": "https://raw.githubusercontent.com/evmos/chain-token-registry/main/assets/tokens/stATOM.svg" } -} +} \ No newline at end of file diff --git a/tokens/stEVMOS.json b/tokens/stEVMOS.json index 5187825..31d7ec3 100644 --- a/tokens/stEVMOS.json +++ b/tokens/stEVMOS.json @@ -13,7 +13,7 @@ "erc20Address": "0x2C68D1d6aB986Ff4640b51e1F14C716a076E44C4", "ibc": { "sourceDenom": "staevmos", - "source": "Stride" + "source": "stride" }, "hideFromTestnet": false, "coingeckoId": "stride-staked-evmos", @@ -23,4 +23,4 @@ "png": "https://raw.githubusercontent.com/evmos/chain-token-registry/main/assets/tokens/stEVMOS.png", "svg": "https://raw.githubusercontent.com/evmos/chain-token-registry/main/assets/tokens/stEVMOS.svg" } -} +} \ No newline at end of file diff --git a/tokens/stINJ.json b/tokens/stINJ.json index f667a5f..e037e0a 100644 --- a/tokens/stINJ.json +++ b/tokens/stINJ.json @@ -13,7 +13,7 @@ "erc20Address": "0x786744d8B40ee154FA4a74153c4d33dF09aBf015", "ibc": { "sourceDenom": "stinj", - "source": "Stride" + "source": "stride" }, "hideFromTestnet": false, "coingeckoId": "", @@ -23,4 +23,4 @@ "png": "https://raw.githubusercontent.com/evmos/chain-token-registry/main/assets/tokens/stINJ.png", "svg": "https://raw.githubusercontent.com/evmos/chain-token-registry/main/assets/tokens/stINJ.svg" } -} +} \ No newline at end of file diff --git a/tokens/stJUNO.json b/tokens/stJUNO.json index 1d13efe..27439b9 100644 --- a/tokens/stJUNO.json +++ b/tokens/stJUNO.json @@ -13,7 +13,7 @@ "erc20Address": "0xc71aAf8e486e3F33841BB56Ca3FD2aC3fa8D29a8", "ibc": { "sourceDenom": "stujuno", - "source": "Stride" + "source": "stride" }, "hideFromTestnet": false, "coingeckoId": "stride-staked-juno", @@ -23,4 +23,4 @@ "png": "https://raw.githubusercontent.com/evmos/chain-token-registry/main/assets/tokens/stJUNO.png", "svg": "https://raw.githubusercontent.com/evmos/chain-token-registry/main/assets/tokens/stJUNO.svg" } -} +} \ No newline at end of file diff --git a/tokens/stOSMO.json b/tokens/stOSMO.json index 4158344..6963037 100644 --- a/tokens/stOSMO.json +++ b/tokens/stOSMO.json @@ -13,7 +13,7 @@ "erc20Address": "0xD32eB974468ed767338533842D2D4Cc90B9BAb46", "ibc": { "sourceDenom": "stuosmo", - "source": "Stride" + "source": "stride" }, "hideFromTestnet": false, "coingeckoId": "stride-staked-osmo", @@ -23,4 +23,4 @@ "png": "https://raw.githubusercontent.com/evmos/chain-token-registry/main/assets/tokens/stOSMO.png", "svg": "https://raw.githubusercontent.com/evmos/chain-token-registry/main/assets/tokens/stOSMO.svg" } -} +} \ No newline at end of file diff --git a/tokens/stSTARS.json b/tokens/stSTARS.json index e789d56..b6b836d 100644 --- a/tokens/stSTARS.json +++ b/tokens/stSTARS.json @@ -13,7 +13,7 @@ "erc20Address": "0xc7e56EEc629D3728fE41baCa2f6BFc502096f94E", "ibc": { "sourceDenom": "stustars", - "source": "Stride" + "source": "stride" }, "hideFromTestnet": false, "coingeckoId": "stride-staked-stars", @@ -23,4 +23,4 @@ "png": "https://raw.githubusercontent.com/evmos/chain-token-registry/main/assets/tokens/stSTARS.png", "svg": "https://raw.githubusercontent.com/evmos/chain-token-registry/main/assets/tokens/stSTARS.svg" } -} +} \ No newline at end of file diff --git a/tokens/wormBTC.json b/tokens/wormBTC.json index ff68333..408396b 100644 --- a/tokens/wormBTC.json +++ b/tokens/wormBTC.json @@ -13,7 +13,7 @@ "erc20Address": "0xC732284e5deDb565ba403216d718a485038E55A6", "ibc": { "sourceDenom": "wbtc", - "source": "Wormhole" + "source": "wormhole" }, "hideFromTestnet": false, "handledByExternalUI": [ @@ -28,4 +28,4 @@ "img": { "png": "https://raw.githubusercontent.com/evmos/chain-token-registry/main/assets/tokens/wormBTC.png" } -} +} \ No newline at end of file diff --git a/tokens/wormETH.json b/tokens/wormETH.json index 50cf7cc..e829899 100644 --- a/tokens/wormETH.json +++ b/tokens/wormETH.json @@ -13,7 +13,7 @@ "erc20Address": "0x4D036A97e9ad9e805f0E7B163Ea681B3dE83B7BF", "ibc": { "sourceDenom": "weth", - "source": "Wormhole" + "source": "wormhole" }, "hideFromTestnet": false, "handledByExternalUI": [ @@ -28,4 +28,4 @@ "img": { "png": "https://raw.githubusercontent.com/evmos/chain-token-registry/main/assets/tokens/wormETH.png" } -} +} \ No newline at end of file diff --git a/tokens/wormSOL.json b/tokens/wormSOL.json index eaa7fd5..f3dbc86 100644 --- a/tokens/wormSOL.json +++ b/tokens/wormSOL.json @@ -13,7 +13,7 @@ "erc20Address": "0xF7510813E6C3CBe137f60F7F236eC5b19BBf2362", "ibc": { "sourceDenom": "sol", - "source": "Wormhole" + "source": "wormhole" }, "hideFromTestnet": false, "handledByExternalUI": [ @@ -28,4 +28,4 @@ "img": { "png": "https://raw.githubusercontent.com/evmos/chain-token-registry/main/assets/tokens/wormSOL.png" } -} +} \ No newline at end of file diff --git a/tokens/wormUSDC.json b/tokens/wormUSDC.json index bdd6ffc..ffc6fad 100644 --- a/tokens/wormUSDC.json +++ b/tokens/wormUSDC.json @@ -13,7 +13,7 @@ "erc20Address": "0xC4CcDf91b810a61cCB48b35ccCc066C63bf94B4F", "ibc": { "sourceDenom": "usdc", - "source": "Wormhole" + "source": "wormhole" }, "hideFromTestnet": false, "handledByExternalUI": [ @@ -28,4 +28,4 @@ "img": { "png": "https://raw.githubusercontent.com/evmos/chain-token-registry/main/assets/tokens/wormUSDC.png" } -} +} \ No newline at end of file diff --git a/tokens/wormUSDT.json b/tokens/wormUSDT.json index 47fdb49..4d749c1 100644 --- a/tokens/wormUSDT.json +++ b/tokens/wormUSDT.json @@ -13,7 +13,7 @@ "erc20Address": "0xa9582420B222C85Ee5b6e766415EEa5673283A03", "ibc": { "sourceDenom": "usdt", - "source": "Wormhole" + "source": "wormhole" }, "hideFromTestnet": false, "handledByExternalUI": [ @@ -28,4 +28,4 @@ "img": { "png": "https://raw.githubusercontent.com/evmos/chain-token-registry/main/assets/tokens/wormUSDT.png" } -} +} \ No newline at end of file diff --git a/validate-tokens.sh b/validate-tokens.sh index cae3011..3425d0e 100755 --- a/validate-tokens.sh +++ b/validate-tokens.sh @@ -1,3 +1,4 @@ +echo "Validating tokens against schema" for file in $(find ./tokens -name '*.json'); do # Validate the file against the schema if ! ajv validate -s ./schema.token.json -d "$file" --spec=draft2020 --errors=text; then @@ -15,11 +16,29 @@ for file in $(find ./tokens -name '*.json'); do done -# Validate that there are no duplicate coinDenoms +# # Validate that there are no duplicate coinDenoms +echo "Validating that there are no duplicate coinDenoms" jq '.coinDenom' ./tokens/*.json | sort | uniq -c | while read count value do if [ "$count" -gt 1 ]; then echo "Duplicate found: $value" exit 1 fi +done + + +echo "Validating ibc source is also registered and matches identifier" + +identifiers=$(jq -r '.configurations[].identifier' ./chainConfig/*.json) + +for file in $(find ./tokens -name '*.json'); do + ibcSource=$(jq -r '.ibc.source' "$file") + coinDenom=$(jq -r '.coinDenom' "$file") + + if echo "$identifiers" | grep -q "^$ibcSource$"; then + echo "- $coinDenom ibc source is valid" + else + echo "No match chain found '$coinDenom' for ibc.source '$ibcSource' must match a chain identifier." + exit 1 + fi done \ No newline at end of file