From 9666c8adaf734b56b41c2fa36f331f7a3f7070e9 Mon Sep 17 00:00:00 2001 From: samclassix Date: Mon, 27 Jan 2025 15:58:20 +0100 Subject: [PATCH 1/3] feat: added frankencoin token and chain proxies --- src/ethereum/info/arbitrumInfo.ts | 8 ++++++++ src/ethereum/info/baseInfo.ts | 8 ++++++++ src/ethereum/info/ethereumInfo.ts | 8 ++++++++ src/ethereum/info/optimismInfo.ts | 8 ++++++++ src/ethereum/info/polygonInfo.ts | 8 ++++++++ 5 files changed, 40 insertions(+) diff --git a/src/ethereum/info/arbitrumInfo.ts b/src/ethereum/info/arbitrumInfo.ts index fc645b6f8..2d85fd0eb 100644 --- a/src/ethereum/info/arbitrumInfo.ts +++ b/src/ethereum/info/arbitrumInfo.ts @@ -104,6 +104,14 @@ const builtinTokens: EdgeTokenMap = { networkLocation: { contractAddress: '0x82aF49447D8a07e3bd95BD0d56f35241523fBab1' } + }, + B33c4255938de7A6ec1200d397B2b2F329397F9B: { + currencyCode: 'ZCHF', + displayName: 'Frankencoin', + denominations: [{ name: 'ZCHF', multiplier: '1000000000000000000' }], + networkLocation: { + contractAddress: '0xB33c4255938de7A6ec1200d397B2b2F329397F9B' + } } } diff --git a/src/ethereum/info/baseInfo.ts b/src/ethereum/info/baseInfo.ts index 9122b13c8..a1a2648e7 100644 --- a/src/ethereum/info/baseInfo.ts +++ b/src/ethereum/info/baseInfo.ts @@ -24,6 +24,14 @@ const builtinTokens: EdgeTokenMap = { networkLocation: { contractAddress: '0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913' } + }, + '20D1c515e38aE9c345836853E2af98455F919637': { + currencyCode: 'ZCHF', + displayName: 'Frankencoin', + denominations: [{ name: 'ZCHF', multiplier: '1000000000000000000' }], + networkLocation: { + contractAddress: '0x20D1c515e38aE9c345836853E2af98455F919637' + } } } diff --git a/src/ethereum/info/ethereumInfo.ts b/src/ethereum/info/ethereumInfo.ts index 2f2885173..2c52ac8d1 100644 --- a/src/ethereum/info/ethereumInfo.ts +++ b/src/ethereum/info/ethereumInfo.ts @@ -1069,6 +1069,14 @@ export const builtinTokens: EdgeTokenMap = { networkLocation: { contractAddress: '0x3845badAde8e6dFF049820680d1F14bD3903a5d0' } + }, + B58E61C3098d85632Df34EecfB899A1Ed80921cB: { + currencyCode: 'ZCHF', + displayName: 'Frankencoin', + denominations: [{ name: 'ZCHF', multiplier: '1000000000000000000' }], + networkLocation: { + contractAddress: '0xB58E61C3098d85632Df34EecfB899A1Ed80921cB' + } } } diff --git a/src/ethereum/info/optimismInfo.ts b/src/ethereum/info/optimismInfo.ts index 2cbe17277..64bdab933 100644 --- a/src/ethereum/info/optimismInfo.ts +++ b/src/ethereum/info/optimismInfo.ts @@ -144,6 +144,14 @@ const builtinTokens: EdgeTokenMap = { networkLocation: { contractAddress: '0x1f514a61bcde34f94bc39731235690ab9da737f7' } + }, + '4F8a84C442F9675610c680990EdDb2CCDDB8aB6f': { + currencyCode: 'ZCHF', + displayName: 'Frankencoin', + denominations: [{ name: 'ZCHF', multiplier: '1000000000000000000' }], + networkLocation: { + contractAddress: '0x4F8a84C442F9675610c680990EdDb2CCDDB8aB6f' + } } } diff --git a/src/ethereum/info/polygonInfo.ts b/src/ethereum/info/polygonInfo.ts index 022cf1c58..1647e3ad9 100644 --- a/src/ethereum/info/polygonInfo.ts +++ b/src/ethereum/info/polygonInfo.ts @@ -152,6 +152,14 @@ const builtinTokens: EdgeTokenMap = { networkLocation: { contractAddress: '0x53e0bca35ec356bd5dddfebbd1fc0fd03fabad39' } + }, + '02567e4b14b25549331fCEe2B56c647A8bAB16FD': { + currencyCode: 'ZCHF', + displayName: 'Frankencoin', + denominations: [{ name: 'ZCHF', multiplier: '1000000000000000000' }], + networkLocation: { + contractAddress: '0x02567e4b14b25549331fCEe2B56c647A8bAB16FD' + } } } From c91d722fe107af6563cd28d6f52fb5c0a7da001a Mon Sep 17 00:00:00 2001 From: samclassix Date: Mon, 27 Jan 2025 16:29:32 +0100 Subject: [PATCH 2/3] feat: has the right tokenId's fix, upper / lower case --- src/ethereum/info/arbitrumInfo.ts | 4 ++-- src/ethereum/info/baseInfo.ts | 4 ++-- src/ethereum/info/ethereumInfo.ts | 4 ++-- src/ethereum/info/optimismInfo.ts | 4 ++-- src/ethereum/info/polygonInfo.ts | 4 ++-- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/ethereum/info/arbitrumInfo.ts b/src/ethereum/info/arbitrumInfo.ts index 2d85fd0eb..db16a4e40 100644 --- a/src/ethereum/info/arbitrumInfo.ts +++ b/src/ethereum/info/arbitrumInfo.ts @@ -105,12 +105,12 @@ const builtinTokens: EdgeTokenMap = { contractAddress: '0x82aF49447D8a07e3bd95BD0d56f35241523fBab1' } }, - B33c4255938de7A6ec1200d397B2b2F329397F9B: { + b33c4255938de7a6ec1200d397b2b2f329397f9b: { currencyCode: 'ZCHF', displayName: 'Frankencoin', denominations: [{ name: 'ZCHF', multiplier: '1000000000000000000' }], networkLocation: { - contractAddress: '0xB33c4255938de7A6ec1200d397B2b2F329397F9B' + contractAddress: '0xb33c4255938de7a6ec1200d397b2b2f329397f9b' } } } diff --git a/src/ethereum/info/baseInfo.ts b/src/ethereum/info/baseInfo.ts index a1a2648e7..5b4a4ed97 100644 --- a/src/ethereum/info/baseInfo.ts +++ b/src/ethereum/info/baseInfo.ts @@ -25,12 +25,12 @@ const builtinTokens: EdgeTokenMap = { contractAddress: '0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913' } }, - '20D1c515e38aE9c345836853E2af98455F919637': { + '20d1c515e38ae9c345836853e2af98455f919637': { currencyCode: 'ZCHF', displayName: 'Frankencoin', denominations: [{ name: 'ZCHF', multiplier: '1000000000000000000' }], networkLocation: { - contractAddress: '0x20D1c515e38aE9c345836853E2af98455F919637' + contractAddress: '0x20d1c515e38ae9c345836853e2af98455f919637' } } } diff --git a/src/ethereum/info/ethereumInfo.ts b/src/ethereum/info/ethereumInfo.ts index 2c52ac8d1..482eb27fa 100644 --- a/src/ethereum/info/ethereumInfo.ts +++ b/src/ethereum/info/ethereumInfo.ts @@ -1070,12 +1070,12 @@ export const builtinTokens: EdgeTokenMap = { contractAddress: '0x3845badAde8e6dFF049820680d1F14bD3903a5d0' } }, - B58E61C3098d85632Df34EecfB899A1Ed80921cB: { + b58e61c3098d85632df34eecfb899a1ed80921cb: { currencyCode: 'ZCHF', displayName: 'Frankencoin', denominations: [{ name: 'ZCHF', multiplier: '1000000000000000000' }], networkLocation: { - contractAddress: '0xB58E61C3098d85632Df34EecfB899A1Ed80921cB' + contractAddress: '0xb58e61c3098d85632df34eecfb899a1ed80921cb' } } } diff --git a/src/ethereum/info/optimismInfo.ts b/src/ethereum/info/optimismInfo.ts index 64bdab933..4cde7c32c 100644 --- a/src/ethereum/info/optimismInfo.ts +++ b/src/ethereum/info/optimismInfo.ts @@ -145,12 +145,12 @@ const builtinTokens: EdgeTokenMap = { contractAddress: '0x1f514a61bcde34f94bc39731235690ab9da737f7' } }, - '4F8a84C442F9675610c680990EdDb2CCDDB8aB6f': { + '4f8a84c442f9675610c680990eddb2ccddb8ab6f': { currencyCode: 'ZCHF', displayName: 'Frankencoin', denominations: [{ name: 'ZCHF', multiplier: '1000000000000000000' }], networkLocation: { - contractAddress: '0x4F8a84C442F9675610c680990EdDb2CCDDB8aB6f' + contractAddress: '0x4f8a84c442f9675610c680990eddb2ccddb8ab6f' } } } diff --git a/src/ethereum/info/polygonInfo.ts b/src/ethereum/info/polygonInfo.ts index 1647e3ad9..ced5d785e 100644 --- a/src/ethereum/info/polygonInfo.ts +++ b/src/ethereum/info/polygonInfo.ts @@ -153,12 +153,12 @@ const builtinTokens: EdgeTokenMap = { contractAddress: '0x53e0bca35ec356bd5dddfebbd1fc0fd03fabad39' } }, - '02567e4b14b25549331fCEe2B56c647A8bAB16FD': { + '02567e4b14b25549331fcee2b56c647a8bab16fd': { currencyCode: 'ZCHF', displayName: 'Frankencoin', denominations: [{ name: 'ZCHF', multiplier: '1000000000000000000' }], networkLocation: { - contractAddress: '0x02567e4b14b25549331fCEe2B56c647A8bAB16FD' + contractAddress: '0x02567e4b14b25549331fcee2b56c647a8bab16fd' } } } From fb9e8a2064908e9843df5018bfdff78473dfdfd1 Mon Sep 17 00:00:00 2001 From: samclassix Date: Tue, 25 Mar 2025 11:15:48 +0100 Subject: [PATCH 3/3] feat: added frankencoin to ChangeLog --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 144733cfa..21514856a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,8 @@ - changed: (Sui) Enforce the arbitrary max spend limit - fixed: (Solana) Fix SOL amount handling for DEX transactions +- added: (ZCHF) Frankencoin on Ethereum network +- added: (FPS) Frankencoin Pool Shares on Ethereum network ## 4.42.1 (2025-03-17)