Skip to content

Commit

Permalink
fix: requested changes
Browse files Browse the repository at this point in the history
  • Loading branch information
mgrabina committed Feb 28, 2025
1 parent 5eb40de commit fc88a8d
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 22 deletions.
2 changes: 1 addition & 1 deletion public/icons/tokens/s.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion public/icons/tokens/ws.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 0 additions & 12 deletions src/ui-config/TokenList.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,18 +85,6 @@ const NETWORK_ASSETS: TokenInfo[] = [
isNative: true,
},
},
{
name: 'Sonic',
symbol: 'S',
decimals: 18,
address: API_ETH_MOCK_ADDRESS,
chainId: 146,
logoURI:
'https://assets.coingecko.com/coins/images/38108/standard/200x200_Sonic_Logo.png?1734679256',
extensions: {
isNative: true,
},
},

// NOTE L2 ETH
{
Expand Down
6 changes: 2 additions & 4 deletions src/ui-config/networksConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -419,11 +419,9 @@ export const prodNetworkConfig: Record<string, BaseNetworkConfig> = {
},
[ChainId.sonic]: {
name: 'Sonic',
privateJsonRPCUrl: 'https://sonic-mainnet.g.alchemy.com/v2/L7wpvN30xWzkijd2cRwD8n0VLFM9UTmv',
privateJsonRPCUrl: 'https://virtual.sonic.rpc.tenderly.co/fe59a8e7-01f8-4685-b8a2-980c7c13476e',
publicJsonRPCUrl: [
'https://rpc.soniclabs.com',
'https://sonic.drpc.org',
'https://sonic-rpc.publicnode.com',
'https://virtual.sonic.rpc.tenderly.co/fe59a8e7-01f8-4685-b8a2-980c7c13476e',
],
baseAssetSymbol: 'S',
wrappedBaseAssetSymbol: 'wS',
Expand Down
10 changes: 6 additions & 4 deletions src/ui-config/permitConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ import { ChainId } from '@aave/contract-helpers';
*
* To check if a token supports permit, check if the contract has a permit function in the chain's scanner
* or in the contract's source code.
* To get the list of tokens supported by market, refer to the governance proposal.
*
* @dev use addresses in lowercase
*/
export const permitByChainAndToken: {
[chainId: number]: Record<string, boolean>;
Expand Down Expand Up @@ -55,8 +56,9 @@ export const permitByChainAndToken: {
'0xb5bedd42000b71fdde22d3ee8a79bd49a568fc8f': true, // wstETH
},
[ChainId.sonic]: {
'0x50c42dEAcD8Fc9773493ED674b675bE577f2634b': false, // WETH
'0x039e2fB66102314Ce7b64Ce5Ce3E5183bc94aD38': false, // wS
'0x29219dd400f2Bf60E5a23d13Be72B486D4038894': false, // USDC.e
// adding these in false for clarity
'0x50c42deacd8fc9773493ed674b675be577f2634b': false, // WETH
'0x039e2fb66102314ce7b64ce5ce3e5183bc94ad38': false, // wS
'0x29219dd400f2bf60e5a23d13be72b486d4038894': false, // USDC.e
},
};

0 comments on commit fc88a8d

Please sign in to comment.