From 04b51c1d71910956279d0132160769a0f746a27a Mon Sep 17 00:00:00 2001 From: Mark Grothe Date: Mon, 18 Nov 2024 10:42:13 -0600 Subject: [PATCH 1/2] chore: re-enable gho as fee token --- .../transactions/Bridge/BridgeConfig.ts | 56 +++++++++---------- 1 file changed, 28 insertions(+), 28 deletions(-) diff --git a/src/components/transactions/Bridge/BridgeConfig.ts b/src/components/transactions/Bridge/BridgeConfig.ts index 37b7d1620a..e0345d04df 100644 --- a/src/components/transactions/Bridge/BridgeConfig.ts +++ b/src/components/transactions/Bridge/BridgeConfig.ts @@ -83,20 +83,20 @@ const prodConfig: Config[] = [ wrappedNativeOracle: AaveV3Arbitrum.ASSETS.WETH.ORACLE, subgraphUrl: `https://gateway-arbitrum.network.thegraph.com/api/${process.env.NEXT_PUBLIC_SUBGRAPH_API_KEY}/subgraphs/id/GPpZfiGoDChLsiWoMG5fxXdRNEYrsVDrKJ39moGcbz6i`, feeTokens: [ - // { - // name: 'Gho Token', - // address: AaveV3Arbitrum.ASSETS.GHO.UNDERLYING, - // symbol: 'GHO', - // decimals: 18, - // chainId: 42161, - // logoURI: - // 'https://assets.coingecko.com/coins/images/30663/standard/gho-token-logo.png?1720517092', - // oracle: AaveV3Arbitrum.ASSETS.GHO.ORACLE, - // extensions: { - // isNative: false, - // }, - // balance: '0', - // }, + { + name: 'Gho Token', + address: AaveV3Arbitrum.ASSETS.GHO.UNDERLYING, + symbol: 'GHO', + decimals: 18, + chainId: 42161, + logoURI: + 'https://assets.coingecko.com/coins/images/30663/standard/gho-token-logo.png?1720517092', + oracle: AaveV3Arbitrum.ASSETS.GHO.ORACLE, + extensions: { + isNative: false, + }, + balance: '0', + }, { name: 'Ethereum', symbol: 'ETH', @@ -124,20 +124,20 @@ const testnetConfig: Config[] = [ wrappedNativeOracle: AaveV3Sepolia.ASSETS.WETH.ORACLE, subgraphUrl: `https://gateway.thegraph.com/api/${process.env.NEXT_PUBLIC_SUBGRAPH_API_KEY}/subgraphs/id/8NWTrc4S6xwaBbajongofytQfQisqYm1zR2ghGEtRFSc`, feeTokens: [ - // { - // name: 'Gho Token', - // address: AaveV3Sepolia.ASSETS.GHO.UNDERLYING, - // symbol: 'GHO', - // decimals: 18, - // chainId: 11155111, - // logoURI: - // 'https://assets.coingecko.com/coins/images/30663/standard/gho-token-logo.png?1720517092', - // oracle: AaveV3Sepolia.ASSETS.GHO.ORACLE, - // extensions: { - // isNative: false, - // }, - // balance: '0', - // }, + { + name: 'Gho Token', + address: AaveV3Sepolia.ASSETS.GHO.UNDERLYING, + symbol: 'GHO', + decimals: 18, + chainId: 11155111, + logoURI: + 'https://assets.coingecko.com/coins/images/30663/standard/gho-token-logo.png?1720517092', + oracle: AaveV3Sepolia.ASSETS.GHO.ORACLE, + extensions: { + isNative: false, + }, + balance: '0', + }, { name: 'Ethereum', symbol: 'ETH', From beb76eb5390ccb4b0e4643f96bdc75b3b47433fb Mon Sep 17 00:00:00 2001 From: Mark Grothe Date: Mon, 18 Nov 2024 11:00:53 -0600 Subject: [PATCH 2/2] fix: network --- .../transactions/Bridge/BridgeConfig.ts | 56 +++++++++---------- 1 file changed, 28 insertions(+), 28 deletions(-) diff --git a/src/components/transactions/Bridge/BridgeConfig.ts b/src/components/transactions/Bridge/BridgeConfig.ts index e0345d04df..0b3ad16915 100644 --- a/src/components/transactions/Bridge/BridgeConfig.ts +++ b/src/components/transactions/Bridge/BridgeConfig.ts @@ -45,20 +45,20 @@ const prodConfig: Config[] = [ wrappedNativeOracle: AaveV3Ethereum.ASSETS.WETH.ORACLE, subgraphUrl: `https://gateway-arbitrum.network.thegraph.com/api/${process.env.NEXT_PUBLIC_SUBGRAPH_API_KEY}/subgraphs/id/E11p8T4Ff1DHZbwSUC527hkUb5innVMdTuP6A2s1xtm1`, feeTokens: [ - // { - // name: 'Gho Token', - // address: AaveV3Ethereum.ASSETS.GHO.UNDERLYING, - // symbol: 'GHO', - // decimals: 18, - // chainId: 1, - // logoURI: - // 'https://assets.coingecko.com/coins/images/30663/standard/gho-token-logo.png?1720517092', - // oracle: AaveV3Ethereum.ASSETS.GHO.ORACLE, - // extensions: { - // isNative: false, - // }, - // balance: '0', - // }, + { + name: 'Gho Token', + address: AaveV3Ethereum.ASSETS.GHO.UNDERLYING, + symbol: 'GHO', + decimals: 18, + chainId: 1, + logoURI: + 'https://assets.coingecko.com/coins/images/30663/standard/gho-token-logo.png?1720517092', + oracle: AaveV3Ethereum.ASSETS.GHO.ORACLE, + extensions: { + isNative: false, + }, + balance: '0', + }, { name: 'Ethereum', symbol: 'ETH', @@ -124,20 +124,20 @@ const testnetConfig: Config[] = [ wrappedNativeOracle: AaveV3Sepolia.ASSETS.WETH.ORACLE, subgraphUrl: `https://gateway.thegraph.com/api/${process.env.NEXT_PUBLIC_SUBGRAPH_API_KEY}/subgraphs/id/8NWTrc4S6xwaBbajongofytQfQisqYm1zR2ghGEtRFSc`, feeTokens: [ - { - name: 'Gho Token', - address: AaveV3Sepolia.ASSETS.GHO.UNDERLYING, - symbol: 'GHO', - decimals: 18, - chainId: 11155111, - logoURI: - 'https://assets.coingecko.com/coins/images/30663/standard/gho-token-logo.png?1720517092', - oracle: AaveV3Sepolia.ASSETS.GHO.ORACLE, - extensions: { - isNative: false, - }, - balance: '0', - }, + // { + // name: 'Gho Token', + // address: AaveV3Sepolia.ASSETS.GHO.UNDERLYING, + // symbol: 'GHO', + // decimals: 18, + // chainId: 11155111, + // logoURI: + // 'https://assets.coingecko.com/coins/images/30663/standard/gho-token-logo.png?1720517092', + // oracle: AaveV3Sepolia.ASSETS.GHO.ORACLE, + // extensions: { + // isNative: false, + // }, + // balance: '0', + // }, { name: 'Ethereum', symbol: 'ETH',