From 53f09372deb1bb7fdda9a83d2df504a5dc3769f3 Mon Sep 17 00:00:00 2001 From: aelmanaa Date: Fri, 17 May 2024 11:19:52 +0200 Subject: [PATCH 1/5] celo testnet --- .../data/ccip/v1_2_0/testnet/chains.json | 5 + .../data/ccip/v1_2_0/testnet/lanes.json | 406 ++++++++++-------- .../data/ccip/v1_2_0/testnet/tokens.json | 28 ++ src/config/data/chains.json | 2 +- .../supported-networks/ChainConfig.astro | 16 +- src/features/common/Tooltip/Tooltip.tsx | 3 +- src/features/utils/index.ts | 4 + 7 files changed, 279 insertions(+), 185 deletions(-) diff --git a/src/config/data/ccip/v1_2_0/testnet/chains.json b/src/config/data/ccip/v1_2_0/testnet/chains.json index a9eec148803..bd5942a7ffa 100644 --- a/src/config/data/ccip/v1_2_0/testnet/chains.json +++ b/src/config/data/ccip/v1_2_0/testnet/chains.json @@ -48,5 +48,10 @@ "chainSelector": "16281711391670634445", "router": "0x9C32fCB86BF0f4a1A8921a9Fe46de3198bb884B2", "feeTokens": ["LINK", "WMATIC"] + }, + "celo-testnet-alfajores": { + "chainSelector": "3552045678561919002", + "router": "0xb00E95b773528E2Ea724DB06B75113F239D15Dca", + "feeTokens": ["CELO", "LINK", "WCELO"] } } diff --git a/src/config/data/ccip/v1_2_0/testnet/lanes.json b/src/config/data/ccip/v1_2_0/testnet/lanes.json index 1b8a0e88827..151f9581983 100644 --- a/src/config/data/ccip/v1_2_0/testnet/lanes.json +++ b/src/config/data/ccip/v1_2_0/testnet/lanes.json @@ -27,18 +27,11 @@ "ethereum-testnet-sepolia": { "onRamp": "0x5724B4Cc39a9690135F7273b44Dfd3BA6c0c69aD", "supportedTokens": { - "USDC": { + "CCIP-LnM": { "rateLimiterConfig": { - "capacity": "100000000000", + "capacity": "100000000000000000000000", "isEnabled": true, - "rate": "167000000" - } - }, - "GHO": { - "rateLimiterConfig": { - "capacity": "1000000000000000000000000000000000000", - "isEnabled": false, - "rate": "1000000000000000000000000000000000000" + "rate": "167000000000000000000" } }, "CCIP-BnM": { @@ -48,11 +41,18 @@ "rate": "167000000000000000000" } }, - "CCIP-LnM": { + "USDC": { "rateLimiterConfig": { - "capacity": "100000000000000000000000", + "capacity": "100000000000", "isEnabled": true, - "rate": "167000000000000000000" + "rate": "167000000" + } + }, + "GHO": { + "rateLimiterConfig": { + "capacity": "1000000000000000000000000000000000000", + "isEnabled": false, + "rate": "1000000000000000000000000000000000000" } } }, @@ -65,32 +65,32 @@ "ethereum-testnet-sepolia-arbitrum-1": { "onRamp": "0x8bB16BEDbFd62D1f905ACe8DBBF2954c8EEB4f66", "supportedTokens": { - "GHO": { + "CCIP-BnM": { "rateLimiterConfig": { "capacity": "100000000000000000000000", "isEnabled": true, "rate": "167000000000000000000" } }, - "CCIP-BnM": { + "USDC": { "rateLimiterConfig": { - "capacity": "100000000000000000000000", + "capacity": "100000000000", "isEnabled": true, - "rate": "167000000000000000000" + "rate": "167000000" } }, - "CCIP-LnM": { + "GHO": { "rateLimiterConfig": { "capacity": "100000000000000000000000", "isEnabled": true, "rate": "167000000000000000000" } }, - "USDC": { + "CCIP-LnM": { "rateLimiterConfig": { - "capacity": "100000000000", + "capacity": "100000000000000000000000", "isEnabled": true, - "rate": "167000000" + "rate": "167000000000000000000" } } }, @@ -103,13 +103,6 @@ "ethereum-testnet-sepolia-base-1": { "onRamp": "0x1A674645f3EB4147543FCA7d40C5719cbd997362", "supportedTokens": { - "GHO": { - "rateLimiterConfig": { - "capacity": "1000000000000000000000000000000000000", - "isEnabled": false, - "rate": "1000000000000000000000000000000000000" - } - }, "CCIP-BnM": { "rateLimiterConfig": { "capacity": "100000000000000000000000", @@ -117,18 +110,25 @@ "rate": "167000000000000000000" } }, - "CCIP-LnM": { + "USDC": { "rateLimiterConfig": { - "capacity": "100000000000000000000000", + "capacity": "100000000000", "isEnabled": true, - "rate": "167000000000000000000" + "rate": "167000000" } }, - "USDC": { + "GHO": { "rateLimiterConfig": { - "capacity": "100000000000", + "capacity": "1000000000000000000000000000000000000", + "isEnabled": false, + "rate": "1000000000000000000000000000000000000" + } + }, + "CCIP-LnM": { + "rateLimiterConfig": { + "capacity": "100000000000000000000000", "isEnabled": true, - "rate": "167000000" + "rate": "167000000000000000000" } } }, @@ -141,11 +141,11 @@ "ethereum-testnet-sepolia-optimism-1": { "onRamp": "0xC334DE5b020e056d0fE766dE46e8d9f306Ffa1E2", "supportedTokens": { - "USDC": { + "CCIP-LnM": { "rateLimiterConfig": { - "capacity": "100000000000", + "capacity": "100000000000000000000000", "isEnabled": true, - "rate": "167000000" + "rate": "167000000000000000000" } }, "CCIP-BnM": { @@ -155,11 +155,11 @@ "rate": "167000000000000000000" } }, - "CCIP-LnM": { + "USDC": { "rateLimiterConfig": { - "capacity": "100000000000000000000000", + "capacity": "100000000000", "isEnabled": true, - "rate": "167000000000000000000" + "rate": "167000000" } } }, @@ -179,18 +179,18 @@ "rate": "167000000000000000000" } }, - "USDC": { + "CCIP-BnM": { "rateLimiterConfig": { - "capacity": "100000000000", + "capacity": "100000000000000000000000", "isEnabled": true, - "rate": "167000000" + "rate": "167000000000000000000" } }, - "CCIP-BnM": { + "USDC": { "rateLimiterConfig": { - "capacity": "100000000000000000000000", + "capacity": "100000000000", "isEnabled": true, - "rate": "167000000000000000000" + "rate": "167000000" } } }, @@ -203,14 +203,14 @@ "wemix-testnet": { "onRamp": "0x677B5ab5C8522d929166c064d5700F147b15fa33", "supportedTokens": { - "CCIP-BnM": { + "CCIP-LnM": { "rateLimiterConfig": { "capacity": "100000000000000000000000", "isEnabled": true, "rate": "167000000000000000000" } }, - "CCIP-LnM": { + "CCIP-BnM": { "rateLimiterConfig": { "capacity": "100000000000000000000000", "isEnabled": true, @@ -229,14 +229,14 @@ "avalanche-fuji-testnet": { "onRamp": "0xa2515683E99F50ADbE177519A46bb20FfdBaA5de", "supportedTokens": { - "CCIP-LnM": { + "CCIP-BnM": { "rateLimiterConfig": { "capacity": "100000000000000000000000", "isEnabled": true, "rate": "167000000000000000000" } }, - "CCIP-BnM": { + "CCIP-LnM": { "rateLimiterConfig": { "capacity": "100000000000000000000000", "isEnabled": true, @@ -277,14 +277,14 @@ "ethereum-testnet-sepolia-base-1": { "onRamp": "0x3E807220Ca84b997c0d1928162227b46C618e0c5", "supportedTokens": { - "CCIP-LnM": { + "CCIP-BnM": { "rateLimiterConfig": { "capacity": "100000000000000000000000", "isEnabled": true, "rate": "167000000000000000000" } }, - "CCIP-BnM": { + "CCIP-LnM": { "rateLimiterConfig": { "capacity": "100000000000000000000000", "isEnabled": true, @@ -301,14 +301,14 @@ "polygon-testnet-amoy": { "onRamp": "0xf37CcbfC04adc1B56a46B36F811D52C744a1AF78", "supportedTokens": { - "CCIP-LnM": { + "CCIP-BnM": { "rateLimiterConfig": { "capacity": "100000000000000000000000", "isEnabled": true, "rate": "167000000000000000000" } }, - "CCIP-BnM": { + "CCIP-LnM": { "rateLimiterConfig": { "capacity": "100000000000000000000000", "isEnabled": true, @@ -347,25 +347,51 @@ } } }, + "celo-testnet-alfajores": { + "ethereum-testnet-sepolia": { + "onRamp": "0x16a020c4bbdE363FaB8481262D30516AdbcfcFc8", + "supportedTokens": { + "CCIP-BnM": { + "rateLimiterConfig": { + "capacity": "100000000000000000000000", + "isEnabled": true, + "rate": "167000000000000000000" + } + }, + "CCIP-LnM": { + "rateLimiterConfig": { + "capacity": "100000000000000000000000", + "isEnabled": true, + "rate": "167000000000000000000" + } + } + }, + "rateLimiterConfig": { + "capacity": "100000000000000000000000", + "isEnabled": true, + "rate": "167000000000000000000" + } + } + }, "ethereum-testnet-sepolia-arbitrum-1": { "avalanche-fuji-testnet": { "onRamp": "0x1Cb56374296ED19E86F68fA437ee679FD7798DaA", "supportedTokens": { - "GHO": { + "CCIP-BnM": { "rateLimiterConfig": { "capacity": "100000000000000000000000", "isEnabled": true, "rate": "167000000000000000000" } }, - "CCIP-BnM": { + "CCIP-LnM": { "rateLimiterConfig": { "capacity": "100000000000000000000000", "isEnabled": true, "rate": "167000000000000000000" } }, - "CCIP-LnM": { + "GHO": { "rateLimiterConfig": { "capacity": "100000000000000000000000", "isEnabled": true, @@ -389,11 +415,11 @@ "ethereum-testnet-sepolia": { "onRamp": "0x4205E1Ca0202A248A5D42F5975A8FE56F3E302e9", "supportedTokens": { - "USDC": { + "CCIP-BnM": { "rateLimiterConfig": { - "capacity": "100000000000", + "capacity": "100000000000000000000000", "isEnabled": true, - "rate": "167000000" + "rate": "167000000000000000000" } }, "CCIP-LnM": { @@ -410,11 +436,11 @@ "rate": "1000000000000000000000000000000000000" } }, - "CCIP-BnM": { + "USDC": { "rateLimiterConfig": { - "capacity": "100000000000000000000000", + "capacity": "100000000000", "isEnabled": true, - "rate": "167000000000000000000" + "rate": "167000000" } } }, @@ -427,13 +453,6 @@ "ethereum-testnet-sepolia-base-1": { "onRamp": "0x7854E73C73e7F9bb5b0D5B4861E997f4C6E8dcC6", "supportedTokens": { - "USDC": { - "rateLimiterConfig": { - "capacity": "100000000000", - "isEnabled": true, - "rate": "167000000" - } - }, "CCIP-BnM": { "rateLimiterConfig": { "capacity": "100000000000000000000000", @@ -454,6 +473,13 @@ "isEnabled": true, "rate": "167000000000000000000" } + }, + "USDC": { + "rateLimiterConfig": { + "capacity": "100000000000", + "isEnabled": true, + "rate": "167000000" + } } }, "rateLimiterConfig": { @@ -465,13 +491,6 @@ "ethereum-testnet-sepolia-optimism-1": { "onRamp": "0x701Fe16916dd21EFE2f535CA59611D818B017877", "supportedTokens": { - "USDC": { - "rateLimiterConfig": { - "capacity": "100000000000", - "isEnabled": true, - "rate": "167000000" - } - }, "CCIP-BnM": { "rateLimiterConfig": { "capacity": "100000000000000000000000", @@ -485,6 +504,13 @@ "isEnabled": true, "rate": "167000000000000000000" } + }, + "USDC": { + "rateLimiterConfig": { + "capacity": "100000000000", + "isEnabled": true, + "rate": "167000000" + } } }, "rateLimiterConfig": { @@ -522,13 +548,6 @@ "avalanche-fuji-testnet": { "onRamp": "0xAbA09a1b7b9f13E05A6241292a66793Ec7d43357", "supportedTokens": { - "CCIP-LnM": { - "rateLimiterConfig": { - "capacity": "100000000000000000000000", - "isEnabled": true, - "rate": "167000000000000000000" - } - }, "USDC": { "rateLimiterConfig": { "capacity": "100000000000", @@ -549,6 +568,13 @@ "isEnabled": true, "rate": "167000000000000000000" } + }, + "CCIP-LnM": { + "rateLimiterConfig": { + "capacity": "100000000000000000000000", + "isEnabled": true, + "rate": "167000000000000000000" + } } }, "rateLimiterConfig": { @@ -584,13 +610,6 @@ "ethereum-testnet-sepolia": { "onRamp": "0x6486906bB2d85A6c0cCEf2A2831C11A2059ebfea", "supportedTokens": { - "CCIP-BnM": { - "rateLimiterConfig": { - "capacity": "100000000000000000000000", - "isEnabled": true, - "rate": "167000000000000000000" - } - }, "CCIP-LnM": { "rateLimiterConfig": { "capacity": "100000000000000000000000", @@ -611,6 +630,13 @@ "isEnabled": false, "rate": "1000000000000000000000000000000000000" } + }, + "CCIP-BnM": { + "rateLimiterConfig": { + "capacity": "100000000000000000000000", + "isEnabled": true, + "rate": "167000000000000000000" + } } }, "rateLimiterConfig": { @@ -622,6 +648,13 @@ "ethereum-testnet-sepolia-arbitrum-1": { "onRamp": "0x58622a80c6DdDc072F2b527a99BE1D0934eb2b50", "supportedTokens": { + "GHO": { + "rateLimiterConfig": { + "capacity": "100000000000000000000000", + "isEnabled": true, + "rate": "167000000000000000000" + } + }, "CCIP-BnM": { "rateLimiterConfig": { "capacity": "100000000000000000000000", @@ -642,13 +675,6 @@ "isEnabled": true, "rate": "167000000" } - }, - "GHO": { - "rateLimiterConfig": { - "capacity": "100000000000000000000000", - "isEnabled": true, - "rate": "167000000000000000000" - } } }, "rateLimiterConfig": { @@ -719,21 +745,21 @@ "avalanche-fuji-testnet": { "onRamp": "0x6b38CC6Fa938D5AB09Bdf0CFe580E226fDD793cE", "supportedTokens": { - "USDC": { + "CCIP-LnM": { "rateLimiterConfig": { - "capacity": "100000000000", + "capacity": "100000000000000000000000", "isEnabled": true, - "rate": "167000000" + "rate": "167000000000000000000" } }, - "CCIP-BnM": { + "USDC": { "rateLimiterConfig": { - "capacity": "100000000000000000000000", + "capacity": "100000000000", "isEnabled": true, - "rate": "167000000000000000000" + "rate": "167000000" } }, - "CCIP-LnM": { + "CCIP-BnM": { "rateLimiterConfig": { "capacity": "100000000000000000000000", "isEnabled": true, @@ -750,13 +776,6 @@ "ethereum-testnet-sepolia": { "onRamp": "0xC8b93b46BF682c39B3F65Aa1c135bC8A95A5E43a", "supportedTokens": { - "USDC": { - "rateLimiterConfig": { - "capacity": "100000000000", - "isEnabled": true, - "rate": "167000000" - } - }, "CCIP-BnM": { "rateLimiterConfig": { "capacity": "100000000000000000000000", @@ -770,6 +789,13 @@ "isEnabled": true, "rate": "167000000000000000000" } + }, + "USDC": { + "rateLimiterConfig": { + "capacity": "100000000000", + "isEnabled": true, + "rate": "167000000" + } } }, "rateLimiterConfig": { @@ -781,13 +807,6 @@ "ethereum-testnet-sepolia-arbitrum-1": { "onRamp": "0x1a86b29364D1B3fA3386329A361aA98A104b2742", "supportedTokens": { - "USDC": { - "rateLimiterConfig": { - "capacity": "100000000000", - "isEnabled": true, - "rate": "167000000" - } - }, "CCIP-BnM": { "rateLimiterConfig": { "capacity": "100000000000000000000000", @@ -801,6 +820,13 @@ "isEnabled": true, "rate": "167000000000000000000" } + }, + "USDC": { + "rateLimiterConfig": { + "capacity": "100000000000", + "isEnabled": true, + "rate": "167000000" + } } }, "rateLimiterConfig": { @@ -843,25 +869,25 @@ "polygon-testnet-amoy": { "onRamp": "0x2Cf26fb01E9ccDb831414B766287c0A9e4551089", "supportedTokens": { - "CCIP-BnM": { + "USDC": { "rateLimiterConfig": { - "capacity": "100000000000000000000000", + "capacity": "100000000000", "isEnabled": true, - "rate": "167000000000000000000" + "rate": "167000000" } }, - "CCIP-LnM": { + "CCIP-BnM": { "rateLimiterConfig": { "capacity": "100000000000000000000000", "isEnabled": true, "rate": "167000000000000000000" } }, - "USDC": { + "CCIP-LnM": { "rateLimiterConfig": { - "capacity": "100000000000", + "capacity": "100000000000000000000000", "isEnabled": true, - "rate": "167000000" + "rate": "167000000000000000000" } } }, @@ -900,6 +926,13 @@ "avalanche-fuji-testnet": { "onRamp": "0x0477cA0a35eE05D3f9f424d88bC0977ceCf339D4", "supportedTokens": { + "CCIP-BnM": { + "rateLimiterConfig": { + "capacity": "100000000000000000000000", + "isEnabled": true, + "rate": "167000000000000000000" + } + }, "USDC": { "rateLimiterConfig": { "capacity": "100000000000", @@ -907,13 +940,30 @@ "rate": "167000000" } }, - "CCIP-BnM": { + "GHO": { + "rateLimiterConfig": { + "capacity": "1000000000000000000000000000000000000", + "isEnabled": false, + "rate": "1000000000000000000000000000000000000" + } + }, + "CCIP-LnM": { "rateLimiterConfig": { "capacity": "100000000000000000000000", "isEnabled": true, "rate": "167000000000000000000" } - }, + } + }, + "rateLimiterConfig": { + "capacity": "100000000000000000000000", + "isEnabled": true, + "rate": "167000000000000000000" + } + }, + "bsc-testnet": { + "onRamp": "0xD990f8aFA5BCB02f95eEd88ecB7C68f5998bD618", + "supportedTokens": { "CCIP-LnM": { "rateLimiterConfig": { "capacity": "100000000000000000000000", @@ -921,11 +971,11 @@ "rate": "167000000000000000000" } }, - "GHO": { + "CCIP-BnM": { "rateLimiterConfig": { - "capacity": "1000000000000000000000000000000000000", - "isEnabled": false, - "rate": "1000000000000000000000000000000000000" + "capacity": "100000000000000000000000", + "isEnabled": true, + "rate": "167000000000000000000" } } }, @@ -935,17 +985,17 @@ "rate": "167000000000000000000" } }, - "bsc-testnet": { - "onRamp": "0xD990f8aFA5BCB02f95eEd88ecB7C68f5998bD618", + "celo-testnet-alfajores": { + "onRamp": "0x3C86d16F52C10B2ff6696a0e1b8E0BcfCC085948", "supportedTokens": { - "CCIP-BnM": { + "CCIP-LnM": { "rateLimiterConfig": { "capacity": "100000000000000000000000", "isEnabled": true, "rate": "167000000000000000000" } }, - "CCIP-LnM": { + "CCIP-BnM": { "rateLimiterConfig": { "capacity": "100000000000000000000000", "isEnabled": true, @@ -962,11 +1012,11 @@ "ethereum-testnet-sepolia-arbitrum-1": { "onRamp": "0xe4Dd3B16E09c016402585a8aDFdB4A18f772a07e", "supportedTokens": { - "USDC": { + "CCIP-LnM": { "rateLimiterConfig": { - "capacity": "100000000000", + "capacity": "100000000000000000000000", "isEnabled": true, - "rate": "167000000" + "rate": "167000000000000000000" } }, "CCIP-BnM": { @@ -976,11 +1026,11 @@ "rate": "167000000000000000000" } }, - "CCIP-LnM": { + "USDC": { "rateLimiterConfig": { - "capacity": "100000000000000000000000", + "capacity": "100000000000", "isEnabled": true, - "rate": "167000000000000000000" + "rate": "167000000" } }, "GHO": { @@ -1000,20 +1050,6 @@ "ethereum-testnet-sepolia-base-1": { "onRamp": "0x2B70a05320cB069e0fB55084D402343F832556E7", "supportedTokens": { - "GHO": { - "rateLimiterConfig": { - "capacity": "1000000000000000000000000000000000000", - "isEnabled": false, - "rate": "1000000000000000000000000000000000000" - } - }, - "USDC": { - "rateLimiterConfig": { - "capacity": "100000000000", - "isEnabled": true, - "rate": "167000000" - } - }, "CCIP-LnM": { "rateLimiterConfig": { "capacity": "100000000000000000000000", @@ -1027,6 +1063,20 @@ "isEnabled": true, "rate": "167000000000000000000" } + }, + "USDC": { + "rateLimiterConfig": { + "capacity": "100000000000", + "isEnabled": true, + "rate": "167000000" + } + }, + "GHO": { + "rateLimiterConfig": { + "capacity": "1000000000000000000000000000000000000", + "isEnabled": false, + "rate": "1000000000000000000000000000000000000" + } } }, "rateLimiterConfig": { @@ -1038,18 +1088,18 @@ "ethereum-testnet-sepolia-optimism-1": { "onRamp": "0x69CaB5A0a08a12BaFD8f5B195989D709E396Ed4d", "supportedTokens": { - "USDC": { + "CCIP-BnM": { "rateLimiterConfig": { - "capacity": "100000000000", + "capacity": "100000000000000000000000", "isEnabled": true, - "rate": "167000000" + "rate": "167000000000000000000" } }, - "CCIP-BnM": { + "USDC": { "rateLimiterConfig": { - "capacity": "100000000000000000000000", + "capacity": "100000000000", "isEnabled": true, - "rate": "167000000000000000000" + "rate": "167000000" } }, "CCIP-LnM": { @@ -1069,11 +1119,11 @@ "polygon-testnet-amoy": { "onRamp": "0x9f656e0361Fb5Df2ac446102c8aB31855B591692", "supportedTokens": { - "USDC": { + "CCIP-LnM": { "rateLimiterConfig": { - "capacity": "100000000000", + "capacity": "100000000000000000000000", "isEnabled": true, - "rate": "167000000" + "rate": "167000000000000000000" } }, "CCIP-BnM": { @@ -1083,11 +1133,11 @@ "rate": "167000000000000000000" } }, - "CCIP-LnM": { + "USDC": { "rateLimiterConfig": { - "capacity": "100000000000000000000000", + "capacity": "100000000000", "isEnabled": true, - "rate": "167000000000000000000" + "rate": "167000000" } } }, @@ -1100,14 +1150,14 @@ "wemix-testnet": { "onRamp": "0xedFc22336Eb0B9B11Ff37C07777db27BCcDe3C65", "supportedTokens": { - "CCIP-BnM": { + "CCIP-LnM": { "rateLimiterConfig": { "capacity": "1000000000000000000000000000", "isEnabled": true, "rate": "1000000000000000000000000000" } }, - "CCIP-LnM": { + "CCIP-BnM": { "rateLimiterConfig": { "capacity": "1000000000000000000000000000", "isEnabled": true, @@ -1124,14 +1174,14 @@ "xdai-testnet-chiado": { "onRamp": "0x3E842E3A79A00AFdd03B52390B1caC6306Ea257E", "supportedTokens": { - "CCIP-BnM": { + "CCIP-LnM": { "rateLimiterConfig": { "capacity": "100000000000000000000000", "isEnabled": true, "rate": "167000000000000000000" } }, - "CCIP-LnM": { + "CCIP-BnM": { "rateLimiterConfig": { "capacity": "100000000000000000000000", "isEnabled": true, @@ -1267,14 +1317,14 @@ "wemix-testnet": { "onRamp": "0x26546096F64B5eF9A1DcDAe70Df6F4f8c2E10C61", "supportedTokens": { - "CCIP-BnM": { + "CCIP-LnM": { "rateLimiterConfig": { "capacity": "100000000000000000000000", "isEnabled": true, "rate": "167000000000000000000" } }, - "CCIP-LnM": { + "CCIP-BnM": { "rateLimiterConfig": { "capacity": "100000000000000000000000", "isEnabled": true, @@ -1317,14 +1367,14 @@ "bsc-testnet": { "onRamp": "0x5AD6eed6Be0ffaDCA4105050CF0E584D87E0c2F1", "supportedTokens": { - "CCIP-LnM": { + "CCIP-BnM": { "rateLimiterConfig": { "capacity": "100000000000000000000000", "isEnabled": true, "rate": "167000000000000000000" } }, - "CCIP-BnM": { + "CCIP-LnM": { "rateLimiterConfig": { "capacity": "100000000000000000000000", "isEnabled": true, @@ -1365,14 +1415,14 @@ "ethereum-testnet-sepolia-arbitrum-1": { "onRamp": "0xA9DE3F7A617D67bC50c56baaCb9E0373C15EbfC6", "supportedTokens": { - "CCIP-BnM": { + "CCIP-LnM": { "rateLimiterConfig": { "capacity": "100000000000000000000000", "isEnabled": true, "rate": "167000000000000000000" } }, - "CCIP-LnM": { + "CCIP-BnM": { "rateLimiterConfig": { "capacity": "100000000000000000000000", "isEnabled": true, diff --git a/src/config/data/ccip/v1_2_0/testnet/tokens.json b/src/config/data/ccip/v1_2_0/testnet/tokens.json index e0231f3aa14..f41919ab743 100644 --- a/src/config/data/ccip/v1_2_0/testnet/tokens.json +++ b/src/config/data/ccip/v1_2_0/testnet/tokens.json @@ -79,6 +79,10 @@ "name": "ChainLink Token", "symbol": "LINK", "decimals": 18 + }, + "celo-testnet-alfajores": { + "tokenAddress": "0x32E08557B14FaD8908025619797221281D439071", + "allowListEnabled": false } }, "WAVAX": { @@ -169,6 +173,18 @@ "decimals": 18 } }, + "CELO": { + "celo-testnet-alfajores": { + "tokenAddress": "0xF194afDf50B03e69Bd7D057c1Aa9e10c9954E4C9", + "allowListEnabled": false + } + }, + "WCELO": { + "celo-testnet-alfajores": { + "tokenAddress": "0x99604d0e2EfE7ABFb58BdE565b5330Bb46Ab3Dca", + "allowListEnabled": false + } + }, "CCIP-BnM": { "avalanche-fuji-testnet": { "tokenAddress": "0xD21341536c5cF5EB1bcb58f6723cE26e8D8E90e4", @@ -188,6 +204,12 @@ "symbol": "CCIP-BnM", "decimals": 18 }, + "celo-testnet-alfajores": { + "tokenAddress": "0x7e503dd1dAF90117A1b79953321043d9E6815C72", + "allowListEnabled": false, + "poolAddress": "0xC6683ac4a0F62803Bec89a5355B36495ddF2C38b", + "poolType": "burnMint" + }, "ethereum-testnet-sepolia-arbitrum-1": { "tokenAddress": "0xA8C0c11bf64AF62CDCA6f93D3769B88BdD7cb93D", "allowListEnabled": false, @@ -280,6 +302,12 @@ "symbol": "clCCIP-LnM", "decimals": 18 }, + "celo-testnet-alfajores": { + "tokenAddress": "0x7F4e739D40E58BBd59dAD388171d18e37B26326f", + "allowListEnabled": false, + "poolAddress": "0x88efC66D119c4D013B24fe8c497CE307c8De1bE9", + "poolType": "burnMint" + }, "ethereum-testnet-sepolia-arbitrum-1": { "tokenAddress": "0x139E99f0ab4084E14e6bb7DacA289a91a2d92927", "allowListEnabled": false, diff --git a/src/config/data/chains.json b/src/config/data/chains.json index 35aca7b561c..c4ab15f3af0 100644 --- a/src/config/data/chains.json +++ b/src/config/data/chains.json @@ -298,7 +298,7 @@ "CELO_ALFAJORES": { "chainId": 44787, "title": "Celo Alfajores testnet", - "explorer": "https://explorer.celo.org/alfajores/", + "explorer": "https://alfajores.celoscan.io", "nativeCurrency": { "name": "CELO", "symbol": "CELO", diff --git a/src/features/ccip/components/supported-networks/ChainConfig.astro b/src/features/ccip/components/supported-networks/ChainConfig.astro index d0e15531985..c5000e62a56 100644 --- a/src/features/ccip/components/supported-networks/ChainConfig.astro +++ b/src/features/ccip/components/supported-networks/ChainConfig.astro @@ -60,6 +60,10 @@ const feeTokensWithAddresses = feeTokens.map((feeToken) => { } }) +const nativeTokenHasAddress = feeTokensWithAddresses.some( + (feeToken) => feeToken.token.toLowerCase() === nativeCurrency.symbol.toLowerCase() +) + const laneReferenceData = loadReferenceData({ environment, version }).lanesReferenceData[sourceChainRefId] --- @@ -92,10 +96,14 @@ const laneReferenceData = loadReferenceData({ environment, version }).lanesRefer )) } - - {nativeCurrency.symbol} - Native gas token - + { + !nativeTokenHasAddress && ( + + {nativeCurrency.symbol} + Native gas token + + ) + } diff --git a/src/features/common/Tooltip/Tooltip.tsx b/src/features/common/Tooltip/Tooltip.tsx index 9bef2487565..86dcac64bd7 100644 --- a/src/features/common/Tooltip/Tooltip.tsx +++ b/src/features/common/Tooltip/Tooltip.tsx @@ -4,8 +4,6 @@ export const Tooltip = ({ label, tip, imgURL = "https://smartcontract.imgix.net/icons/info.svg?auto=compress%2Cformat", - width = 12, - height = 12, style = {}, labelStyle = {}, }) => { @@ -13,6 +11,7 @@ export const Tooltip = ({ const containerStyle = { display: "flex", alignItems: "center", + justifyContent: "center", } const textStyle = { diff --git a/src/features/utils/index.ts b/src/features/utils/index.ts index acd721738bc..21c53004479 100644 --- a/src/features/utils/index.ts +++ b/src/features/utils/index.ts @@ -142,6 +142,8 @@ export const directoryToSupportedChain = (chainInRdd: string): SupportedChain => return "GNOSIS_MAINNET" case "xdai-testnet-chiado": return "GNOSIS_CHIADO" + case "celo-testnet-alfajores": + return "CELO_ALFAJORES" default: throw Error(`Chain not found ${chainInRdd}`) } @@ -189,6 +191,8 @@ export const supportedChainToChainInRdd = (supportedChain: SupportedChain): stri return "xdai-mainnet" case "GNOSIS_CHIADO": return "xdai-testnet-chiado" + case "CELO_ALFAJORES": + return "celo-testnet-alfajores" default: throw Error(`Chain not found ${supportedChain}`) } From 21ec38ae87e72ad85e89ae0a3b774673e951912c Mon Sep 17 00:00:00 2001 From: aelmanaa Date: Fri, 17 May 2024 15:48:36 +0200 Subject: [PATCH 2/5] celo testnet --- src/config/data/chains.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config/data/chains.json b/src/config/data/chains.json index c4ab15f3af0..d0253ae30e9 100644 --- a/src/config/data/chains.json +++ b/src/config/data/chains.json @@ -288,7 +288,7 @@ "CELO_MAINNET": { "chainId": 42220, "title": "Celo mainnet", - "explorer": "https://explorer.celo.org/", + "explorer": "https://celoscan.io", "nativeCurrency": { "name": "CELO", "symbol": "CELO", From cecbec4ab16c2b6f0ee97a39664b780b6beb5348 Mon Sep 17 00:00:00 2001 From: aelmanaa Date: Tue, 28 May 2024 14:55:13 +0200 Subject: [PATCH 3/5] celo --- .../data/ccip/v1_2_0/mainnet/chains.json | 5 + .../data/ccip/v1_2_0/mainnet/lanes.json | 474 +++++++++++++++++- .../data/ccip/v1_2_0/mainnet/tokens.json | 337 ++++++++++++- .../data/ccip/v1_2_0/testnet/tokens.json | 25 +- src/content/ccip/release-notes.mdx | 4 + src/features/utils/index.ts | 4 + 6 files changed, 813 insertions(+), 36 deletions(-) diff --git a/src/config/data/ccip/v1_2_0/mainnet/chains.json b/src/config/data/ccip/v1_2_0/mainnet/chains.json index b55a1f06fa8..41cdc957bd9 100644 --- a/src/config/data/ccip/v1_2_0/mainnet/chains.json +++ b/src/config/data/ccip/v1_2_0/mainnet/chains.json @@ -43,5 +43,10 @@ "chainSelector": "3719320017875267166", "router": "0xE93E8B0d1b1CEB44350C8758ed1E2799CCee31aB", "feeTokens": ["LINK", "WETH"] + }, + "celo-mainnet": { + "chainSelector": "1346049177634351622", + "router": "0xfB48f15480926A4ADf9116Dca468bDd2EE6C5F62", + "feeTokens": ["CELO", "LINK", "WCELO"] } } diff --git a/src/config/data/ccip/v1_2_0/mainnet/lanes.json b/src/config/data/ccip/v1_2_0/mainnet/lanes.json index 6e9d8782905..f0851cf62a8 100644 --- a/src/config/data/ccip/v1_2_0/mainnet/lanes.json +++ b/src/config/data/ccip/v1_2_0/mainnet/lanes.json @@ -33,6 +33,13 @@ "isEnabled": true, "rate": "50000000000000000000000" } + }, + "SDY": { + "rateLimiterConfig": { + "capacity": "5000000000000000000000000", + "isEnabled": true, + "rate": "58000000000000000000" + } } }, "rateLimiterConfig": { @@ -105,6 +112,20 @@ "isEnabled": true, "rate": "50000000000000000000000" } + }, + "DEXTF": { + "rateLimiterConfig": { + "capacity": "500000000000000000000000", + "isEnabled": true, + "rate": "138880000000000000000" + } + }, + "SDY": { + "rateLimiterConfig": { + "capacity": "5000000000000000000000000", + "isEnabled": true, + "rate": "58000000000000000000" + } } }, "rateLimiterConfig": { @@ -136,6 +157,13 @@ "isEnabled": true, "rate": "50000000000000000000000" } + }, + "DEXTF": { + "rateLimiterConfig": { + "capacity": "500000000000000000000000", + "isEnabled": true, + "rate": "138880000000000000000" + } } }, "rateLimiterConfig": { @@ -217,6 +245,34 @@ "isEnabled": true, "rate": "50000000000000000000000" } + }, + "WMTX": { + "rateLimiterConfig": { + "capacity": "500000000000", + "isEnabled": true, + "rate": "138880000" + } + }, + "WECO": { + "rateLimiterConfig": { + "capacity": "500000000000000000000000000", + "isEnabled": true, + "rate": "34720000000000000000000" + } + }, + "USDFI": { + "rateLimiterConfig": { + "capacity": "50000000000000000000000", + "isEnabled": true, + "rate": "570000000000000000" + } + }, + "STABLE": { + "rateLimiterConfig": { + "capacity": "7000000000000000000000", + "isEnabled": true, + "rate": "81000000000000000" + } } }, "rateLimiterConfig": { @@ -234,6 +290,20 @@ "isEnabled": true, "rate": "50000000000000000000000" } + }, + "WMTX": { + "rateLimiterConfig": { + "capacity": "500000000000", + "isEnabled": true, + "rate": "138880000" + } + }, + "UNIO": { + "rateLimiterConfig": { + "capacity": "1000000000000000000000000", + "isEnabled": true, + "rate": "277700000000000000000" + } } }, "rateLimiterConfig": { @@ -276,9 +346,9 @@ }, "mwBETH": { "rateLimiterConfig": { - "capacity": "100000000000000000000", + "capacity": "500000000000000000000", "isEnabled": true, - "rate": "9260000000000000" + "rate": "46000000000000000" } }, "BETS": { @@ -287,12 +357,40 @@ "isEnabled": true, "rate": "50000000000000000000000" } + }, + "WECO": { + "rateLimiterConfig": { + "capacity": "500000000000000000000000000", + "isEnabled": true, + "rate": "34720000000000000000000" + } + }, + "USDFI": { + "rateLimiterConfig": { + "capacity": "50000000000000000000000", + "isEnabled": true, + "rate": "570000000000000000" + } + }, + "STABLE": { + "rateLimiterConfig": { + "capacity": "7000000000000000000000", + "isEnabled": true, + "rate": "81000000000000000" + } + }, + "UNIO": { + "rateLimiterConfig": { + "capacity": "15000000000000000000000000", + "isEnabled": true, + "rate": "520000000000000000000" + } } }, "rateLimiterConfig": { - "capacity": "600000000000000000000000", + "capacity": "5000000000000000000000000", "isEnabled": true, - "rate": "167000000000000000000" + "rate": "1389000000000000000000" } }, "matic-mainnet": { @@ -318,6 +416,13 @@ "isEnabled": true, "rate": "50000000000000000000000" } + }, + "WECO": { + "rateLimiterConfig": { + "capacity": "500000000000000000000000000", + "isEnabled": true, + "rate": "34720000000000000000000" + } } }, "rateLimiterConfig": { @@ -344,6 +449,16 @@ } } }, + "celo-mainnet": { + "mainnet": { + "onRamp": "0x27C96A8a2f70a8408aD6c620717a3bDaA54bb10b", + "rateLimiterConfig": { + "capacity": "100000000000000000000000", + "isEnabled": true, + "rate": "167000000000000000000" + } + } + }, "ethereum-mainnet-arbitrum-1": { "avalanche-mainnet": { "onRamp": "0x05B723f3db92430FbE4395fD03E40Cc7e9D17988", @@ -361,6 +476,13 @@ "isEnabled": true, "rate": "50000000000000000000000" } + }, + "SDY": { + "rateLimiterConfig": { + "capacity": "5000000000000000000000000", + "isEnabled": true, + "rate": "58000000000000000000" + } } }, "rateLimiterConfig": { @@ -406,6 +528,34 @@ "isEnabled": true, "rate": "50000000000000000000000" } + }, + "WMTX": { + "rateLimiterConfig": { + "capacity": "500000000000", + "isEnabled": true, + "rate": "138880000" + } + }, + "WECO": { + "rateLimiterConfig": { + "capacity": "500000000000000000000000000", + "isEnabled": true, + "rate": "34720000000000000000000" + } + }, + "USDFI": { + "rateLimiterConfig": { + "capacity": "50000000000000000000000", + "isEnabled": true, + "rate": "570000000000000000" + } + }, + "STABLE": { + "rateLimiterConfig": { + "capacity": "7000000000000000000000", + "isEnabled": true, + "rate": "81000000000000000" + } } }, "rateLimiterConfig": { @@ -486,6 +636,20 @@ "isEnabled": true, "rate": "50000000000000000000000" } + }, + "WMTX": { + "rateLimiterConfig": { + "capacity": "500000000000", + "isEnabled": true, + "rate": "138880000" + } + }, + "WOETH": { + "rateLimiterConfig": { + "capacity": "114000000000000000000", + "isEnabled": true, + "rate": "32000000000000000" + } } }, "rateLimiterConfig": { @@ -674,6 +838,48 @@ "isEnabled": true, "rate": "50000000000000000000000" } + }, + "WMTX": { + "rateLimiterConfig": { + "capacity": "5000000000000", + "isEnabled": true, + "rate": "231500000" + } + }, + "WECO": { + "rateLimiterConfig": { + "capacity": "500000000000000000000000000", + "isEnabled": true, + "rate": "34720000000000000000000" + } + }, + "USDFI": { + "rateLimiterConfig": { + "capacity": "50000000000000000000000", + "isEnabled": true, + "rate": "570000000000000000" + } + }, + "STABLE": { + "rateLimiterConfig": { + "capacity": "7000000000000000000000", + "isEnabled": true, + "rate": "81000000000000000" + } + }, + "SDY": { + "rateLimiterConfig": { + "capacity": "5000000000000000000000000", + "isEnabled": true, + "rate": "58000000000000000000" + } + }, + "mDLP": { + "rateLimiterConfig": { + "capacity": "416000000000000000000000", + "isEnabled": true, + "rate": "4810000000000000000" + } } }, "rateLimiterConfig": { @@ -712,6 +918,13 @@ "isEnabled": true, "rate": "50000000000000000000000" } + }, + "WECO": { + "rateLimiterConfig": { + "capacity": "500000000000000000000000000", + "isEnabled": true, + "rate": "34720000000000000000000" + } } }, "rateLimiterConfig": { @@ -772,6 +985,20 @@ "isEnabled": true, "rate": "50000000000000000000000" } + }, + "WMTX": { + "rateLimiterConfig": { + "capacity": "500000000000", + "isEnabled": true, + "rate": "138880000" + } + }, + "UNIO": { + "rateLimiterConfig": { + "capacity": "1000000000000000000000000", + "isEnabled": true, + "rate": "277700000000000000000" + } } }, "rateLimiterConfig": { @@ -852,6 +1079,20 @@ "isEnabled": true, "rate": "50000000000000000000000" } + }, + "WMTX": { + "rateLimiterConfig": { + "capacity": "500000000000", + "isEnabled": true, + "rate": "138880000" + } + }, + "WOETH": { + "rateLimiterConfig": { + "capacity": "114000000000000000000", + "isEnabled": true, + "rate": "32000000000000000" + } } }, "rateLimiterConfig": { @@ -970,12 +1211,40 @@ "isEnabled": true, "rate": "50000000000000000000000" } + }, + "WMTX": { + "rateLimiterConfig": { + "capacity": "500000000000", + "isEnabled": true, + "rate": "138880000" + } + }, + "WOETH": { + "rateLimiterConfig": { + "capacity": "114000000000000000000", + "isEnabled": true, + "rate": "32000000000000000" + } + }, + "XSWAP": { + "rateLimiterConfig": { + "capacity": "20000000000000000000000000", + "isEnabled": true, + "rate": "463000000000000000000" + } + }, + "UNIO": { + "rateLimiterConfig": { + "capacity": "15000000000000000000000000", + "isEnabled": true, + "rate": "520000000000000000000" + } } }, "rateLimiterConfig": { - "capacity": "1000000000000000000000000", + "capacity": "2000000000000000000000000", "isEnabled": true, - "rate": "277000000000000000000" + "rate": "555550000000000000000" } }, "matic-mainnet": { @@ -1214,6 +1483,20 @@ "isEnabled": true, "rate": "50000000000000000000000" } + }, + "DEXTF": { + "rateLimiterConfig": { + "capacity": "500000000000000000000000", + "isEnabled": true, + "rate": "138880000000000000000" + } + }, + "SDY": { + "rateLimiterConfig": { + "capacity": "5000000000000000000000000", + "isEnabled": true, + "rate": "58000000000000000000" + } } }, "rateLimiterConfig": { @@ -1248,9 +1531,9 @@ }, "mwBETH": { "rateLimiterConfig": { - "capacity": "100000000000000000000", + "capacity": "500000000000000000000", "isEnabled": true, - "rate": "9260000000000000" + "rate": "46000000000000000" } }, "BETS": { @@ -1259,10 +1542,46 @@ "isEnabled": true, "rate": "50000000000000000000000" } + }, + "WECO": { + "rateLimiterConfig": { + "capacity": "500000000000000000000000000", + "isEnabled": true, + "rate": "34720000000000000000000" + } + }, + "USDFI": { + "rateLimiterConfig": { + "capacity": "50000000000000000000000", + "isEnabled": true, + "rate": "570000000000000000" + } + }, + "STABLE": { + "rateLimiterConfig": { + "capacity": "7000000000000000000000", + "isEnabled": true, + "rate": "81000000000000000" + } + }, + "UNIO": { + "rateLimiterConfig": { + "capacity": "15000000000000000000000000", + "isEnabled": true, + "rate": "520000000000000000000" + } } }, "rateLimiterConfig": { - "capacity": "600000000000000000000000", + "capacity": "5000000000000000000000000", + "isEnabled": true, + "rate": "1389000000000000000000" + } + }, + "celo-mainnet": { + "onRamp": "0xEd5bE9508ae56531cc0EDe6A3bD588Eb9E2e3cfa", + "rateLimiterConfig": { + "capacity": "100000000000000000000000", "isEnabled": true, "rate": "167000000000000000000" } @@ -1416,6 +1735,48 @@ "isEnabled": true, "rate": "50000000000000000000000" } + }, + "WMTX": { + "rateLimiterConfig": { + "capacity": "5000000000000", + "isEnabled": true, + "rate": "231500000" + } + }, + "WECO": { + "rateLimiterConfig": { + "capacity": "500000000000000000000000000", + "isEnabled": true, + "rate": "34720000000000000000000" + } + }, + "USDFI": { + "rateLimiterConfig": { + "capacity": "50000000000000000000000", + "isEnabled": true, + "rate": "570000000000000000" + } + }, + "STABLE": { + "rateLimiterConfig": { + "capacity": "7000000000000000000000", + "isEnabled": true, + "rate": "81000000000000000" + } + }, + "SDY": { + "rateLimiterConfig": { + "capacity": "5000000000000000000000000", + "isEnabled": true, + "rate": "58000000000000000000" + } + }, + "mDLP": { + "rateLimiterConfig": { + "capacity": "416000000000000000000000", + "isEnabled": true, + "rate": "4810000000000000000" + } } }, "rateLimiterConfig": { @@ -1510,12 +1871,40 @@ "isEnabled": true, "rate": "50000000000000000000000" } + }, + "WMTX": { + "rateLimiterConfig": { + "capacity": "500000000000", + "isEnabled": true, + "rate": "138880000" + } + }, + "WOETH": { + "rateLimiterConfig": { + "capacity": "114000000000000000000", + "isEnabled": true, + "rate": "32000000000000000" + } + }, + "XSWAP": { + "rateLimiterConfig": { + "capacity": "20000000000000000000000000", + "isEnabled": true, + "rate": "463000000000000000000" + } + }, + "UNIO": { + "rateLimiterConfig": { + "capacity": "15000000000000000000000000", + "isEnabled": true, + "rate": "520000000000000000000" + } } }, "rateLimiterConfig": { - "capacity": "1000000000000000000000000", + "capacity": "2000000000000000000000000", "isEnabled": true, - "rate": "277000000000000000000" + "rate": "555550000000000000000" } }, "ethereum-mainnet-optimism-1": { @@ -1593,6 +1982,27 @@ "isEnabled": true, "rate": "50000000000000000000000" } + }, + "BYTES": { + "rateLimiterConfig": { + "capacity": "100000000000000000000000", + "isEnabled": true, + "rate": "2320000000000000000" + } + }, + "DEXTF": { + "rateLimiterConfig": { + "capacity": "500000000000000000000000", + "isEnabled": true, + "rate": "138880000000000000000" + } + }, + "WECO": { + "rateLimiterConfig": { + "capacity": "500000000000000000000000000", + "isEnabled": true, + "rate": "34720000000000000000000" + } } }, "rateLimiterConfig": { @@ -1657,6 +2067,13 @@ "isEnabled": true, "rate": "50000000000000000000000" } + }, + "DEXTF": { + "rateLimiterConfig": { + "capacity": "500000000000000000000000", + "isEnabled": true, + "rate": "138880000000000000000" + } } }, "rateLimiterConfig": { @@ -1688,6 +2105,13 @@ "isEnabled": true, "rate": "50000000000000000000000" } + }, + "WECO": { + "rateLimiterConfig": { + "capacity": "500000000000000000000000000", + "isEnabled": true, + "rate": "34720000000000000000000" + } } }, "rateLimiterConfig": { @@ -1726,6 +2150,13 @@ "isEnabled": true, "rate": "50000000000000000000000" } + }, + "WECO": { + "rateLimiterConfig": { + "capacity": "500000000000000000000000000", + "isEnabled": true, + "rate": "34720000000000000000000" + } } }, "rateLimiterConfig": { @@ -1805,6 +2236,27 @@ "isEnabled": true, "rate": "50000000000000000000000" } + }, + "BYTES": { + "rateLimiterConfig": { + "capacity": "100000000000000000000000", + "isEnabled": true, + "rate": "2320000000000000000" + } + }, + "DEXTF": { + "rateLimiterConfig": { + "capacity": "500000000000000000000000", + "isEnabled": true, + "rate": "138880000000000000000" + } + }, + "WECO": { + "rateLimiterConfig": { + "capacity": "500000000000000000000000000", + "isEnabled": true, + "rate": "34720000000000000000000" + } } }, "rateLimiterConfig": { diff --git a/src/config/data/ccip/v1_2_0/mainnet/tokens.json b/src/config/data/ccip/v1_2_0/mainnet/tokens.json index d9e4d468732..94572a422d6 100644 --- a/src/config/data/ccip/v1_2_0/mainnet/tokens.json +++ b/src/config/data/ccip/v1_2_0/mainnet/tokens.json @@ -76,6 +76,15 @@ "name": "ChainLink Token", "symbol": "LINK", "decimals": 18 + }, + "celo-mainnet": { + "tokenAddress": "0xd07294e6E917e07dfDcee882dd1e2565085C2ae0", + "allowListEnabled": false, + "poolAddress": "0x11825e5d99234bAB7ad1f3972fF6E55eBf3D6E20", + "poolType": "burnMint", + "name": "ChainLink Token", + "symbol": "LINK", + "decimals": 18 } }, "WETH": { @@ -161,6 +170,24 @@ "decimals": 18 } }, + "CELO": { + "celo-mainnet": { + "tokenAddress": "0x2021B12D8138e2D63cF0895eccABC0DFc92416c6", + "allowListEnabled": false, + "name": "Wrapped Celo", + "symbol": "WCELO", + "decimals": 18 + } + }, + "WCELO": { + "celo-mainnet": { + "tokenAddress": "0x2021B12D8138e2D63cF0895eccABC0DFc92416c6", + "allowListEnabled": false, + "name": "Wrapped Celo", + "symbol": "WCELO", + "decimals": 18 + } + }, "BETS": { "avalanche-mainnet": { "tokenAddress": "0x94025780a1aB58868D9B2dBBB775f44b32e8E6e5", @@ -273,6 +300,35 @@ "decimals": 6 } }, + "SDY": { + "avalanche-mainnet": { + "tokenAddress": "0x338c6d2DF4dB2459EAB0835fd9004Cf2915842e0", + "allowListEnabled": false, + "poolAddress": "0xD0744e9fA602870D3E7C509070C997C7f23ACC7C", + "poolType": "burnMint", + "name": "Steadefi", + "symbol": "SDY", + "decimals": 18 + }, + "ethereum-mainnet-arbitrum-1": { + "tokenAddress": "0x7d262214f368A896Af42E36F20a97E2d83df701b", + "allowListEnabled": false, + "poolAddress": "0x1Ae1d8C38E8fFc73E6D9430cb9d4E79976085BED", + "poolType": "burnMint", + "name": "Steadefi", + "symbol": "SDY", + "decimals": 18 + }, + "mainnet": { + "tokenAddress": "0xf2DbAaBd8F8E0993F11DE4CEd470Df1ED1a4491b", + "allowListEnabled": false, + "poolAddress": "0xBF7cb652A2d5ed3BFc3832Ef8Af33Ffb0cDc0982", + "poolType": "burnMint", + "name": "Steadefi", + "symbol": "SDY", + "decimals": 18 + } + }, "AUDF": { "avalanche-mainnet": { "tokenAddress": "0xd2a530170D71a9Cfe1651Fb468E2B98F7Ed7456b", @@ -302,6 +358,35 @@ "decimals": 6 } }, + "DEXTF": { + "avalanche-mainnet": { + "tokenAddress": "0x4816B2157203D8D4c53918e8d4076Adfe9e2FE22", + "allowListEnabled": false, + "poolAddress": "0x6B5ce3422abE4f3f23951F778e9D765050F2800c", + "poolType": "burnMint", + "name": "DEXTF Token", + "symbol": "DEXTF", + "decimals": 18 + }, + "mainnet": { + "tokenAddress": "0x5F64Ab1544D28732F0A24F4713c2C8ec0dA089f0", + "allowListEnabled": false, + "poolAddress": "0x6dDF2F3f93688dfc9d37DF7078982cE8E6494DB2", + "poolType": "lockRelease", + "name": "DEXTF Token", + "symbol": "DEXTF", + "decimals": 18 + }, + "matic-mainnet": { + "tokenAddress": "0x5C5C6D078A6458179a2E4837Db25dA4a9330ECD4", + "allowListEnabled": false, + "poolAddress": "0x031FF88fCDd78e05F472a43F54A131bDB1dFa2Ab", + "poolType": "burnMint", + "name": "DEXTF Token", + "symbol": "DEXTF", + "decimals": 18 + } + }, "una.WEMIX": { "avalanche-mainnet": { "tokenAddress": "0x9f1453d0fADC73aE12d4e1BD8311AA2463AE7d0D", @@ -484,6 +569,24 @@ "symbol": "WMTX", "decimals": 6 }, + "ethereum-mainnet-arbitrum-1": { + "tokenAddress": "0xDBB5Cf12408a3Ac17d668037Ce289f9eA75439D7", + "allowListEnabled": false, + "poolAddress": "0x82A1211c2fd2501635332b1AE27Fd572a4b54e8D", + "poolType": "burnMint", + "name": "WorldMobileToken", + "symbol": "WMTX", + "decimals": 6 + }, + "ethereum-mainnet-base-1": { + "tokenAddress": "0x3e31966d4f81C72D2a55310A6365A56A4393E98D", + "allowListEnabled": false, + "poolAddress": "0x5E3Eb998e2583d960a4bd464e3f22fbBA1ca8F31", + "poolType": "burnMint", + "name": "WorldMobileToken", + "symbol": "WMTX", + "decimals": 6 + }, "mainnet": { "tokenAddress": "0xDBB5Cf12408a3Ac17d668037Ce289f9eA75439D7", "allowListEnabled": false, @@ -494,6 +597,131 @@ "decimals": 6 } }, + "WECO": { + "bsc-mainnet": { + "tokenAddress": "0x5d37ABAFd5498B0E7af753a2E83bd4F0335AA89F", + "allowListEnabled": false, + "poolAddress": "0xa5bA9E065460c7a2623fF8c863aeeb51b13b7d6A", + "poolType": "lockRelease", + "name": "WECOIN", + "symbol": "WECO", + "decimals": 18 + }, + "ethereum-mainnet-arbitrum-1": { + "tokenAddress": "0x44ca3E3649Bf8a905b6B07133BaAc43F1A00fa34", + "allowListEnabled": false, + "poolAddress": "0x8965f1393C2307fB86f8F88a5d6B925A50CD13b4", + "poolType": "burnMint", + "name": "WECOIN", + "symbol": "WECO", + "decimals": 18 + }, + "mainnet": { + "tokenAddress": "0x54Df3076ac0CdC9bC97fA290AB9c5a88E3D23630", + "allowListEnabled": false, + "poolAddress": "0x1580C7d4754f5671626e42f0372D56104B092CFA", + "poolType": "burnMint", + "name": "WECOIN", + "symbol": "WECO", + "decimals": 18 + }, + "matic-mainnet": { + "tokenAddress": "0x7200e56E62543Ecdba7a7f60A25e305BB88304B5", + "allowListEnabled": false, + "poolAddress": "0x0E61767Ef4853bb8DDF395d0b5268bECfFA96b49", + "poolType": "burnMint", + "name": "WECOIN", + "symbol": "WECO", + "decimals": 18 + } + }, + "USDFI": { + "bsc-mainnet": { + "tokenAddress": "0xC9f5955f6dA20e44A068f3d58FB2404f56f9a6f2", + "allowListEnabled": false, + "poolAddress": "0xD25899E5D92E5aB657AeEc68aAa0AB4F277A4A52", + "poolType": "burnMint", + "name": "USDFI", + "symbol": "USDFI", + "decimals": 18 + }, + "ethereum-mainnet-arbitrum-1": { + "tokenAddress": "0x249c48e22E95514Ca975De31f473F30c2f3C0916", + "allowListEnabled": false, + "poolAddress": "0x867730A905d507134B4d02563b8B94A16D65EA6d", + "poolType": "burnMint", + "name": "USDFI", + "symbol": "USDFI", + "decimals": 18 + }, + "mainnet": { + "tokenAddress": "0xa7a0B3Fe94121E366D774d60D075F6386F750884", + "allowListEnabled": false, + "poolAddress": "0x44622f4604353E4815A4212d5a3dD137A1C7FF14", + "poolType": "burnMint", + "name": "USDFI", + "symbol": "USDFI", + "decimals": 18 + } + }, + "STABLE": { + "bsc-mainnet": { + "tokenAddress": "0x8bF75bc68FD337dfd8186d731Df8b3C2CB14B9E6", + "allowListEnabled": false, + "poolAddress": "0x2503b0184381EfEa64E134e5F3A7A49d4538a54E", + "poolType": "burnMint", + "name": "STABLE", + "symbol": "STABLE", + "decimals": 18 + }, + "ethereum-mainnet-arbitrum-1": { + "tokenAddress": "0x666966Ef3925B1c92fa355FDA9722899f3e73451", + "allowListEnabled": false, + "poolAddress": "0xA6fa0DC5F57ed433f74BC6cb25b7b6049aabaC17", + "poolType": "burnMint", + "name": "STABLE", + "symbol": "STABLE", + "decimals": 18 + }, + "mainnet": { + "tokenAddress": "0x60b9C41d99FE3Eb64Ecc1344baD31D87f1bceD6D", + "allowListEnabled": false, + "poolAddress": "0x06f9817a91595E1B595F789Fb91529e8651da9B8", + "poolType": "burnMint", + "name": "STABLE", + "symbol": "STABLE", + "decimals": 18 + } + }, + "UNIO": { + "bsc-mainnet": { + "tokenAddress": "0x01aaC2b594F7bdBeC740F0F1AA22910EbB4B74Ab", + "allowListEnabled": false, + "poolAddress": "0xA389E651095349893A153Ea544938E452b375d9F", + "poolType": "burnMint", + "name": "Unio Coin", + "symbol": "UNIO", + "decimals": 18 + }, + "ethereum-mainnet-base-1": { + "tokenAddress": "0x01aaC2b594F7bdBeC740F0F1AA22910EbB4B74Ab", + "allowListEnabled": false, + "poolAddress": "0x25fad433d68D83CB997985F7C6128AB5a1BDCd93", + "poolType": "burnMint", + "name": "Unio Coin", + "symbol": "UNIO", + "decimals": 18 + }, + "mainnet": { + "tokenAddress": "0x01aaC2b594F7bdBeC740F0F1AA22910EbB4B74Ab", + "allowListEnabled": false, + "poolAddress": "0x4C3aEe10334461F1f33c0A8843424de3F8fb7709", + "poolType": "burnMint", + "name": "Unio Coin", + "symbol": "UNIO", + "decimals": 18 + } + }, "rsETH": { "bsc-mainnet": { "tokenAddress": "0x4186BFC76E2E237523CBC30FD220FE055156b41F", @@ -813,6 +1041,35 @@ "decimals": 18 } }, + "WOETH": { + "ethereum-mainnet-arbitrum-1": { + "tokenAddress": "0xD8724322f44E5c58D7A815F542036fb17DbbF839", + "allowListEnabled": false, + "poolAddress": "0x7765BDD506662543469C3A65938cAe3a791AEf33", + "poolType": "burnMint", + "name": "Wrapped OETH", + "symbol": "WOETH", + "decimals": 18 + }, + "ethereum-mainnet-base-1": { + "tokenAddress": "0xD8724322f44E5c58D7A815F542036fb17DbbF839", + "allowListEnabled": false, + "poolAddress": "0x1e89F91Ee35D7d21c8e8238c79146daF7aB8Bb94", + "poolType": "burnMint", + "name": "Wrapped OETH", + "symbol": "WOETH", + "decimals": 18 + }, + "mainnet": { + "tokenAddress": "0xDcEe70654261AF21C44c093C300eD3Bb97b78192", + "allowListEnabled": false, + "poolAddress": "0xdCa0A2341ed5438E06B9982243808A76B9ADD6d0", + "poolType": "lockRelease", + "name": "Wrapped OETH", + "symbol": "WOETH", + "decimals": 18 + } + }, "DFX": { "ethereum-mainnet-arbitrum-1": { "tokenAddress": "0x27f485b62C4A7E635F561A87560Adf5090239E93", @@ -882,26 +1139,6 @@ "decimals": 18 } }, - "WOETH": { - "ethereum-mainnet-arbitrum-1": { - "tokenAddress": "0xD8724322f44E5c58D7A815F542036fb17DbbF839", - "allowListEnabled": false, - "poolAddress": "0x7765BDD506662543469C3A65938cAe3a791AEf33", - "poolType": "burnMint", - "name": "Wrapped OETH", - "symbol": "WOETH", - "decimals": 18 - }, - "mainnet": { - "tokenAddress": "0xDcEe70654261AF21C44c093C300eD3Bb97b78192", - "allowListEnabled": false, - "poolAddress": "0xdCa0A2341ed5438E06B9982243808A76B9ADD6d0", - "poolType": "lockRelease", - "name": "Wrapped OETH", - "symbol": "WOETH", - "decimals": 18 - } - }, "ETHx": { "ethereum-mainnet-arbitrum-1": { "tokenAddress": "0xED65C5085a18Fa160Af0313E60dcc7905E944Dc7", @@ -991,6 +1228,26 @@ "decimals": 18 } }, + "mDLP": { + "ethereum-mainnet-arbitrum-1": { + "tokenAddress": "0xfe14F790DA92971131544d915c4ADa6F1abce3Bd", + "allowListEnabled": false, + "poolAddress": "0xD5FDf817Cee6e72401bfE8fb2d55502951907c81", + "poolType": "burnMint", + "name": "Magpie locked DLP", + "symbol": "mDLP", + "decimals": 18 + }, + "mainnet": { + "tokenAddress": "0x1Cbc4BF664907669CfAB86a3b1aCC3EC8867a25F", + "allowListEnabled": false, + "poolAddress": "0x8300e89e82A840176eb250EcDA0A7dBDb4a6B12D", + "poolType": "burnMint", + "name": "Magpie locked DLP", + "symbol": "mDLP", + "decimals": 18 + } + }, "DIP": { "ethereum-mainnet-base-1": { "tokenAddress": "0xAc86f3556cBd2b4d800D17ADC3a266B500FCB9F5", @@ -1011,6 +1268,46 @@ "decimals": 18 } }, + "XSWAP": { + "ethereum-mainnet-base-1": { + "tokenAddress": "0x8Fe815417913a93Ea99049FC0718ee1647A2a07c", + "allowListEnabled": false, + "poolAddress": "0xE6d4696a18496720962fD74de1198743FA3Bbefa", + "poolType": "burnMint", + "name": "XSwap", + "symbol": "XSWAP", + "decimals": 18 + }, + "mainnet": { + "tokenAddress": "0x8Fe815417913a93Ea99049FC0718ee1647A2a07c", + "allowListEnabled": false, + "poolAddress": "0x2764910B500689BbC9DB16c7AD61c6DD32FDE73B", + "poolType": "burnMint", + "name": "XSwap", + "symbol": "XSWAP", + "decimals": 18 + } + }, + "BYTES": { + "mainnet": { + "tokenAddress": "0xa19f5264F7D7Be11c451C093D8f92592820Bea86", + "allowListEnabled": false, + "poolAddress": "0xd1b3015ceFCAC84dB3EFCBB18FBdd50BA5aF49DE", + "poolType": "lockRelease", + "name": "BYTES", + "symbol": "BYTES", + "decimals": 18 + }, + "matic-mainnet": { + "tokenAddress": "0x13af0Fe9eB35e91758B467f95cbc78e16FdD8B6b", + "allowListEnabled": false, + "poolAddress": "0xbEE26060b006e3FBFB7025F74115C08EbE8ABE0B", + "poolType": "burnMint", + "name": "BYTES", + "symbol": "BYTES", + "decimals": 18 + } + }, "una.USDC": { "mainnet": { "tokenAddress": "0x66cC3FD40612F9c591F977ce026Ef1C79520C472", diff --git a/src/config/data/ccip/v1_2_0/testnet/tokens.json b/src/config/data/ccip/v1_2_0/testnet/tokens.json index f41919ab743..a8dbbd916d0 100644 --- a/src/config/data/ccip/v1_2_0/testnet/tokens.json +++ b/src/config/data/ccip/v1_2_0/testnet/tokens.json @@ -82,7 +82,10 @@ }, "celo-testnet-alfajores": { "tokenAddress": "0x32E08557B14FaD8908025619797221281D439071", - "allowListEnabled": false + "allowListEnabled": false, + "name": "ChainLink Token", + "symbol": "LINK", + "decimals": 18 } }, "WAVAX": { @@ -176,13 +179,19 @@ "CELO": { "celo-testnet-alfajores": { "tokenAddress": "0xF194afDf50B03e69Bd7D057c1Aa9e10c9954E4C9", - "allowListEnabled": false + "allowListEnabled": false, + "name": "Celo native asset", + "symbol": "CELO", + "decimals": 18 } }, "WCELO": { "celo-testnet-alfajores": { "tokenAddress": "0x99604d0e2EfE7ABFb58BdE565b5330Bb46Ab3Dca", - "allowListEnabled": false + "allowListEnabled": false, + "name": "Wrapped Celo", + "symbol": "WCELO", + "decimals": 18 } }, "CCIP-BnM": { @@ -208,7 +217,10 @@ "tokenAddress": "0x7e503dd1dAF90117A1b79953321043d9E6815C72", "allowListEnabled": false, "poolAddress": "0xC6683ac4a0F62803Bec89a5355B36495ddF2C38b", - "poolType": "burnMint" + "poolType": "burnMint", + "name": "CCIP-BnM", + "symbol": "CCIP-BnM", + "decimals": 18 }, "ethereum-testnet-sepolia-arbitrum-1": { "tokenAddress": "0xA8C0c11bf64AF62CDCA6f93D3769B88BdD7cb93D", @@ -306,7 +318,10 @@ "tokenAddress": "0x7F4e739D40E58BBd59dAD388171d18e37B26326f", "allowListEnabled": false, "poolAddress": "0x88efC66D119c4D013B24fe8c497CE307c8De1bE9", - "poolType": "burnMint" + "poolType": "burnMint", + "name": "clCCIP-LnM", + "symbol": "clCCIP-LnM", + "decimals": 18 }, "ethereum-testnet-sepolia-arbitrum-1": { "tokenAddress": "0x139E99f0ab4084E14e6bb7DacA289a91a2d92927", diff --git a/src/content/ccip/release-notes.mdx b/src/content/ccip/release-notes.mdx index 48191fe5c3d..31d1494b6fd 100644 --- a/src/content/ccip/release-notes.mdx +++ b/src/content/ccip/release-notes.mdx @@ -6,6 +6,10 @@ title: "Chainlink CCIP Release Notes" import { Aside } from "@components" +## Celo - 2024-05-29 + +Chainlink CCIP is publicly available on Celo mainnet and Alfajores testnet. + ## Polygon Amoy - 2024-05-08 Chainlink CCIP is publicly available on Polygon Amoy. diff --git a/src/features/utils/index.ts b/src/features/utils/index.ts index 21c53004479..11022456a36 100644 --- a/src/features/utils/index.ts +++ b/src/features/utils/index.ts @@ -142,6 +142,8 @@ export const directoryToSupportedChain = (chainInRdd: string): SupportedChain => return "GNOSIS_MAINNET" case "xdai-testnet-chiado": return "GNOSIS_CHIADO" + case "celo-mainnet": + return "CELO_MAINNET" case "celo-testnet-alfajores": return "CELO_ALFAJORES" default: @@ -191,6 +193,8 @@ export const supportedChainToChainInRdd = (supportedChain: SupportedChain): stri return "xdai-mainnet" case "GNOSIS_CHIADO": return "xdai-testnet-chiado" + case "CELO_MAINNET": + return "celo-mainnet" case "CELO_ALFAJORES": return "celo-testnet-alfajores" default: From 7b09cd22ae1e0dbe1c09f34cbe8ffe2d97cc66c7 Mon Sep 17 00:00:00 2001 From: aelmanaa Date: Tue, 28 May 2024 19:03:56 +0200 Subject: [PATCH 4/5] celo --- src/config/data/ccip/v1_2_0/mainnet/chains.json | 2 +- src/config/data/ccip/v1_2_0/testnet/chains.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/config/data/ccip/v1_2_0/mainnet/chains.json b/src/config/data/ccip/v1_2_0/mainnet/chains.json index 41cdc957bd9..e4dacc2f4e9 100644 --- a/src/config/data/ccip/v1_2_0/mainnet/chains.json +++ b/src/config/data/ccip/v1_2_0/mainnet/chains.json @@ -47,6 +47,6 @@ "celo-mainnet": { "chainSelector": "1346049177634351622", "router": "0xfB48f15480926A4ADf9116Dca468bDd2EE6C5F62", - "feeTokens": ["CELO", "LINK", "WCELO"] + "feeTokens": ["LINK", "WCELO"] } } diff --git a/src/config/data/ccip/v1_2_0/testnet/chains.json b/src/config/data/ccip/v1_2_0/testnet/chains.json index bd5942a7ffa..497eb41ca1a 100644 --- a/src/config/data/ccip/v1_2_0/testnet/chains.json +++ b/src/config/data/ccip/v1_2_0/testnet/chains.json @@ -52,6 +52,6 @@ "celo-testnet-alfajores": { "chainSelector": "3552045678561919002", "router": "0xb00E95b773528E2Ea724DB06B75113F239D15Dca", - "feeTokens": ["CELO", "LINK", "WCELO"] + "feeTokens": ["LINK", "WCELO"] } } From 9546e09e19e813d15aed490893c3b1b71c46c2f8 Mon Sep 17 00:00:00 2001 From: aelmanaa Date: Tue, 28 May 2024 19:04:37 +0200 Subject: [PATCH 5/5] celo --- src/config/data/ccip/v1_2_0/mainnet/tokens.json | 9 --------- src/config/data/ccip/v1_2_0/testnet/tokens.json | 9 --------- 2 files changed, 18 deletions(-) diff --git a/src/config/data/ccip/v1_2_0/mainnet/tokens.json b/src/config/data/ccip/v1_2_0/mainnet/tokens.json index 94572a422d6..f47b7900170 100644 --- a/src/config/data/ccip/v1_2_0/mainnet/tokens.json +++ b/src/config/data/ccip/v1_2_0/mainnet/tokens.json @@ -170,15 +170,6 @@ "decimals": 18 } }, - "CELO": { - "celo-mainnet": { - "tokenAddress": "0x2021B12D8138e2D63cF0895eccABC0DFc92416c6", - "allowListEnabled": false, - "name": "Wrapped Celo", - "symbol": "WCELO", - "decimals": 18 - } - }, "WCELO": { "celo-mainnet": { "tokenAddress": "0x2021B12D8138e2D63cF0895eccABC0DFc92416c6", diff --git a/src/config/data/ccip/v1_2_0/testnet/tokens.json b/src/config/data/ccip/v1_2_0/testnet/tokens.json index a8dbbd916d0..419f1fed179 100644 --- a/src/config/data/ccip/v1_2_0/testnet/tokens.json +++ b/src/config/data/ccip/v1_2_0/testnet/tokens.json @@ -176,15 +176,6 @@ "decimals": 18 } }, - "CELO": { - "celo-testnet-alfajores": { - "tokenAddress": "0xF194afDf50B03e69Bd7D057c1Aa9e10c9954E4C9", - "allowListEnabled": false, - "name": "Celo native asset", - "symbol": "CELO", - "decimals": 18 - } - }, "WCELO": { "celo-testnet-alfajores": { "tokenAddress": "0x99604d0e2EfE7ABFb58BdE565b5330Bb46Ab3Dca",