From 65029cf2c40fbe383b9a9c1348884a1e35646b9e Mon Sep 17 00:00:00 2001 From: Amine E Date: Mon, 13 May 2024 15:10:45 +0200 Subject: [PATCH] CCIP Amoy (#1936) * add amoy * add amoy * add amoy * add amoy --- .../data/ccip/v1_2_0/testnet/chains.json | 5 + .../data/ccip/v1_2_0/testnet/lanes.json | 558 ++++++++++++++---- .../data/ccip/v1_2_0/testnet/tokens.json | 193 +++--- src/config/types.ts | 1 + src/config/web3Providers.ts | 1 + src/content/ccip/release-notes.mdx | 6 + src/features/utils/index.ts | 4 + 7 files changed, 594 insertions(+), 174 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 5997d79bbe1..a9eec148803 100644 --- a/src/config/data/ccip/v1_2_0/testnet/chains.json +++ b/src/config/data/ccip/v1_2_0/testnet/chains.json @@ -43,5 +43,10 @@ "chainSelector": "8871595565390010547", "router": "0x19b1bac554111517831ACadc0FD119D23Bb14391", "feeTokens": ["LINK", "WXDAI"] + }, + "polygon-testnet-amoy": { + "chainSelector": "16281711391670634445", + "router": "0x9C32fCB86BF0f4a1A8921a9Fe46de3198bb884B2", + "feeTokens": ["LINK", "WMATIC"] } } 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 0f829ad3adf..1b8a0e88827 100644 --- a/src/config/data/ccip/v1_2_0/testnet/lanes.json +++ b/src/config/data/ccip/v1_2_0/testnet/lanes.json @@ -3,14 +3,14 @@ "bsc-testnet": { "onRamp": "0xF25ECF1Aad9B2E43EDc2960cF66f325783245535", "supportedTokens": { - "CCIP-LnM": { + "CCIP-BnM": { "rateLimiterConfig": { "capacity": "100000000000000000000000", "isEnabled": true, "rate": "167000000000000000000" } }, - "CCIP-BnM": { + "CCIP-LnM": { "rateLimiterConfig": { "capacity": "100000000000000000000000", "isEnabled": true, @@ -62,16 +62,47 @@ "rate": "167000000000000000000" } }, - "ethereum-testnet-sepolia-base-1": { - "onRamp": "0x1A674645f3EB4147543FCA7d40C5719cbd997362", + "ethereum-testnet-sepolia-arbitrum-1": { + "onRamp": "0x8bB16BEDbFd62D1f905ACe8DBBF2954c8EEB4f66", "supportedTokens": { + "GHO": { + "rateLimiterConfig": { + "capacity": "100000000000000000000000", + "isEnabled": true, + "rate": "167000000000000000000" + } + }, + "CCIP-BnM": { + "rateLimiterConfig": { + "capacity": "100000000000000000000000", + "isEnabled": true, + "rate": "167000000000000000000" + } + }, + "CCIP-LnM": { + "rateLimiterConfig": { + "capacity": "100000000000000000000000", + "isEnabled": true, + "rate": "167000000000000000000" + } + }, "USDC": { "rateLimiterConfig": { "capacity": "100000000000", "isEnabled": true, "rate": "167000000" } - }, + } + }, + "rateLimiterConfig": { + "capacity": "100000000000000000000000", + "isEnabled": true, + "rate": "167000000000000000000" + } + }, + "ethereum-testnet-sepolia-base-1": { + "onRamp": "0x1A674645f3EB4147543FCA7d40C5719cbd997362", + "supportedTokens": { "GHO": { "rateLimiterConfig": { "capacity": "1000000000000000000000000000000000000", @@ -79,19 +110,26 @@ "rate": "1000000000000000000000000000000000000" } }, - "CCIP-LnM": { + "CCIP-BnM": { "rateLimiterConfig": { "capacity": "100000000000000000000000", "isEnabled": true, "rate": "167000000000000000000" } }, - "CCIP-BnM": { + "CCIP-LnM": { "rateLimiterConfig": { "capacity": "100000000000000000000000", "isEnabled": true, "rate": "167000000000000000000" } + }, + "USDC": { + "rateLimiterConfig": { + "capacity": "100000000000", + "isEnabled": true, + "rate": "167000000" + } } }, "rateLimiterConfig": { @@ -131,6 +169,37 @@ "rate": "167000000000000000000" } }, + "polygon-testnet-amoy": { + "onRamp": "0x610F76A35E17DA4542518D85FfEa12645eF111Fc", + "supportedTokens": { + "CCIP-LnM": { + "rateLimiterConfig": { + "capacity": "100000000000000000000000", + "isEnabled": true, + "rate": "167000000000000000000" + } + }, + "USDC": { + "rateLimiterConfig": { + "capacity": "100000000000", + "isEnabled": true, + "rate": "167000000" + } + }, + "CCIP-BnM": { + "rateLimiterConfig": { + "capacity": "100000000000000000000000", + "isEnabled": true, + "rate": "167000000000000000000" + } + } + }, + "rateLimiterConfig": { + "capacity": "100000000000000000000000", + "isEnabled": true, + "rate": "167000000000000000000" + } + }, "wemix-testnet": { "onRamp": "0x677B5ab5C8522d929166c064d5700F147b15fa33", "supportedTokens": { @@ -160,14 +229,14 @@ "avalanche-fuji-testnet": { "onRamp": "0xa2515683E99F50ADbE177519A46bb20FfdBaA5de", "supportedTokens": { - "CCIP-BnM": { + "CCIP-LnM": { "rateLimiterConfig": { "capacity": "100000000000000000000000", "isEnabled": true, "rate": "167000000000000000000" } }, - "CCIP-LnM": { + "CCIP-BnM": { "rateLimiterConfig": { "capacity": "100000000000000000000000", "isEnabled": true, @@ -208,19 +277,43 @@ "ethereum-testnet-sepolia-base-1": { "onRamp": "0x3E807220Ca84b997c0d1928162227b46C618e0c5", "supportedTokens": { - "CCIP-BnM": { + "CCIP-LnM": { "rateLimiterConfig": { "capacity": "100000000000000000000000", "isEnabled": true, "rate": "167000000000000000000" } }, + "CCIP-BnM": { + "rateLimiterConfig": { + "capacity": "100000000000000000000000", + "isEnabled": true, + "rate": "167000000000000000000" + } + } + }, + "rateLimiterConfig": { + "capacity": "100000000000000000000000", + "isEnabled": true, + "rate": "167000000000000000000" + } + }, + "polygon-testnet-amoy": { + "onRamp": "0xf37CcbfC04adc1B56a46B36F811D52C744a1AF78", + "supportedTokens": { "CCIP-LnM": { "rateLimiterConfig": { "capacity": "100000000000000000000000", "isEnabled": true, "rate": "167000000000000000000" } + }, + "CCIP-BnM": { + "rateLimiterConfig": { + "capacity": "100000000000000000000000", + "isEnabled": true, + "rate": "167000000000000000000" + } } }, "rateLimiterConfig": { @@ -255,9 +348,16 @@ } }, "ethereum-testnet-sepolia-arbitrum-1": { - "ethereum-testnet-sepolia": { - "onRamp": "0x4205E1Ca0202A248A5D42F5975A8FE56F3E302e9", + "avalanche-fuji-testnet": { + "onRamp": "0x1Cb56374296ED19E86F68fA437ee679FD7798DaA", "supportedTokens": { + "GHO": { + "rateLimiterConfig": { + "capacity": "100000000000000000000000", + "isEnabled": true, + "rate": "167000000000000000000" + } + }, "CCIP-BnM": { "rateLimiterConfig": { "capacity": "100000000000000000000000", @@ -272,6 +372,37 @@ "rate": "167000000000000000000" } }, + "USDC": { + "rateLimiterConfig": { + "capacity": "100000000000", + "isEnabled": true, + "rate": "167000000" + } + } + }, + "rateLimiterConfig": { + "capacity": "100000000000000000000000", + "isEnabled": true, + "rate": "167000000000000000000" + } + }, + "ethereum-testnet-sepolia": { + "onRamp": "0x4205E1Ca0202A248A5D42F5975A8FE56F3E302e9", + "supportedTokens": { + "USDC": { + "rateLimiterConfig": { + "capacity": "100000000000", + "isEnabled": true, + "rate": "167000000" + } + }, + "CCIP-LnM": { + "rateLimiterConfig": { + "capacity": "100000000000000000000000", + "isEnabled": true, + "rate": "167000000000000000000" + } + }, "GHO": { "rateLimiterConfig": { "capacity": "1000000000000000000000000000000000000", @@ -279,11 +410,11 @@ "rate": "1000000000000000000000000000000000000" } }, - "USDC": { + "CCIP-BnM": { "rateLimiterConfig": { - "capacity": "100000000000", + "capacity": "100000000000000000000000", "isEnabled": true, - "rate": "167000000" + "rate": "167000000000000000000" } } }, @@ -296,6 +427,13 @@ "ethereum-testnet-sepolia-base-1": { "onRamp": "0x7854E73C73e7F9bb5b0D5B4861E997f4C6E8dcC6", "supportedTokens": { + "USDC": { + "rateLimiterConfig": { + "capacity": "100000000000", + "isEnabled": true, + "rate": "167000000" + } + }, "CCIP-BnM": { "rateLimiterConfig": { "capacity": "100000000000000000000000", @@ -316,13 +454,6 @@ "isEnabled": true, "rate": "167000000000000000000" } - }, - "USDC": { - "rateLimiterConfig": { - "capacity": "100000000000", - "isEnabled": true, - "rate": "167000000" - } } }, "rateLimiterConfig": { @@ -334,25 +465,25 @@ "ethereum-testnet-sepolia-optimism-1": { "onRamp": "0x701Fe16916dd21EFE2f535CA59611D818B017877", "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" } } }, @@ -391,13 +522,6 @@ "avalanche-fuji-testnet": { "onRamp": "0xAbA09a1b7b9f13E05A6241292a66793Ec7d43357", "supportedTokens": { - "CCIP-BnM": { - "rateLimiterConfig": { - "capacity": "100000000000000000000000", - "isEnabled": true, - "rate": "167000000000000000000" - } - }, "CCIP-LnM": { "rateLimiterConfig": { "capacity": "100000000000000000000000", @@ -418,6 +542,13 @@ "isEnabled": false, "rate": "1000000000000000000000000000000000000" } + }, + "CCIP-BnM": { + "rateLimiterConfig": { + "capacity": "100000000000000000000000", + "isEnabled": true, + "rate": "167000000000000000000" + } } }, "rateLimiterConfig": { @@ -491,13 +622,6 @@ "ethereum-testnet-sepolia-arbitrum-1": { "onRamp": "0x58622a80c6DdDc072F2b527a99BE1D0934eb2b50", "supportedTokens": { - "GHO": { - "rateLimiterConfig": { - "capacity": "100000000000000000000000", - "isEnabled": true, - "rate": "167000000000000000000" - } - }, "CCIP-BnM": { "rateLimiterConfig": { "capacity": "100000000000000000000000", @@ -518,6 +642,13 @@ "isEnabled": true, "rate": "167000000" } + }, + "GHO": { + "rateLimiterConfig": { + "capacity": "100000000000000000000000", + "isEnabled": true, + "rate": "167000000000000000000" + } } }, "rateLimiterConfig": { @@ -562,14 +693,14 @@ "wemix-testnet": { "onRamp": "0x6ea155Fc77566D9dcE01B8aa5D7968665dc4f0C5", "supportedTokens": { - "CCIP-LnM": { + "CCIP-BnM": { "rateLimiterConfig": { "capacity": "100000000000000000000000", "isEnabled": true, "rate": "167000000000000000000" } }, - "CCIP-BnM": { + "CCIP-LnM": { "rateLimiterConfig": { "capacity": "100000000000000000000000", "isEnabled": true, @@ -588,25 +719,25 @@ "avalanche-fuji-testnet": { "onRamp": "0x6b38CC6Fa938D5AB09Bdf0CFe580E226fDD793cE", "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" } } }, @@ -619,25 +750,25 @@ "ethereum-testnet-sepolia": { "onRamp": "0xC8b93b46BF682c39B3F65Aa1c135bC8A95A5E43a", "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" } } }, @@ -650,6 +781,13 @@ "ethereum-testnet-sepolia-arbitrum-1": { "onRamp": "0x1a86b29364D1B3fA3386329A361aA98A104b2742", "supportedTokens": { + "USDC": { + "rateLimiterConfig": { + "capacity": "100000000000", + "isEnabled": true, + "rate": "167000000" + } + }, "CCIP-BnM": { "rateLimiterConfig": { "capacity": "100000000000000000000000", @@ -663,13 +801,6 @@ "isEnabled": true, "rate": "167000000000000000000" } - }, - "USDC": { - "rateLimiterConfig": { - "capacity": "100000000000", - "isEnabled": true, - "rate": "167000000" - } } }, "rateLimiterConfig": { @@ -709,8 +840,8 @@ "rate": "167000000000000000000" } }, - "wemix-testnet": { - "onRamp": "0xc7E53f6aB982af7A7C3e470c8cCa283d3399BDAd", + "polygon-testnet-amoy": { + "onRamp": "0x2Cf26fb01E9ccDb831414B766287c0A9e4551089", "supportedTokens": { "CCIP-BnM": { "rateLimiterConfig": { @@ -725,6 +856,13 @@ "isEnabled": true, "rate": "167000000000000000000" } + }, + "USDC": { + "rateLimiterConfig": { + "capacity": "100000000000", + "isEnabled": true, + "rate": "167000000" + } } }, "rateLimiterConfig": { @@ -732,11 +870,9 @@ "isEnabled": true, "rate": "167000000000000000000" } - } - }, - "ethereum-testnet-sepolia": { - "avalanche-fuji-testnet": { - "onRamp": "0x0477cA0a35eE05D3f9f424d88bC0977ceCf339D4", + }, + "wemix-testnet": { + "onRamp": "0xc7E53f6aB982af7A7C3e470c8cCa283d3399BDAd", "supportedTokens": { "CCIP-BnM": { "rateLimiterConfig": { @@ -745,13 +881,25 @@ "rate": "167000000000000000000" } }, - "GHO": { + "CCIP-LnM": { "rateLimiterConfig": { - "capacity": "1000000000000000000000000000000000000", - "isEnabled": false, - "rate": "1000000000000000000000000000000000000" + "capacity": "100000000000000000000000", + "isEnabled": true, + "rate": "167000000000000000000" } - }, + } + }, + "rateLimiterConfig": { + "capacity": "100000000000000000000000", + "isEnabled": true, + "rate": "167000000000000000000" + } + } + }, + "ethereum-testnet-sepolia": { + "avalanche-fuji-testnet": { + "onRamp": "0x0477cA0a35eE05D3f9f424d88bC0977ceCf339D4", + "supportedTokens": { "USDC": { "rateLimiterConfig": { "capacity": "100000000000", @@ -759,12 +907,26 @@ "rate": "167000000" } }, + "CCIP-BnM": { + "rateLimiterConfig": { + "capacity": "100000000000000000000000", + "isEnabled": true, + "rate": "167000000000000000000" + } + }, "CCIP-LnM": { "rateLimiterConfig": { "capacity": "100000000000000000000000", "isEnabled": true, "rate": "167000000000000000000" } + }, + "GHO": { + "rateLimiterConfig": { + "capacity": "1000000000000000000000000000000000000", + "isEnabled": false, + "rate": "1000000000000000000000000000000000000" + } } }, "rateLimiterConfig": { @@ -800,13 +962,6 @@ "ethereum-testnet-sepolia-arbitrum-1": { "onRamp": "0xe4Dd3B16E09c016402585a8aDFdB4A18f772a07e", "supportedTokens": { - "CCIP-LnM": { - "rateLimiterConfig": { - "capacity": "100000000000000000000000", - "isEnabled": true, - "rate": "167000000000000000000" - } - }, "USDC": { "rateLimiterConfig": { "capacity": "100000000000", @@ -821,6 +976,13 @@ "rate": "167000000000000000000" } }, + "CCIP-LnM": { + "rateLimiterConfig": { + "capacity": "100000000000000000000000", + "isEnabled": true, + "rate": "167000000000000000000" + } + }, "GHO": { "rateLimiterConfig": { "capacity": "1000000000000000000000000000000000000", @@ -838,11 +1000,11 @@ "ethereum-testnet-sepolia-base-1": { "onRamp": "0x2B70a05320cB069e0fB55084D402343F832556E7", "supportedTokens": { - "CCIP-LnM": { + "GHO": { "rateLimiterConfig": { - "capacity": "100000000000000000000000", - "isEnabled": true, - "rate": "167000000000000000000" + "capacity": "1000000000000000000000000000000000000", + "isEnabled": false, + "rate": "1000000000000000000000000000000000000" } }, "USDC": { @@ -852,18 +1014,18 @@ "rate": "167000000" } }, - "CCIP-BnM": { + "CCIP-LnM": { "rateLimiterConfig": { "capacity": "100000000000000000000000", "isEnabled": true, "rate": "167000000000000000000" } }, - "GHO": { + "CCIP-BnM": { "rateLimiterConfig": { - "capacity": "1000000000000000000000000000000000000", - "isEnabled": false, - "rate": "1000000000000000000000000000000000000" + "capacity": "100000000000000000000000", + "isEnabled": true, + "rate": "167000000000000000000" } } }, @@ -876,13 +1038,37 @@ "ethereum-testnet-sepolia-optimism-1": { "onRamp": "0x69CaB5A0a08a12BaFD8f5B195989D709E396Ed4d", "supportedTokens": { - "CCIP-LnM": { + "USDC": { + "rateLimiterConfig": { + "capacity": "100000000000", + "isEnabled": true, + "rate": "167000000" + } + }, + "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" + } + }, + "polygon-testnet-amoy": { + "onRamp": "0x9f656e0361Fb5Df2ac446102c8aB31855B591692", + "supportedTokens": { "USDC": { "rateLimiterConfig": { "capacity": "100000000000", @@ -896,6 +1082,13 @@ "isEnabled": true, "rate": "167000000000000000000" } + }, + "CCIP-LnM": { + "rateLimiterConfig": { + "capacity": "100000000000000000000000", + "isEnabled": true, + "rate": "167000000000000000000" + } } }, "rateLimiterConfig": { @@ -907,14 +1100,14 @@ "wemix-testnet": { "onRamp": "0xedFc22336Eb0B9B11Ff37C07777db27BCcDe3C65", "supportedTokens": { - "CCIP-LnM": { + "CCIP-BnM": { "rateLimiterConfig": { "capacity": "1000000000000000000000000000", "isEnabled": true, "rate": "1000000000000000000000000000" } }, - "CCIP-BnM": { + "CCIP-LnM": { "rateLimiterConfig": { "capacity": "1000000000000000000000000000", "isEnabled": true, @@ -931,19 +1124,162 @@ "xdai-testnet-chiado": { "onRamp": "0x3E842E3A79A00AFdd03B52390B1caC6306Ea257E", "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" + } + } + }, + "polygon-testnet-amoy": { + "avalanche-fuji-testnet": { + "onRamp": "0x8Fb98b3837578aceEA32b454f3221FE18D7Ce903", + "supportedTokens": { + "USDC": { + "rateLimiterConfig": { + "capacity": "100000000000", + "isEnabled": true, + "rate": "167000000" + } + }, + "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" + } + }, + "bsc-testnet": { + "onRamp": "0xC6683ac4a0F62803Bec89a5355B36495ddF2C38b", + "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": { + "onRamp": "0x35347A2fC1f2a4c5Eae03339040d0b83b09e6FDA", + "supportedTokens": { + "USDC": { + "rateLimiterConfig": { + "capacity": "100000000000", + "isEnabled": true, + "rate": "167000000" + } + }, + "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-optimism-1": { + "onRamp": "0xA52cDAeb43803A80B3c0C2296f5cFe57e695BE11", + "supportedTokens": { + "USDC": { + "rateLimiterConfig": { + "capacity": "100000000000", + "isEnabled": true, + "rate": "167000000" + } + }, + "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" + } + }, + "wemix-testnet": { + "onRamp": "0x26546096F64B5eF9A1DcDAe70Df6F4f8c2E10C61", + "supportedTokens": { "CCIP-BnM": { "rateLimiterConfig": { "capacity": "100000000000000000000000", "isEnabled": true, "rate": "167000000000000000000" } + }, + "CCIP-LnM": { + "rateLimiterConfig": { + "capacity": "100000000000000000000000", + "isEnabled": true, + "rate": "167000000000000000000" + } } }, "rateLimiterConfig": { @@ -981,14 +1317,14 @@ "bsc-testnet": { "onRamp": "0x5AD6eed6Be0ffaDCA4105050CF0E584D87E0c2F1", "supportedTokens": { - "CCIP-BnM": { + "CCIP-LnM": { "rateLimiterConfig": { "capacity": "100000000000000000000000", "isEnabled": true, "rate": "167000000000000000000" } }, - "CCIP-LnM": { + "CCIP-BnM": { "rateLimiterConfig": { "capacity": "100000000000000000000000", "isEnabled": true, @@ -1097,6 +1433,30 @@ "isEnabled": true, "rate": "167000000000000000000" } + }, + "polygon-testnet-amoy": { + "onRamp": "0xd55148e841e76265B484d399eC71b7076ecB1216", + "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" + } } }, "xdai-testnet-chiado": { 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 780b9b189ac..e0231f3aa14 100644 --- a/src/config/data/ccip/v1_2_0/testnet/tokens.json +++ b/src/config/data/ccip/v1_2_0/testnet/tokens.json @@ -72,6 +72,13 @@ "name": "ChainLink Token", "symbol": "LINK", "decimals": 18 + }, + "polygon-testnet-amoy": { + "tokenAddress": "0x0Fd9e8d3aF1aaee056EB9e802c3A762a667b1904", + "allowListEnabled": false, + "name": "ChainLink Token", + "symbol": "LINK", + "decimals": 18 } }, "WAVAX": { @@ -153,169 +160,196 @@ "decimals": 18 } }, - "CCIP-LnM": { + "WMATIC": { + "polygon-testnet-amoy": { + "tokenAddress": "0x360ad4f9a9A8EFe9A8DCB5f461c4Cc1047E1Dcf9", + "allowListEnabled": false, + "name": "Wrapped Matic", + "symbol": "WMATIC", + "decimals": 18 + } + }, + "CCIP-BnM": { "avalanche-fuji-testnet": { - "tokenAddress": "0x70F5c5C40b873EA597776DA2C21929A8282A3b35", + "tokenAddress": "0xD21341536c5cF5EB1bcb58f6723cE26e8D8E90e4", "allowListEnabled": false, - "poolAddress": "0x583DbE5F15DeA93F321826D856994e53e01Cd498", + "poolAddress": "0xEC1062cbDf4fBf31B3A6Aac62B6F6F123bb70E12", "poolType": "burnMint", - "name": "clCCIP-LnM", - "symbol": "clCCIP-LnM", + "name": "CCIP-BnM", + "symbol": "CCIP-BnM", "decimals": 18 }, "bsc-testnet": { - "tokenAddress": "0x79a4Fc27f69323660f5Bfc12dEe21c3cC14f5901", + "tokenAddress": "0xbFA2ACd33ED6EEc0ed3Cc06bF1ac38d22b36B9e9", "allowListEnabled": false, - "poolAddress": "0x44a27E50BEc104518823C928a5560d2c69281e61", + "poolAddress": "0x31eDe84776DA37e2404eE88d71c234e92cB672e5", "poolType": "burnMint", - "name": "clCCIP-LnM", - "symbol": "clCCIP-LnM", + "name": "CCIP-BnM", + "symbol": "CCIP-BnM", "decimals": 18 }, "ethereum-testnet-sepolia-arbitrum-1": { - "tokenAddress": "0x139E99f0ab4084E14e6bb7DacA289a91a2d92927", + "tokenAddress": "0xA8C0c11bf64AF62CDCA6f93D3769B88BdD7cb93D", "allowListEnabled": false, - "poolAddress": "0x5d3ceD1297D948658b104e70EeB9d2594a7e9b1A", + "poolAddress": "0x99685281Ec520a003F1A726A5a8078c2124c1477", "poolType": "burnMint", - "name": "clCCIP-LnM", - "symbol": "clCCIP-LnM", + "name": "CCIP-BnM", + "symbol": "CCIP-BnM", "decimals": 18 }, "ethereum-testnet-sepolia-base-1": { - "tokenAddress": "0xA98FA8A008371b9408195e52734b1768c0d1Cb5c", + "tokenAddress": "0x88A2d74F47a237a62e7A51cdDa67270CE381555e", "allowListEnabled": false, - "poolAddress": "0xb2958D1Bd07448865E555FeeFf32b58D254ffB4C", + "poolAddress": "0x477099a1E7812c09D4DF5a9158f97Fb7b7105dC5", "poolType": "burnMint", - "name": "clCCIP-LnM", - "symbol": "clCCIP-LnM", + "name": "CCIP-BnM", + "symbol": "CCIP-BnM", "decimals": 18 }, "ethereum-testnet-sepolia-kroma-1": { - "tokenAddress": "0x835fcBB6770E1246CfCf52F83cDcec3177d0bb6b", + "tokenAddress": "0x6AC3e353D1DDda24d5A5416024d6E436b8817A4e", "allowListEnabled": false, - "poolAddress": "0x24C79D28E0380230265F772bC3bAbC7a4ED9c9F4", + "poolAddress": "0x0eE8add19554C7bb1920A183Ed47b4FAB9Eb7601", "poolType": "burnMint", - "name": "clCCIP-LnM", - "symbol": "clCCIP-LnM", + "name": "CCIP-BnM", + "symbol": "CCIP-BnM", "decimals": 18 }, "ethereum-testnet-sepolia-optimism-1": { - "tokenAddress": "0x044a6B4b561af69D2319A2f4be5Ec327a6975D0a", + "tokenAddress": "0x8aF4204e30565DF93352fE8E1De78925F6664dA7", "allowListEnabled": false, - "poolAddress": "0x3382b044d5a3FF656ffb62dAAcED78084C209e71", + "poolAddress": "0x3Cc9364260D80F09ccAC1eE6B07366dB598900E6", "poolType": "burnMint", - "name": "clCCIP-LnM", - "symbol": "clCCIP-LnM", + "name": "CCIP-BnM", + "symbol": "CCIP-BnM", "decimals": 18 }, "ethereum-testnet-sepolia": { - "tokenAddress": "0x466D489b6d36E7E3b824ef491C225F5830E81cC1", + "tokenAddress": "0xFd57b4ddBf88a4e07fF4e34C487b99af2Fe82a05", "allowListEnabled": false, - "poolAddress": "0x09EC713b931586eD6Aa5425eC4d9dA078a47B6b1", - "poolType": "lockRelease", - "name": "CCIP-LnM", - "symbol": "CCIP-LnM", + "poolAddress": "0x38d1ef9619Cd40cf5482C045660Ae7C82Ada062c", + "poolType": "burnMint", + "name": "CCIP-BnM", + "symbol": "CCIP-BnM", + "decimals": 18 + }, + "polygon-testnet-amoy": { + "tokenAddress": "0xcab0EF91Bee323d1A617c0a027eE753aFd6997E4", + "allowListEnabled": false, + "poolAddress": "0x3064fB3EA546EE09A63AB3bD93E83D8B8525C636", + "poolType": "burnMint", + "name": "CCIP-BnM", + "symbol": "CCIP-BnM", "decimals": 18 }, "wemix-testnet": { - "tokenAddress": "0xcb342aE3D65E3fEDF8F912B0432e2B8F88514d5D", + "tokenAddress": "0xF4E4057FbBc86915F4b2d63EEFFe641C03294ffc", "allowListEnabled": false, - "poolAddress": "0x58A1c47cEeb0C6b0E93CE289Ea3930D009C0CFeF", + "poolAddress": "0x82A92B2863F93Be70D20660088Ec060720bA2fdb", "poolType": "burnMint", - "name": "clCCIP-LnM", - "symbol": "clCCIP-LnM", + "name": "CCIP-BnM", + "symbol": "CCIP-BnM", "decimals": 18 }, "xdai-testnet-chiado": { - "tokenAddress": "0x30DeCD269277b8094c00B0bacC3aCaF3fF4Da7fB", + "tokenAddress": "0xA189971a2c5AcA0DFC5Ee7a2C44a2Ae27b3CF389", "allowListEnabled": false, - "poolAddress": "0xF82Bc2053C616Bb6B452B8bAa906b6a24E5AA139", + "poolAddress": "0xF9a21B587111e7E8745Fb8b13750014f19DB0014", "poolType": "burnMint", - "name": "clCCIP-LnM", - "symbol": "clCCIP-LnM", + "name": "CCIP-BnM", + "symbol": "CCIP-BnM", "decimals": 18 } }, - "CCIP-BnM": { + "CCIP-LnM": { "avalanche-fuji-testnet": { - "tokenAddress": "0xD21341536c5cF5EB1bcb58f6723cE26e8D8E90e4", + "tokenAddress": "0x70F5c5C40b873EA597776DA2C21929A8282A3b35", "allowListEnabled": false, - "poolAddress": "0xEC1062cbDf4fBf31B3A6Aac62B6F6F123bb70E12", + "poolAddress": "0x583DbE5F15DeA93F321826D856994e53e01Cd498", "poolType": "burnMint", - "name": "CCIP-BnM", - "symbol": "CCIP-BnM", + "name": "clCCIP-LnM", + "symbol": "clCCIP-LnM", "decimals": 18 }, "bsc-testnet": { - "tokenAddress": "0xbFA2ACd33ED6EEc0ed3Cc06bF1ac38d22b36B9e9", + "tokenAddress": "0x79a4Fc27f69323660f5Bfc12dEe21c3cC14f5901", "allowListEnabled": false, - "poolAddress": "0x31eDe84776DA37e2404eE88d71c234e92cB672e5", + "poolAddress": "0x44a27E50BEc104518823C928a5560d2c69281e61", "poolType": "burnMint", - "name": "CCIP-BnM", - "symbol": "CCIP-BnM", + "name": "clCCIP-LnM", + "symbol": "clCCIP-LnM", "decimals": 18 }, "ethereum-testnet-sepolia-arbitrum-1": { - "tokenAddress": "0xA8C0c11bf64AF62CDCA6f93D3769B88BdD7cb93D", + "tokenAddress": "0x139E99f0ab4084E14e6bb7DacA289a91a2d92927", "allowListEnabled": false, - "poolAddress": "0x99685281Ec520a003F1A726A5a8078c2124c1477", + "poolAddress": "0x5d3ceD1297D948658b104e70EeB9d2594a7e9b1A", "poolType": "burnMint", - "name": "CCIP-BnM", - "symbol": "CCIP-BnM", + "name": "clCCIP-LnM", + "symbol": "clCCIP-LnM", "decimals": 18 }, "ethereum-testnet-sepolia-base-1": { - "tokenAddress": "0x88A2d74F47a237a62e7A51cdDa67270CE381555e", + "tokenAddress": "0xA98FA8A008371b9408195e52734b1768c0d1Cb5c", "allowListEnabled": false, - "poolAddress": "0x477099a1E7812c09D4DF5a9158f97Fb7b7105dC5", + "poolAddress": "0xb2958D1Bd07448865E555FeeFf32b58D254ffB4C", "poolType": "burnMint", - "name": "CCIP-BnM", - "symbol": "CCIP-BnM", + "name": "clCCIP-LnM", + "symbol": "clCCIP-LnM", "decimals": 18 }, "ethereum-testnet-sepolia-kroma-1": { - "tokenAddress": "0x6AC3e353D1DDda24d5A5416024d6E436b8817A4e", + "tokenAddress": "0x835fcBB6770E1246CfCf52F83cDcec3177d0bb6b", "allowListEnabled": false, - "poolAddress": "0x0eE8add19554C7bb1920A183Ed47b4FAB9Eb7601", + "poolAddress": "0x24C79D28E0380230265F772bC3bAbC7a4ED9c9F4", "poolType": "burnMint", - "name": "CCIP-BnM", - "symbol": "CCIP-BnM", + "name": "clCCIP-LnM", + "symbol": "clCCIP-LnM", "decimals": 18 }, "ethereum-testnet-sepolia-optimism-1": { - "tokenAddress": "0x8aF4204e30565DF93352fE8E1De78925F6664dA7", + "tokenAddress": "0x044a6B4b561af69D2319A2f4be5Ec327a6975D0a", "allowListEnabled": false, - "poolAddress": "0x3Cc9364260D80F09ccAC1eE6B07366dB598900E6", + "poolAddress": "0x3382b044d5a3FF656ffb62dAAcED78084C209e71", "poolType": "burnMint", - "name": "CCIP-BnM", - "symbol": "CCIP-BnM", + "name": "clCCIP-LnM", + "symbol": "clCCIP-LnM", "decimals": 18 }, "ethereum-testnet-sepolia": { - "tokenAddress": "0xFd57b4ddBf88a4e07fF4e34C487b99af2Fe82a05", + "tokenAddress": "0x466D489b6d36E7E3b824ef491C225F5830E81cC1", "allowListEnabled": false, - "poolAddress": "0x38d1ef9619Cd40cf5482C045660Ae7C82Ada062c", + "poolAddress": "0x09EC713b931586eD6Aa5425eC4d9dA078a47B6b1", + "poolType": "lockRelease", + "name": "CCIP-LnM", + "symbol": "CCIP-LnM", + "decimals": 18 + }, + "polygon-testnet-amoy": { + "tokenAddress": "0x3d357fb52253e86c8Ee0f80F5FfE438fD9503FF2", + "allowListEnabled": false, + "poolAddress": "0x2Cf26fb01E9ccDb831414B766287c0A9e4551089", "poolType": "burnMint", - "name": "CCIP-BnM", - "symbol": "CCIP-BnM", + "name": "clCCIP-LnM", + "symbol": "clCCIP-LnM", "decimals": 18 }, "wemix-testnet": { - "tokenAddress": "0xF4E4057FbBc86915F4b2d63EEFFe641C03294ffc", + "tokenAddress": "0xcb342aE3D65E3fEDF8F912B0432e2B8F88514d5D", "allowListEnabled": false, - "poolAddress": "0x82A92B2863F93Be70D20660088Ec060720bA2fdb", + "poolAddress": "0x58A1c47cEeb0C6b0E93CE289Ea3930D009C0CFeF", "poolType": "burnMint", - "name": "CCIP-BnM", - "symbol": "CCIP-BnM", + "name": "clCCIP-LnM", + "symbol": "clCCIP-LnM", "decimals": 18 }, "xdai-testnet-chiado": { - "tokenAddress": "0xA189971a2c5AcA0DFC5Ee7a2C44a2Ae27b3CF389", + "tokenAddress": "0x30DeCD269277b8094c00B0bacC3aCaF3fF4Da7fB", "allowListEnabled": false, - "poolAddress": "0xF9a21B587111e7E8745Fb8b13750014f19DB0014", + "poolAddress": "0xF82Bc2053C616Bb6B452B8bAa906b6a24E5AA139", "poolType": "burnMint", - "name": "CCIP-BnM", - "symbol": "CCIP-BnM", + "name": "clCCIP-LnM", + "symbol": "clCCIP-LnM", "decimals": 18 } }, @@ -364,6 +398,15 @@ "name": "USDC", "symbol": "USDC", "decimals": 6 + }, + "polygon-testnet-amoy": { + "tokenAddress": "0x41E94Eb019C0762f9Bfcf9Fb1E58725BfB0e7582", + "allowListEnabled": false, + "poolAddress": "0xE4bB1744D4f3154ea0c81FE18e402c0CB0335e28", + "poolType": "usdc", + "name": "USDC", + "symbol": "USDC", + "decimals": 6 } }, "GHO": { diff --git a/src/config/types.ts b/src/config/types.ts index 705013234c6..9ca35f10237 100644 --- a/src/config/types.ts +++ b/src/config/types.ts @@ -24,6 +24,7 @@ export type SupportedChain = | "BNB_MAINNET" | "BNB_TESTNET" | "POLYGON_MAINNET" + | "POLYGON_AMOY" | "GNOSIS_MAINNET" | "GNOSIS_CHIADO" | "AVALANCHE_MAINNET" diff --git a/src/config/web3Providers.ts b/src/config/web3Providers.ts index e608908af2a..f9d7bcb55ab 100644 --- a/src/config/web3Providers.ts +++ b/src/config/web3Providers.ts @@ -9,6 +9,7 @@ export const chainToProvider: Record providers.Provider> = BNB_MAINNET: () => new providers.JsonRpcProvider("https://bsc.nodereal.io/"), BNB_TESTNET: () => new providers.JsonRpcProvider("https://data-seed-prebsc-1-s1.binance.org:8545/"), POLYGON_MAINNET: () => new providers.JsonRpcProvider("https://rpc.ankr.com/polygon"), + POLYGON_AMOY: () => new providers.JsonRpcProvider("https://rpc.ankr.com/polygon_amoy"), GNOSIS_MAINNET: () => new providers.JsonRpcProvider("https://rpc.ankr.com/gnosis"), GNOSIS_CHIADO: () => new providers.JsonRpcProvider("https://rpc.chiadochain.net"), AVALANCHE_MAINNET: () => new providers.JsonRpcProvider("https://rpc.ankr.com/avalanche"), diff --git a/src/content/ccip/release-notes.mdx b/src/content/ccip/release-notes.mdx index 152b5c6cf3d..48191fe5c3d 100644 --- a/src/content/ccip/release-notes.mdx +++ b/src/content/ccip/release-notes.mdx @@ -6,6 +6,12 @@ title: "Chainlink CCIP Release Notes" import { Aside } from "@components" +## Polygon Amoy - 2024-05-08 + +Chainlink CCIP is publicly available on Polygon Amoy. + +See the [CCIP testnet configuration page](/ccip/supported-networks/testnet) for more information. + ## Chainlink CCIP is GA - 2024-04-24 Chainlink CCIP is now Generally Available (GA) on mainnet and testnet. diff --git a/src/features/utils/index.ts b/src/features/utils/index.ts index f2e69e16a1b..acd721738bc 100644 --- a/src/features/utils/index.ts +++ b/src/features/utils/index.ts @@ -116,6 +116,8 @@ export const directoryToSupportedChain = (chainInRdd: string): SupportedChain => return "ARBITRUM_SEPOLIA" case "matic-mainnet": return "POLYGON_MAINNET" + case "polygon-testnet-amoy": + return "POLYGON_AMOY" case "avalanche-mainnet": return "AVALANCHE_MAINNET" case "avalanche-fuji-testnet": @@ -161,6 +163,8 @@ export const supportedChainToChainInRdd = (supportedChain: SupportedChain): stri return "ethereum-testnet-sepolia-arbitrum-1" case "POLYGON_MAINNET": return "matic-mainnet" + case "POLYGON_AMOY": + return "polygon-testnet-amoy" case "AVALANCHE_MAINNET": return "avalanche-mainnet" case "AVALANCHE_FUJI":