bbbdca6950
* added icon for atom and tokenInfo data update * borrow page initial commit * feat: borrow funds to ca and wallet * close borrow module on tx success * feat: repay funds initial setup * repay funds action hook * repay slider. module state on borrow page component * styling: minor tweak to text colors * limit manual input on repay to max value * borrow funds component slider initial * style: max button typography * AssetRow extracted to separate file. organize imports * ContainerSecondary component added * loading indicator for pending actions * style: progress bar colors * tanstack table added * tanstack react-table dependency missing * table cleanup and layout adjustments * fix account stats formula and update market data to match spreadsheet * calculate max borrow amount hook * reset borrow and repay components on account change * max borrow amount decimals. memorized return * hook tanstack data with real data * redefine borrowedAssetsMap to map * update max borrow amount formulas * remove unnecessary table component. refactor borrow table
49 lines
1.3 KiB
JSON
49 lines
1.3 KiB
JSON
{
|
|
"name": "mars-v2-frontend",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "next dev",
|
|
"build": "next build",
|
|
"start": "next start",
|
|
"lint": "next lint"
|
|
},
|
|
"dependencies": {
|
|
"@cosmjs/cosmwasm-stargate": "^0.29.0",
|
|
"@cosmjs/stargate": "^0.29.0",
|
|
"@headlessui/react": "^1.7.0",
|
|
"@heroicons/react": "^2.0.11",
|
|
"@keplr-wallet/cosmos": "^0.10.24",
|
|
"@metamask/detect-provider": "^1.2.0",
|
|
"@radix-ui/react-slider": "^1.0.0",
|
|
"@sentry/nextjs": "^7.12.1",
|
|
"@tanstack/react-query": "^4.3.4",
|
|
"@tanstack/react-table": "^8.5.15",
|
|
"@tippyjs/react": "^4.2.6",
|
|
"bech32": "^2.0.0",
|
|
"bignumber.js": "^9.1.0",
|
|
"ethereumjs-util": "^7.1.5",
|
|
"next": "12.2.5",
|
|
"react": "18.2.0",
|
|
"react-dom": "18.2.0",
|
|
"react-toastify": "^9.0.8",
|
|
"use-local-storage-state": "^18.1.1",
|
|
"zustand": "^4.1.1"
|
|
},
|
|
"devDependencies": {
|
|
"@keplr-wallet/types": "^0.10.24",
|
|
"@svgr/webpack": "^6.4.0",
|
|
"@types/node": "18.7.14",
|
|
"@types/react": "18.0.18",
|
|
"@types/react-dom": "18.0.6",
|
|
"autoprefixer": "^10.4.8",
|
|
"eslint": "8.23.0",
|
|
"eslint-config-next": "12.2.5",
|
|
"postcss": "^8.4.16",
|
|
"prettier": "^2.7.1",
|
|
"prettier-plugin-tailwindcss": "^0.1.13",
|
|
"tailwindcss": "^3.1.8",
|
|
"typescript": "4.8.2"
|
|
}
|
|
}
|