Go to file
Gustavo Mauricio 5007acb515
WIP (#12)
* osmosis initial setup and nft contract queries/mutations

* display errors on ui

* fix: create credit account queryMsg and contract

* client initialization. loading indicator when pending io

* added tx feedback on toast

* remove unused wallet store code

* fetch credit accounts moved to external hook

* navigation copy

* file name typo

* remove console logs and unused imports

* fix: credit accounts query msg

* credit manager store. create credit account hook created

* delete credit account hook. fees declaration moved to utils

* update selected account when a new one is created

* type inference for mutation hooks

* loading indicator for async actions. onSuccess toast

* credit accounts popover

* minor improvements credit account slice

* credit manager module state and respective markup

* fix: credit account list threshold

* credit manager component. currency formatter function update

* update contract addresses

* borrow screen initial setup

* error handling mutation queries

* update credit account list when address changes

* update credit accounts query key to include address

* update selected account when nothing is selected

* credit manager wip. deposit and listing positions on credit account

* FundAccount component moved to different file

* removed unused code

* lending assets switch

* minor refactor injective balance hook to be more generic

* style: font size minor adjustments

* borrow action initial. display liabilities and borrow positions on credit manager

* positions amount formatting

* preserve selected account on local storage

* prettier custom settings and respective files formatting

* credit manager container moved to external file

* removed threshold variable. nav elements moved to array declaration

* Navigation component naming and minor cleanup

* react query keys enum

* query keys improvements

* initial generated smart contract api type definitions
2022-09-29 20:21:31 +01:00
.github Create dependabot.yml 2022-09-02 12:35:29 +01:00
components WIP (#12) 2022-09-29 20:21:31 +01:00
config WIP (#12) 2022-09-29 20:21:31 +01:00
hooks WIP (#12) 2022-09-29 20:21:31 +01:00
pages WIP (#12) 2022-09-29 20:21:31 +01:00
public WIP (#12) 2022-09-29 20:21:31 +01:00
stores WIP (#12) 2022-09-29 20:21:31 +01:00
styles remove index page nextjs content 2022-09-18 11:45:58 +01:00
types WIP (#12) 2022-09-29 20:21:31 +01:00
utils WIP (#12) 2022-09-29 20:21:31 +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 WIP (#12) 2022-09-29 20:21:31 +01:00
package.json WIP (#12) 2022-09-29 20:21:31 +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 WIP (#12) 2022-09-29 20:21:31 +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.