Go to file
Gustavo Mauricio d22de166da
Borrow improvements (#29)
* update token prices and market data to match smart contract

* feat: redbank balances query and respective rendering on ui

* query key for rb balances and respective invalidations

* update contracts config

* fix: avoid returning negative max borrow amounts

* fix: added deposit action to repay execute message

* add minus sign before apy on debt positions

* consider market liquidity on max borrow calculation

* hive url added to chain config

* update hardcoded token decimals
2022-10-24 16:15:26 +01:00
.github Create dependabot.yml 2022-09-02 12:35:29 +01:00
components Borrow improvements (#29) 2022-10-24 16:15:26 +01:00
config Borrow improvements (#29) 2022-10-24 16:15:26 +01:00
hooks Borrow improvements (#29) 2022-10-24 16:15:26 +01:00
pages Borrow improvements (#29) 2022-10-24 16:15:26 +01:00
public MP-1227: Borrow Page (#24) 2022-10-20 16:39:21 +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 Borrow improvements (#29) 2022-10-24 16:15:26 +01:00
utils Borrow improvements (#29) 2022-10-24 16:15:26 +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 fix: next build (#28) 2022-10-21 12:48:59 +02:00
package.json Bump eslint-config-next from 12.2.5 to 12.3.1 (#13) 2022-10-21 08:18:07 +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 Bump eslint-config-next from 12.2.5 to 12.3.1 (#13) 2022-10-21 08:18:07 +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.