From 21868b66668cdd898fa055fa3e9ce7ca1ca1d902 Mon Sep 17 00:00:00 2001 From: Thibaud Date: Tue, 19 Sep 2023 20:01:51 +0200 Subject: [PATCH] feat: add BSX and xBSX (#100) * feat: add BSX and xBSX * fix: checksum address --- ERC20_LIST.json | 84 +- src/assets/tokens/BSX.svg | 26574 +++++++++++++++++++++++++++++++++++ src/assets/tokens/xBSX.svg | 15131 ++++++++++++++++++++ 3 files changed, 41772 insertions(+), 17 deletions(-) create mode 100644 src/assets/tokens/BSX.svg create mode 100644 src/assets/tokens/xBSX.svg diff --git a/ERC20_LIST.json b/ERC20_LIST.json index 1423180..1efdc05 100644 --- a/ERC20_LIST.json +++ b/ERC20_LIST.json @@ -461,7 +461,10 @@ "logoURI": "https://raw.githubusercontent.com/AngleProtocol/angle-token-list/main/src/assets/tokens/crvFRAXUSDC.svg", "name": "Curve.fi FRAX/USDC", "symbol": "crvFRAXUSDC", - "underlyingTokens": ["0x853d955aCEf822Db058eb8505911ED77F175b99e", "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"], + "underlyingTokens": [ + "0x853d955aCEf822Db058eb8505911ED77F175b99e", + "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48" + ], "useInSwap": false }, "0x6c3F90f043a72FA612cbac8115EE7e52BDe6E490": { @@ -487,7 +490,10 @@ "logoURI": "https://raw.githubusercontent.com/AngleProtocol/angle-token-list/main/src/assets/tokens/LUSD3CRV.svg", "name": "Curve.fi Factory USD Metapool: Liquity", "symbol": "LUSD3CRV", - "underlyingTokens": ["0x5f98805A4E8be255a32880FDeC7F6728C6568bA0", "0x6c3F90f043a72FA612cbac8115EE7e52BDe6E490"], + "underlyingTokens": [ + "0x5f98805A4E8be255a32880FDeC7F6728C6568bA0", + "0x6c3F90f043a72FA612cbac8115EE7e52BDe6E490" + ], "useInSwap": false }, "0xa9d2Eea75C80fF9669cc998c276Ff26D741Dcb26": { @@ -498,7 +504,9 @@ "logoURI": "https://raw.githubusercontent.com/AngleProtocol/angle-token-list/main/src/assets/tokens/sd-crvFRAXUSDC.svg", "name": "Angle Curve.fi FRAX/USDC Stake DAO Staker", "symbol": "sd-crvFRAXUSDC", - "underlyingTokens": ["0x3175Df0976dFA876431C2E9eE6Bc45b65d3473CC"], + "underlyingTokens": [ + "0x3175Df0976dFA876431C2E9eE6Bc45b65d3473CC" + ], "useInSwap": false, "wrappingMethod": "BorrowStaker" }, @@ -510,7 +518,9 @@ "logoURI": "https://raw.githubusercontent.com/AngleProtocol/angle-token-list/main/src/assets/tokens/sd-3CRV.svg", "name": "Angle Curve.fi DAI/USDC/USDT Stake DAO Staker", "symbol": "sd-3CRV", - "underlyingTokens": ["0x6c3F90f043a72FA612cbac8115EE7e52BDe6E490"], + "underlyingTokens": [ + "0x6c3F90f043a72FA612cbac8115EE7e52BDe6E490" + ], "useInSwap": false, "wrappingMethod": "BorrowStaker" }, @@ -522,7 +532,9 @@ "logoURI": "https://raw.githubusercontent.com/AngleProtocol/angle-token-list/main/src/assets/tokens/sd-crvLUSD3CRV.svg", "name": "Angle Curve.fi Factory USD Metapool: Liquity Stake DAO Staker", "symbol": "sd-crvLUSD3CRV", - "underlyingTokens": ["0xEd279fDD11cA84bEef15AF5D39BB4d4bEE23F0cA"], + "underlyingTokens": [ + "0xEd279fDD11cA84bEef15AF5D39BB4d4bEE23F0cA" + ], "useInSwap": false, "wrappingMethod": "BorrowStaker" }, @@ -534,7 +546,9 @@ "logoURI": "https://raw.githubusercontent.com/AngleProtocol/angle-token-list/main/src/assets/tokens/cvx-crvFRAXUSDC.svg", "name": "Angle Curve.fi FRAX/USDC Convex Staker", "symbol": "cvx-crvFRAXUSDC", - "underlyingTokens": ["0x3175Df0976dFA876431C2E9eE6Bc45b65d3473CC"], + "underlyingTokens": [ + "0x3175Df0976dFA876431C2E9eE6Bc45b65d3473CC" + ], "useInSwap": false, "wrappingMethod": "BorrowStaker" }, @@ -546,7 +560,9 @@ "logoURI": "https://raw.githubusercontent.com/AngleProtocol/angle-token-list/main/src/assets/tokens/cvx-3CRV.svg", "name": "Angle Curve.fi DAI/USDC/USDT Convex Staker", "symbol": "cvx-3CRV", - "underlyingTokens": ["0x6c3F90f043a72FA612cbac8115EE7e52BDe6E490"], + "underlyingTokens": [ + "0x6c3F90f043a72FA612cbac8115EE7e52BDe6E490" + ], "useInSwap": false, "wrappingMethod": "BorrowStaker" }, @@ -558,7 +574,9 @@ "logoURI": "https://raw.githubusercontent.com/AngleProtocol/angle-token-list/main/src/assets/tokens/cvx-crvLUSD3CRV.svg", "name": "Angle Curve.fi Factory USD Metapool: Liquity Convex Staker", "symbol": "cvx-crvLUSD3CRV", - "underlyingTokens": ["0xEd279fDD11cA84bEef15AF5D39BB4d4bEE23F0cA"], + "underlyingTokens": [ + "0xEd279fDD11cA84bEef15AF5D39BB4d4bEE23F0cA" + ], "useInSwap": false, "wrappingMethod": "BorrowStaker" }, @@ -726,7 +744,9 @@ "decimals": 18, "symbol": "amDAI", "wrappingMethod": "Aave Matic Market", - "underlyingTokens": ["0x8f3Cf7ad23Cd3CaDbD9735AFf958023239c6A063"], + "underlyingTokens": [ + "0x8f3Cf7ad23Cd3CaDbD9735AFf958023239c6A063" + ], "hasPermit": false, "logoURI": "https://raw.githubusercontent.com/AngleProtocol/angle-token-list/main/src/assets/tokens/DAI.svg" }, @@ -744,7 +764,9 @@ "decimals": 6, "symbol": "amUSDC", "wrappingMethod": "Aave Matic Market", - "underlyingTokens": ["0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174"], + "underlyingTokens": [ + "0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174" + ], "hasPermit": false, "logoURI": "https://raw.githubusercontent.com/AngleProtocol/angle-token-list/main/src/assets/tokens/USDC.svg" }, @@ -770,7 +792,9 @@ "decimals": 6, "symbol": "amUSDT", "wrappingMethod": "Aave Matic Market", - "underlyingTokens": ["0xc2132D05D31c914a87C6611C10748AEb04B58e8F"], + "underlyingTokens": [ + "0xc2132D05D31c914a87C6611C10748AEb04B58e8F" + ], "hasPermit": false, "logoURI": "https://raw.githubusercontent.com/AngleProtocol/angle-token-list/main/src/assets/tokens/USDT.svg" }, @@ -790,7 +814,9 @@ "logoURI": "https://raw.githubusercontent.com/AngleProtocol/angle-token-list/main/src/assets/tokens/cvxam3CRV.svg", "name": "Angle Curve.fi amDAI/amUSDC/amUSDT Staker", "symbol": "agstk-am3CRV", - "underlyingTokens": ["0xE7a24EF0C5e95Ffb0f6684b813A78F2a3AD7D171"], + "underlyingTokens": [ + "0xE7a24EF0C5e95Ffb0f6684b813A78F2a3AD7D171" + ], "useInSwap": false }, "0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174": { @@ -1121,7 +1147,10 @@ "logoURI": "https://raw.githubusercontent.com/AngleProtocol/angle-token-list/main/src/assets/tokens/2CRV.svg", "name": "Curve.fi USDC/USDT", "symbol": "2CRV", - "underlyingTokens": ["0xFF970A61A04b1cA14834A43f5dE4533eBDDB5CC8", "0xFd086bC7CD5C481DCC9C85ebE478A1C0b69FCbb9"], + "underlyingTokens": [ + "0xFF970A61A04b1cA14834A43f5dE4533eBDDB5CC8", + "0xFd086bC7CD5C481DCC9C85ebE478A1C0b69FCbb9" + ], "useInSwap": false }, "0xc8711B1206cD3e89799Ec32973f583e696Cb553C": { @@ -1132,7 +1161,9 @@ "logoURI": "https://raw.githubusercontent.com/AngleProtocol/angle-token-list/main/src/assets/tokens/sd-2CRV.svg", "name": "Angle Curve.fi USDC/USDT Stake DAO Staker", "symbol": "sd-crvUSDCUSDT", - "underlyingTokens": ["0x7f90122BF0700F9E7e1F688fe926940E8839F353"], + "underlyingTokens": [ + "0x7f90122BF0700F9E7e1F688fe926940E8839F353" + ], "useInSwap": false, "wrappingMethod": "BorrowStaker" }, @@ -1144,7 +1175,9 @@ "logoURI": "https://raw.githubusercontent.com/AngleProtocol/angle-token-list/main/src/assets/tokens/cvx-2CRV.svg", "name": "Angle Curve.fi USDC/USDT Convex Staker", "symbol": "cvx-crvUSDCUSDT", - "underlyingTokens": ["0x7f90122BF0700F9E7e1F688fe926940E8839F353"], + "underlyingTokens": [ + "0x7f90122BF0700F9E7e1F688fe926940E8839F353" + ], "useInSwap": false, "wrappingMethod": "BorrowStaker" }, @@ -1328,7 +1361,6 @@ "symbol": "SUSHI", "useInSwap": true }, - "0x0E09FaBB73Bd3Ade0a17ECC321fD13a19e81cE82": { "address": "0x0E09FaBB73Bd3Ade0a17ECC321fD13a19e81cE82", "name": "PancakeSwap Token", @@ -1565,7 +1597,25 @@ "hasPermit": false, "useInSwap": false, "logoURI": "https://raw.githubusercontent.com/AngleProtocol/angle-token-list/main/src/assets/tokens/SUSHI.svg" + }, + "0xd5046B976188EB40f6DE40fB527F89c05b323385": { + "address": "0xd5046B976188EB40f6DE40fB527F89c05b323385", + "name": "BaseX", + "decimals": 18, + "symbol": "BSX", + "hasPermit": false, + "useInSwap": false, + "logoURI": "https://raw.githubusercontent.com/AngleProtocol/angle-token-list/main/src/assets/tokens/BSX.svg" + }, + "0xE4750593d1fC8E74b31549212899A72162f315Fa": { + "address": "0xE4750593d1fC8E74b31549212899A72162f315Fa", + "name": "xBaseX", + "decimals": 18, + "symbol": "xBSX", + "hasPermit": false, + "useInSwap": false, + "logoURI": "https://raw.githubusercontent.com/AngleProtocol/angle-token-list/main/src/assets/tokens/xBSX.svg" } } } -] +] \ No newline at end of file diff --git a/src/assets/tokens/BSX.svg b/src/assets/tokens/BSX.svg new file mode 100644 index 0000000..6b82688 --- /dev/null +++ b/src/assets/tokens/BSX.svg @@ -0,0 +1,26574 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/assets/tokens/xBSX.svg b/src/assets/tokens/xBSX.svg new file mode 100644 index 0000000..dfd613b --- /dev/null +++ b/src/assets/tokens/xBSX.svg @@ -0,0 +1,15131 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file