From 6c1c957d25ce99917ad6b1c1ddde310a0b60c7b1 Mon Sep 17 00:00:00 2001 From: RM Date: Wed, 7 Aug 2024 14:58:43 +0800 Subject: [PATCH] Add Curve thUSD --- .../address-book/ethereum/tokens/tokens.ts | 14 ++++++++ src/data/ethereum/convexPools.json | 35 +++++++++++++++++++ 2 files changed, 49 insertions(+) diff --git a/packages/address-book/src/address-book/ethereum/tokens/tokens.ts b/packages/address-book/src/address-book/ethereum/tokens/tokens.ts index 2b674bfe8..558113b90 100644 --- a/packages/address-book/src/address-book/ethereum/tokens/tokens.ts +++ b/packages/address-book/src/address-book/ethereum/tokens/tokens.ts @@ -370,6 +370,20 @@ export const tokens = { 'Threshold is the first ever on-chain merge between two existing networks and communities, Keep and NuCypher. Threshold provides a suite of threshold cryptography services that power user sovereignty on the blockchain.', bridge: 'threshold', }, + thUSD: { + name: 'Threshold USD', + symbol: 'thUSD', + oracleId: 'thUSD', + address: '0xCFC5bD99915aAa815401C5a41A927aB7a38d29cf', + chainId: 1, + decimals: 18, + logoURI: '', + website: 'https://www.thresholdusd.org/', + documentation: 'https://docs.threshold.network/applications/threshold-usd', + description: + 'Threshold USD (thUSD) is a stablecoin soft-pegged against USD and backed by ETH and tBTC as collateral, with a minimum collateral ratio of 110%.', + bridge: 'native', + }, T: { name: 'Threshold Network Token', symbol: 'T', diff --git a/src/data/ethereum/convexPools.json b/src/data/ethereum/convexPools.json index cf62ad917..8a737a1aa 100644 --- a/src/data/ethereum/convexPools.json +++ b/src/data/ethereum/convexPools.json @@ -1,4 +1,39 @@ [ + { + "name": "curve-thusd-crvusd", + "pool": "0x9e641187391b7a5fe9ee193359408ca3894f68a2", + "gauge": "0x5c5db6cc20cd2ee600647fc48c1684c7049cdb7c", + "rewardPool": "0x4BA59aD628C2E19bCb117814541b0Ac0C41ce15C", + "tokens": [ + { + "oracleId": "thUSD", + "decimals": "1e18" + }, + { + "oracleId": "crvUSD", + "decimals": "1e18" + } + ] + }, + { + "name": "curve-thusd-3crv", + "pool": "0x91553bad9fbc8bd69ff5d5678cbf7d514d00de0b", + "gauge": "0x34c8ff6992beb1ff94c35643a2c2424e24303437", + "rewardPool": "0x7E44379FF8e35D9d0f81EE232e038Ca4a0968196", + "getDy": ["v1", 0, 2, "USDC"], + "tokens": [ + { + "oracleId": "thUSD", + "decimals": "1e18" + }, + { + "basePool": "convex-3pool", + "oracle": "lps", + "oracleId": "convex-3pool", + "decimals": "1e18" + } + ] + }, { "name": "curve-stlink-link", "pool": "0x1c899ded01954d0959e034b62a728e7febe593b0",