1- import { assetSymbols , OracleTypes , SupportedAsset , SupportedChains } from "@ionicprotocol/types" ;
2- import { parseEther } from "viem" ;
1+ import { assetSymbols , OracleTypes , PythSpecificParams , SupportedAsset , SupportedChains } from "@ionicprotocol/types" ;
2+ import { parseEther , parseUnits } from "viem" ;
33
44import { wrappedAssetDocs } from "../common" ;
55
66export const WETH = "0x4200000000000000000000000000000000000006" ;
7+ export const USDC = "0xc316c8252b5f2176d0135ebb0999e99296998f2e" ;
8+ export const oUSDT = "0x1217bfe6c773eec6cc4a38b5dc45b92292b6e189" ;
79
810export const assets : SupportedAsset [ ] = [
911 {
@@ -16,6 +18,34 @@ export const assets: SupportedAsset[] = [
1618 initialBorrowCap : parseEther ( "100" ) . toString ( ) ,
1719 initialSupplyCap : parseEther ( "100" ) . toString ( ) ,
1820 initialCf : "0.5"
21+ } ,
22+ {
23+ symbol : assetSymbols . USDC ,
24+ underlying : USDC ,
25+ name : "USD Coin" ,
26+ decimals : 6 ,
27+ oracle : OracleTypes . PythPriceOracle ,
28+ oracleSpecificParams : {
29+ feed : "0xeaa020c61cc479712813461ce153894a96a6c00b21ed0cfc2798d1f9a9e9c94a"
30+ } as PythSpecificParams ,
31+ extraDocs : wrappedAssetDocs ( SupportedChains . superseed ) ,
32+ initialBorrowCap : parseUnits ( "20000" , 6 ) . toString ( ) ,
33+ initialSupplyCap : parseUnits ( "40000" , 6 ) . toString ( ) ,
34+ initialCf : "0.5"
35+ } ,
36+ {
37+ symbol : assetSymbols . oUSDT ,
38+ underlying : oUSDT ,
39+ name : "OpenUSDT" ,
40+ decimals : 6 ,
41+ oracle : OracleTypes . PythPriceOracle ,
42+ oracleSpecificParams : {
43+ feed : "0x2dc7f272d3010abe4de48755a50fcf5bd9eefd3b4af01d8f39f6c80ae51544fe"
44+ } as PythSpecificParams ,
45+ extraDocs : wrappedAssetDocs ( SupportedChains . superseed ) ,
46+ initialBorrowCap : parseUnits ( "20000" , 6 ) . toString ( ) ,
47+ initialSupplyCap : parseUnits ( "40000" , 6 ) . toString ( ) ,
48+ initialCf : "0.5"
1949 }
2050] ;
2151
0 commit comments