From 91a672b8e32de97f07d50767c86c39986abfb735 Mon Sep 17 00:00:00 2001 From: tcar Date: Tue, 8 Oct 2024 14:45:05 +0200 Subject: [PATCH 1/3] add usdc; Signed-off-by: tcar --- mainnet/balance-config-mainnet.json | 45 +++++++++++++++++++++ mainnet/shared-config-mainnet.json | 62 ++++++++++++++++++++++++++--- 2 files changed, 102 insertions(+), 5 deletions(-) diff --git a/mainnet/balance-config-mainnet.json b/mainnet/balance-config-mainnet.json index de59dac..3bcc0df 100644 --- a/mainnet/balance-config-mainnet.json +++ b/mainnet/balance-config-mainnet.json @@ -119,6 +119,15 @@ "type": "erc20", "erc20Address": "0x6c5bA91642F10282b576d91922Ae6448C9d52f4E", "msgPath": "../assetLowBalanceTemplate.ejs" + }, + { + "address": "0xC832588193cd5ED2185daDA4A531e0B26eC5B830", + "topic": "MAINNET-liquidity-low-balance", + "minBalance": "10000", + "decimals": "6", + "type": "erc20", + "erc20Address": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48", + "msgPath": "../assetLowBalanceTemplate.ejs" } ] }, @@ -566,6 +575,15 @@ "type": "native", "erc20Address": "", "msgPath": "../nativeLowBalanceTemplate.ejs" + }, + { + "address": "0xeb87a3258668b79a21e454ab524ed4b67ca5b491", + "topic": "MAINNET-liquidity-low-balance", + "minBalance": "10000", + "decimals": "6", + "type": "erc20", + "erc20Address": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913", + "msgPath": "../assetLowBalanceTemplate.ejs" } ] }, @@ -890,6 +908,15 @@ "type": "native", "erc20Address": "", "msgPath": "../nativeLowBalanceTemplate.ejs" + }, + { + "address": "0xe6eea4189f078dd10e456bea0b0360356b6f330f", + "topic": "MAINNET-liquidity-low-balance", + "minBalance": "10000", + "decimals": "6", + "type": "erc20", + "erc20Address": "0x4facaeab0b044617a94e94a54a8d6644a7f9e41b", + "msgPath": "../assetLowBalanceTemplate.ejs" } ] }, @@ -1004,6 +1031,15 @@ "type": "native", "erc20Address": "", "msgPath": "../nativeLowBalanceTemplate.ejs" + }, + { + "address": "0xe889ebec7f82b927407fcc7ecd1408277906932a", + "topic": "MAINNET-liquidity-low-balance", + "minBalance": "10000", + "decimals": "6", + "type": "erc20", + "erc20Address": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831", + "msgPath": "../assetLowBalanceTemplate.ejs" } ] }, @@ -1118,6 +1154,15 @@ "type": "native", "erc20Address": "", "msgPath": "../nativeLowBalanceTemplate.ejs" + }, + { + "address": "0x7a8c47b7df480c6491e6c2f8eb58d2383cca86c9", + "topic": "MAINNET-liquidity-low-balance", + "minBalance": "10000", + "decimals": "6", + "type": "erc20", + "erc20Address": "0x0b2c639c533813f4aa9d7837caf62653d097ff85", + "msgPath": "../assetLowBalanceTemplate.ejs" } ] } diff --git a/mainnet/shared-config-mainnet.json b/mainnet/shared-config-mainnet.json index 9a87741..e017957 100644 --- a/mainnet/shared-config-mainnet.json +++ b/mainnet/shared-config-mainnet.json @@ -9,6 +9,10 @@ "bridge": "0x4D878E8Fb90178588Cda4cf1DCcdC9a6d2757089", "nativeTokenAdapter": "0xd5eCb14F0449E5aDA3d5A8AeB17EfA41554D1A28", "handlers": [ + { + "type": "erc20", + "address": "0x7a44567ef7ac4c11cb141567a71de17261b4019c" + }, { "type": "erc20", "address": "0xC832588193cd5ED2185daDA4A531e0B26eC5B830" @@ -56,12 +60,12 @@ "caip19": "" }, { - "resourceId": "0x0000000000000000000000000000000000000000000000000000000000000002", + "resourceId": "0x0000000000000000000000000000000000000000000000000000000000000003", "type": "fungible", - "address": "0x0000000000000000000000000000000000000000", - "symbol": "ETH", - "decimals": 18, - "caip19": "eip155:1/erc20:0x0000000000000000000000000000000000000000" + "address": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48", + "symbol": "USDC", + "decimals": 6, + "caip19": "eip155:1/erc20:0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48" } ] }, @@ -192,6 +196,10 @@ "bridge": "0xC47468aeae431f5D0B7DA50F9f5D8a6c0eca4789", "nativeTokenAdapter": "0xc8d25C177c126326c5FD7a50A60ED98098399179", "handlers": [ + { + "type": "erc20", + "address": "0xeb87a3258668b79a21e454ab524ed4b67ca5b491" + }, { "type": "erc20", "address": "0xe43F8245249d7fAF46408723Ab36D071dD85D7BB" @@ -241,6 +249,14 @@ "symbol": "ETH", "decimals": 18, "caip19": "eip155:8453/erc20:0x0000000000000000000000000000000000000000" + }, + { + "resourceId": "0x0000000000000000000000000000000000000000000000000000000000000003", + "type": "fungible", + "address": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913", + "symbol": "USDC", + "decimals": 6, + "caip19": "eip155:1/erc20:0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913" } ] }, @@ -333,6 +349,10 @@ "bridge": "0xC47468aeae431f5D0B7DA50F9f5D8a6c0eca4789", "nativeTokenAdapter": "0xb4DabA4ba85C0b8C5438844FBEBA4fDB5748e6e8", "handlers": [ + { + "type": "erc20", + "address": "0xe6eea4189f078dd10e456bea0b0360356b6f330f" + }, { "type": "erc20", "address": "0xe43F8245249d7fAF46408723Ab36D071dD85D7BB" @@ -378,6 +398,14 @@ "symbol": "ETH", "decimals": 18, "caip19": "eip155:8333/erc20:0x0000000000000000000000000000000000000000" + }, + { + "resourceId": "0x0000000000000000000000000000000000000000000000000000000000000003", + "type": "fungible", + "address": "0x4facaeab0b044617a94e94a54a8d6644a7f9e41b", + "symbol": "USDC", + "decimals": 6, + "caip19": "eip155:1/erc20:0x4facaeab0b044617a94e94a54a8d6644a7f9e41b" } ] }, @@ -390,6 +418,10 @@ "bridge": "0x4D878E8Fb90178588Cda4cf1DCcdC9a6d2757089", "nativeTokenAdapter": "0xb4daba4ba85c0b8c5438844fbeba4fdb5748e6e8", "handlers": [ + { + "type": "erc20", + "address": "0xe889ebec7f82b927407fcc7ecd1408277906932a" + }, { "type": "erc20", "address": "0xC47468aeae431f5D0B7DA50F9f5D8a6c0eca4789" @@ -419,6 +451,14 @@ "symbol": "ETH", "decimals": 18, "caip19": "eip155:42161/erc20:0x0000000000000000000000000000000000000000" + }, + { + "resourceId": "0x0000000000000000000000000000000000000000000000000000000000000003", + "type": "fungible", + "address": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831", + "symbol": "USDC", + "decimals": 6, + "caip19": "eip155:1/erc20:0xaf88d065e77c8cC2239327C5EDb3A432268e5831" } ] }, @@ -431,6 +471,10 @@ "bridge": "0xe43F8245249d7fAF46408723Ab36D071dD85D7BB", "nativeTokenAdapter": "0x13572649779c8e88bcbbf46e38d6addafa6ba4f1", "handlers": [ + { + "type": "erc20", + "address": "0x7a8c47b7df480c6491e6c2f8eb58d2383cca86c9" + }, { "type": "erc20", "address": "0x4EE82A64Aa9535AE4aABe3B35a12c29a0430A951" @@ -460,6 +504,14 @@ "symbol": "ETH", "decimals": 18, "caip19": "eip155:10/erc20:0x0000000000000000000000000000000000000000" + }, + { + "resourceId": "0x0000000000000000000000000000000000000000000000000000000000000003", + "type": "fungible", + "address": "0x0b2c639c533813f4aa9d7837caf62653d097ff85", + "symbol": "USDC", + "decimals": 6, + "caip19": "eip155:1/erc20:0x0b2c639c533813f4aa9d7837caf62653d097ff85" } ] } From 6dafd4a85538d05163a98a42d2cd67c1b2c35b56 Mon Sep 17 00:00:00 2001 From: tcar Date: Tue, 8 Oct 2024 16:27:53 +0200 Subject: [PATCH 2/3] update resourceID for USDC; Signed-off-by: tcar --- mainnet/shared-config-mainnet.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/mainnet/shared-config-mainnet.json b/mainnet/shared-config-mainnet.json index e017957..d5d8b59 100644 --- a/mainnet/shared-config-mainnet.json +++ b/mainnet/shared-config-mainnet.json @@ -60,7 +60,7 @@ "caip19": "" }, { - "resourceId": "0x0000000000000000000000000000000000000000000000000000000000000003", + "resourceId": "0x0000000000000000000000000000000000000000000000000000000055534443", "type": "fungible", "address": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48", "symbol": "USDC", @@ -251,7 +251,7 @@ "caip19": "eip155:8453/erc20:0x0000000000000000000000000000000000000000" }, { - "resourceId": "0x0000000000000000000000000000000000000000000000000000000000000003", + "resourceId": "0x0000000000000000000000000000000000000000000000000000000055534443", "type": "fungible", "address": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913", "symbol": "USDC", @@ -400,7 +400,7 @@ "caip19": "eip155:8333/erc20:0x0000000000000000000000000000000000000000" }, { - "resourceId": "0x0000000000000000000000000000000000000000000000000000000000000003", + "resourceId": "0x0000000000000000000000000000000000000000000000000000000055534443", "type": "fungible", "address": "0x4facaeab0b044617a94e94a54a8d6644a7f9e41b", "symbol": "USDC", @@ -453,7 +453,7 @@ "caip19": "eip155:42161/erc20:0x0000000000000000000000000000000000000000" }, { - "resourceId": "0x0000000000000000000000000000000000000000000000000000000000000003", + "resourceId": "0x0000000000000000000000000000000000000000000000000000000055534443", "type": "fungible", "address": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831", "symbol": "USDC", @@ -506,7 +506,7 @@ "caip19": "eip155:10/erc20:0x0000000000000000000000000000000000000000" }, { - "resourceId": "0x0000000000000000000000000000000000000000000000000000000000000003", + "resourceId": "0x0000000000000000000000000000000000000000000000000000000055534443", "type": "fungible", "address": "0x0b2c639c533813f4aa9d7837caf62653d097ff85", "symbol": "USDC", From f05cde45184ce33f8154cba05c867074ca92b63c Mon Sep 17 00:00:00 2001 From: tcar Date: Wed, 9 Oct 2024 11:06:54 +0200 Subject: [PATCH 3/3] revert removal of native token resource; Signed-off-by: tcar --- mainnet/shared-config-mainnet.json | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/mainnet/shared-config-mainnet.json b/mainnet/shared-config-mainnet.json index d5d8b59..9a40d9a 100644 --- a/mainnet/shared-config-mainnet.json +++ b/mainnet/shared-config-mainnet.json @@ -59,6 +59,14 @@ "decimals": 18, "caip19": "" }, + { + "resourceId": "0x0000000000000000000000000000000000000000000000000000000000000002", + "type": "fungible", + "address": "0x0000000000000000000000000000000000000000", + "symbol": "ETH", + "decimals": 18, + "caip19": "eip155:1/erc20:0x0000000000000000000000000000000000000000" + }, { "resourceId": "0x0000000000000000000000000000000000000000000000000000000055534443", "type": "fungible",