@lifi/data-types 5.26.0 → 5.28.0-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -672,6 +672,10 @@ export const basicCoins: BasicCoin[] = [
672
672
  address: '0x0709F39376dEEe2A2dfC94A58EdEb2Eb9DF012bD',
673
673
  decimals: 6,
674
674
  },
675
+ [ChainId.SON]: {
676
+ address: '0x6047828dc181963ba44974801FF68e538dA5eaF9',
677
+ decimals: 6,
678
+ },
675
679
  },
676
680
  },
677
681
 
@@ -919,6 +923,12 @@ export const basicCoins: BasicCoin[] = [
919
923
  name: 'Bridged USD (Stargate)',
920
924
  symbol: 'USDC.e',
921
925
  },
926
+ [ChainId.SON]: {
927
+ address: '0x29219dd400f2Bf60E5a23d13Be72B486D4038894',
928
+ decimals: 6,
929
+ name: 'Bridged USDC (Sonic Labs)',
930
+ symbol: 'USDC.e',
931
+ },
922
932
  },
923
933
  },
924
934
  // axlUSDC
@@ -1238,6 +1248,10 @@ export const basicCoins: BasicCoin[] = [
1238
1248
  address: '0x0555E30da8f98308EdB960aa94C0Db47230d2B9c',
1239
1249
  decimals: 8,
1240
1250
  },
1251
+ [ChainId.SON]: {
1252
+ address: '0x0555E30da8f98308EdB960aa94C0Db47230d2B9c',
1253
+ decimals: 8,
1254
+ },
1241
1255
  },
1242
1256
  },
1243
1257
 
@@ -1398,6 +1412,10 @@ export const basicCoins: BasicCoin[] = [
1398
1412
  address: '0x2F6F07CDcf3588944Bf4C42aC74ff24bF56e7590',
1399
1413
  decimals: 18,
1400
1414
  },
1415
+ [ChainId.SON]: {
1416
+ address: '0x50c42dEAcD8Fc9773493ED674b675bE577f2634b',
1417
+ decimals: 18,
1418
+ },
1401
1419
  },
1402
1420
  },
1403
1421
 
@@ -2015,6 +2033,21 @@ export const basicCoins: BasicCoin[] = [
2015
2033
  },
2016
2034
  },
2017
2035
 
2036
+ // Sonic
2037
+ {
2038
+ key: CoinKey.S,
2039
+ name: CoinKey.S,
2040
+ logoURI:
2041
+ 'https://static.debank.com/image/sonic_token/logo_url/0x039e2fb66102314ce7b64ce5ce3e5183bc94ad38/b4cc70d040518a88adac18d906fcbfff.png',
2042
+ verified: true,
2043
+ chains: {
2044
+ [ChainId.SON]: {
2045
+ address: '0x0000000000000000000000000000000000000000',
2046
+ decimals: 18,
2047
+ },
2048
+ },
2049
+ },
2050
+
2018
2051
  // > Bitcoin
2019
2052
  {
2020
2053
  key: CoinKey.BTC,
@@ -2533,6 +2566,17 @@ export const wrappedTokens: { [ChainId: string]: StaticToken } = {
2533
2566
  logoURI:
2534
2567
  'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/tokens/wbera.svg',
2535
2568
  },
2569
+ [ChainId.SON]: {
2570
+ // https://sonicscan.org/token/0x039e2fb66102314ce7b64ce5ce3e5183bc94ad38
2571
+ address: '0x039e2fB66102314Ce7b64Ce5Ce3E5183bc94aD38',
2572
+ symbol: 'wS',
2573
+ decimals: 18,
2574
+ chainId: ChainId.SON,
2575
+ coinKey: CoinKey.wS,
2576
+ name: 'Wrapped Sonic',
2577
+ logoURI:
2578
+ 'https://static.debank.com/image/sonic_token/logo_url/0x039e2fb66102314ce7b64ce5ce3e5183bc94ad38/b4cc70d040518a88adac18d906fcbfff.png',
2579
+ },
2536
2580
  }
2537
2581
  export const findDefaultCoin = (coinKey: CoinKey): Coin => {
2538
2582
  const coin = defaultCoins.find((coin) => coin.key === coinKey)
package/src/multicall.ts CHANGED
@@ -51,6 +51,7 @@ export const multicallAddresses: { [ChainId: number]: string } = {
51
51
  [ChainId.LSK]: '0xcA11bde05977b3631167028862bE2a173976CA11',
52
52
  [ChainId.ABS]: '0xAa4De41dba0Ca5dCBb288b7cC6b708F3aaC759E7',
53
53
  [ChainId.BER]: '0xcA11bde05977b3631167028862bE2a173976CA11',
54
+ [ChainId.SON]: '0xcA11bde05977b3631167028862bE2a173976CA11',
54
55
 
55
56
  // TODO
56
57
  // [ChainId.EXP]: '', // TODO