Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

Create UI to provide liquidity and mint coins #36

Merged
merged 8 commits into from Apr 14, 2022

Conversation

luizstacio
Copy link
Member

@luizstacio luizstacio commented Apr 13, 2022

Pool

  • Add UI to provide liquidity
  • The process to deposit and provide liquidity is broken, VM was returning Asset not found.

Screen Shot 2022-04-13 at 2 41 01 AM

Screen Shot 2022-04-13 at 2 44 38 AM

Mint token

  • Add UI to Mint tokens, Only accessible via URL /mint
  • Call contract mint. The process looks to be running correctly, but no coins appear on the user Balance using geBalances.

Screen Shot 2022-04-13 at 2 41 12 AM

Geral

  • Remove some unnecessary codes
  • Refactor some file names and folder structures

@luizstacio luizstacio self-assigned this Apr 13, 2022
@adlerjohn
Copy link
Contributor

Can we defer this until the underlying bugs are fixed, so it can be fully tested?

@luizstacio
Copy link
Member Author

Can we defer this until the underlying bugs are fixed, so it can be fully tested?

We can. But I was thinking in merge the ui and open some issues to solve this broken processes.

@adlerjohn
Copy link
Contributor

Yeah sure, that works.

client/src/components/Header.tsx Outdated Show resolved Hide resolved
contracts/token_abi/Forc.toml Outdated Show resolved Hide resolved
Copy link
Contributor

@adlerjohn adlerjohn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't the .vscode files be deleted and .vscode added to .gitignore?

@luizstacio
Copy link
Member Author

luizstacio commented Apr 13, 2022

Shouldn't the .vscode files be deleted and .vscode added to .gitignore?

We use it to autoconfigure the project on vscode. It recommends extensions to format code, and also applies some configs like auto-format on save.

The other typescript projects also have it. I just move it from client because it works only with the root folder, in an easy way...

In this way... I think we should also add the vscode extension for sway highlight. [DONE]

Copy link
Contributor

@adlerjohn adlerjohn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, will defer to someone who knows ts

import { Spinner } from "src/components/Spinner";

const style = {
wrapper: `w-screen flex flex-1 items-center justify-center mb-14`,

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we using tailwind? nice!

Copy link

@QuinnLee QuinnLee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@luizstacio luizstacio merged commit feab56e into master Apr 14, 2022
@luizstacio luizstacio deleted the ls/feat/create-pool branch April 14, 2022 21:17
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

3 participants