Go to file
Gustavo Mauricio 3022ae9a6a
MP-2017: Deposit Funds and Account stats (#21)
* style: fund account font size adjustments

* client instance. contract addresses updates. prices hook added

* persist lend assets value for every credit account

* feat: account stats and semi circular progress

* minor code cleanup

* display borrowed assets interest rate

* fallback screen when no wallet is connected

* fix: hydration mismatch

* update osmosis testnet endpoints

* style: body text color

* coin interface imported from cosmos package

* risk calculation from ltv assets comment added

* svgr setup. inline svg extracted to Icons folder

* address removed from local storage. wallet store improvements

* rename setAddress action to connect

* yield page renamed to earn

* refactor: accountStats using BigNumber

* update contract addresses

* update hardcoded fee

* update market mocked values

* current leverage added to useAccountStats hook return

* leverage naming disambiguation

* debt positions labels color update. negative sign before values

* remove prefers-color-scheme media query

* update redbank mock data
2022-10-12 16:41:03 +01:00
.github Create dependabot.yml 2022-09-02 12:35:29 +01:00
components MP-2017: Deposit Funds and Account stats (#21) 2022-10-12 16:41:03 +01:00
config MP-2017: Deposit Funds and Account stats (#21) 2022-10-12 16:41:03 +01:00
hooks MP-2017: Deposit Funds and Account stats (#21) 2022-10-12 16:41:03 +01:00
pages MP-2017: Deposit Funds and Account stats (#21) 2022-10-12 16:41:03 +01:00
public WIP (#12) 2022-09-29 20:21:31 +01:00
stores MP-2017: Deposit Funds and Account stats (#21) 2022-10-12 16:41:03 +01:00
styles MP-2017: Deposit Funds and Account stats (#21) 2022-10-12 16:41:03 +01:00
types WIP (#12) 2022-09-29 20:21:31 +01:00
utils MP-2017: Deposit Funds and Account stats (#21) 2022-10-12 16:41:03 +01:00
.eslintrc.json Initial commit from Create Next App 2022-09-02 12:17:39 +01:00
.gitignore sentry setup 2022-09-02 22:29:22 +01:00
.prettierrc WIP (#12) 2022-09-29 20:21:31 +01:00
next.config.js MP-2017: Deposit Funds and Account stats (#21) 2022-10-12 16:41:03 +01:00
package.json MP-2017: Deposit Funds and Account stats (#21) 2022-10-12 16:41:03 +01:00
postcss.config.js initial setup wip 2022-09-02 15:30:58 +01:00
README.md Initial commit from Create Next App 2022-09-02 12:17:39 +01:00
sentry.client.config.js WIP (#12) 2022-09-29 20:21:31 +01:00
sentry.properties sentry setup 2022-09-02 22:29:22 +01:00
sentry.server.config.js WIP (#12) 2022-09-29 20:21:31 +01:00
tailwind.config.js WIP (#12) 2022-09-29 20:21:31 +01:00
tsconfig.json pages initial setup and respective navigation 2022-09-02 12:51:18 +01:00
yarn.lock MP-2017: Deposit Funds and Account stats (#21) 2022-10-12 16:41:03 +01:00

This is a Next.js project bootstrapped with create-next-app.

Getting Started

First, run the development server:

npm run dev
# or
yarn dev

Open http://localhost:3000 with your browser to see the result.

You can start editing the page by modifying pages/index.tsx. The page auto-updates as you edit the file.

API routes can be accessed on http://localhost:3000/api/hello. This endpoint can be edited in pages/api/hello.ts.

The pages/api directory is mapped to /api/*. Files in this directory are treated as API routes instead of React pages.

Learn More

To learn more about Next.js, take a look at the following resources:

You can check out the Next.js GitHub repository - your feedback and contributions are welcome!

Deploy on Vercel

The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.

Check out our Next.js deployment documentation for more details.